@progress/kendo-angular-grid 7.0.2-dev.202205230854 → 7.1.0-dev.202206060906
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/bundles/kendo-angular-grid.umd.js +1 -1
- package/esm2015/column-menu/column-menu.component.js +2 -2
- package/esm2015/filtering/base-filter-cell.component.js +5 -8
- package/esm2015/filtering/filter-input-wrapper.component.js +5 -8
- package/esm2015/filtering/menu/filter-menu.component.js +2 -2
- package/esm2015/filtering/numeric-filter.component.js +5 -8
- package/esm2015/filtering/string-filter.component.js +5 -8
- package/esm2015/grid.component.js +47 -23
- package/esm2015/main.js +3 -0
- package/esm2015/navigation/logical-cell.directive.js +3 -3
- package/esm2015/navigation/navigable-settings.js +5 -0
- package/esm2015/navigation/navigation.service.js +14 -1
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/pager/pager-element.component.js +5 -8
- package/esm2015/pager/pager-numeric-buttons.component.js +0 -2
- package/esm2015/pager/pager.component.js +11 -11
- package/esm2015/rendering/list.component.js +1 -1
- package/fesm2015/kendo-angular-grid.js +102 -82
- package/filtering/base-filter-cell.component.d.ts +1 -1
- package/filtering/filter-input-wrapper.component.d.ts +1 -1
- package/filtering/numeric-filter.component.d.ts +1 -1
- package/filtering/string-filter.component.d.ts +1 -1
- package/grid.component.d.ts +8 -3
- package/main.d.ts +3 -0
- package/navigation/navigable-settings.d.ts +12 -0
- package/navigation/navigation.service.d.ts +7 -1
- package/package.json +1 -1
- package/pager/pager-element.component.d.ts +1 -1
|
@@ -1515,6 +1515,8 @@ class NavigationService {
|
|
|
1515
1515
|
this.mode = 0 /* Standby */;
|
|
1516
1516
|
this.model = new NavigationModel();
|
|
1517
1517
|
this.cursor = new NavigationCursor(this.model);
|
|
1518
|
+
this.pagerIsNavigable = false;
|
|
1519
|
+
this.tableIsNavigable = false;
|
|
1518
1520
|
this.changes = this.cursor.changes;
|
|
1519
1521
|
}
|
|
1520
1522
|
set metadata(value) {
|
|
@@ -1527,6 +1529,12 @@ class NavigationService {
|
|
|
1527
1529
|
get enabled() {
|
|
1528
1530
|
return this.alive;
|
|
1529
1531
|
}
|
|
1532
|
+
get pagerEnabled() {
|
|
1533
|
+
return this.alive && this.pagerIsNavigable;
|
|
1534
|
+
}
|
|
1535
|
+
get tableEnabled() {
|
|
1536
|
+
return this.alive && this.tableIsNavigable;
|
|
1537
|
+
}
|
|
1530
1538
|
get activeCell() {
|
|
1531
1539
|
if (this.mode !== 0 /* Standby */) {
|
|
1532
1540
|
return this.cursor.cell;
|
|
@@ -1542,7 +1550,8 @@ class NavigationService {
|
|
|
1542
1550
|
get activeDataRow() {
|
|
1543
1551
|
return Math.max(0, this.activeRowIndex - this.meta.headerRows);
|
|
1544
1552
|
}
|
|
1545
|
-
init(meta) {
|
|
1553
|
+
init(meta, navigableOptions) {
|
|
1554
|
+
this.setActiveSections(navigableOptions);
|
|
1546
1555
|
this.alive = true;
|
|
1547
1556
|
this.focusRoot.active = true;
|
|
1548
1557
|
this.metadata = meta;
|
|
@@ -1718,6 +1727,10 @@ class NavigationService {
|
|
|
1718
1727
|
autoFocusCell(start, end) {
|
|
1719
1728
|
return !this.meta.virtualColumns || end < this.meta.columns.lockedLeafColumns.length || this.columnViewport.intersects(start, end);
|
|
1720
1729
|
}
|
|
1730
|
+
setActiveSections(navigableOptions) {
|
|
1731
|
+
this.pagerIsNavigable = navigableOptions.includes('pager');
|
|
1732
|
+
this.tableIsNavigable = navigableOptions.includes('table');
|
|
1733
|
+
}
|
|
1721
1734
|
focusAdjacentCell(fwd, wrap) {
|
|
1722
1735
|
this.focusCell();
|
|
1723
1736
|
let success = fwd ? this.moveCursorFwd() : this.moveCursorBwd();
|
|
@@ -2822,7 +2835,7 @@ const packageMetadata = {
|
|
|
2822
2835
|
name: '@progress/kendo-angular-grid',
|
|
2823
2836
|
productName: 'Kendo UI for Angular',
|
|
2824
2837
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
2825
|
-
publishDate:
|
|
2838
|
+
publishDate: 1654506318,
|
|
2826
2839
|
version: '',
|
|
2827
2840
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
2828
2841
|
};
|
|
@@ -6722,14 +6735,11 @@ class PagerElementComponent {
|
|
|
6722
6735
|
}
|
|
6723
6736
|
}
|
|
6724
6737
|
}
|
|
6725
|
-
PagerElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PagerElementComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.
|
|
6726
|
-
PagerElementComponent.ɵ
|
|
6738
|
+
PagerElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PagerElementComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6739
|
+
PagerElementComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: PagerElementComponent, ngImport: i0 });
|
|
6727
6740
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PagerElementComponent, decorators: [{
|
|
6728
|
-
type:
|
|
6729
|
-
args: [{
|
|
6730
|
-
selector: 'kendo-pager-element-base',
|
|
6731
|
-
template: ``
|
|
6732
|
-
}]
|
|
6741
|
+
type: Directive,
|
|
6742
|
+
args: [{}]
|
|
6733
6743
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }]; } });
|
|
6734
6744
|
|
|
6735
6745
|
/**
|
|
@@ -6928,7 +6938,6 @@ class PagerNumericButtonsComponent extends PagerElementComponent {
|
|
|
6928
6938
|
}
|
|
6929
6939
|
PagerNumericButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PagerNumericButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6930
6940
|
PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: PagerNumericButtonsComponent, selector: "kendo-pager-numeric-buttons", inputs: { buttonCount: "buttonCount" }, host: { properties: { "class.k-pager-numbers-wrap": "this.numbersWrapClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
6931
|
-
<!-- updated to address https://docs.angular.lat/guide/ivy-compatibility-examples#cannot-bind-to-value-property-of-select-with-ngfor -->
|
|
6932
6941
|
<select
|
|
6933
6942
|
class="k-dropdownlist k-pager-nav"
|
|
6934
6943
|
kendoGridFocusable
|
|
@@ -6996,7 +7005,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
6996
7005
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6997
7006
|
selector: 'kendo-pager-numeric-buttons',
|
|
6998
7007
|
template: `
|
|
6999
|
-
<!-- updated to address https://docs.angular.lat/guide/ivy-compatibility-examples#cannot-bind-to-value-property-of-select-with-ngfor -->
|
|
7000
7008
|
<select
|
|
7001
7009
|
class="k-dropdownlist k-pager-nav"
|
|
7002
7010
|
kendoGridFocusable
|
|
@@ -7729,7 +7737,7 @@ class PagerComponent {
|
|
|
7729
7737
|
return this._isFocused;
|
|
7730
7738
|
}
|
|
7731
7739
|
get pagerAriaLabel() {
|
|
7732
|
-
return this.navigationService.
|
|
7740
|
+
return this.navigationService.pagerEnabled ? this.pagerLabel : undefined;
|
|
7733
7741
|
}
|
|
7734
7742
|
/**
|
|
7735
7743
|
* @hidden
|
|
@@ -7742,7 +7750,7 @@ class PagerComponent {
|
|
|
7742
7750
|
return this.focusGroup.isActive ? '0' : '-1';
|
|
7743
7751
|
}
|
|
7744
7752
|
onFocusIn(event) {
|
|
7745
|
-
if (this.navigationService.
|
|
7753
|
+
if (this.navigationService.pagerEnabled) {
|
|
7746
7754
|
const shouldFocusPager = event.target === this.element.nativeElement;
|
|
7747
7755
|
if (shouldFocusPager) {
|
|
7748
7756
|
this._isFocused = true;
|
|
@@ -7754,18 +7762,18 @@ class PagerComponent {
|
|
|
7754
7762
|
}
|
|
7755
7763
|
}
|
|
7756
7764
|
onFocusOut() {
|
|
7757
|
-
if (this.navigationService.
|
|
7765
|
+
if (this.navigationService.pagerEnabled) {
|
|
7758
7766
|
this._isFocused = false;
|
|
7759
7767
|
}
|
|
7760
7768
|
}
|
|
7761
7769
|
onEscape() {
|
|
7762
|
-
if (this.navigationService.
|
|
7770
|
+
if (this.navigationService.pagerEnabled) {
|
|
7763
7771
|
this.focusRoot.deactivate();
|
|
7764
7772
|
this.element.nativeElement.focus();
|
|
7765
7773
|
}
|
|
7766
7774
|
}
|
|
7767
7775
|
onEnter(event) {
|
|
7768
|
-
if (this.navigationService.
|
|
7776
|
+
if (this.navigationService.pagerEnabled && event.target === this.element.nativeElement) {
|
|
7769
7777
|
this.focusRoot.activate();
|
|
7770
7778
|
this.focusFirstElement();
|
|
7771
7779
|
}
|
|
@@ -7807,7 +7815,7 @@ class PagerComponent {
|
|
|
7807
7815
|
}
|
|
7808
7816
|
ngOnInit() {
|
|
7809
7817
|
this.subscriptions.add(this.pagerContext.pageChange.subscribe(this.changePage.bind(this)));
|
|
7810
|
-
if (this.navigationService.
|
|
7818
|
+
if (this.navigationService.pagerEnabled) {
|
|
7811
7819
|
this.focusRoot.deactivate();
|
|
7812
7820
|
}
|
|
7813
7821
|
}
|
|
@@ -7860,7 +7868,7 @@ class PagerComponent {
|
|
|
7860
7868
|
this.renderer.removeClass(element, 'k-pager-md');
|
|
7861
7869
|
}
|
|
7862
7870
|
shouldTriggerPageChange(target, condition) {
|
|
7863
|
-
return this.navigationService.
|
|
7871
|
+
return this.navigationService.pagerEnabled &&
|
|
7864
7872
|
target === this.element.nativeElement &&
|
|
7865
7873
|
condition;
|
|
7866
7874
|
}
|
|
@@ -7896,7 +7904,7 @@ PagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
7896
7904
|
useClass: FocusGroup
|
|
7897
7905
|
}], usesOnChanges: true, ngImport: i0, template: `
|
|
7898
7906
|
<div
|
|
7899
|
-
*ngIf="navigationService.
|
|
7907
|
+
*ngIf="navigationService.pagerEnabled"
|
|
7900
7908
|
class="k-sr-only"
|
|
7901
7909
|
[tabindex]="focusTrapTabIndex"
|
|
7902
7910
|
[attr.aria-hidden]="true"
|
|
@@ -7923,7 +7931,7 @@ PagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
7923
7931
|
></kendo-pager-page-sizes>
|
|
7924
7932
|
</ng-container>
|
|
7925
7933
|
<div
|
|
7926
|
-
*ngIf="navigationService.
|
|
7934
|
+
*ngIf="navigationService.pagerEnabled"
|
|
7927
7935
|
class="k-sr-only"
|
|
7928
7936
|
[tabindex]="focusTrapTabIndex"
|
|
7929
7937
|
[attr.aria-hidden]="true"
|
|
@@ -7949,7 +7957,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7949
7957
|
}],
|
|
7950
7958
|
template: `
|
|
7951
7959
|
<div
|
|
7952
|
-
*ngIf="navigationService.
|
|
7960
|
+
*ngIf="navigationService.pagerEnabled"
|
|
7953
7961
|
class="k-sr-only"
|
|
7954
7962
|
[tabindex]="focusTrapTabIndex"
|
|
7955
7963
|
[attr.aria-hidden]="true"
|
|
@@ -7976,7 +7984,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7976
7984
|
></kendo-pager-page-sizes>
|
|
7977
7985
|
</ng-container>
|
|
7978
7986
|
<div
|
|
7979
|
-
*ngIf="navigationService.
|
|
7987
|
+
*ngIf="navigationService.pagerEnabled"
|
|
7980
7988
|
class="k-sr-only"
|
|
7981
7989
|
[tabindex]="focusTrapTabIndex"
|
|
7982
7990
|
[attr.aria-hidden]="true"
|
|
@@ -8808,14 +8816,11 @@ class BaseFilterCellComponent {
|
|
|
8808
8816
|
this.filterService.filter(filter);
|
|
8809
8817
|
}
|
|
8810
8818
|
}
|
|
8811
|
-
BaseFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseFilterCellComponent, deps: [{ token: FilterService }], target: i0.ɵɵFactoryTarget.
|
|
8812
|
-
BaseFilterCellComponent.ɵ
|
|
8819
|
+
BaseFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseFilterCellComponent, deps: [{ token: FilterService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8820
|
+
BaseFilterCellComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BaseFilterCellComponent, inputs: { operators: "operators" }, host: { properties: { "class.k-filtercell": "this.hostClasses" } }, queries: [{ propertyName: "operatorList", predicate: FilterOperatorBase }], ngImport: i0 });
|
|
8813
8821
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseFilterCellComponent, decorators: [{
|
|
8814
|
-
type:
|
|
8815
|
-
args: [{
|
|
8816
|
-
selector: 'kendo-grid-base-filter-cell',
|
|
8817
|
-
template: ``
|
|
8818
|
-
}]
|
|
8822
|
+
type: Directive,
|
|
8823
|
+
args: [{}]
|
|
8819
8824
|
}], ctorParameters: function () { return [{ type: FilterService }]; }, propDecorators: { hostClasses: [{
|
|
8820
8825
|
type: HostBinding,
|
|
8821
8826
|
args: ['class.k-filtercell']
|
|
@@ -8996,14 +9001,11 @@ class StringFilterComponent extends BaseFilterCellComponent {
|
|
|
8996
9001
|
}
|
|
8997
9002
|
}
|
|
8998
9003
|
}
|
|
8999
|
-
StringFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StringFilterComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.
|
|
9000
|
-
StringFilterComponent.ɵ
|
|
9004
|
+
StringFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StringFilterComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9005
|
+
StringFilterComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: StringFilterComponent, inputs: { column: "column", filter: "filter", operator: "operator" }, usesInheritance: true, ngImport: i0 });
|
|
9001
9006
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StringFilterComponent, decorators: [{
|
|
9002
|
-
type:
|
|
9003
|
-
args: [{
|
|
9004
|
-
selector: 'kendo-grid-string-filter-base',
|
|
9005
|
-
template: ``
|
|
9006
|
-
}]
|
|
9007
|
+
type: Directive,
|
|
9008
|
+
args: [{}]
|
|
9007
9009
|
}], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }]; }, propDecorators: { column: [{
|
|
9008
9010
|
type: Input
|
|
9009
9011
|
}], filter: [{
|
|
@@ -9190,14 +9192,11 @@ class FilterInputWrapperComponent extends BaseFilterCellComponent {
|
|
|
9190
9192
|
}
|
|
9191
9193
|
}
|
|
9192
9194
|
}
|
|
9193
|
-
FilterInputWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterInputWrapperComponent, deps: [{ token: FilterService }], target: i0.ɵɵFactoryTarget.
|
|
9194
|
-
FilterInputWrapperComponent.ɵ
|
|
9195
|
+
FilterInputWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterInputWrapperComponent, deps: [{ token: FilterService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9196
|
+
FilterInputWrapperComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FilterInputWrapperComponent, inputs: { column: "column", filter: "filter", defaultOperator: "defaultOperator" }, queries: [{ propertyName: "input", first: true, predicate: FilterInputDirective, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
9195
9197
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterInputWrapperComponent, decorators: [{
|
|
9196
|
-
type:
|
|
9197
|
-
args: [{
|
|
9198
|
-
selector: 'kendo-grid-filter-input-wrapper-base',
|
|
9199
|
-
template: ``
|
|
9200
|
-
}]
|
|
9198
|
+
type: Directive,
|
|
9199
|
+
args: [{}]
|
|
9201
9200
|
}], ctorParameters: function () { return [{ type: FilterService }]; }, propDecorators: { column: [{
|
|
9202
9201
|
type: Input
|
|
9203
9202
|
}], filter: [{
|
|
@@ -9640,14 +9639,11 @@ class NumericFilterComponent extends BaseFilterCellComponent {
|
|
|
9640
9639
|
}
|
|
9641
9640
|
}
|
|
9642
9641
|
}
|
|
9643
|
-
NumericFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NumericFilterComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.
|
|
9644
|
-
NumericFilterComponent.ɵ
|
|
9642
|
+
NumericFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NumericFilterComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9643
|
+
NumericFilterComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: NumericFilterComponent, inputs: { column: "column", filter: "filter", operator: "operator", step: "step", min: "min", max: "max", spinners: "spinners", decimals: "decimals", format: "format" }, usesInheritance: true, ngImport: i0 });
|
|
9645
9644
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NumericFilterComponent, decorators: [{
|
|
9646
|
-
type:
|
|
9647
|
-
args: [{
|
|
9648
|
-
selector: 'kendo-grid-numeric-filter-component-base',
|
|
9649
|
-
template: ``
|
|
9650
|
-
}]
|
|
9645
|
+
type: Directive,
|
|
9646
|
+
args: [{}]
|
|
9651
9647
|
}], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }]; }, propDecorators: { column: [{
|
|
9652
9648
|
type: Input
|
|
9653
9649
|
}], filter: [{
|
|
@@ -10973,7 +10969,7 @@ class FilterMenuComponent {
|
|
|
10973
10969
|
toggle(anchor, template) {
|
|
10974
10970
|
this.popupRef = this.popupService.open(anchor, template, this.popupRef);
|
|
10975
10971
|
if (!this.popupRef) {
|
|
10976
|
-
if (this.navigationService.
|
|
10972
|
+
if (this.navigationService.tableEnabled) {
|
|
10977
10973
|
this.navigationService.focusCell(0, this.column.leafIndex);
|
|
10978
10974
|
}
|
|
10979
10975
|
else {
|
|
@@ -10984,7 +10980,7 @@ class FilterMenuComponent {
|
|
|
10984
10980
|
}
|
|
10985
10981
|
close() {
|
|
10986
10982
|
this.popupService.destroy();
|
|
10987
|
-
if (this.navigationService.
|
|
10983
|
+
if (this.navigationService.tableEnabled) {
|
|
10988
10984
|
this.navigationService.focusCell(0, this.column.leafIndex);
|
|
10989
10985
|
}
|
|
10990
10986
|
else {
|
|
@@ -12558,7 +12554,7 @@ class ColumnMenuComponent {
|
|
|
12558
12554
|
this.expandedPosition = this.getExpandedState(this.settings.setColumnPosition);
|
|
12559
12555
|
this.popupRef = this.popupService.open(anchor, template, this.popupRef, POPUP_CLASS);
|
|
12560
12556
|
if (!this.popupRef) {
|
|
12561
|
-
if (this.navigationService.
|
|
12557
|
+
if (this.navigationService.tableEnabled) {
|
|
12562
12558
|
this.navigationService.focusCell(0, this.column.leafIndex);
|
|
12563
12559
|
}
|
|
12564
12560
|
else {
|
|
@@ -12572,7 +12568,7 @@ class ColumnMenuComponent {
|
|
|
12572
12568
|
close() {
|
|
12573
12569
|
this.popupService.destroy();
|
|
12574
12570
|
this.popupRef = null;
|
|
12575
|
-
if (this.navigationService.
|
|
12571
|
+
if (this.navigationService.tableEnabled) {
|
|
12576
12572
|
this.navigationService.focusCell(0, this.column.leafIndex);
|
|
12577
12573
|
}
|
|
12578
12574
|
else {
|
|
@@ -13488,13 +13484,13 @@ class LogicalCellDirective {
|
|
|
13488
13484
|
return this.logicalColIndex + 1;
|
|
13489
13485
|
}
|
|
13490
13486
|
ngOnInit() {
|
|
13491
|
-
if (!this.navigationService.
|
|
13487
|
+
if (!this.navigationService.tableEnabled) {
|
|
13492
13488
|
return;
|
|
13493
13489
|
}
|
|
13494
13490
|
this.navigationChange = this.navigationService.changes.subscribe((e) => this.onNavigationChange(e));
|
|
13495
13491
|
}
|
|
13496
13492
|
ngDoCheck() {
|
|
13497
|
-
if (!this.navigationService.
|
|
13493
|
+
if (!this.navigationService.tableEnabled || this.logicalColIndex === -1) {
|
|
13498
13494
|
return;
|
|
13499
13495
|
}
|
|
13500
13496
|
if (this.cellContext) {
|
|
@@ -13503,7 +13499,7 @@ class LogicalCellDirective {
|
|
|
13503
13499
|
this.registerNoChanges();
|
|
13504
13500
|
}
|
|
13505
13501
|
ngOnChanges(changes) {
|
|
13506
|
-
if (!this.navigationService.
|
|
13502
|
+
if (!this.navigationService.tableEnabled) {
|
|
13507
13503
|
return;
|
|
13508
13504
|
}
|
|
13509
13505
|
const keys = Object.keys(changes);
|
|
@@ -17298,7 +17294,7 @@ class ListComponent {
|
|
|
17298
17294
|
}
|
|
17299
17295
|
}
|
|
17300
17296
|
resetNavigationViewport() {
|
|
17301
|
-
if (!this.container || !this.navigationService.
|
|
17297
|
+
if (!this.container || !this.navigationService.tableEnabled ||
|
|
17302
17298
|
!this.navigationService.needsViewport() || this.data.length === 0) {
|
|
17303
17299
|
return;
|
|
17304
17300
|
}
|
|
@@ -18260,11 +18256,6 @@ class GridComponent {
|
|
|
18260
18256
|
* By default, grouping is disabled ([see example]({% slug groupingbasics_grid %})).
|
|
18261
18257
|
*/
|
|
18262
18258
|
this.groupable = false;
|
|
18263
|
-
/**
|
|
18264
|
-
* If set to `true`, the user can use dedicated shortcuts to interact with the Grid.
|
|
18265
|
-
* By default, navigation is disabled and the Grid content is accessible in the normal tab sequence.
|
|
18266
|
-
*/
|
|
18267
|
-
this.navigable = false;
|
|
18268
18259
|
/**
|
|
18269
18260
|
* Indicates whether the Grid columns will be resized during initialization so that
|
|
18270
18261
|
* they fit their headers and row content. Defaults to `false`.
|
|
@@ -18440,6 +18431,7 @@ class GridComponent {
|
|
|
18440
18431
|
this.cachedWindowWidth = 0;
|
|
18441
18432
|
this._rowSelected = null;
|
|
18442
18433
|
this._cellSelected = null;
|
|
18434
|
+
this._navigable = [];
|
|
18443
18435
|
this.rtl = false;
|
|
18444
18436
|
this._rowClass = () => null;
|
|
18445
18437
|
validatePackage(packageMetadata);
|
|
@@ -18571,6 +18563,21 @@ class GridComponent {
|
|
|
18571
18563
|
get marqueeSelection() {
|
|
18572
18564
|
return this.selectionService.enableMarquee || this.cellSelectionService.enableMarquee;
|
|
18573
18565
|
}
|
|
18566
|
+
/**
|
|
18567
|
+
* If set to `true`, the user can use dedicated shortcuts to interact with the Grid.
|
|
18568
|
+
* By default, navigation is disabled and the Grid content is accessible in the normal tab sequence.
|
|
18569
|
+
* To enable navigation through separate Grid sections only, provide a [`GridNavigableSection`]({% slug api_grid_gridnavigablesection %}) array.
|
|
18570
|
+
*/
|
|
18571
|
+
set navigable(value) {
|
|
18572
|
+
if (typeof value === 'boolean') {
|
|
18573
|
+
this._navigable = value ? ['table', 'pager'] : [];
|
|
18574
|
+
return;
|
|
18575
|
+
}
|
|
18576
|
+
this._navigable = value;
|
|
18577
|
+
}
|
|
18578
|
+
get navigable() {
|
|
18579
|
+
return this._navigable;
|
|
18580
|
+
}
|
|
18574
18581
|
/**
|
|
18575
18582
|
* @hidden
|
|
18576
18583
|
*
|
|
@@ -18794,6 +18801,9 @@ class GridComponent {
|
|
|
18794
18801
|
get ariaColCount() {
|
|
18795
18802
|
return this.columnsContainer.leafColumnsToRender.length;
|
|
18796
18803
|
}
|
|
18804
|
+
get navigation() {
|
|
18805
|
+
return this.navigationService;
|
|
18806
|
+
}
|
|
18797
18807
|
get isVirtual() {
|
|
18798
18808
|
return this.scrollable === 'virtual';
|
|
18799
18809
|
}
|
|
@@ -18989,6 +18999,16 @@ class GridComponent {
|
|
|
18989
18999
|
if (isChanged$1('groupable', changes, true)) {
|
|
18990
19000
|
this.groupable = changes.groupable.currentValue;
|
|
18991
19001
|
}
|
|
19002
|
+
if (isChanged$1('navigable', changes, true)) {
|
|
19003
|
+
if (this.navigationService.enabled) {
|
|
19004
|
+
this.navigationService.setActiveSections(this.navigable);
|
|
19005
|
+
}
|
|
19006
|
+
else {
|
|
19007
|
+
if (this.navigable.length) {
|
|
19008
|
+
this.navigationService.init(this.navigationMetadata(), this.navigable);
|
|
19009
|
+
}
|
|
19010
|
+
}
|
|
19011
|
+
}
|
|
18992
19012
|
}
|
|
18993
19013
|
ngAfterViewInit() {
|
|
18994
19014
|
this.attachScrollSync();
|
|
@@ -19008,8 +19028,8 @@ class GridComponent {
|
|
|
19008
19028
|
this.columnsChangeSubscription = this.columns.changes.subscribe(() => this.verifySettings());
|
|
19009
19029
|
}
|
|
19010
19030
|
ngOnInit() {
|
|
19011
|
-
if (this.navigable) {
|
|
19012
|
-
this.navigationService.init(this.navigationMetadata());
|
|
19031
|
+
if (this.navigable.length) {
|
|
19032
|
+
this.navigationService.init(this.navigationMetadata(), this.navigable);
|
|
19013
19033
|
}
|
|
19014
19034
|
}
|
|
19015
19035
|
ngOnDestroy() {
|
|
@@ -19970,8 +19990,8 @@ class GridComponent {
|
|
|
19970
19990
|
this.columnResize.emit(args);
|
|
19971
19991
|
}
|
|
19972
19992
|
assertNavigable() {
|
|
19973
|
-
if (isDevMode() && !this.
|
|
19974
|
-
throw new Error('The Grid should be configured as
|
|
19993
|
+
if (isDevMode() && !this.navigationService.enabled) {
|
|
19994
|
+
throw new Error('The Grid should be configured as navigable to control focus');
|
|
19975
19995
|
}
|
|
19976
19996
|
}
|
|
19977
19997
|
navigationMetadata() {
|
|
@@ -20337,8 +20357,8 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
20337
20357
|
<kendo-grid-toolbar class="k-toolbar k-grid-toolbar" *ngIf="showTopToolbar" position="top"></kendo-grid-toolbar>
|
|
20338
20358
|
<kendo-pager
|
|
20339
20359
|
*ngIf="showTopPager"
|
|
20340
|
-
[tabindex]="
|
|
20341
|
-
[attr.role]="
|
|
20360
|
+
[tabindex]="navigation.pagerEnabled ? '0' : '-1'"
|
|
20361
|
+
[attr.role]="navigation.pagerEnabled ? 'application' : undefined"
|
|
20342
20362
|
class="k-grid-pager-top"
|
|
20343
20363
|
[template]="pagerTemplate"
|
|
20344
20364
|
[pageSize]="pageSize"
|
|
@@ -20392,7 +20412,7 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
20392
20412
|
[columnMenuTemplate]="columnMenuTemplate"
|
|
20393
20413
|
[totalColumnsCount]="leafColumns.length"
|
|
20394
20414
|
[detailTemplate]="detailTemplate"
|
|
20395
|
-
[tabIndex]="
|
|
20415
|
+
[tabIndex]="navigation.tableEnabled ? '-1' : '0'">
|
|
20396
20416
|
</thead>
|
|
20397
20417
|
</table>
|
|
20398
20418
|
</div><div #header class="k-grid-header-wrap" role="presentation" data-scrollable
|
|
@@ -20423,7 +20443,7 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
20423
20443
|
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
20424
20444
|
[totalColumnsCount]="leafColumns.length"
|
|
20425
20445
|
[detailTemplate]="detailTemplate"
|
|
20426
|
-
[tabIndex]="
|
|
20446
|
+
[tabIndex]="navigation.tableEnabled ? '-1' : '0'">
|
|
20427
20447
|
</thead>
|
|
20428
20448
|
</table>
|
|
20429
20449
|
<div *ngIf="virtualColumns" class="k-width-container" role="presentation">
|
|
@@ -20528,7 +20548,7 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
20528
20548
|
[columnMenu]="columnMenuOptions"
|
|
20529
20549
|
[columnMenuTemplate]="columnMenuTemplate"
|
|
20530
20550
|
[detailTemplate]="detailTemplate"
|
|
20531
|
-
[tabIndex]="
|
|
20551
|
+
[tabIndex]="navigation.tableEnabled ? '-1' : '0'">
|
|
20532
20552
|
</thead>
|
|
20533
20553
|
<tbody kendoGridTableBody
|
|
20534
20554
|
[isLoading]="loading"
|
|
@@ -20562,8 +20582,8 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
20562
20582
|
</div>
|
|
20563
20583
|
<kendo-pager
|
|
20564
20584
|
*ngIf="showBottomPager"
|
|
20565
|
-
[tabindex]="
|
|
20566
|
-
[attr.role]="
|
|
20585
|
+
[tabindex]="navigation.pagerEnabled ? '0' : '-1'"
|
|
20586
|
+
[attr.role]="navigation.pagerEnabled ? 'application' : undefined"
|
|
20567
20587
|
[template]="pagerTemplate"
|
|
20568
20588
|
[pageSize]="pageSize"
|
|
20569
20589
|
[total]="view.total"
|
|
@@ -20834,8 +20854,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
20834
20854
|
<kendo-grid-toolbar class="k-toolbar k-grid-toolbar" *ngIf="showTopToolbar" position="top"></kendo-grid-toolbar>
|
|
20835
20855
|
<kendo-pager
|
|
20836
20856
|
*ngIf="showTopPager"
|
|
20837
|
-
[tabindex]="
|
|
20838
|
-
[attr.role]="
|
|
20857
|
+
[tabindex]="navigation.pagerEnabled ? '0' : '-1'"
|
|
20858
|
+
[attr.role]="navigation.pagerEnabled ? 'application' : undefined"
|
|
20839
20859
|
class="k-grid-pager-top"
|
|
20840
20860
|
[template]="pagerTemplate"
|
|
20841
20861
|
[pageSize]="pageSize"
|
|
@@ -20889,7 +20909,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
20889
20909
|
[columnMenuTemplate]="columnMenuTemplate"
|
|
20890
20910
|
[totalColumnsCount]="leafColumns.length"
|
|
20891
20911
|
[detailTemplate]="detailTemplate"
|
|
20892
|
-
[tabIndex]="
|
|
20912
|
+
[tabIndex]="navigation.tableEnabled ? '-1' : '0'">
|
|
20893
20913
|
</thead>
|
|
20894
20914
|
</table>
|
|
20895
20915
|
</div><div #header class="k-grid-header-wrap" role="presentation" data-scrollable
|
|
@@ -20920,7 +20940,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
20920
20940
|
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
20921
20941
|
[totalColumnsCount]="leafColumns.length"
|
|
20922
20942
|
[detailTemplate]="detailTemplate"
|
|
20923
|
-
[tabIndex]="
|
|
20943
|
+
[tabIndex]="navigation.tableEnabled ? '-1' : '0'">
|
|
20924
20944
|
</thead>
|
|
20925
20945
|
</table>
|
|
20926
20946
|
<div *ngIf="virtualColumns" class="k-width-container" role="presentation">
|
|
@@ -21025,7 +21045,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
21025
21045
|
[columnMenu]="columnMenuOptions"
|
|
21026
21046
|
[columnMenuTemplate]="columnMenuTemplate"
|
|
21027
21047
|
[detailTemplate]="detailTemplate"
|
|
21028
|
-
[tabIndex]="
|
|
21048
|
+
[tabIndex]="navigation.tableEnabled ? '-1' : '0'">
|
|
21029
21049
|
</thead>
|
|
21030
21050
|
<tbody kendoGridTableBody
|
|
21031
21051
|
[isLoading]="loading"
|
|
@@ -21059,8 +21079,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
21059
21079
|
</div>
|
|
21060
21080
|
<kendo-pager
|
|
21061
21081
|
*ngIf="showBottomPager"
|
|
21062
|
-
[tabindex]="
|
|
21063
|
-
[attr.role]="
|
|
21082
|
+
[tabindex]="navigation.pagerEnabled ? '0' : '-1'"
|
|
21083
|
+
[attr.role]="navigation.pagerEnabled ? 'application' : undefined"
|
|
21064
21084
|
[template]="pagerTemplate"
|
|
21065
21085
|
[pageSize]="pageSize"
|
|
21066
21086
|
[total]="view.total"
|
|
@@ -25329,5 +25349,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
25329
25349
|
* Generated bundle index. Do not edit.
|
|
25330
25350
|
*/
|
|
25331
25351
|
|
|
25332
|
-
export { AddCommandDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BodyModule, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, CancelCommandDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellTemplateDirective, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnLockedChangeEvent, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuContainerComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuItemDirective, ColumnMenuLockComponent, ColumnMenuPositionComponent, ColumnMenuSortComponent, ColumnMenuStickComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnStickyChangeEvent, ColumnVisibilityChangeEvent, CommandColumnComponent, ContainsFilterOperatorComponent, CustomMessagesComponent, DataBindingDirective, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DetailCollapseEvent, DetailExpandEvent, DetailTemplateDirective, DoesNotContainFilterOperatorComponent, EditCommandDirective, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuModule, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FocusableDirective, FooterComponent, FooterModule, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridComponent, GridModule, GridSpacerComponent, GroupBindingDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective, GroupIndicatorComponent, GroupModule, GroupPanelComponent, HeaderComponent, HeaderModule, HeaderTemplateDirective, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, ListComponent, LoadingComponent, LoadingTemplateDirective, LocalDataChangesService, LogicalCellDirective, LogicalRowDirective, MenuTabbingService, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PagerComponent, PagerDropDownListDirective, PagerInfoComponent, PagerInputComponent, PagerInputDirective, PagerModule, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RemoveCommandDirective, ResizableContainerDirective, RowEditingDirectiveBase, RowFilterModule, SaveCommandDirective, SelectAllCheckboxDirective, SelectionCheckboxDirective, SelectionDirective, SharedFilterModule, SharedModule, SinglePopupService, Skip, SpanColumnComponent, StartsWithFilterOperatorComponent, StringFilterCellComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateContextDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, count, defaultTrackBy, hasFilterMenu, hasFilterRow, isFilterable, slice };
|
|
25352
|
+
export { AddCommandDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BodyModule, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, CancelCommandDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellTemplateDirective, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, ColumnLockedChangeEvent, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuContainerComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuItemDirective, ColumnMenuLockComponent, ColumnMenuPositionComponent, ColumnMenuSortComponent, ColumnMenuStickComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnStickyChangeEvent, ColumnVisibilityChangeEvent, ColumnsContainer, CommandColumnComponent, ContainsFilterOperatorComponent, CustomMessagesComponent, DataBindingDirective, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DetailCollapseEvent, DetailExpandEvent, DetailTemplateDirective, DoesNotContainFilterOperatorComponent, EditCommandDirective, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuModule, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FocusableDirective, FooterComponent, FooterModule, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridComponent, GridModule, GridSpacerComponent, GroupBindingDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective, GroupIndicatorComponent, GroupModule, GroupPanelComponent, HeaderComponent, HeaderModule, HeaderTemplateDirective, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, ListComponent, LoadingComponent, LoadingTemplateDirective, LocalDataChangesService, LogicalCellDirective, LogicalRowDirective, MenuTabbingService, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PagerComponent, PagerDropDownListDirective, PagerInfoComponent, PagerInputComponent, PagerInputDirective, PagerModule, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RemoveCommandDirective, ResizableContainerDirective, RowEditingDirectiveBase, RowFilterModule, SaveCommandDirective, SelectAllCheckboxDirective, SelectionCheckboxDirective, SelectionDirective, SharedFilterModule, SharedModule, SinglePopupService, Skip, SpanColumnComponent, StartsWithFilterOperatorComponent, StringFilterCellComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateContextDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, count, defaultTrackBy, hasFilterMenu, hasFilterRow, isFilterable, slice };
|
|
25333
25353
|
|
|
@@ -68,5 +68,5 @@ export declare abstract class BaseFilterCellComponent implements AfterContentIni
|
|
|
68
68
|
protected updateFilter(filter: FilterDescriptor): CompositeFilterDescriptor;
|
|
69
69
|
protected applyFilter(filter: CompositeFilterDescriptor): void;
|
|
70
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFilterCellComponent, never>;
|
|
71
|
-
static
|
|
71
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseFilterCellComponent, never, never, { "operators": "operators"; }, {}, ["operatorList"]>;
|
|
72
72
|
}
|
|
@@ -36,5 +36,5 @@ export declare abstract class FilterInputWrapperComponent extends BaseFilterCell
|
|
|
36
36
|
[propertyName: string]: SimpleChange;
|
|
37
37
|
}): void;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterInputWrapperComponent, never>;
|
|
39
|
-
static
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterInputWrapperComponent, never, never, { "column": "column"; "filter": "filter"; "defaultOperator": "defaultOperator"; }, {}, ["input"]>;
|
|
40
40
|
}
|
|
@@ -91,5 +91,5 @@ export declare abstract class NumericFilterComponent extends BaseFilterCellCompo
|
|
|
91
91
|
ngOnDestroy(): void;
|
|
92
92
|
protected localizationChange(): void;
|
|
93
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumericFilterComponent, never>;
|
|
94
|
-
static
|
|
94
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumericFilterComponent, never, never, { "column": "column"; "filter": "filter"; "operator": "operator"; "step": "step"; "min": "min"; "max": "max"; "spinners": "spinners"; "decimals": "decimals"; "format": "format"; }, {}, never>;
|
|
95
95
|
}
|
|
@@ -51,5 +51,5 @@ export declare abstract class StringFilterComponent extends BaseFilterCellCompon
|
|
|
51
51
|
ngOnDestroy(): void;
|
|
52
52
|
protected localizationChange(): void;
|
|
53
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<StringFilterComponent, never>;
|
|
54
|
-
static
|
|
54
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StringFilterComponent, never, never, { "column": "column"; "filter": "filter"; "operator": "operator"; }, {}, never>;
|
|
55
55
|
}
|
package/grid.component.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ import { GroupRowArgs } from './grouping/group-rows-args.interface';
|
|
|
73
73
|
import { CellLoadingTemplateDirective } from './rendering/cell-loading.template.directive';
|
|
74
74
|
import { ContextService } from './common/provider.service';
|
|
75
75
|
import { LoadingTemplateDirective } from './rendering/loading-template.directive';
|
|
76
|
+
import { GridNavigableSettings } from './navigation/navigable-settings';
|
|
76
77
|
import * as i0 from "@angular/core";
|
|
77
78
|
/**
|
|
78
79
|
* Represents the Kendo UI Grid component for Angular.
|
|
@@ -306,14 +307,16 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
306
307
|
/**
|
|
307
308
|
* If set to `true`, the user can use dedicated shortcuts to interact with the Grid.
|
|
308
309
|
* By default, navigation is disabled and the Grid content is accessible in the normal tab sequence.
|
|
310
|
+
* To enable navigation through separate Grid sections only, provide a [`GridNavigableSection`]({% slug api_grid_gridnavigablesection %}) array.
|
|
309
311
|
*/
|
|
310
|
-
navigable:
|
|
312
|
+
set navigable(value: GridNavigableSettings);
|
|
313
|
+
get navigable(): GridNavigableSettings;
|
|
311
314
|
/**
|
|
312
315
|
* @hidden
|
|
313
316
|
*
|
|
314
317
|
* An alias for `navigable` for users who migrate from Kendo UI for jQuery.
|
|
315
318
|
*/
|
|
316
|
-
set navigatable(value:
|
|
319
|
+
set navigatable(value: GridNavigableSettings);
|
|
317
320
|
/**
|
|
318
321
|
* Indicates whether the Grid columns will be resized during initialization so that
|
|
319
322
|
* they fit their headers and row content. Defaults to `false`.
|
|
@@ -325,7 +328,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
325
328
|
/**
|
|
326
329
|
* @hidden
|
|
327
330
|
*/
|
|
328
|
-
get navigatable():
|
|
331
|
+
get navigatable(): GridNavigableSettings;
|
|
329
332
|
/**
|
|
330
333
|
* Defines a function that is executed for every data row in the component.
|
|
331
334
|
*
|
|
@@ -598,6 +601,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
598
601
|
get showGroupFooters(): boolean;
|
|
599
602
|
get ariaRowCount(): number;
|
|
600
603
|
get ariaColCount(): number;
|
|
604
|
+
get navigation(): NavigationService;
|
|
601
605
|
private shouldGenerateColumns;
|
|
602
606
|
private direction;
|
|
603
607
|
private _sort;
|
|
@@ -615,6 +619,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
615
619
|
private _customToolbarTemplate;
|
|
616
620
|
private leafViewportColumns;
|
|
617
621
|
private viewportColumns;
|
|
622
|
+
private _navigable;
|
|
618
623
|
get isVirtual(): boolean;
|
|
619
624
|
get isScrollable(): boolean;
|
|
620
625
|
get visibleColumns(): QueryList<ColumnBase>;
|
package/main.d.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
export { GridModule } from './grid.module';
|
|
6
6
|
export { SharedModule } from './shared.module';
|
|
7
7
|
export { GridComponent } from './grid.component';
|
|
8
|
+
export { ColumnsContainer } from './columns/columns-container';
|
|
8
9
|
export { ColumnBase } from './columns/column-base';
|
|
9
10
|
export { ColumnComponent } from './columns/column.component';
|
|
10
11
|
export { CommandColumnComponent } from './columns/command-column.component';
|
|
@@ -133,6 +134,7 @@ export { CellClickEvent } from './common/cell-click-event-args.interface';
|
|
|
133
134
|
export { CellCloseEvent } from './editing/cell-close-event';
|
|
134
135
|
export { CreateFormGroup } from './common/create-form-group';
|
|
135
136
|
export { RemoveConfirmationCallback } from './common/remove-confirmation';
|
|
137
|
+
export { ColumnInfoService } from './common/column-info.service';
|
|
136
138
|
export { ScrollBottomEvent } from './scrolling/scroll-bottom-event';
|
|
137
139
|
export { ContentScrollEvent } from './scrolling/content-scroll-event';
|
|
138
140
|
export { SuspendService } from './scrolling/suspend.service';
|
|
@@ -145,6 +147,7 @@ export { ColumnReorderConfig } from './dragdrop/column-reorder-config';
|
|
|
145
147
|
export { FocusableDirective } from './navigation/focusable.directive';
|
|
146
148
|
export { NavigationCell } from './navigation/navigation-cell.interface';
|
|
147
149
|
export { NavigationRow } from './navigation/navigation-row.interface';
|
|
150
|
+
export { GridNavigableSettings, GridNavigableSection } from './navigation/navigable-settings';
|
|
148
151
|
export { ColumnMenuSettings } from './column-menu/column-menu-settings.interface';
|
|
149
152
|
export { ColumnVisibilityChangeEvent } from './column-menu/column-visibility-change-event';
|
|
150
153
|
export { ExpandableColumnMenuItem } from './column-menu/column-menu-expandable-item.interface';
|