@progress/kendo-angular-grid 20.1.0-develop.9 → 20.1.0
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/columns/column.component.d.ts +8 -1
- package/esm2022/columns/column.component.mjs +9 -1
- package/esm2022/common/clipboard.directive.mjs +3 -0
- package/esm2022/filtering/menu/filter-menu-container.component.mjs +120 -31
- package/esm2022/filtering/menu/filter-menu.component.mjs +4 -6
- package/esm2022/filtering/multicheckbox-filter.component.mjs +313 -0
- package/esm2022/grid.component.mjs +25 -12
- package/esm2022/index.mjs +1 -0
- package/esm2022/localization/messages.mjs +28 -1
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf.component.mjs +8 -3
- package/esm2022/rendering/cell.component.mjs +2 -2
- package/esm2022/rendering/common/field-accessor.pipe.mjs +1 -1
- package/esm2022/rendering/common/format.pipe.mjs +37 -0
- package/esm2022/rendering/header/header.component.mjs +1 -1
- package/esm2022/rendering/list.component.mjs +2 -2
- package/esm2022/rendering/table-body.component.mjs +4 -2
- package/esm2022/rendering/toolbar/tools/group-toolbar-tool.component.mjs +4 -3
- package/esm2022/scrolling/scroller.service.mjs +0 -3
- package/fesm2022/progress-kendo-angular-grid.mjs +1965 -1500
- package/filtering/filterable.d.ts +23 -0
- package/filtering/menu/filter-menu-container.component.d.ts +5 -1
- package/filtering/menu/filter-menu.component.d.ts +3 -4
- package/filtering/multicheckbox-filter.component.d.ts +50 -0
- package/grid.component.d.ts +4 -6
- package/index.d.ts +1 -0
- package/localization/messages.d.ts +22 -1
- package/package.json +21 -21
- package/rendering/common/format.pipe.d.ts +17 -0
- package/schematics/ngAdd/index.js +4 -4
|
@@ -864,7 +864,7 @@ export class ListComponent {
|
|
|
864
864
|
<div></div>
|
|
865
865
|
</div>
|
|
866
866
|
</div>
|
|
867
|
-
<div
|
|
867
|
+
<div
|
|
868
868
|
#container
|
|
869
869
|
class="k-grid-content k-virtual-content"
|
|
870
870
|
[kendoGridResizableContainer]="lockedLeafColumns.length > 0"
|
|
@@ -989,7 +989,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
989
989
|
<div></div>
|
|
990
990
|
</div>
|
|
991
991
|
</div>
|
|
992
|
-
<div
|
|
992
|
+
<div
|
|
993
993
|
#container
|
|
994
994
|
class="k-grid-content k-virtual-content"
|
|
995
995
|
[kendoGridResizableContainer]="lockedLeafColumns.length > 0"
|
|
@@ -616,7 +616,8 @@ export class TableBodyComponent {
|
|
|
616
616
|
[dataItem]="item.data"
|
|
617
617
|
[detailExpandCell]="true"
|
|
618
618
|
aria-selected="false"
|
|
619
|
-
role="gridcell"
|
|
619
|
+
role="gridcell"
|
|
620
|
+
[attr.aria-expanded]="item.isExpanded">
|
|
620
621
|
<a
|
|
621
622
|
*ngIf="detailTemplate.showIf(item.data, $any(item).index)"
|
|
622
623
|
[attr.title]="detailButtonTitle(item)"
|
|
@@ -936,7 +937,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
936
937
|
[dataItem]="item.data"
|
|
937
938
|
[detailExpandCell]="true"
|
|
938
939
|
aria-selected="false"
|
|
939
|
-
role="gridcell"
|
|
940
|
+
role="gridcell"
|
|
941
|
+
[attr.aria-expanded]="item.isExpanded">
|
|
940
942
|
<a
|
|
941
943
|
*ngIf="detailTemplate.showIf(item.data, $any(item).index)"
|
|
942
944
|
[attr.title]="detailButtonTitle(item)"
|
|
@@ -202,11 +202,12 @@ export class GroupToolbarToolComponent {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
updateGroupedColumns() {
|
|
205
|
+
const columns = this.ctx.grid['columnInfoService'].leafNamedColumns;
|
|
206
|
+
const groupableColumns = columns.filter(column => column?.groupable);
|
|
205
207
|
this.groupedColumns = this.group
|
|
206
|
-
.map(group =>
|
|
208
|
+
.map(group => columns.find(column => column?.field === group.field))
|
|
207
209
|
.filter(column => !!column);
|
|
208
|
-
this.ungroupedColumns =
|
|
209
|
-
!this.groupedColumns.some(gc => gc?.field === column?.field));
|
|
210
|
+
this.ungroupedColumns = groupableColumns.filter(column => !this.groupedColumns.some(gc => gc?.field === column?.field));
|
|
210
211
|
}
|
|
211
212
|
navigateToNextItem() {
|
|
212
213
|
if (this.currentFocusedItemIndex < this.groupItems.length - 1) {
|
|
@@ -133,9 +133,6 @@ export class ScrollerService {
|
|
|
133
133
|
const lastItemIndex = this.rowHeightService.index(scrollTop + offsetHeight);
|
|
134
134
|
const overflow = Math.max(firstItemIndex + (this.virtualPageSize || this.take) - this.total, 0);
|
|
135
135
|
firstItemIndex = Math.max(firstItemIndex - overflow, 0);
|
|
136
|
-
if (lastItemIndex < this.lastLoaded) {
|
|
137
|
-
this.lastLoaded = lastItemIndex;
|
|
138
|
-
}
|
|
139
136
|
if (down) {
|
|
140
137
|
const atBottom = scrollHeight - clientHeight - scrollTop < SCROLL_BOTTOM_THRESHOLD;
|
|
141
138
|
if (atBottom) {
|