@progress/kendo-angular-treelist 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/navigation/logical-row.directive.mjs +34 -8
- package/esm2020/navigation/navigation.service.mjs +1 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/rendering/header/header.component.mjs +9 -2
- package/esm2020/rendering/list.component.mjs +5 -1
- package/esm2020/rendering/table-body.component.mjs +34 -17
- package/esm2020/treelist.component.mjs +13 -7
- package/fesm2015/progress-kendo-angular-treelist.mjs +108 -50
- package/fesm2020/progress-kendo-angular-treelist.mjs +107 -50
- package/navigation/logical-row.directive.d.ts +5 -1
- package/package.json +16 -16
- package/rendering/header/header.component.d.ts +3 -1
- package/rendering/table-body.component.d.ts +5 -2
- package/schematics/ngAdd/index.js +3 -3
|
@@ -48,8 +48,8 @@ const packageMetadata = {
|
|
|
48
48
|
name: '@progress/kendo-angular-treelist',
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
51
|
-
publishDate:
|
|
52
|
-
version: '13.2.
|
|
51
|
+
publishDate: 1690460620,
|
|
52
|
+
version: '13.2.1-develop.10',
|
|
53
53
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -2305,7 +2305,7 @@ const filterHierarchy = (list, predicate) => {
|
|
|
2305
2305
|
}
|
|
2306
2306
|
}
|
|
2307
2307
|
});
|
|
2308
|
-
return result;
|
|
2308
|
+
return result.sort((a, b) => Number(b.locked) - Number(a.locked));
|
|
2309
2309
|
};
|
|
2310
2310
|
/**
|
|
2311
2311
|
* @hidden
|
|
@@ -3061,17 +3061,17 @@ const updateClass = (element, valid, svg) => {
|
|
|
3061
3061
|
const path = valid ? plusIcon.content : cancelIcon.content;
|
|
3062
3062
|
icon.firstElementChild.innerHTML = path + icon.firstElementChild.innerHTML;
|
|
3063
3063
|
}
|
|
3064
|
-
icon.
|
|
3064
|
+
icon.setAttribute('class', icon.getAttribute('class').replace(/(plus|cancel)/, valid ? 'plus' : 'cancel'));
|
|
3065
3065
|
};
|
|
3066
3066
|
const updateLock = (element, locked = null, svg) => {
|
|
3067
3067
|
const icon = element.querySelectorAll('.k-icon, .k-svg-icon')[1];
|
|
3068
3068
|
const value = locked === null ? '' : (locked ? `k${svg ? '-svg' : ''}-i-lock` : `k${svg ? '-svg' : ''}-i-unlock`);
|
|
3069
3069
|
if (svg) {
|
|
3070
|
-
icon.
|
|
3070
|
+
icon.setAttribute('class', icon.getAttribute('class').replace(/(k-svg-i-unlock|k-svg-i-lock)/, '').trim() + ` ${value}`);
|
|
3071
3071
|
icon.firstElementChild.innerHTML = locked ? lockIcon.content : unlockIcon.content;
|
|
3072
3072
|
}
|
|
3073
3073
|
else {
|
|
3074
|
-
icon.
|
|
3074
|
+
icon.setAttribute('class', icon.getAttribute('class').replace(/(k-i-unlock|k-i-lock)/, '').trim() + ` ${value}`);
|
|
3075
3075
|
}
|
|
3076
3076
|
};
|
|
3077
3077
|
const decorate = (element) => {
|
|
@@ -3087,15 +3087,15 @@ const svgIconsMarkup = (viewBox, content, safeTitle) => `
|
|
|
3087
3087
|
viewBox="${viewBox}"
|
|
3088
3088
|
aria-hidden="true">
|
|
3089
3089
|
${content}
|
|
3090
|
-
<span class="k-svg-icon k-icon-modifier">
|
|
3091
|
-
<svg
|
|
3092
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3093
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
3094
|
-
viewBox="${viewBox}"
|
|
3095
|
-
aria-hidden="true">
|
|
3096
|
-
</svg>
|
|
3097
|
-
</span>
|
|
3098
3090
|
</svg>
|
|
3091
|
+
<span class="k-svg-icon k-icon-modifier">
|
|
3092
|
+
<svg
|
|
3093
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3094
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
3095
|
+
viewBox="${viewBox}"
|
|
3096
|
+
aria-hidden="true">
|
|
3097
|
+
</svg>
|
|
3098
|
+
</span>
|
|
3099
3099
|
</span>
|
|
3100
3100
|
${safeTitle}`;
|
|
3101
3101
|
const fontIconsMarkup = (safeTitle) => `
|
|
@@ -4295,7 +4295,7 @@ const targetCell = (target, treelistElement) => {
|
|
|
4295
4295
|
const cell = treelistCell(target, treelistElement);
|
|
4296
4296
|
const row = closest(cell, matchesNodeName('tr'));
|
|
4297
4297
|
if (cell && row) {
|
|
4298
|
-
let rowIndex = row.getAttribute('aria-rowindex');
|
|
4298
|
+
let rowIndex = row.getAttribute('aria-rowindex') || row.getAttribute('data-kendo-treelist-row-index');
|
|
4299
4299
|
rowIndex = rowIndex ? parseInt(rowIndex, 10) - 1 : null;
|
|
4300
4300
|
let colIndex = cell.getAttribute('aria-colindex');
|
|
4301
4301
|
colIndex = colIndex ? parseInt(colIndex, 10) - 1 : null;
|
|
@@ -9829,18 +9829,35 @@ class LogicalRowDirective {
|
|
|
9829
9829
|
return this.logicalSlaveRow ? 'presentation' : 'row';
|
|
9830
9830
|
}
|
|
9831
9831
|
get ariaRowIndex() {
|
|
9832
|
-
|
|
9833
|
-
|
|
9834
|
-
|
|
9832
|
+
return this.logicalSlaveRow ? null : this.logicalRowIndex + 1;
|
|
9833
|
+
}
|
|
9834
|
+
get rowIndex() {
|
|
9835
|
+
return this.logicalSlaveRow ? this.logicalRowIndex + 1 : null;
|
|
9835
9836
|
}
|
|
9836
9837
|
get ariaOwns() {
|
|
9837
|
-
if (
|
|
9838
|
+
if (this.logicalSlaveRow || this.logicalSlaveCellsCount === 0) {
|
|
9838
9839
|
return undefined;
|
|
9839
9840
|
}
|
|
9840
9841
|
const ids = [];
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
|
-
|
|
9842
|
+
if (this.dataRowIndex < 0) {
|
|
9843
|
+
let total = this.logicalCellsCount + this.logicalSlaveCellsCount;
|
|
9844
|
+
this.columnsArray.forEach(column => {
|
|
9845
|
+
if (column.isSpanColumn) {
|
|
9846
|
+
total += column.colspan - 1;
|
|
9847
|
+
}
|
|
9848
|
+
});
|
|
9849
|
+
for (let cellIndex = this.logicalCellsCount; cellIndex < total; cellIndex++) {
|
|
9850
|
+
ids.push(this.idService.cellId(this.logicalRowIndex, cellIndex));
|
|
9851
|
+
}
|
|
9852
|
+
}
|
|
9853
|
+
else {
|
|
9854
|
+
let columnIndex = 0;
|
|
9855
|
+
this.columnsArray.forEach(column => {
|
|
9856
|
+
if (!column.isLocked) {
|
|
9857
|
+
ids.push(this.idService.cellId(this.logicalRowIndex, columnIndex));
|
|
9858
|
+
}
|
|
9859
|
+
columnIndex += column.isSpanColumn ? column.colspan : 1;
|
|
9860
|
+
});
|
|
9844
9861
|
}
|
|
9845
9862
|
return ids.join(' ');
|
|
9846
9863
|
}
|
|
@@ -9863,9 +9880,13 @@ class LogicalRowDirective {
|
|
|
9863
9880
|
ngOnDestroy() {
|
|
9864
9881
|
this.navigation.unregisterRow(this.logicalRowIndex, this);
|
|
9865
9882
|
}
|
|
9883
|
+
get columnsArray() {
|
|
9884
|
+
var _a;
|
|
9885
|
+
return ((_a = this.totalColumns) === null || _a === void 0 ? void 0 : _a.allColumns.toArray()) || [];
|
|
9886
|
+
}
|
|
9866
9887
|
}
|
|
9867
9888
|
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 });
|
|
9868
|
-
LogicalRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: { logicalRowIndex: "logicalRowIndex", logicalSlaveRow: "logicalSlaveRow", logicalCellsCount: "logicalCellsCount", logicalSlaveCellsCount: "logicalSlaveCellsCount", dataRowIndex: "dataRowIndex", dataItem: "dataItem", isNew: "isNew" }, host: { properties: { "attr.role": "this.hostRole", "attr.aria-rowindex": "this.ariaRowIndex", "attr.aria-owns": "this.ariaOwns", "class.k-table-row": "this.tableRowClass" } }, usesOnChanges: true, ngImport: i0 });
|
|
9889
|
+
LogicalRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: { logicalRowIndex: "logicalRowIndex", logicalSlaveRow: "logicalSlaveRow", logicalCellsCount: "logicalCellsCount", logicalSlaveCellsCount: "logicalSlaveCellsCount", dataRowIndex: "dataRowIndex", dataItem: "dataItem", isNew: "isNew", totalColumns: "totalColumns" }, host: { properties: { "attr.role": "this.hostRole", "attr.aria-rowindex": "this.ariaRowIndex", "attr.data-kendo-treelist-row-index": "this.rowIndex", "attr.aria-owns": "this.ariaOwns", "class.k-table-row": "this.tableRowClass" } }, usesOnChanges: true, ngImport: i0 });
|
|
9869
9890
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LogicalRowDirective, decorators: [{
|
|
9870
9891
|
type: Directive,
|
|
9871
9892
|
args: [{
|
|
@@ -9885,12 +9906,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
9885
9906
|
type: Input
|
|
9886
9907
|
}], isNew: [{
|
|
9887
9908
|
type: Input
|
|
9909
|
+
}], totalColumns: [{
|
|
9910
|
+
type: Input
|
|
9888
9911
|
}], hostRole: [{
|
|
9889
9912
|
type: HostBinding,
|
|
9890
9913
|
args: ['attr.role']
|
|
9891
9914
|
}], ariaRowIndex: [{
|
|
9892
9915
|
type: HostBinding,
|
|
9893
9916
|
args: ['attr.aria-rowindex']
|
|
9917
|
+
}], rowIndex: [{
|
|
9918
|
+
type: HostBinding,
|
|
9919
|
+
args: ['attr.data-kendo-treelist-row-index']
|
|
9894
9920
|
}], ariaOwns: [{
|
|
9895
9921
|
type: HostBinding,
|
|
9896
9922
|
args: ['attr.aria-owns']
|
|
@@ -10567,12 +10593,13 @@ class HeaderComponent {
|
|
|
10567
10593
|
}
|
|
10568
10594
|
}
|
|
10569
10595
|
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: SortService }, { token: SelectionService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10570
|
-
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: HeaderComponent, selector: "[kendoTreeListHeader]", inputs: { totalColumnLevels: "totalColumnLevels", columns: "columns", scrollable: "scrollable", filterable: "filterable", sort: "sort", filter: "filter", sortable: "sortable", lockedColumnsCount: "lockedColumnsCount", resizable: "resizable", reorderable: "reorderable", columnMenu: "columnMenu", columnMenuTemplate: "columnMenuTemplate", totalColumnsCount: "totalColumnsCount" }, host: { properties: { "class.k-grid-header": "this.headerClass", "class.k-table-thead": "this.hostClass" } }, viewQueries: [{ propertyName: "dropTargets", predicate: DropTargetDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
10596
|
+
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: HeaderComponent, selector: "[kendoTreeListHeader]", inputs: { totalColumnLevels: "totalColumnLevels", columns: "columns", scrollable: "scrollable", filterable: "filterable", sort: "sort", filter: "filter", sortable: "sortable", lockedColumnsCount: "lockedColumnsCount", resizable: "resizable", reorderable: "reorderable", columnMenu: "columnMenu", columnMenuTemplate: "columnMenuTemplate", totalColumnsCount: "totalColumnsCount", totalColumns: "totalColumns" }, host: { properties: { "class.k-grid-header": "this.headerClass", "class.k-table-thead": "this.hostClass" } }, viewQueries: [{ propertyName: "dropTargets", predicate: DropTargetDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
10571
10597
|
<tr *ngFor="let i of columnLevels; let levelIndex = index" role="row"
|
|
10572
10598
|
kendoTreeListLogicalRow
|
|
10573
10599
|
[logicalRowIndex]="levelIndex"
|
|
10574
10600
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
10575
10601
|
[logicalCellsCount]="columns.length"
|
|
10602
|
+
[totalColumns]="totalColumns"
|
|
10576
10603
|
[logicalSlaveCellsCount]="unlockedColumnsCount">
|
|
10577
10604
|
<ng-template ngFor let-column="$implicit" [ngForOf]="columnsForLevel(levelIndex)" [ngForTrackBy]="trackByIndex" let-columnIndex="index" let-last="last">
|
|
10578
10605
|
<th *ngIf="!isColumnGroupComponent(column)"
|
|
@@ -10746,13 +10773,14 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
10746
10773
|
[filter]="filter"
|
|
10747
10774
|
[lockedColumnsCount]="lockedColumnsCount"
|
|
10748
10775
|
kendoTreeListLogicalRow
|
|
10776
|
+
[totalColumns]="totalColumns"
|
|
10749
10777
|
[logicalRowIndex]="totalColumnLevels + 1"
|
|
10750
10778
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
10751
10779
|
[logicalCellsCount]="columns.length"
|
|
10752
10780
|
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
10753
10781
|
>
|
|
10754
10782
|
</tr>
|
|
10755
|
-
`, isInline: true, components: [{ type: FilterMenuComponent, selector: "kendo-treelist-filter-menu", inputs: ["column", "filter"] }, { type: ColumnMenuComponent, selector: "kendo-treelist-column-menu", inputs: ["standalone", "column", "settings", "sort", "filter", "sortable", "columnMenuTemplate"] }, { type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: FilterRowComponent, selector: "[kendoTreeListFilterRow]", inputs: ["columns", "filter", "logicalRowIndex", "lockedColumnsCount"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "isNew"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalCellDirective, selector: "[kendoTreeListLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "column", "colIndex", "colSpan", "rowSpan", "dataRowIndex", "dataItem", "expandable"] }, { type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { type: i1$3.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: FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { type: ColumnHandleDirective, selector: "[kendoTreeListColumnHandle]", inputs: ["columns", "column"] }] });
|
|
10783
|
+
`, isInline: true, components: [{ type: FilterMenuComponent, selector: "kendo-treelist-filter-menu", inputs: ["column", "filter"] }, { type: ColumnMenuComponent, selector: "kendo-treelist-column-menu", inputs: ["standalone", "column", "settings", "sort", "filter", "sortable", "columnMenuTemplate"] }, { type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: FilterRowComponent, selector: "[kendoTreeListFilterRow]", inputs: ["columns", "filter", "logicalRowIndex", "lockedColumnsCount"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "isNew", "totalColumns"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalCellDirective, selector: "[kendoTreeListLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "column", "colIndex", "colSpan", "rowSpan", "dataRowIndex", "dataItem", "expandable"] }, { type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { type: i1$3.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: FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { type: ColumnHandleDirective, selector: "[kendoTreeListColumnHandle]", inputs: ["columns", "column"] }] });
|
|
10756
10784
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
10757
10785
|
type: Component,
|
|
10758
10786
|
args: [{
|
|
@@ -10763,6 +10791,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10763
10791
|
[logicalRowIndex]="levelIndex"
|
|
10764
10792
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
10765
10793
|
[logicalCellsCount]="columns.length"
|
|
10794
|
+
[totalColumns]="totalColumns"
|
|
10766
10795
|
[logicalSlaveCellsCount]="unlockedColumnsCount">
|
|
10767
10796
|
<ng-template ngFor let-column="$implicit" [ngForOf]="columnsForLevel(levelIndex)" [ngForTrackBy]="trackByIndex" let-columnIndex="index" let-last="last">
|
|
10768
10797
|
<th *ngIf="!isColumnGroupComponent(column)"
|
|
@@ -10936,6 +10965,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10936
10965
|
[filter]="filter"
|
|
10937
10966
|
[lockedColumnsCount]="lockedColumnsCount"
|
|
10938
10967
|
kendoTreeListLogicalRow
|
|
10968
|
+
[totalColumns]="totalColumns"
|
|
10939
10969
|
[logicalRowIndex]="totalColumnLevels + 1"
|
|
10940
10970
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
10941
10971
|
[logicalCellsCount]="columns.length"
|
|
@@ -10970,6 +11000,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10970
11000
|
type: Input
|
|
10971
11001
|
}], totalColumnsCount: [{
|
|
10972
11002
|
type: Input
|
|
11003
|
+
}], totalColumns: [{
|
|
11004
|
+
type: Input
|
|
10973
11005
|
}], headerClass: [{
|
|
10974
11006
|
type: HostBinding,
|
|
10975
11007
|
args: ['class.k-grid-header']
|
|
@@ -11554,8 +11586,17 @@ class TableBodyComponent {
|
|
|
11554
11586
|
return this.editService.newDataItem;
|
|
11555
11587
|
}
|
|
11556
11588
|
// Number of unlocked columns in the next table, if any
|
|
11557
|
-
|
|
11558
|
-
|
|
11589
|
+
unlockedColumnsCount(item) {
|
|
11590
|
+
const allColumns = this.allColumns || this.columns;
|
|
11591
|
+
let allColumnsCount = allColumns.length;
|
|
11592
|
+
allColumns.forEach(column => {
|
|
11593
|
+
if (column.isSpanColumn) {
|
|
11594
|
+
allColumnsCount += column.colspan - 1;
|
|
11595
|
+
}
|
|
11596
|
+
});
|
|
11597
|
+
const contentColumnsCount = this.totalColumnsCount - this.lockedColumnsCount - allColumnsCount;
|
|
11598
|
+
const headerFooterColumnsCount = this.totalColumnsCount - this.lockedColumnsCount - (this.allColumns || this.columns).length;
|
|
11599
|
+
return item && item.type === 'data' ? contentColumnsCount : headerFooterColumnsCount;
|
|
11559
11600
|
}
|
|
11560
11601
|
get hasData() {
|
|
11561
11602
|
const view = this.view;
|
|
@@ -11594,7 +11635,10 @@ class TableBodyComponent {
|
|
|
11594
11635
|
return true;
|
|
11595
11636
|
}
|
|
11596
11637
|
ariaRowExpanded(item) {
|
|
11597
|
-
return Boolean(item.expanded);
|
|
11638
|
+
return this.lockedColumnsCount < 1 ? Boolean(item.expanded) : undefined;
|
|
11639
|
+
}
|
|
11640
|
+
ariaRowSelected(item) {
|
|
11641
|
+
return this.lockedColumnsCount < 1 ? Boolean(item.selected) : undefined;
|
|
11598
11642
|
}
|
|
11599
11643
|
ariaExpanded(item, column) {
|
|
11600
11644
|
if (!column.expandable || !item.hasChildren) {
|
|
@@ -11806,7 +11850,7 @@ class TableBodyComponent {
|
|
|
11806
11850
|
}
|
|
11807
11851
|
}
|
|
11808
11852
|
TableBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TableBodyComponent, deps: [{ token: ChangeNotificationService }, { token: EditService }, { token: i1$1.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: DomEventsService }, { token: ColumnInfoService }, { token: NavigationService }, { token: ExpandStateService }, { token: SelectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11809
|
-
TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TableBodyComponent, selector: "[kendoTreeListTableBody]", inputs: { columns: "columns", allColumns: "allColumns", noRecordsTemplate: "noRecordsTemplate", view: "view", skip: "skip", filterable: "filterable", noRecordsText: "noRecordsText", isLocked: "isLocked", lockedColumnsCount: "lockedColumnsCount", totalColumnsCount: "totalColumnsCount", virtualColumns: "virtualColumns", expandIcons: "expandIcons", trackBy: "trackBy", rowClass: "rowClass" }, host: { properties: { "class.k-table-tbody": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
11853
|
+
TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TableBodyComponent, selector: "[kendoTreeListTableBody]", inputs: { columns: "columns", allColumns: "allColumns", noRecordsTemplate: "noRecordsTemplate", view: "view", skip: "skip", filterable: "filterable", noRecordsText: "noRecordsText", isLocked: "isLocked", lockedColumnsCount: "lockedColumnsCount", totalColumnsCount: "totalColumnsCount", virtualColumns: "virtualColumns", expandIcons: "expandIcons", trackBy: "trackBy", totalColumns: "totalColumns", rowClass: "rowClass" }, host: { properties: { "class.k-table-tbody": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
11810
11854
|
<tr *ngIf="!hasData" class="k-grid-norecords">
|
|
11811
11855
|
<td [attr.colspan]="colSpan" class="k-table-td">
|
|
11812
11856
|
<ng-container *ngIf="noRecordsTemplate?.templateRef" [ngTemplateOutlet]="noRecordsTemplate.templateRef">
|
|
@@ -11824,14 +11868,15 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
11824
11868
|
[logicalRowIndex]="logicalRowIndex(item.rowIndex)"
|
|
11825
11869
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
11826
11870
|
[logicalCellsCount]="columns.length"
|
|
11827
|
-
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
11871
|
+
[logicalSlaveCellsCount]="unlockedColumnsCount(item)"
|
|
11872
|
+
[totalColumns]="totalColumns"
|
|
11828
11873
|
[isNew]="item.isNew"
|
|
11829
11874
|
[attr.aria-expanded]="ariaRowExpanded(item)"
|
|
11830
11875
|
[ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"
|
|
11831
11876
|
class="k-table-row{{isOdd(item) ? ' k-alt k-table-alt-row' : ''}}"
|
|
11832
11877
|
[class.k-grid-edit-row]="isEditingRow(item)"
|
|
11833
11878
|
[class.k-grid-add-row]="item.isNew"
|
|
11834
|
-
[attr.aria-selected]="item
|
|
11879
|
+
[attr.aria-selected]="ariaRowSelected(item)"
|
|
11835
11880
|
[class.k-selected]="item.selected"
|
|
11836
11881
|
[attr.data-treelist-view-index]="rowIndex">
|
|
11837
11882
|
|
|
@@ -11856,8 +11901,8 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
11856
11901
|
[colSpan]="column.colspan"
|
|
11857
11902
|
[expandable]="cellExpandable(item, column)"
|
|
11858
11903
|
role="gridcell"
|
|
11859
|
-
[attr.aria-expanded]="ariaExpanded(item, column)"
|
|
11860
|
-
[attr.aria-selected]="ariaSelected(item, column, lockedColumnsCount + columnIndex)"
|
|
11904
|
+
[attr.aria-expanded]="lockedColumnsCount < 1 ? ariaExpanded(item, column) : undefined"
|
|
11905
|
+
[attr.aria-selected]="lockedColumnsCount < 1 ? ariaSelected(item, column, lockedColumnsCount + columnIndex) : undefined"
|
|
11861
11906
|
class="k-table-td"
|
|
11862
11907
|
[ngClass]="column.cssClass"
|
|
11863
11908
|
[class.k-grid-edit-cell]="isEditingCell(item, column)"
|
|
@@ -11874,8 +11919,8 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
11874
11919
|
[logicalRowIndex]="logicalRowIndex(item.rowIndex)"
|
|
11875
11920
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
11876
11921
|
[logicalCellsCount]="columns.length"
|
|
11877
|
-
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
11878
|
-
|
|
11922
|
+
[logicalSlaveCellsCount]="unlockedColumnsCount(item)"
|
|
11923
|
+
[totalColumns]="totalColumns">
|
|
11879
11924
|
<td kendoTreeListLogicalCell
|
|
11880
11925
|
[logicalRowIndex]="logicalRowIndex(item.rowIndex)"
|
|
11881
11926
|
[logicalColIndex]="logicalColIndex(column)"
|
|
@@ -11903,7 +11948,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
11903
11948
|
</td>
|
|
11904
11949
|
</tr>
|
|
11905
11950
|
</ng-container>
|
|
11906
|
-
`, isInline: true, components: [{ type: CellComponent, selector: "[kendoTreeListCell]", inputs: ["column", "columnIndex", "isNew", "level", "hasChildren", "isExpanded", "loading", "expandIcons", "selected", "dataItem", "viewItem"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "isNew"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: LogicalCellDirective, selector: "[kendoTreeListLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "column", "colIndex", "colSpan", "rowSpan", "dataRowIndex", "dataItem", "expandable"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], pipes: { "levelItems": LevelItemsPipe } });
|
|
11951
|
+
`, isInline: true, components: [{ type: CellComponent, selector: "[kendoTreeListCell]", inputs: ["column", "columnIndex", "isNew", "level", "hasChildren", "isExpanded", "loading", "expandIcons", "selected", "dataItem", "viewItem"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "isNew", "totalColumns"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: LogicalCellDirective, selector: "[kendoTreeListLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "column", "colIndex", "colSpan", "rowSpan", "dataRowIndex", "dataItem", "expandable"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], pipes: { "levelItems": LevelItemsPipe } });
|
|
11907
11952
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TableBodyComponent, decorators: [{
|
|
11908
11953
|
type: Component,
|
|
11909
11954
|
args: [{
|
|
@@ -11926,14 +11971,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
11926
11971
|
[logicalRowIndex]="logicalRowIndex(item.rowIndex)"
|
|
11927
11972
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
11928
11973
|
[logicalCellsCount]="columns.length"
|
|
11929
|
-
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
11974
|
+
[logicalSlaveCellsCount]="unlockedColumnsCount(item)"
|
|
11975
|
+
[totalColumns]="totalColumns"
|
|
11930
11976
|
[isNew]="item.isNew"
|
|
11931
11977
|
[attr.aria-expanded]="ariaRowExpanded(item)"
|
|
11932
11978
|
[ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"
|
|
11933
11979
|
class="k-table-row{{isOdd(item) ? ' k-alt k-table-alt-row' : ''}}"
|
|
11934
11980
|
[class.k-grid-edit-row]="isEditingRow(item)"
|
|
11935
11981
|
[class.k-grid-add-row]="item.isNew"
|
|
11936
|
-
[attr.aria-selected]="item
|
|
11982
|
+
[attr.aria-selected]="ariaRowSelected(item)"
|
|
11937
11983
|
[class.k-selected]="item.selected"
|
|
11938
11984
|
[attr.data-treelist-view-index]="rowIndex">
|
|
11939
11985
|
|
|
@@ -11958,8 +12004,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
11958
12004
|
[colSpan]="column.colspan"
|
|
11959
12005
|
[expandable]="cellExpandable(item, column)"
|
|
11960
12006
|
role="gridcell"
|
|
11961
|
-
[attr.aria-expanded]="ariaExpanded(item, column)"
|
|
11962
|
-
[attr.aria-selected]="ariaSelected(item, column, lockedColumnsCount + columnIndex)"
|
|
12007
|
+
[attr.aria-expanded]="lockedColumnsCount < 1 ? ariaExpanded(item, column) : undefined"
|
|
12008
|
+
[attr.aria-selected]="lockedColumnsCount < 1 ? ariaSelected(item, column, lockedColumnsCount + columnIndex) : undefined"
|
|
11963
12009
|
class="k-table-td"
|
|
11964
12010
|
[ngClass]="column.cssClass"
|
|
11965
12011
|
[class.k-grid-edit-cell]="isEditingCell(item, column)"
|
|
@@ -11976,8 +12022,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
11976
12022
|
[logicalRowIndex]="logicalRowIndex(item.rowIndex)"
|
|
11977
12023
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
11978
12024
|
[logicalCellsCount]="columns.length"
|
|
11979
|
-
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
11980
|
-
|
|
12025
|
+
[logicalSlaveCellsCount]="unlockedColumnsCount(item)"
|
|
12026
|
+
[totalColumns]="totalColumns">
|
|
11981
12027
|
<td kendoTreeListLogicalCell
|
|
11982
12028
|
[logicalRowIndex]="logicalRowIndex(item.rowIndex)"
|
|
11983
12029
|
[logicalColIndex]="logicalColIndex(column)"
|
|
@@ -12036,6 +12082,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
12036
12082
|
type: Input
|
|
12037
12083
|
}], trackBy: [{
|
|
12038
12084
|
type: Input
|
|
12085
|
+
}], totalColumns: [{
|
|
12086
|
+
type: Input
|
|
12039
12087
|
}], rowClass: [{
|
|
12040
12088
|
type: Input
|
|
12041
12089
|
}] } });
|
|
@@ -12736,6 +12784,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
12736
12784
|
[noRecordsText]="''"
|
|
12737
12785
|
[columns]="$any(lockedLeafColumns)"
|
|
12738
12786
|
[totalColumnsCount]="leafColumns.length"
|
|
12787
|
+
[totalColumns]="columns"
|
|
12739
12788
|
[skip]="skip"
|
|
12740
12789
|
[trackBy]="trackBy"
|
|
12741
12790
|
[filterable]="filterable"
|
|
@@ -12770,6 +12819,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
12770
12819
|
[noRecordsTemplate]="noRecordsTemplate"
|
|
12771
12820
|
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
12772
12821
|
[totalColumnsCount]="leafColumns.length"
|
|
12822
|
+
[totalColumns]="columns"
|
|
12773
12823
|
[skip]="skip"
|
|
12774
12824
|
[trackBy]="trackBy"
|
|
12775
12825
|
[filterable]="filterable"
|
|
@@ -12790,7 +12840,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
12790
12840
|
</div>
|
|
12791
12841
|
<div *ngIf="loading" kendoTreeListLoading>
|
|
12792
12842
|
</div>
|
|
12793
|
-
`, isInline: true, components: [{ type: ColGroupComponent, selector: "[kendoTreeListColGroup]", inputs: ["columns"] }, { type: TableBodyComponent, selector: "[kendoTreeListTableBody]", inputs: ["columns", "allColumns", "noRecordsTemplate", "view", "skip", "filterable", "noRecordsText", "isLocked", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "expandIcons", "trackBy", "rowClass"] }, { type: i1$3.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: LoadingComponent, selector: "[kendoTreeListLoading]" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: ResizableContainerDirective, selector: "[kendoTreeListResizableContainer]", inputs: ["lockedWidth", "kendoTreeListResizableContainer"] }] });
|
|
12843
|
+
`, isInline: true, components: [{ type: ColGroupComponent, selector: "[kendoTreeListColGroup]", inputs: ["columns"] }, { type: TableBodyComponent, selector: "[kendoTreeListTableBody]", inputs: ["columns", "allColumns", "noRecordsTemplate", "view", "skip", "filterable", "noRecordsText", "isLocked", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "expandIcons", "trackBy", "totalColumns", "rowClass"] }, { type: i1$3.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: LoadingComponent, selector: "[kendoTreeListLoading]" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: ResizableContainerDirective, selector: "[kendoTreeListResizableContainer]", inputs: ["lockedWidth", "kendoTreeListResizableContainer"] }] });
|
|
12794
12844
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ListComponent, decorators: [{
|
|
12795
12845
|
type: Component,
|
|
12796
12846
|
args: [{
|
|
@@ -12822,6 +12872,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
12822
12872
|
[noRecordsText]="''"
|
|
12823
12873
|
[columns]="$any(lockedLeafColumns)"
|
|
12824
12874
|
[totalColumnsCount]="leafColumns.length"
|
|
12875
|
+
[totalColumns]="columns"
|
|
12825
12876
|
[skip]="skip"
|
|
12826
12877
|
[trackBy]="trackBy"
|
|
12827
12878
|
[filterable]="filterable"
|
|
@@ -12856,6 +12907,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
12856
12907
|
[noRecordsTemplate]="noRecordsTemplate"
|
|
12857
12908
|
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
12858
12909
|
[totalColumnsCount]="leafColumns.length"
|
|
12910
|
+
[totalColumns]="columns"
|
|
12859
12911
|
[skip]="skip"
|
|
12860
12912
|
[trackBy]="trackBy"
|
|
12861
12913
|
[filterable]="filterable"
|
|
@@ -16490,7 +16542,8 @@ TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
16490
16542
|
[sortable]="sortable"
|
|
16491
16543
|
[columnMenu]="columnMenuOptions"
|
|
16492
16544
|
[columnMenuTemplate]="columnMenuTemplate"
|
|
16493
|
-
[totalColumnsCount]="leafColumns.length"
|
|
16545
|
+
[totalColumnsCount]="leafColumns.length"
|
|
16546
|
+
[totalColumns]="columnsContainer">
|
|
16494
16547
|
</thead>
|
|
16495
16548
|
</table>
|
|
16496
16549
|
</div>
|
|
@@ -16520,7 +16573,8 @@ TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
16520
16573
|
[columnMenu]="columnMenuOptions"
|
|
16521
16574
|
[columnMenuTemplate]="columnMenuTemplate"
|
|
16522
16575
|
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
16523
|
-
[totalColumnsCount]="leafColumns.length"
|
|
16576
|
+
[totalColumnsCount]="leafColumns.length"
|
|
16577
|
+
[totalColumns]="columnsContainer">
|
|
16524
16578
|
</thead>
|
|
16525
16579
|
</table>
|
|
16526
16580
|
<div *ngIf="virtualColumns" class="k-width-container" role="presentation">
|
|
@@ -16571,7 +16625,8 @@ TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
16571
16625
|
[filter]="filter"
|
|
16572
16626
|
[filterable]="filterable"
|
|
16573
16627
|
[columnMenu]="columnMenuOptions"
|
|
16574
|
-
[columnMenuTemplate]="columnMenuTemplate"
|
|
16628
|
+
[columnMenuTemplate]="columnMenuTemplate"
|
|
16629
|
+
[totalColumns]="columnsContainer">
|
|
16575
16630
|
</thead>
|
|
16576
16631
|
<tbody kendoTreeListTableBody
|
|
16577
16632
|
[view]="view"
|
|
@@ -16620,7 +16675,7 @@ TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
16620
16675
|
</kendo-icon-wrapper>
|
|
16621
16676
|
{{hintText}}
|
|
16622
16677
|
</ng-template>
|
|
16623
|
-
`, isInline: true, components: [{ type: ToolbarComponent, selector: "kendo-treelist-toolbar", inputs: ["position", "navigable"] }, { type: ColGroupComponent, selector: "[kendoTreeListColGroup]", inputs: ["columns"] }, { type: HeaderComponent, selector: "[kendoTreeListHeader]", inputs: ["totalColumnLevels", "columns", "scrollable", "filterable", "sort", "filter", "sortable", "lockedColumnsCount", "resizable", "reorderable", "columnMenu", "columnMenuTemplate", "totalColumnsCount"] }, { type: ListComponent, selector: "kendo-treelist-list", inputs: ["view", "total", "rowHeight", "take", "skip", "columns", "noRecordsTemplate", "filterable", "rowClass", "loading", "trackBy", "virtualColumns", "isVirtual", "expandIcons"], outputs: ["contentScroll", "pageChange", "scrollBottom"] }, { type: TableBodyComponent, selector: "[kendoTreeListTableBody]", inputs: ["columns", "allColumns", "noRecordsTemplate", "view", "skip", "filterable", "noRecordsText", "isLocked", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "expandIcons", "trackBy", "rowClass"] }, { type: LoadingComponent, selector: "[kendoTreeListLoading]" }, { type: PagerComponent, selector: "kendo-treelist-pager", inputs: ["allCount", "total", "skip", "navigable", "pageSize", "options", "template"], outputs: ["pageChange"] }, { type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoTreeListLocalizedMessages]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i32.DragTargetContainerDirective, selector: "[kendoDragTargetContainer]", inputs: ["hint", "dragTargetFilter", "dragHandle", "dragDelay", "threshold", "dragTargetId", "dragData", "dragDisabled", "mode"], outputs: ["onDragReady", "onPress", "onDragStart", "onDrag", "onRelease", "onDragEnd"], exportAs: ["kendoDragTargetContainer"] }, { type: i32.DropTargetContainerDirective, selector: "[kendoDropTargetContainer]", inputs: ["dropTargetFilter", "dropDisabled"], outputs: ["onDragEnter", "onDragOver", "onDragLeave", "onDrop"], exportAs: ["kendoDropTargetContainer"] }, { type: TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: ResizableContainerDirective, selector: "[kendoTreeListResizableContainer]", inputs: ["lockedWidth", "kendoTreeListResizableContainer"] }, { type: i1$3.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: MarqueeDirective, selector: "[kendoTreeListSelectionMarquee]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
16678
|
+
`, isInline: true, components: [{ type: ToolbarComponent, selector: "kendo-treelist-toolbar", inputs: ["position", "navigable"] }, { type: ColGroupComponent, selector: "[kendoTreeListColGroup]", inputs: ["columns"] }, { type: HeaderComponent, selector: "[kendoTreeListHeader]", inputs: ["totalColumnLevels", "columns", "scrollable", "filterable", "sort", "filter", "sortable", "lockedColumnsCount", "resizable", "reorderable", "columnMenu", "columnMenuTemplate", "totalColumnsCount", "totalColumns"] }, { type: ListComponent, selector: "kendo-treelist-list", inputs: ["view", "total", "rowHeight", "take", "skip", "columns", "noRecordsTemplate", "filterable", "rowClass", "loading", "trackBy", "virtualColumns", "isVirtual", "expandIcons"], outputs: ["contentScroll", "pageChange", "scrollBottom"] }, { type: TableBodyComponent, selector: "[kendoTreeListTableBody]", inputs: ["columns", "allColumns", "noRecordsTemplate", "view", "skip", "filterable", "noRecordsText", "isLocked", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "expandIcons", "trackBy", "totalColumns", "rowClass"] }, { type: LoadingComponent, selector: "[kendoTreeListLoading]" }, { type: PagerComponent, selector: "kendo-treelist-pager", inputs: ["allCount", "total", "skip", "navigable", "pageSize", "options", "template"], outputs: ["pageChange"] }, { type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoTreeListLocalizedMessages]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i32.DragTargetContainerDirective, selector: "[kendoDragTargetContainer]", inputs: ["hint", "dragTargetFilter", "dragHandle", "dragDelay", "threshold", "dragTargetId", "dragData", "dragDisabled", "mode"], outputs: ["onDragReady", "onPress", "onDragStart", "onDrag", "onRelease", "onDragEnd"], exportAs: ["kendoDragTargetContainer"] }, { type: i32.DropTargetContainerDirective, selector: "[kendoDropTargetContainer]", inputs: ["dropTargetFilter", "dropDisabled"], outputs: ["onDragEnter", "onDragOver", "onDragLeave", "onDrop"], exportAs: ["kendoDropTargetContainer"] }, { type: TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: ResizableContainerDirective, selector: "[kendoTreeListResizableContainer]", inputs: ["lockedWidth", "kendoTreeListResizableContainer"] }, { type: i1$3.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: MarqueeDirective, selector: "[kendoTreeListSelectionMarquee]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
16624
16679
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeListComponent, decorators: [{
|
|
16625
16680
|
type: Component,
|
|
16626
16681
|
args: [{
|
|
@@ -16917,7 +16972,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
16917
16972
|
[sortable]="sortable"
|
|
16918
16973
|
[columnMenu]="columnMenuOptions"
|
|
16919
16974
|
[columnMenuTemplate]="columnMenuTemplate"
|
|
16920
|
-
[totalColumnsCount]="leafColumns.length"
|
|
16975
|
+
[totalColumnsCount]="leafColumns.length"
|
|
16976
|
+
[totalColumns]="columnsContainer">
|
|
16921
16977
|
</thead>
|
|
16922
16978
|
</table>
|
|
16923
16979
|
</div>
|
|
@@ -16947,7 +17003,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
16947
17003
|
[columnMenu]="columnMenuOptions"
|
|
16948
17004
|
[columnMenuTemplate]="columnMenuTemplate"
|
|
16949
17005
|
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
16950
|
-
[totalColumnsCount]="leafColumns.length"
|
|
17006
|
+
[totalColumnsCount]="leafColumns.length"
|
|
17007
|
+
[totalColumns]="columnsContainer">
|
|
16951
17008
|
</thead>
|
|
16952
17009
|
</table>
|
|
16953
17010
|
<div *ngIf="virtualColumns" class="k-width-container" role="presentation">
|
|
@@ -16998,7 +17055,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
16998
17055
|
[filter]="filter"
|
|
16999
17056
|
[filterable]="filterable"
|
|
17000
17057
|
[columnMenu]="columnMenuOptions"
|
|
17001
|
-
[columnMenuTemplate]="columnMenuTemplate"
|
|
17058
|
+
[columnMenuTemplate]="columnMenuTemplate"
|
|
17059
|
+
[totalColumns]="columnsContainer">
|
|
17002
17060
|
</thead>
|
|
17003
17061
|
<tbody kendoTreeListTableBody
|
|
17004
17062
|
[view]="view"
|