@progress/kendo-angular-treelist 11.0.0-develop.81 → 11.0.0-develop.83
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/column-menu/column-menu.component.mjs +2 -2
- package/esm2020/filtering/cell/filter-cell-operators.component.mjs +9 -8
- package/esm2020/filtering/cell/string-filter-cell.component.mjs +8 -9
- package/esm2020/filtering/filter-row.component.mjs +2 -0
- package/esm2020/filtering/menu/filter-menu.component.mjs +5 -4
- package/esm2020/filtering/shared-filtering.module.mjs +9 -4
- package/esm2020/localization/messages.mjs +3 -1
- package/esm2020/navigation/logical-row.directive.mjs +5 -1
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/pager/pager-input.component.mjs +44 -45
- package/esm2020/pager/pager-next-buttons.component.mjs +50 -66
- package/esm2020/pager/pager-numeric-buttons.component.mjs +91 -62
- package/esm2020/pager/pager-page-sizes.component.mjs +2 -0
- package/esm2020/pager/pager-prev-buttons.component.mjs +50 -64
- package/esm2020/pager/pager.component.mjs +14 -10
- package/esm2020/pager/pager.module.mjs +3 -0
- package/esm2020/pdf/export-element.mjs +1 -1
- package/esm2020/rendering/constants.mjs +1 -1
- package/esm2020/rendering/header/header.component.mjs +19 -11
- package/esm2020/rendering/list.component.mjs +18 -6
- package/esm2020/rendering/table-body.component.mjs +15 -7
- package/esm2020/rendering/toolbar/toolbar.component.mjs +3 -7
- package/esm2020/treelist.component.mjs +264 -236
- package/fesm2015/progress-kendo-angular-treelist.mjs +616 -543
- package/fesm2020/progress-kendo-angular-treelist.mjs +616 -543
- package/filtering/shared-filtering.module.d.ts +2 -1
- package/localization/messages.d.ts +5 -1
- package/navigation/logical-row.directive.d.ts +1 -0
- package/package.json +16 -15
- package/pager/pager.component.d.ts +2 -1
- package/pager/pager.module.d.ts +5 -4
- package/rendering/constants.d.ts +1 -1
- package/rendering/header/header.component.d.ts +1 -0
- package/rendering/table-body.component.d.ts +1 -0
- package/rendering/toolbar/toolbar.component.d.ts +0 -1
- package/treelist.component.d.ts +1 -1
|
@@ -390,6 +390,7 @@ export class TreeListComponent {
|
|
|
390
390
|
* A query list of all declared columns.
|
|
391
391
|
*/
|
|
392
392
|
this.columns = new QueryList();
|
|
393
|
+
this.hostClasses = true;
|
|
393
394
|
this.footer = new QueryList();
|
|
394
395
|
this.columnsContainer = new ColumnsContainer(() => this.columnList.filterHierarchy(column => {
|
|
395
396
|
if (!isUniversal()) {
|
|
@@ -685,9 +686,6 @@ export class TreeListComponent {
|
|
|
685
686
|
get dir() {
|
|
686
687
|
return this.direction;
|
|
687
688
|
}
|
|
688
|
-
get hostClasses() {
|
|
689
|
-
return true;
|
|
690
|
-
}
|
|
691
689
|
get lockedClasses() {
|
|
692
690
|
return this.lockedLeafColumns.length > 0;
|
|
693
691
|
}
|
|
@@ -1881,7 +1879,7 @@ export class TreeListComponent {
|
|
|
1881
1879
|
}
|
|
1882
1880
|
}
|
|
1883
1881
|
TreeListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeListComponent, deps: [{ token: i1.BrowserSupportService }, { token: i0.ElementRef }, { token: i2.ChangeNotificationService }, { token: i3.EditService }, { token: i4.FilterService }, { token: i5.PDFService }, { token: i6.ResponsiveService }, { token: i0.Renderer2 }, { token: i7.ExcelService }, { token: i0.NgZone }, { token: i8.ScrollSyncService }, { token: i9.DomEventsService }, { token: i10.ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: i11.ColumnReorderService }, { token: i12.ColumnInfoService }, { token: i13.NavigationService }, { token: i14.SortService }, { token: i15.ScrollRequestService }, { token: i16.ExpandStateService }, { token: i17.OptionChangesService }, { token: i18.SelectionService }, { token: i19.LocalizationService }, { token: i20.ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1884
|
-
TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TreeListComponent, selector: "kendo-treelist", inputs: { ariaLabel: ["aria-label", "ariaLabel"], data: "data", pageSize: "pageSize", height: "height", rowHeight: "rowHeight", skip: "skip", scrollable: "scrollable", sort: "sort", trackBy: "trackBy", filter: "filter", virtualColumns: "virtualColumns", filterable: "filterable", sortable: "sortable", pageable: "pageable", navigable: "navigable", navigatable: "navigatable", autoSize: "autoSize", rowClass: "rowClass", resizable: "resizable", reorderable: "reorderable", loading: "loading", columnMenu: "columnMenu", hideHeader: "hideHeader", idField: "idField", selectable: "selectable", isSelected: "isSelected", columnsRef: ["columns", "columnsRef"], fetchChildren: "fetchChildren", hasChildren: "hasChildren", isExpanded: "isExpanded" }, outputs: { selectionChange: "selectionChange", filterChange: "filterChange", pageChange: "pageChange", sortChange: "sortChange", dataStateChange: "dataStateChange", edit: "edit", cancel: "cancel", save: "save", remove: "remove", add: "add", cellClose: "cellClose", cellClick: "cellClick", pdfExport: "pdfExport", excelExport: "excelExport", columnResize: "columnResize", columnReorder: "columnReorder", columnVisibilityChange: "columnVisibilityChange", columnLockedChange: "columnLockedChange", scrollBottom: "scrollBottom", contentScroll: "contentScroll", expandEvent: "expand", collapseEvent: "collapse", expandStateChange: "expandStateChange" }, host: { properties: { "attr.dir": "this.dir", "class.k-
|
|
1882
|
+
TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TreeListComponent, selector: "kendo-treelist", inputs: { ariaLabel: ["aria-label", "ariaLabel"], data: "data", pageSize: "pageSize", height: "height", rowHeight: "rowHeight", skip: "skip", scrollable: "scrollable", sort: "sort", trackBy: "trackBy", filter: "filter", virtualColumns: "virtualColumns", filterable: "filterable", sortable: "sortable", pageable: "pageable", navigable: "navigable", navigatable: "navigatable", autoSize: "autoSize", rowClass: "rowClass", resizable: "resizable", reorderable: "reorderable", loading: "loading", columnMenu: "columnMenu", hideHeader: "hideHeader", idField: "idField", selectable: "selectable", isSelected: "isSelected", columnsRef: ["columns", "columnsRef"], fetchChildren: "fetchChildren", hasChildren: "hasChildren", isExpanded: "isExpanded" }, outputs: { selectionChange: "selectionChange", filterChange: "filterChange", pageChange: "pageChange", sortChange: "sortChange", dataStateChange: "dataStateChange", edit: "edit", cancel: "cancel", save: "save", remove: "remove", add: "add", cellClose: "cellClose", cellClick: "cellClick", pdfExport: "pdfExport", excelExport: "excelExport", columnResize: "columnResize", columnReorder: "columnReorder", columnVisibilityChange: "columnVisibilityChange", columnLockedChange: "columnLockedChange", scrollBottom: "scrollBottom", contentScroll: "contentScroll", expandEvent: "expand", collapseEvent: "collapse", expandStateChange: "expandStateChange" }, host: { properties: { "attr.dir": "this.dir", "class.k-grid": "this.hostClasses", "class.k-grid-md": "this.hostClasses", "class.k-treelist": "this.hostClasses", "class.k-grid-lockedcolumns": "this.lockedClasses", "class.k-grid-virtual": "this.virtualClasses", "class.k-grid-no-scrollbar": "this.noScrollbarClass" } }, providers: [
|
|
1885
1883
|
BrowserSupportService,
|
|
1886
1884
|
LocalizationService,
|
|
1887
1885
|
ColumnInfoService,
|
|
@@ -2072,140 +2070,152 @@ TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
2072
2070
|
|
|
2073
2071
|
i18n-columnsReset="kendo.treelist.columnsReset|The text shown in the column menu or column chooser for the columns reset button"
|
|
2074
2072
|
columnsReset="Reset"
|
|
2073
|
+
|
|
2074
|
+
i18n-selectPage="kendo.treelist.selectPage|The text of the title and aria-label attributes applied to the page chooser in the TreeList Pager"
|
|
2075
|
+
selectPage="Select page"
|
|
2075
2076
|
>
|
|
2076
2077
|
</ng-container>
|
|
2077
|
-
<kendo-treelist-toolbar
|
|
2078
|
+
<kendo-treelist-toolbar
|
|
2079
|
+
*ngIf="showTopToolbar"
|
|
2080
|
+
position="top"
|
|
2081
|
+
class="k-toolbar k-grid-toolbar k-toolbar-md"></kendo-treelist-toolbar>
|
|
2078
2082
|
<div #ariaRoot
|
|
2079
2083
|
class="k-grid-aria-root"
|
|
2080
2084
|
role="treegrid"
|
|
2081
2085
|
[attr.aria-rowcount]="ariaRowCount"
|
|
2082
2086
|
[attr.aria-colcount]="ariaColCount"
|
|
2083
2087
|
[attr.aria-multiselectable]="ariaMultiselectable"
|
|
2084
|
-
[attr.aria-label]="ariaLabel"
|
|
2085
|
-
>
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
<colgroup kendoTreeListColGroup
|
|
2098
|
-
role="presentation"
|
|
2099
|
-
[columns]="$any(lockedLeafColumns)">
|
|
2100
|
-
</colgroup>
|
|
2101
|
-
<thead kendoTreeListHeader
|
|
2102
|
-
[resizable]="resizable"
|
|
2103
|
-
[scrollable]="true"
|
|
2104
|
-
[columns]="$any(lockedColumns)"
|
|
2105
|
-
[totalColumnLevels]="totalColumnLevels"
|
|
2106
|
-
[sort]="sort"
|
|
2107
|
-
[filter]="filter"
|
|
2108
|
-
[filterable]="filterable"
|
|
2109
|
-
[reorderable]="reorderable"
|
|
2110
|
-
[sortable]="sortable"
|
|
2111
|
-
[columnMenu]="columnMenuOptions"
|
|
2112
|
-
[columnMenuTemplate]="columnMenuTemplate"
|
|
2113
|
-
[totalColumnsCount]="leafColumns.length">
|
|
2114
|
-
</thead>
|
|
2115
|
-
</table>
|
|
2116
|
-
</div><div #header class="k-grid-header-wrap" role="presentation" data-scrollable
|
|
2117
|
-
[kendoTreeListResizableContainer]="lockedLeafColumns.length > 0"
|
|
2118
|
-
[lockedWidth]="lockedWidth + scrollbarWidth + 2">
|
|
2119
|
-
<table role="presentation" [style.width.px]="nonLockedWidth" [virtualColumns]="virtualColumns">
|
|
2120
|
-
<colgroup kendoTreeListColGroup
|
|
2088
|
+
[attr.aria-label]="ariaLabel">
|
|
2089
|
+
<ng-template [ngIf]="isScrollable">
|
|
2090
|
+
<div *ngIf="!hideHeader"
|
|
2091
|
+
class="k-grid-header"
|
|
2092
|
+
role="presentation"
|
|
2093
|
+
[style.padding]="headerPadding">
|
|
2094
|
+
<div *ngIf="isLocked"
|
|
2095
|
+
#lockedHeader
|
|
2096
|
+
role="presentation"
|
|
2097
|
+
class="k-grid-header-locked"
|
|
2098
|
+
[style.width.px]="lockedWidth">
|
|
2099
|
+
<table
|
|
2100
|
+
[locked]="true"
|
|
2121
2101
|
role="presentation"
|
|
2122
|
-
[
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2102
|
+
[style.width.px]="lockedWidth"
|
|
2103
|
+
class="k-grid-header-table k-table k-table-md">
|
|
2104
|
+
<colgroup kendoTreeListColGroup
|
|
2105
|
+
role="presentation"
|
|
2106
|
+
[columns]="$any(lockedLeafColumns)">
|
|
2107
|
+
</colgroup>
|
|
2108
|
+
<thead kendoTreeListHeader
|
|
2109
|
+
[resizable]="resizable"
|
|
2110
|
+
[scrollable]="true"
|
|
2111
|
+
[columns]="$any(lockedColumns)"
|
|
2112
|
+
[totalColumnLevels]="totalColumnLevels"
|
|
2113
|
+
[sort]="sort"
|
|
2114
|
+
[filter]="filter"
|
|
2115
|
+
[filterable]="filterable"
|
|
2116
|
+
[reorderable]="reorderable"
|
|
2117
|
+
[sortable]="sortable"
|
|
2118
|
+
[columnMenu]="columnMenuOptions"
|
|
2119
|
+
[columnMenuTemplate]="columnMenuTemplate"
|
|
2120
|
+
[totalColumnsCount]="leafColumns.length">
|
|
2121
|
+
</thead>
|
|
2122
|
+
</table>
|
|
2123
|
+
</div>
|
|
2124
|
+
<div #header class="k-grid-header-wrap" role="presentation" data-scrollable
|
|
2125
|
+
[kendoTreeListResizableContainer]="lockedLeafColumns.length > 0"
|
|
2126
|
+
[lockedWidth]="lockedWidth + scrollbarWidth + 2">
|
|
2127
|
+
<table
|
|
2126
2128
|
role="presentation"
|
|
2127
|
-
[
|
|
2128
|
-
[
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2129
|
+
[style.width.px]="nonLockedWidth"
|
|
2130
|
+
[virtualColumns]="virtualColumns"
|
|
2131
|
+
class="k-grid-header-table k-table k-table-md">
|
|
2132
|
+
<colgroup kendoTreeListColGroup
|
|
2133
|
+
role="presentation"
|
|
2134
|
+
[columns]="headerLeafColumns">
|
|
2135
|
+
</colgroup>
|
|
2136
|
+
<thead kendoTreeListHeader
|
|
2137
|
+
[resizable]="resizable"
|
|
2138
|
+
role="presentation"
|
|
2139
|
+
[scrollable]="true"
|
|
2140
|
+
[columns]="headerColumns"
|
|
2141
|
+
[totalColumnLevels]="totalColumnLevels"
|
|
2142
|
+
[sort]="sort"
|
|
2143
|
+
[filter]="filter"
|
|
2144
|
+
[filterable]="filterable"
|
|
2145
|
+
[reorderable]="reorderable"
|
|
2146
|
+
[sortable]="sortable"
|
|
2147
|
+
[columnMenu]="columnMenuOptions"
|
|
2148
|
+
[columnMenuTemplate]="columnMenuTemplate"
|
|
2149
|
+
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
2150
|
+
[totalColumnsCount]="leafColumns.length">
|
|
2151
|
+
</thead>
|
|
2152
|
+
</table>
|
|
2153
|
+
<div *ngIf="virtualColumns" class="k-width-container" role="presentation">
|
|
2154
|
+
<div [style.width.px]="columnsContainer.unlockedWidth"></div>
|
|
2155
|
+
</div>
|
|
2143
2156
|
</div>
|
|
2144
2157
|
</div>
|
|
2145
|
-
|
|
2146
|
-
<kendo-treelist-list
|
|
2147
|
-
[view]="view"
|
|
2148
|
-
[loading]="showLoading"
|
|
2149
|
-
[rowHeight]="rowHeight"
|
|
2150
|
-
[total]="totalCount"
|
|
2151
|
-
[take]="pageSize"
|
|
2152
|
-
[skip]="skip"
|
|
2153
|
-
[trackBy]="trackBy"
|
|
2154
|
-
[columns]="columnsContainer"
|
|
2155
|
-
[filterable]="filterable"
|
|
2156
|
-
[noRecordsTemplate]="noRecordsTemplate"
|
|
2157
|
-
(pageChange)="notifyPageChange('list', $event)"
|
|
2158
|
-
[rowClass]="rowClass"
|
|
2159
|
-
[isVirtual]="isVirtual"
|
|
2160
|
-
[virtualColumns]="virtualColumns"
|
|
2161
|
-
[expandIcons]="expandIcons"
|
|
2162
|
-
(scrollBottom)="notifyScrollBottom()"
|
|
2163
|
-
(contentScroll)="contentScroll.emit($event)"
|
|
2164
|
-
|
|
2165
|
-
kendoDraggable
|
|
2166
|
-
kendoTreeListSelectionMarquee
|
|
2167
|
-
[enableDrag]="marqueeSelection"
|
|
2168
|
-
>
|
|
2169
|
-
</kendo-treelist-list>
|
|
2170
|
-
</ng-template>
|
|
2171
|
-
<ng-template [ngIf]="!isScrollable">
|
|
2172
|
-
<table [style.table-layout]="resizable ? 'fixed' : null">
|
|
2173
|
-
<colgroup kendoTreeListColGroup
|
|
2174
|
-
[columns]="$any(leafColumns)">
|
|
2175
|
-
</colgroup>
|
|
2176
|
-
<thead kendoTreeListHeader
|
|
2177
|
-
*ngIf="!hideHeader"
|
|
2178
|
-
[resizable]="resizable"
|
|
2179
|
-
[scrollable]="false"
|
|
2180
|
-
[columns]="$any(visibleColumns)"
|
|
2181
|
-
[totalColumnLevels]="totalColumnLevels"
|
|
2182
|
-
[reorderable]="reorderable"
|
|
2183
|
-
[sort]="sort"
|
|
2184
|
-
[sortable]="sortable"
|
|
2185
|
-
[filter]="filter"
|
|
2186
|
-
[filterable]="filterable"
|
|
2187
|
-
[columnMenu]="columnMenuOptions"
|
|
2188
|
-
[columnMenuTemplate]="columnMenuTemplate">
|
|
2189
|
-
</thead>
|
|
2190
|
-
<tbody kendoTreeListTableBody
|
|
2158
|
+
<kendo-treelist-list
|
|
2191
2159
|
[view]="view"
|
|
2160
|
+
[loading]="showLoading"
|
|
2161
|
+
[rowHeight]="rowHeight"
|
|
2162
|
+
[total]="totalCount"
|
|
2163
|
+
[take]="pageSize"
|
|
2192
2164
|
[skip]="skip"
|
|
2193
|
-
[
|
|
2165
|
+
[trackBy]="trackBy"
|
|
2166
|
+
[columns]="columnsContainer"
|
|
2194
2167
|
[filterable]="filterable"
|
|
2195
2168
|
[noRecordsTemplate]="noRecordsTemplate"
|
|
2196
|
-
|
|
2169
|
+
(pageChange)="notifyPageChange('list', $event)"
|
|
2197
2170
|
[rowClass]="rowClass"
|
|
2171
|
+
[isVirtual]="isVirtual"
|
|
2172
|
+
[virtualColumns]="virtualColumns"
|
|
2198
2173
|
[expandIcons]="expandIcons"
|
|
2199
|
-
|
|
2174
|
+
(scrollBottom)="notifyScrollBottom()"
|
|
2175
|
+
(contentScroll)="contentScroll.emit($event)"
|
|
2200
2176
|
kendoDraggable
|
|
2201
2177
|
kendoTreeListSelectionMarquee
|
|
2202
|
-
[enableDrag]="marqueeSelection"
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2178
|
+
[enableDrag]="marqueeSelection">
|
|
2179
|
+
</kendo-treelist-list>
|
|
2180
|
+
</ng-template>
|
|
2181
|
+
<ng-template [ngIf]="!isScrollable">
|
|
2182
|
+
<table
|
|
2183
|
+
class="k-table k-table-md k-grid-header-table"
|
|
2184
|
+
[style.table-layout]="resizable ? 'fixed' : null">
|
|
2185
|
+
<colgroup kendoTreeListColGroup
|
|
2186
|
+
[columns]="$any(leafColumns)">
|
|
2187
|
+
</colgroup>
|
|
2188
|
+
<thead kendoTreeListHeader
|
|
2189
|
+
*ngIf="!hideHeader"
|
|
2190
|
+
[resizable]="resizable"
|
|
2191
|
+
[scrollable]="false"
|
|
2192
|
+
[columns]="$any(visibleColumns)"
|
|
2193
|
+
[totalColumnLevels]="totalColumnLevels"
|
|
2194
|
+
[reorderable]="reorderable"
|
|
2195
|
+
[sort]="sort"
|
|
2196
|
+
[sortable]="sortable"
|
|
2197
|
+
[filter]="filter"
|
|
2198
|
+
[filterable]="filterable"
|
|
2199
|
+
[columnMenu]="columnMenuOptions"
|
|
2200
|
+
[columnMenuTemplate]="columnMenuTemplate">
|
|
2201
|
+
</thead>
|
|
2202
|
+
<tbody kendoTreeListTableBody
|
|
2203
|
+
[view]="view"
|
|
2204
|
+
[skip]="skip"
|
|
2205
|
+
[columns]="$any(leafColumns)"
|
|
2206
|
+
[filterable]="filterable"
|
|
2207
|
+
[noRecordsTemplate]="noRecordsTemplate"
|
|
2208
|
+
[trackBy]="trackBy"
|
|
2209
|
+
[rowClass]="rowClass"
|
|
2210
|
+
[expandIcons]="expandIcons"
|
|
2211
|
+
kendoDraggable
|
|
2212
|
+
kendoTreeListSelectionMarquee
|
|
2213
|
+
[enableDrag]="marqueeSelection">
|
|
2214
|
+
</tbody>
|
|
2215
|
+
</table>
|
|
2216
|
+
<div *ngIf="showLoading" kendoTreeListLoading>
|
|
2217
|
+
</div>
|
|
2218
|
+
</ng-template>
|
|
2209
2219
|
</div>
|
|
2210
2220
|
<kendo-treelist-pager
|
|
2211
2221
|
*ngIf="showPager"
|
|
@@ -2217,7 +2227,10 @@ TreeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
2217
2227
|
[options]="pageable"
|
|
2218
2228
|
(pageChange)="notifyPageChange('pager', $event)">
|
|
2219
2229
|
</kendo-treelist-pager>
|
|
2220
|
-
<kendo-treelist-toolbar
|
|
2230
|
+
<kendo-treelist-toolbar
|
|
2231
|
+
*ngIf="showBottomToolbar"
|
|
2232
|
+
class="k-toolbar k-grid-toolbar k-grid-toolbar-bottom k-toolbar-md"
|
|
2233
|
+
position="bottom"></kendo-treelist-toolbar>
|
|
2221
2234
|
`, isInline: true, components: [{ type: i21.ToolbarComponent, selector: "kendo-treelist-toolbar", inputs: ["position"] }, { type: i22.ColGroupComponent, selector: "[kendoTreeListColGroup]", inputs: ["columns"] }, { type: i23.HeaderComponent, selector: "[kendoTreeListHeader]", inputs: ["totalColumnLevels", "columns", "scrollable", "filterable", "sort", "filter", "sortable", "lockedColumnsCount", "resizable", "reorderable", "columnMenu", "columnMenuTemplate", "totalColumnsCount"] }, { type: i24.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: i25.TableBodyComponent, selector: "[kendoTreeListTableBody]", inputs: ["columns", "allColumns", "noRecordsTemplate", "view", "skip", "filterable", "noRecordsText", "isLocked", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "expandIcons", "trackBy", "rowClass"] }, { type: i26.LoadingComponent, selector: "[kendoTreeListLoading]" }, { type: i27.PagerComponent, selector: "kendo-treelist-pager", inputs: ["allCount", "total", "skip", "pageSize", "options", "template"], outputs: ["pageChange"] }], directives: [{ type: i28.LocalizedMessagesDirective, selector: "[kendoTreeListLocalizedMessages]" }, { type: i29.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i30.TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: i31.ResizableContainerDirective, selector: "[kendoTreeListResizableContainer]", inputs: ["lockedWidth", "kendoTreeListResizableContainer"] }, { type: i32.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: i33.MarqueeDirective, selector: "[kendoTreeListSelectionMarquee]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2222
2235
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TreeListComponent, decorators: [{
|
|
2223
2236
|
type: Component,
|
|
@@ -2418,140 +2431,152 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2418
2431
|
|
|
2419
2432
|
i18n-columnsReset="kendo.treelist.columnsReset|The text shown in the column menu or column chooser for the columns reset button"
|
|
2420
2433
|
columnsReset="Reset"
|
|
2434
|
+
|
|
2435
|
+
i18n-selectPage="kendo.treelist.selectPage|The text of the title and aria-label attributes applied to the page chooser in the TreeList Pager"
|
|
2436
|
+
selectPage="Select page"
|
|
2421
2437
|
>
|
|
2422
2438
|
</ng-container>
|
|
2423
|
-
<kendo-treelist-toolbar
|
|
2439
|
+
<kendo-treelist-toolbar
|
|
2440
|
+
*ngIf="showTopToolbar"
|
|
2441
|
+
position="top"
|
|
2442
|
+
class="k-toolbar k-grid-toolbar k-toolbar-md"></kendo-treelist-toolbar>
|
|
2424
2443
|
<div #ariaRoot
|
|
2425
2444
|
class="k-grid-aria-root"
|
|
2426
2445
|
role="treegrid"
|
|
2427
2446
|
[attr.aria-rowcount]="ariaRowCount"
|
|
2428
2447
|
[attr.aria-colcount]="ariaColCount"
|
|
2429
2448
|
[attr.aria-multiselectable]="ariaMultiselectable"
|
|
2430
|
-
[attr.aria-label]="ariaLabel"
|
|
2431
|
-
>
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
<colgroup kendoTreeListColGroup
|
|
2449
|
+
[attr.aria-label]="ariaLabel">
|
|
2450
|
+
<ng-template [ngIf]="isScrollable">
|
|
2451
|
+
<div *ngIf="!hideHeader"
|
|
2452
|
+
class="k-grid-header"
|
|
2453
|
+
role="presentation"
|
|
2454
|
+
[style.padding]="headerPadding">
|
|
2455
|
+
<div *ngIf="isLocked"
|
|
2456
|
+
#lockedHeader
|
|
2457
|
+
role="presentation"
|
|
2458
|
+
class="k-grid-header-locked"
|
|
2459
|
+
[style.width.px]="lockedWidth">
|
|
2460
|
+
<table
|
|
2461
|
+
[locked]="true"
|
|
2444
2462
|
role="presentation"
|
|
2445
|
-
[
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
<
|
|
2471
|
-
[resizable]="resizable"
|
|
2463
|
+
[style.width.px]="lockedWidth"
|
|
2464
|
+
class="k-grid-header-table k-table k-table-md">
|
|
2465
|
+
<colgroup kendoTreeListColGroup
|
|
2466
|
+
role="presentation"
|
|
2467
|
+
[columns]="$any(lockedLeafColumns)">
|
|
2468
|
+
</colgroup>
|
|
2469
|
+
<thead kendoTreeListHeader
|
|
2470
|
+
[resizable]="resizable"
|
|
2471
|
+
[scrollable]="true"
|
|
2472
|
+
[columns]="$any(lockedColumns)"
|
|
2473
|
+
[totalColumnLevels]="totalColumnLevels"
|
|
2474
|
+
[sort]="sort"
|
|
2475
|
+
[filter]="filter"
|
|
2476
|
+
[filterable]="filterable"
|
|
2477
|
+
[reorderable]="reorderable"
|
|
2478
|
+
[sortable]="sortable"
|
|
2479
|
+
[columnMenu]="columnMenuOptions"
|
|
2480
|
+
[columnMenuTemplate]="columnMenuTemplate"
|
|
2481
|
+
[totalColumnsCount]="leafColumns.length">
|
|
2482
|
+
</thead>
|
|
2483
|
+
</table>
|
|
2484
|
+
</div>
|
|
2485
|
+
<div #header class="k-grid-header-wrap" role="presentation" data-scrollable
|
|
2486
|
+
[kendoTreeListResizableContainer]="lockedLeafColumns.length > 0"
|
|
2487
|
+
[lockedWidth]="lockedWidth + scrollbarWidth + 2">
|
|
2488
|
+
<table
|
|
2472
2489
|
role="presentation"
|
|
2473
|
-
[
|
|
2474
|
-
[
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2490
|
+
[style.width.px]="nonLockedWidth"
|
|
2491
|
+
[virtualColumns]="virtualColumns"
|
|
2492
|
+
class="k-grid-header-table k-table k-table-md">
|
|
2493
|
+
<colgroup kendoTreeListColGroup
|
|
2494
|
+
role="presentation"
|
|
2495
|
+
[columns]="headerLeafColumns">
|
|
2496
|
+
</colgroup>
|
|
2497
|
+
<thead kendoTreeListHeader
|
|
2498
|
+
[resizable]="resizable"
|
|
2499
|
+
role="presentation"
|
|
2500
|
+
[scrollable]="true"
|
|
2501
|
+
[columns]="headerColumns"
|
|
2502
|
+
[totalColumnLevels]="totalColumnLevels"
|
|
2503
|
+
[sort]="sort"
|
|
2504
|
+
[filter]="filter"
|
|
2505
|
+
[filterable]="filterable"
|
|
2506
|
+
[reorderable]="reorderable"
|
|
2507
|
+
[sortable]="sortable"
|
|
2508
|
+
[columnMenu]="columnMenuOptions"
|
|
2509
|
+
[columnMenuTemplate]="columnMenuTemplate"
|
|
2510
|
+
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
2511
|
+
[totalColumnsCount]="leafColumns.length">
|
|
2512
|
+
</thead>
|
|
2513
|
+
</table>
|
|
2514
|
+
<div *ngIf="virtualColumns" class="k-width-container" role="presentation">
|
|
2515
|
+
<div [style.width.px]="columnsContainer.unlockedWidth"></div>
|
|
2516
|
+
</div>
|
|
2489
2517
|
</div>
|
|
2490
2518
|
</div>
|
|
2491
|
-
|
|
2492
|
-
<kendo-treelist-list
|
|
2493
|
-
[view]="view"
|
|
2494
|
-
[loading]="showLoading"
|
|
2495
|
-
[rowHeight]="rowHeight"
|
|
2496
|
-
[total]="totalCount"
|
|
2497
|
-
[take]="pageSize"
|
|
2498
|
-
[skip]="skip"
|
|
2499
|
-
[trackBy]="trackBy"
|
|
2500
|
-
[columns]="columnsContainer"
|
|
2501
|
-
[filterable]="filterable"
|
|
2502
|
-
[noRecordsTemplate]="noRecordsTemplate"
|
|
2503
|
-
(pageChange)="notifyPageChange('list', $event)"
|
|
2504
|
-
[rowClass]="rowClass"
|
|
2505
|
-
[isVirtual]="isVirtual"
|
|
2506
|
-
[virtualColumns]="virtualColumns"
|
|
2507
|
-
[expandIcons]="expandIcons"
|
|
2508
|
-
(scrollBottom)="notifyScrollBottom()"
|
|
2509
|
-
(contentScroll)="contentScroll.emit($event)"
|
|
2510
|
-
|
|
2511
|
-
kendoDraggable
|
|
2512
|
-
kendoTreeListSelectionMarquee
|
|
2513
|
-
[enableDrag]="marqueeSelection"
|
|
2514
|
-
>
|
|
2515
|
-
</kendo-treelist-list>
|
|
2516
|
-
</ng-template>
|
|
2517
|
-
<ng-template [ngIf]="!isScrollable">
|
|
2518
|
-
<table [style.table-layout]="resizable ? 'fixed' : null">
|
|
2519
|
-
<colgroup kendoTreeListColGroup
|
|
2520
|
-
[columns]="$any(leafColumns)">
|
|
2521
|
-
</colgroup>
|
|
2522
|
-
<thead kendoTreeListHeader
|
|
2523
|
-
*ngIf="!hideHeader"
|
|
2524
|
-
[resizable]="resizable"
|
|
2525
|
-
[scrollable]="false"
|
|
2526
|
-
[columns]="$any(visibleColumns)"
|
|
2527
|
-
[totalColumnLevels]="totalColumnLevels"
|
|
2528
|
-
[reorderable]="reorderable"
|
|
2529
|
-
[sort]="sort"
|
|
2530
|
-
[sortable]="sortable"
|
|
2531
|
-
[filter]="filter"
|
|
2532
|
-
[filterable]="filterable"
|
|
2533
|
-
[columnMenu]="columnMenuOptions"
|
|
2534
|
-
[columnMenuTemplate]="columnMenuTemplate">
|
|
2535
|
-
</thead>
|
|
2536
|
-
<tbody kendoTreeListTableBody
|
|
2519
|
+
<kendo-treelist-list
|
|
2537
2520
|
[view]="view"
|
|
2521
|
+
[loading]="showLoading"
|
|
2522
|
+
[rowHeight]="rowHeight"
|
|
2523
|
+
[total]="totalCount"
|
|
2524
|
+
[take]="pageSize"
|
|
2538
2525
|
[skip]="skip"
|
|
2539
|
-
[
|
|
2526
|
+
[trackBy]="trackBy"
|
|
2527
|
+
[columns]="columnsContainer"
|
|
2540
2528
|
[filterable]="filterable"
|
|
2541
2529
|
[noRecordsTemplate]="noRecordsTemplate"
|
|
2542
|
-
|
|
2530
|
+
(pageChange)="notifyPageChange('list', $event)"
|
|
2543
2531
|
[rowClass]="rowClass"
|
|
2532
|
+
[isVirtual]="isVirtual"
|
|
2533
|
+
[virtualColumns]="virtualColumns"
|
|
2544
2534
|
[expandIcons]="expandIcons"
|
|
2545
|
-
|
|
2535
|
+
(scrollBottom)="notifyScrollBottom()"
|
|
2536
|
+
(contentScroll)="contentScroll.emit($event)"
|
|
2546
2537
|
kendoDraggable
|
|
2547
2538
|
kendoTreeListSelectionMarquee
|
|
2548
|
-
[enableDrag]="marqueeSelection"
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2539
|
+
[enableDrag]="marqueeSelection">
|
|
2540
|
+
</kendo-treelist-list>
|
|
2541
|
+
</ng-template>
|
|
2542
|
+
<ng-template [ngIf]="!isScrollable">
|
|
2543
|
+
<table
|
|
2544
|
+
class="k-table k-table-md k-grid-header-table"
|
|
2545
|
+
[style.table-layout]="resizable ? 'fixed' : null">
|
|
2546
|
+
<colgroup kendoTreeListColGroup
|
|
2547
|
+
[columns]="$any(leafColumns)">
|
|
2548
|
+
</colgroup>
|
|
2549
|
+
<thead kendoTreeListHeader
|
|
2550
|
+
*ngIf="!hideHeader"
|
|
2551
|
+
[resizable]="resizable"
|
|
2552
|
+
[scrollable]="false"
|
|
2553
|
+
[columns]="$any(visibleColumns)"
|
|
2554
|
+
[totalColumnLevels]="totalColumnLevels"
|
|
2555
|
+
[reorderable]="reorderable"
|
|
2556
|
+
[sort]="sort"
|
|
2557
|
+
[sortable]="sortable"
|
|
2558
|
+
[filter]="filter"
|
|
2559
|
+
[filterable]="filterable"
|
|
2560
|
+
[columnMenu]="columnMenuOptions"
|
|
2561
|
+
[columnMenuTemplate]="columnMenuTemplate">
|
|
2562
|
+
</thead>
|
|
2563
|
+
<tbody kendoTreeListTableBody
|
|
2564
|
+
[view]="view"
|
|
2565
|
+
[skip]="skip"
|
|
2566
|
+
[columns]="$any(leafColumns)"
|
|
2567
|
+
[filterable]="filterable"
|
|
2568
|
+
[noRecordsTemplate]="noRecordsTemplate"
|
|
2569
|
+
[trackBy]="trackBy"
|
|
2570
|
+
[rowClass]="rowClass"
|
|
2571
|
+
[expandIcons]="expandIcons"
|
|
2572
|
+
kendoDraggable
|
|
2573
|
+
kendoTreeListSelectionMarquee
|
|
2574
|
+
[enableDrag]="marqueeSelection">
|
|
2575
|
+
</tbody>
|
|
2576
|
+
</table>
|
|
2577
|
+
<div *ngIf="showLoading" kendoTreeListLoading>
|
|
2578
|
+
</div>
|
|
2579
|
+
</ng-template>
|
|
2555
2580
|
</div>
|
|
2556
2581
|
<kendo-treelist-pager
|
|
2557
2582
|
*ngIf="showPager"
|
|
@@ -2563,7 +2588,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2563
2588
|
[options]="pageable"
|
|
2564
2589
|
(pageChange)="notifyPageChange('pager', $event)">
|
|
2565
2590
|
</kendo-treelist-pager>
|
|
2566
|
-
<kendo-treelist-toolbar
|
|
2591
|
+
<kendo-treelist-toolbar
|
|
2592
|
+
*ngIf="showBottomToolbar"
|
|
2593
|
+
class="k-toolbar k-grid-toolbar k-grid-toolbar-bottom k-toolbar-md"
|
|
2594
|
+
position="bottom"></kendo-treelist-toolbar>
|
|
2567
2595
|
`
|
|
2568
2596
|
}]
|
|
2569
2597
|
}], ctorParameters: function () { return [{ type: i1.BrowserSupportService }, { type: i0.ElementRef }, { type: i2.ChangeNotificationService }, { type: i3.EditService }, { type: i4.FilterService }, { type: i5.PDFService }, { type: i6.ResponsiveService }, { type: i0.Renderer2 }, { type: i7.ExcelService }, { type: i0.NgZone }, { type: i8.ScrollSyncService }, { type: i9.DomEventsService }, { type: i10.ColumnResizingService }, { type: i0.ChangeDetectorRef }, { type: i11.ColumnReorderService }, { type: i12.ColumnInfoService }, { type: i13.NavigationService }, { type: i14.SortService }, { type: i15.ScrollRequestService }, { type: i16.ExpandStateService }, { type: i17.OptionChangesService }, { type: i18.SelectionService }, { type: i19.LocalizationService }, { type: i20.ContextService }]; }, propDecorators: { ariaLabel: [{
|
|
@@ -2678,10 +2706,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2678
2706
|
args: ['attr.dir']
|
|
2679
2707
|
}], hostClasses: [{
|
|
2680
2708
|
type: HostBinding,
|
|
2681
|
-
args: ['class.k-
|
|
2709
|
+
args: ['class.k-grid']
|
|
2682
2710
|
}, {
|
|
2683
2711
|
type: HostBinding,
|
|
2684
|
-
args: ['class.k-grid']
|
|
2712
|
+
args: ['class.k-grid-md']
|
|
2685
2713
|
}, {
|
|
2686
2714
|
type: HostBinding,
|
|
2687
2715
|
args: ['class.k-treelist']
|