@progress/kendo-angular-treelist 13.2.0 → 13.2.1-develop.1

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.
@@ -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: 1689688799,
52
- version: '13.2.0',
51
+ publishDate: 1689768729,
52
+ version: '13.2.1-develop.1',
53
53
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
54
54
  };
55
55
 
@@ -2281,7 +2281,7 @@ const filterHierarchy = (list, predicate) => {
2281
2281
  }
2282
2282
  }
2283
2283
  });
2284
- return result;
2284
+ return result.sort((a, b) => Number(b.locked) - Number(a.locked));
2285
2285
  };
2286
2286
  /**
2287
2287
  * @hidden
@@ -4264,7 +4264,7 @@ const targetCell = (target, treelistElement) => {
4264
4264
  const cell = treelistCell(target, treelistElement);
4265
4265
  const row = closest(cell, matchesNodeName('tr'));
4266
4266
  if (cell && row) {
4267
- let rowIndex = row.getAttribute('aria-rowindex');
4267
+ let rowIndex = row.getAttribute('aria-rowindex') || row.getAttribute('data-kendo-treelist-row-index');
4268
4268
  rowIndex = rowIndex ? parseInt(rowIndex, 10) - 1 : null;
4269
4269
  let colIndex = cell.getAttribute('aria-colindex');
4270
4270
  colIndex = colIndex ? parseInt(colIndex, 10) - 1 : null;
@@ -9785,18 +9785,35 @@ class LogicalRowDirective {
9785
9785
  return this.logicalSlaveRow ? 'presentation' : 'row';
9786
9786
  }
9787
9787
  get ariaRowIndex() {
9788
- if (this.navigation.enabled) {
9789
- return this.logicalRowIndex + 1;
9790
- }
9788
+ return this.logicalSlaveRow ? null : this.logicalRowIndex + 1;
9789
+ }
9790
+ get rowIndex() {
9791
+ return this.logicalSlaveRow ? this.logicalRowIndex + 1 : null;
9791
9792
  }
9792
9793
  get ariaOwns() {
9793
- if (!this.navigation.enabled || this.logicalSlaveRow || this.logicalSlaveCellsCount === 0) {
9794
+ if (this.logicalSlaveRow || this.logicalSlaveCellsCount === 0) {
9794
9795
  return undefined;
9795
9796
  }
9796
9797
  const ids = [];
9797
- const total = this.logicalCellsCount + this.logicalSlaveCellsCount;
9798
- for (let cellIndex = this.logicalCellsCount; cellIndex < total; cellIndex++) {
9799
- ids.push(this.idService.cellId(this.logicalRowIndex, cellIndex));
9798
+ if (this.dataRowIndex < 0) {
9799
+ let total = this.logicalCellsCount + this.logicalSlaveCellsCount;
9800
+ this.columnsArray.forEach(column => {
9801
+ if (column.isSpanColumn) {
9802
+ total += column.colspan - 1;
9803
+ }
9804
+ });
9805
+ for (let cellIndex = this.logicalCellsCount; cellIndex < total; cellIndex++) {
9806
+ ids.push(this.idService.cellId(this.logicalRowIndex, cellIndex));
9807
+ }
9808
+ }
9809
+ else {
9810
+ let columnIndex = 0;
9811
+ this.columnsArray.forEach(column => {
9812
+ if (!column.isLocked) {
9813
+ ids.push(this.idService.cellId(this.logicalRowIndex, columnIndex));
9814
+ }
9815
+ columnIndex += column.isSpanColumn ? column.colspan : 1;
9816
+ });
9800
9817
  }
9801
9818
  return ids.join(' ');
9802
9819
  }
@@ -9819,9 +9836,12 @@ class LogicalRowDirective {
9819
9836
  ngOnDestroy() {
9820
9837
  this.navigation.unregisterRow(this.logicalRowIndex, this);
9821
9838
  }
9839
+ get columnsArray() {
9840
+ return this.totalColumns?.allColumns.toArray() || [];
9841
+ }
9822
9842
  }
9823
9843
  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 });
9824
- 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 });
9844
+ 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 });
9825
9845
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LogicalRowDirective, decorators: [{
9826
9846
  type: Directive,
9827
9847
  args: [{
@@ -9841,12 +9861,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
9841
9861
  type: Input
9842
9862
  }], isNew: [{
9843
9863
  type: Input
9864
+ }], totalColumns: [{
9865
+ type: Input
9844
9866
  }], hostRole: [{
9845
9867
  type: HostBinding,
9846
9868
  args: ['attr.role']
9847
9869
  }], ariaRowIndex: [{
9848
9870
  type: HostBinding,
9849
9871
  args: ['attr.aria-rowindex']
9872
+ }], rowIndex: [{
9873
+ type: HostBinding,
9874
+ args: ['attr.data-kendo-treelist-row-index']
9850
9875
  }], ariaOwns: [{
9851
9876
  type: HostBinding,
9852
9877
  args: ['attr.aria-owns']
@@ -10519,12 +10544,13 @@ class HeaderComponent {
10519
10544
  }
10520
10545
  }
10521
10546
  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 });
10522
- 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: `
10547
+ 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: `
10523
10548
  <tr *ngFor="let i of columnLevels; let levelIndex = index" role="row"
10524
10549
  kendoTreeListLogicalRow
10525
10550
  [logicalRowIndex]="levelIndex"
10526
10551
  [logicalSlaveRow]="lockedColumnsCount > 0"
10527
10552
  [logicalCellsCount]="columns.length"
10553
+ [totalColumns]="totalColumns"
10528
10554
  [logicalSlaveCellsCount]="unlockedColumnsCount">
10529
10555
  <ng-template ngFor let-column="$implicit" [ngForOf]="columnsForLevel(levelIndex)" [ngForTrackBy]="trackByIndex" let-columnIndex="index" let-last="last">
10530
10556
  <th *ngIf="!isColumnGroupComponent(column)"
@@ -10698,13 +10724,14 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
10698
10724
  [filter]="filter"
10699
10725
  [lockedColumnsCount]="lockedColumnsCount"
10700
10726
  kendoTreeListLogicalRow
10727
+ [totalColumns]="totalColumns"
10701
10728
  [logicalRowIndex]="totalColumnLevels + 1"
10702
10729
  [logicalSlaveRow]="lockedColumnsCount > 0"
10703
10730
  [logicalCellsCount]="columns.length"
10704
10731
  [logicalSlaveCellsCount]="unlockedColumnsCount"
10705
10732
  >
10706
10733
  </tr>
10707
- `, 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"] }] });
10734
+ `, 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"] }] });
10708
10735
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeaderComponent, decorators: [{
10709
10736
  type: Component,
10710
10737
  args: [{
@@ -10715,6 +10742,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10715
10742
  [logicalRowIndex]="levelIndex"
10716
10743
  [logicalSlaveRow]="lockedColumnsCount > 0"
10717
10744
  [logicalCellsCount]="columns.length"
10745
+ [totalColumns]="totalColumns"
10718
10746
  [logicalSlaveCellsCount]="unlockedColumnsCount">
10719
10747
  <ng-template ngFor let-column="$implicit" [ngForOf]="columnsForLevel(levelIndex)" [ngForTrackBy]="trackByIndex" let-columnIndex="index" let-last="last">
10720
10748
  <th *ngIf="!isColumnGroupComponent(column)"
@@ -10888,6 +10916,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10888
10916
  [filter]="filter"
10889
10917
  [lockedColumnsCount]="lockedColumnsCount"
10890
10918
  kendoTreeListLogicalRow
10919
+ [totalColumns]="totalColumns"
10891
10920
  [logicalRowIndex]="totalColumnLevels + 1"
10892
10921
  [logicalSlaveRow]="lockedColumnsCount > 0"
10893
10922
  [logicalCellsCount]="columns.length"
@@ -10922,6 +10951,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
10922
10951
  type: Input
10923
10952
  }], totalColumnsCount: [{
10924
10953
  type: Input
10954
+ }], totalColumns: [{
10955
+ type: Input
10925
10956
  }], headerClass: [{
10926
10957
  type: HostBinding,
10927
10958
  args: ['class.k-grid-header']
@@ -11506,8 +11537,17 @@ class TableBodyComponent {
11506
11537
  return this.editService.newDataItem;
11507
11538
  }
11508
11539
  // Number of unlocked columns in the next table, if any
11509
- get unlockedColumnsCount() {
11510
- return this.totalColumnsCount - this.lockedColumnsCount - (this.allColumns || this.columns).length;
11540
+ unlockedColumnsCount(item) {
11541
+ const allColumns = this.allColumns || this.columns;
11542
+ let allColumnsCount = allColumns.length;
11543
+ allColumns.forEach(column => {
11544
+ if (column.isSpanColumn) {
11545
+ allColumnsCount += column.colspan - 1;
11546
+ }
11547
+ });
11548
+ const contentColumnsCount = this.totalColumnsCount - this.lockedColumnsCount - allColumnsCount;
11549
+ const headerFooterColumnsCount = this.totalColumnsCount - this.lockedColumnsCount - (this.allColumns || this.columns).length;
11550
+ return item && item.type === 'data' ? contentColumnsCount : headerFooterColumnsCount;
11511
11551
  }
11512
11552
  get hasData() {
11513
11553
  const view = this.view;
@@ -11546,7 +11586,10 @@ class TableBodyComponent {
11546
11586
  return true;
11547
11587
  }
11548
11588
  ariaRowExpanded(item) {
11549
- return Boolean(item.expanded);
11589
+ return this.lockedColumnsCount < 1 ? Boolean(item.expanded) : undefined;
11590
+ }
11591
+ ariaRowSelected(item) {
11592
+ return this.lockedColumnsCount < 1 ? Boolean(item.selected) : undefined;
11550
11593
  }
11551
11594
  ariaExpanded(item, column) {
11552
11595
  if (!column.expandable || !item.hasChildren) {
@@ -11758,7 +11801,7 @@ class TableBodyComponent {
11758
11801
  }
11759
11802
  }
11760
11803
  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 });
11761
- 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: `
11804
+ 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: `
11762
11805
  <tr *ngIf="!hasData" class="k-grid-norecords">
11763
11806
  <td [attr.colspan]="colSpan" class="k-table-td">
11764
11807
  <ng-container *ngIf="noRecordsTemplate?.templateRef" [ngTemplateOutlet]="noRecordsTemplate.templateRef">
@@ -11776,14 +11819,15 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
11776
11819
  [logicalRowIndex]="logicalRowIndex(item.rowIndex)"
11777
11820
  [logicalSlaveRow]="lockedColumnsCount > 0"
11778
11821
  [logicalCellsCount]="columns.length"
11779
- [logicalSlaveCellsCount]="unlockedColumnsCount"
11822
+ [logicalSlaveCellsCount]="unlockedColumnsCount(item)"
11823
+ [totalColumns]="totalColumns"
11780
11824
  [isNew]="item.isNew"
11781
11825
  [attr.aria-expanded]="ariaRowExpanded(item)"
11782
11826
  [ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"
11783
11827
  class="k-table-row{{isOdd(item) ? ' k-alt k-table-alt-row' : ''}}"
11784
11828
  [class.k-grid-edit-row]="isEditingRow(item)"
11785
11829
  [class.k-grid-add-row]="item.isNew"
11786
- [attr.aria-selected]="item.selected"
11830
+ [attr.aria-selected]="ariaRowSelected(item)"
11787
11831
  [class.k-selected]="item.selected"
11788
11832
  [attr.data-treelist-view-index]="rowIndex">
11789
11833
 
@@ -11808,8 +11852,8 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
11808
11852
  [colSpan]="column.colspan"
11809
11853
  [expandable]="cellExpandable(item, column)"
11810
11854
  role="gridcell"
11811
- [attr.aria-expanded]="ariaExpanded(item, column)"
11812
- [attr.aria-selected]="ariaSelected(item, column, lockedColumnsCount + columnIndex)"
11855
+ [attr.aria-expanded]="lockedColumnsCount < 1 ? ariaExpanded(item, column) : undefined"
11856
+ [attr.aria-selected]="lockedColumnsCount < 1 ? ariaSelected(item, column, lockedColumnsCount + columnIndex) : undefined"
11813
11857
  class="k-table-td"
11814
11858
  [ngClass]="column.cssClass"
11815
11859
  [class.k-grid-edit-cell]="isEditingCell(item, column)"
@@ -11826,8 +11870,8 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
11826
11870
  [logicalRowIndex]="logicalRowIndex(item.rowIndex)"
11827
11871
  [logicalSlaveRow]="lockedColumnsCount > 0"
11828
11872
  [logicalCellsCount]="columns.length"
11829
- [logicalSlaveCellsCount]="unlockedColumnsCount">
11830
-
11873
+ [logicalSlaveCellsCount]="unlockedColumnsCount(item)"
11874
+ [totalColumns]="totalColumns">
11831
11875
  <td kendoTreeListLogicalCell
11832
11876
  [logicalRowIndex]="logicalRowIndex(item.rowIndex)"
11833
11877
  [logicalColIndex]="logicalColIndex(column)"
@@ -11855,7 +11899,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
11855
11899
  </td>
11856
11900
  </tr>
11857
11901
  </ng-container>
11858
- `, 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 } });
11902
+ `, 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 } });
11859
11903
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TableBodyComponent, decorators: [{
11860
11904
  type: Component,
11861
11905
  args: [{
@@ -11878,14 +11922,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11878
11922
  [logicalRowIndex]="logicalRowIndex(item.rowIndex)"
11879
11923
  [logicalSlaveRow]="lockedColumnsCount > 0"
11880
11924
  [logicalCellsCount]="columns.length"
11881
- [logicalSlaveCellsCount]="unlockedColumnsCount"
11925
+ [logicalSlaveCellsCount]="unlockedColumnsCount(item)"
11926
+ [totalColumns]="totalColumns"
11882
11927
  [isNew]="item.isNew"
11883
11928
  [attr.aria-expanded]="ariaRowExpanded(item)"
11884
11929
  [ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"
11885
11930
  class="k-table-row{{isOdd(item) ? ' k-alt k-table-alt-row' : ''}}"
11886
11931
  [class.k-grid-edit-row]="isEditingRow(item)"
11887
11932
  [class.k-grid-add-row]="item.isNew"
11888
- [attr.aria-selected]="item.selected"
11933
+ [attr.aria-selected]="ariaRowSelected(item)"
11889
11934
  [class.k-selected]="item.selected"
11890
11935
  [attr.data-treelist-view-index]="rowIndex">
11891
11936
 
@@ -11910,8 +11955,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11910
11955
  [colSpan]="column.colspan"
11911
11956
  [expandable]="cellExpandable(item, column)"
11912
11957
  role="gridcell"
11913
- [attr.aria-expanded]="ariaExpanded(item, column)"
11914
- [attr.aria-selected]="ariaSelected(item, column, lockedColumnsCount + columnIndex)"
11958
+ [attr.aria-expanded]="lockedColumnsCount < 1 ? ariaExpanded(item, column) : undefined"
11959
+ [attr.aria-selected]="lockedColumnsCount < 1 ? ariaSelected(item, column, lockedColumnsCount + columnIndex) : undefined"
11915
11960
  class="k-table-td"
11916
11961
  [ngClass]="column.cssClass"
11917
11962
  [class.k-grid-edit-cell]="isEditingCell(item, column)"
@@ -11928,8 +11973,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11928
11973
  [logicalRowIndex]="logicalRowIndex(item.rowIndex)"
11929
11974
  [logicalSlaveRow]="lockedColumnsCount > 0"
11930
11975
  [logicalCellsCount]="columns.length"
11931
- [logicalSlaveCellsCount]="unlockedColumnsCount">
11932
-
11976
+ [logicalSlaveCellsCount]="unlockedColumnsCount(item)"
11977
+ [totalColumns]="totalColumns">
11933
11978
  <td kendoTreeListLogicalCell
11934
11979
  [logicalRowIndex]="logicalRowIndex(item.rowIndex)"
11935
11980
  [logicalColIndex]="logicalColIndex(column)"
@@ -11988,6 +12033,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11988
12033
  type: Input
11989
12034
  }], trackBy: [{
11990
12035
  type: Input
12036
+ }], totalColumns: [{
12037
+ type: Input
11991
12038
  }], rowClass: [{
11992
12039
  type: Input
11993
12040
  }] } });
@@ -12688,6 +12735,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
12688
12735
  [noRecordsText]="''"
12689
12736
  [columns]="$any(lockedLeafColumns)"
12690
12737
  [totalColumnsCount]="leafColumns.length"
12738
+ [totalColumns]="columns"
12691
12739
  [skip]="skip"
12692
12740
  [trackBy]="trackBy"
12693
12741
  [filterable]="filterable"
@@ -12722,6 +12770,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
12722
12770
  [noRecordsTemplate]="noRecordsTemplate"
12723
12771
  [lockedColumnsCount]="lockedLeafColumns.length"
12724
12772
  [totalColumnsCount]="leafColumns.length"
12773
+ [totalColumns]="columns"
12725
12774
  [skip]="skip"
12726
12775
  [trackBy]="trackBy"
12727
12776
  [filterable]="filterable"
@@ -12742,7 +12791,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
12742
12791
  </div>
12743
12792
  <div *ngIf="loading" kendoTreeListLoading>
12744
12793
  </div>
12745
- `, 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"] }] });
12794
+ `, 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"] }] });
12746
12795
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ListComponent, decorators: [{
12747
12796
  type: Component,
12748
12797
  args: [{
@@ -12774,6 +12823,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12774
12823
  [noRecordsText]="''"
12775
12824
  [columns]="$any(lockedLeafColumns)"
12776
12825
  [totalColumnsCount]="leafColumns.length"
12826
+ [totalColumns]="columns"
12777
12827
  [skip]="skip"
12778
12828
  [trackBy]="trackBy"
12779
12829
  [filterable]="filterable"
@@ -12808,6 +12858,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
12808
12858
  [noRecordsTemplate]="noRecordsTemplate"
12809
12859
  [lockedColumnsCount]="lockedLeafColumns.length"
12810
12860
  [totalColumnsCount]="leafColumns.length"
12861
+ [totalColumns]="columns"
12811
12862
  [skip]="skip"
12812
12863
  [trackBy]="trackBy"
12813
12864
  [filterable]="filterable"
@@ -16438,7 +16489,8 @@ TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
16438
16489
  [sortable]="sortable"
16439
16490
  [columnMenu]="columnMenuOptions"
16440
16491
  [columnMenuTemplate]="columnMenuTemplate"
16441
- [totalColumnsCount]="leafColumns.length">
16492
+ [totalColumnsCount]="leafColumns.length"
16493
+ [totalColumns]="columnsContainer">
16442
16494
  </thead>
16443
16495
  </table>
16444
16496
  </div>
@@ -16468,7 +16520,8 @@ TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
16468
16520
  [columnMenu]="columnMenuOptions"
16469
16521
  [columnMenuTemplate]="columnMenuTemplate"
16470
16522
  [lockedColumnsCount]="lockedLeafColumns.length"
16471
- [totalColumnsCount]="leafColumns.length">
16523
+ [totalColumnsCount]="leafColumns.length"
16524
+ [totalColumns]="columnsContainer">
16472
16525
  </thead>
16473
16526
  </table>
16474
16527
  <div *ngIf="virtualColumns" class="k-width-container" role="presentation">
@@ -16519,7 +16572,8 @@ TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
16519
16572
  [filter]="filter"
16520
16573
  [filterable]="filterable"
16521
16574
  [columnMenu]="columnMenuOptions"
16522
- [columnMenuTemplate]="columnMenuTemplate">
16575
+ [columnMenuTemplate]="columnMenuTemplate"
16576
+ [totalColumns]="columnsContainer">
16523
16577
  </thead>
16524
16578
  <tbody kendoTreeListTableBody
16525
16579
  [view]="view"
@@ -16568,7 +16622,7 @@ TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
16568
16622
  </kendo-icon-wrapper>
16569
16623
  {{hintText}}
16570
16624
  </ng-template>
16571
- `, 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 });
16625
+ `, 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 });
16572
16626
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeListComponent, decorators: [{
16573
16627
  type: Component,
16574
16628
  args: [{
@@ -16865,7 +16919,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
16865
16919
  [sortable]="sortable"
16866
16920
  [columnMenu]="columnMenuOptions"
16867
16921
  [columnMenuTemplate]="columnMenuTemplate"
16868
- [totalColumnsCount]="leafColumns.length">
16922
+ [totalColumnsCount]="leafColumns.length"
16923
+ [totalColumns]="columnsContainer">
16869
16924
  </thead>
16870
16925
  </table>
16871
16926
  </div>
@@ -16895,7 +16950,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
16895
16950
  [columnMenu]="columnMenuOptions"
16896
16951
  [columnMenuTemplate]="columnMenuTemplate"
16897
16952
  [lockedColumnsCount]="lockedLeafColumns.length"
16898
- [totalColumnsCount]="leafColumns.length">
16953
+ [totalColumnsCount]="leafColumns.length"
16954
+ [totalColumns]="columnsContainer">
16899
16955
  </thead>
16900
16956
  </table>
16901
16957
  <div *ngIf="virtualColumns" class="k-width-container" role="presentation">
@@ -16946,7 +17002,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
16946
17002
  [filter]="filter"
16947
17003
  [filterable]="filterable"
16948
17004
  [columnMenu]="columnMenuOptions"
16949
- [columnMenuTemplate]="columnMenuTemplate">
17005
+ [columnMenuTemplate]="columnMenuTemplate"
17006
+ [totalColumns]="columnsContainer">
16950
17007
  </thead>
16951
17008
  <tbody kendoTreeListTableBody
16952
17009
  [view]="view"
@@ -6,6 +6,7 @@ import { OnDestroy, OnChanges } from '@angular/core';
6
6
  import { IdService } from '../common/id.service';
7
7
  import { NavigationService } from './navigation.service';
8
8
  import { LogicalRow } from './logical-row.interface';
9
+ import { ColumnsContainer } from '../columns/columns-container';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
12
  * @hidden
@@ -20,14 +21,17 @@ export declare class LogicalRowDirective implements LogicalRow, OnDestroy, OnCha
20
21
  dataRowIndex: number;
21
22
  dataItem: any;
22
23
  isNew: boolean;
24
+ totalColumns: ColumnsContainer;
23
25
  uid: number;
24
26
  get hostRole(): string;
25
27
  get ariaRowIndex(): number;
28
+ get rowIndex(): number;
26
29
  get ariaOwns(): string;
27
30
  tableRowClass: boolean;
28
31
  constructor(idService: IdService, navigation: NavigationService);
29
32
  ngOnChanges(changes: any): void;
30
33
  ngOnDestroy(): void;
34
+ private get columnsArray();
31
35
  static ɵfac: i0.ɵɵFactoryDeclaration<LogicalRowDirective, never>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<LogicalRowDirective, "[kendoTreeListLogicalRow]", never, { "logicalRowIndex": "logicalRowIndex"; "logicalSlaveRow": "logicalSlaveRow"; "logicalCellsCount": "logicalCellsCount"; "logicalSlaveCellsCount": "logicalSlaveCellsCount"; "dataRowIndex": "dataRowIndex"; "dataItem": "dataItem"; "isNew": "isNew"; }, {}, never>;
36
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LogicalRowDirective, "[kendoTreeListLogicalRow]", never, { "logicalRowIndex": "logicalRowIndex"; "logicalSlaveRow": "logicalSlaveRow"; "logicalCellsCount": "logicalCellsCount"; "logicalSlaveCellsCount": "logicalSlaveCellsCount"; "dataRowIndex": "dataRowIndex"; "dataItem": "dataItem"; "isNew": "isNew"; "totalColumns": "totalColumns"; }, {}, never>;
33
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-treelist",
3
- "version": "13.2.0",
3
+ "version": "13.2.1-develop.1",
4
4
  "description": "Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -30,25 +30,25 @@
30
30
  "@progress/kendo-data-query": "^1.0.0",
31
31
  "@progress/kendo-drawing": "^1.17.2",
32
32
  "@progress/kendo-licensing": "^1.0.2",
33
- "@progress/kendo-angular-buttons": "13.2.0",
34
- "@progress/kendo-angular-common": "13.2.0",
35
- "@progress/kendo-angular-dateinputs": "13.2.0",
36
- "@progress/kendo-angular-dropdowns": "13.2.0",
37
- "@progress/kendo-angular-excel-export": "13.2.0",
38
- "@progress/kendo-angular-icons": "13.2.0",
39
- "@progress/kendo-angular-inputs": "13.2.0",
40
- "@progress/kendo-angular-intl": "13.2.0",
41
- "@progress/kendo-angular-l10n": "13.2.0",
42
- "@progress/kendo-angular-label": "13.2.0",
43
- "@progress/kendo-angular-pdf-export": "13.2.0",
44
- "@progress/kendo-angular-popup": "13.2.0",
45
- "@progress/kendo-angular-utils": "13.2.0",
33
+ "@progress/kendo-angular-buttons": "13.2.1-develop.1",
34
+ "@progress/kendo-angular-common": "13.2.1-develop.1",
35
+ "@progress/kendo-angular-dateinputs": "13.2.1-develop.1",
36
+ "@progress/kendo-angular-dropdowns": "13.2.1-develop.1",
37
+ "@progress/kendo-angular-excel-export": "13.2.1-develop.1",
38
+ "@progress/kendo-angular-icons": "13.2.1-develop.1",
39
+ "@progress/kendo-angular-inputs": "13.2.1-develop.1",
40
+ "@progress/kendo-angular-intl": "13.2.1-develop.1",
41
+ "@progress/kendo-angular-l10n": "13.2.1-develop.1",
42
+ "@progress/kendo-angular-label": "13.2.1-develop.1",
43
+ "@progress/kendo-angular-pdf-export": "13.2.1-develop.1",
44
+ "@progress/kendo-angular-popup": "13.2.1-develop.1",
45
+ "@progress/kendo-angular-utils": "13.2.1-develop.1",
46
46
  "rxjs": "^6.5.3 || ^7.0.0",
47
- "@progress/kendo-angular-listview": "13.2.0"
47
+ "@progress/kendo-angular-listview": "13.2.1-develop.1"
48
48
  },
49
49
  "dependencies": {
50
50
  "tslib": "^2.3.1",
51
- "@progress/kendo-angular-schematics": "13.2.0",
51
+ "@progress/kendo-angular-schematics": "13.2.1-develop.1",
52
52
  "@progress/kendo-common": "^0.2.0",
53
53
  "@progress/kendo-file-saver": "^1.0.0"
54
54
  },
@@ -20,6 +20,7 @@ import { SortService } from '../../common/sort.service';
20
20
  import { SelectionService } from '../../selection/selection.service';
21
21
  import { ColumnMenuSettings } from '../../column-menu/column-menu-settings.interface';
22
22
  import { SVGIcon } from '@progress/kendo-svg-icons';
23
+ import { ColumnsContainer } from '../../columns/columns-container';
23
24
  import * as i0 from "@angular/core";
24
25
  /**
25
26
  * @hidden
@@ -49,6 +50,7 @@ export declare class HeaderComponent implements AfterViewInit, OnInit, OnChanges
49
50
  columnMenu: boolean | ColumnMenuSettings;
50
51
  columnMenuTemplate: TemplateRef<any>;
51
52
  totalColumnsCount: number;
53
+ totalColumns: ColumnsContainer;
52
54
  sortedFields: any;
53
55
  get headerClass(): boolean;
54
56
  hostClass: boolean;
@@ -102,5 +104,5 @@ export declare class HeaderComponent implements AfterViewInit, OnInit, OnChanges
102
104
  private leave;
103
105
  private drop;
104
106
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
105
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "[kendoTreeListHeader]", never, { "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"; }, {}, never, never>;
107
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "[kendoTreeListHeader]", never, { "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"; }, {}, never, never>;
106
108
  }
@@ -16,6 +16,7 @@ import { NavigationService } from '../navigation/navigation.service';
16
16
  import { TreeListItem } from '../data/treelist-item.interface';
17
17
  import { ExpandStateService } from '../expand-state/expand-state.service';
18
18
  import { SelectionService } from '../selection/selection.service';
19
+ import { ColumnsContainer } from '../columns/columns-container';
19
20
  import * as i0 from "@angular/core";
20
21
  /**
21
22
  * @hidden
@@ -46,6 +47,7 @@ export declare class TableBodyComponent implements OnInit, OnDestroy, OnChanges
46
47
  virtualColumns: boolean;
47
48
  expandIcons: boolean;
48
49
  trackBy: TrackByFunction<TreeListItem>;
50
+ totalColumns: ColumnsContainer;
49
51
  private clickSubscription;
50
52
  private l10nSubscription;
51
53
  private cellKeydownSubscription;
@@ -54,7 +56,7 @@ export declare class TableBodyComponent implements OnInit, OnDestroy, OnChanges
54
56
  rowClass: RowClassFn;
55
57
  constructor(changeNotification: ChangeNotificationService, editService: EditService, localization: LocalizationService, ngZone: NgZone, renderer: Renderer2, element: ElementRef, domEvents: DomEventsService, columnInfoService: ColumnInfoService, navigationService: NavigationService, expandState: ExpandStateService, selection: SelectionService);
56
58
  get newDataItem(): any;
57
- get unlockedColumnsCount(): number;
59
+ unlockedColumnsCount(item?: any): number;
58
60
  get hasData(): boolean;
59
61
  isOdd(item: any): boolean;
60
62
  trackByWrapper(index: number, item: TreeListItem): any;
@@ -66,6 +68,7 @@ export declare class TableBodyComponent implements OnInit, OnDestroy, OnChanges
66
68
  logicalColIndex(column: any): number;
67
69
  cellExpandable(item: any, column: any): any;
68
70
  ariaRowExpanded(item: any): boolean;
71
+ ariaRowSelected(item: any): boolean;
69
72
  ariaExpanded(item: any, column: any): any;
70
73
  ariaSelected(item: any, column: any, columnIndex: number): any;
71
74
  ngOnInit(): void;
@@ -92,5 +95,5 @@ export declare class TableBodyComponent implements OnInit, OnDestroy, OnChanges
92
95
  private checkboxClick;
93
96
  private rowItem;
94
97
  static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent, never>;
95
- static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent, "[kendoTreeListTableBody]", never, { "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"; }, {}, never, never>;
98
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent, "[kendoTreeListTableBody]", never, { "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"; }, {}, never, never>;
96
99
  }
@@ -4,13 +4,13 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TreeListModule', package: 'treelist', peerDependencies: {
6
6
  // peer dep of the dropdowns
7
- '@progress/kendo-angular-treeview': '13.2.0',
7
+ '@progress/kendo-angular-treeview': '13.2.1-develop.1',
8
8
  // peer dependency of kendo-angular-inputs
9
- '@progress/kendo-angular-dialog': '13.2.0',
9
+ '@progress/kendo-angular-dialog': '13.2.1-develop.1',
10
10
  // peer dependency of kendo-angular-icons
11
11
  '@progress/kendo-svg-icons': '^1.0.0',
12
12
  // peer dependency of kendo-angular-dateinputs
13
- '@progress/kendo-angular-navigation': '13.2.0',
13
+ '@progress/kendo-angular-navigation': '13.2.1-develop.1',
14
14
  } });
15
15
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
16
16
  }