@progress/kendo-angular-grid 11.0.0-develop.79 → 11.0.0-develop.80
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/common/size-options.d.ts +9 -0
- package/esm2020/common/size-options.mjs +5 -0
- package/esm2020/filtering/base-filter-cell.component.mjs +4 -0
- package/esm2020/filtering/cell/autocomplete-filter-cell.component.mjs +18 -7
- package/esm2020/filtering/cell/boolean-filter-cell.component.mjs +20 -8
- package/esm2020/filtering/cell/date-filter-cell.component.mjs +16 -8
- package/esm2020/filtering/cell/filter-cell-operators.component.mjs +29 -18
- package/esm2020/filtering/cell/filter-cell.component.mjs +4 -1
- package/esm2020/filtering/cell/numeric-filter-cell.component.mjs +16 -8
- package/esm2020/filtering/cell/string-filter-cell.component.mjs +21 -11
- package/esm2020/filtering/filter-row.component.mjs +1 -1
- package/esm2020/filtering/shared-filtering.module.mjs +9 -4
- package/esm2020/grid.component.mjs +164 -45
- package/esm2020/grid.module.mjs +76 -75
- package/esm2020/grouping/group-header.component.mjs +6 -4
- package/esm2020/index.mjs +2 -0
- package/esm2020/layout/sizing-options.service.mjs +17 -0
- package/esm2020/localization/messages.mjs +3 -1
- package/esm2020/navigation/logical-cell.directive.mjs +5 -0
- package/esm2020/navigation/logical-row.directive.mjs +5 -1
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/pager/pager-element.component.mjs +10 -3
- package/esm2020/pager/pager-input.component.mjs +8 -9
- package/esm2020/pager/pager-next-buttons.component.mjs +51 -75
- package/esm2020/pager/pager-numeric-buttons.component.mjs +104 -81
- package/esm2020/pager/pager-page-sizes.component.mjs +4 -0
- package/esm2020/pager/pager-prev-buttons.component.mjs +49 -71
- package/esm2020/pager/pager.component.mjs +43 -16
- package/esm2020/pager/pager.module.mjs +3 -0
- package/esm2020/rendering/footer/footer.component.mjs +5 -1
- package/esm2020/rendering/grid-table.directive.mjs +51 -0
- package/esm2020/rendering/header/header.component.mjs +16 -5
- package/esm2020/rendering/list.component.mjs +43 -11
- package/esm2020/rendering/table-body.component.mjs +8 -4
- package/esm2020/rendering/toolbar/toolbar.component.mjs +31 -5
- package/esm2020/shared.module.mjs +9 -4
- package/fesm2015/progress-kendo-angular-grid.mjs +712 -371
- package/fesm2020/progress-kendo-angular-grid.mjs +712 -371
- package/filtering/base-filter-cell.component.d.ts +5 -0
- package/filtering/cell/autocomplete-filter-cell.component.d.ts +6 -1
- package/filtering/cell/boolean-filter-cell.component.d.ts +9 -1
- package/filtering/cell/date-filter-cell.component.d.ts +4 -1
- package/filtering/cell/filter-cell-operators.component.d.ts +9 -2
- package/filtering/cell/filter-cell.component.d.ts +3 -1
- package/filtering/cell/numeric-filter-cell.component.d.ts +4 -1
- package/filtering/cell/string-filter-cell.component.d.ts +4 -1
- package/filtering/shared-filtering.module.d.ts +2 -1
- package/grid.component.d.ts +15 -3
- package/grid.module.d.ts +76 -75
- package/grouping/group-header.component.d.ts +2 -1
- package/index.d.ts +3 -0
- package/layout/sizing-options.service.d.ts +12 -0
- package/localization/messages.d.ts +5 -1
- package/navigation/logical-cell.directive.d.ts +1 -0
- package/navigation/logical-row.directive.d.ts +1 -0
- package/package.json +14 -14
- package/pager/pager-element.component.d.ts +7 -1
- package/pager/pager.component.d.ts +7 -4
- package/pager/pager.module.d.ts +5 -4
- package/rendering/footer/footer.component.d.ts +1 -0
- package/rendering/grid-table.directive.d.ts +22 -0
- package/rendering/header/header.component.d.ts +4 -1
- package/rendering/list.component.d.ts +3 -1
- package/rendering/table-body.component.d.ts +1 -0
- package/rendering/toolbar/toolbar.component.d.ts +10 -3
- package/shared.module.d.ts +5 -4
package/esm2020/grid.module.mjs
CHANGED
|
@@ -40,80 +40,81 @@ import * as i6 from "./columns/column-group.component";
|
|
|
40
40
|
import * as i7 from "./rendering/footer/footer-template.directive";
|
|
41
41
|
import * as i8 from "./rendering/details/detail-template.directive";
|
|
42
42
|
import * as i9 from "./navigation/focusable.directive";
|
|
43
|
-
import * as i10 from "./
|
|
44
|
-
import * as i11 from "./columns/
|
|
45
|
-
import * as i12 from "./
|
|
46
|
-
import * as i13 from "./
|
|
47
|
-
import * as i14 from "./rendering/
|
|
48
|
-
import * as i15 from "./
|
|
49
|
-
import * as i16 from "./editing/edit-
|
|
50
|
-
import * as i17 from "./editing/
|
|
51
|
-
import * as i18 from "./editing/
|
|
52
|
-
import * as i19 from "./editing/
|
|
53
|
-
import * as i20 from "./editing/
|
|
54
|
-
import * as i21 from "./
|
|
55
|
-
import * as i22 from "./rendering/loading
|
|
56
|
-
import * as i23 from "./rendering/
|
|
57
|
-
import * as i24 from "./
|
|
58
|
-
import * as i25 from "./
|
|
59
|
-
import * as i26 from "./pager/pager
|
|
60
|
-
import * as i27 from "./pager/pager-
|
|
61
|
-
import * as i28 from "./pager/pager-
|
|
62
|
-
import * as i29 from "./pager/pager-
|
|
63
|
-
import * as i30 from "./pager/pager-
|
|
64
|
-
import * as i31 from "./pager/pager-
|
|
65
|
-
import * as i32 from "./pager/pager-
|
|
66
|
-
import * as i33 from "./pager/pager-
|
|
67
|
-
import * as i34 from "./pager/pager-
|
|
68
|
-
import * as i35 from "./
|
|
69
|
-
import * as i36 from "./filtering/
|
|
70
|
-
import * as i37 from "./filtering/cell/filter-cell
|
|
71
|
-
import * as i38 from "./filtering/cell/filter-cell-
|
|
72
|
-
import * as i39 from "./filtering/cell/
|
|
73
|
-
import * as i40 from "./filtering/cell/
|
|
74
|
-
import * as i41 from "./filtering/cell/
|
|
75
|
-
import * as i42 from "./filtering/cell/
|
|
76
|
-
import * as i43 from "./filtering/cell/
|
|
77
|
-
import * as i44 from "./filtering/
|
|
78
|
-
import * as i45 from "./filtering/operators/
|
|
79
|
-
import * as i46 from "./filtering/operators/
|
|
80
|
-
import * as i47 from "./filtering/operators/
|
|
81
|
-
import * as i48 from "./filtering/operators/
|
|
82
|
-
import * as i49 from "./filtering/operators/is-
|
|
83
|
-
import * as i50 from "./filtering/operators/is-not-
|
|
84
|
-
import * as i51 from "./filtering/operators/
|
|
85
|
-
import * as i52 from "./filtering/operators/
|
|
86
|
-
import * as i53 from "./filtering/operators/
|
|
87
|
-
import * as i54 from "./filtering/operators/
|
|
88
|
-
import * as i55 from "./filtering/operators/
|
|
89
|
-
import * as i56 from "./filtering/operators/
|
|
90
|
-
import * as i57 from "./filtering/operators/
|
|
91
|
-
import * as i58 from "./filtering/operators/
|
|
92
|
-
import * as i59 from "./filtering/operators/after-
|
|
93
|
-
import * as i60 from "./filtering/operators/
|
|
94
|
-
import * as i61 from "./filtering/operators/before-filter-operator.component";
|
|
95
|
-
import * as i62 from "./filtering/
|
|
96
|
-
import * as i63 from "./filtering/menu/filter-menu
|
|
97
|
-
import * as i64 from "./filtering/menu/
|
|
98
|
-
import * as i65 from "./filtering/menu/
|
|
99
|
-
import * as i66 from "./filtering/menu/
|
|
100
|
-
import * as i67 from "./filtering/menu/filter-menu
|
|
101
|
-
import * as i68 from "./filtering/menu/filter-
|
|
102
|
-
import * as i69 from "./
|
|
103
|
-
import * as i70 from "./column-menu/column-
|
|
104
|
-
import * as i71 from "./column-menu/column-menu-
|
|
105
|
-
import * as i72 from "./column-menu/column-menu-item
|
|
106
|
-
import * as i73 from "./column-menu/column-menu-
|
|
107
|
-
import * as i74 from "./column-menu/column-menu-
|
|
108
|
-
import * as i75 from "./column-menu/column-menu-
|
|
109
|
-
import * as i76 from "./column-menu/column-menu-
|
|
110
|
-
import * as i77 from "./column-menu/column-menu-
|
|
111
|
-
import * as i78 from "./column-menu/column-menu-
|
|
112
|
-
import * as i79 from "./column-menu/column-menu-
|
|
113
|
-
import * as i80 from "./column-menu/column-menu-
|
|
114
|
-
import * as i81 from "./column-menu/column-menu.
|
|
115
|
-
import * as i82 from "./column-menu/column-menu
|
|
116
|
-
import * as i83 from "./column-menu/column-menu-autosize
|
|
43
|
+
import * as i10 from "./rendering/grid-table.directive";
|
|
44
|
+
import * as i11 from "./columns/command-column.component";
|
|
45
|
+
import * as i12 from "./columns/checkbox-column.component";
|
|
46
|
+
import * as i13 from "./selection/selection-checkbox.directive";
|
|
47
|
+
import * as i14 from "./rendering/cell-template.directive";
|
|
48
|
+
import * as i15 from "./rendering/no-records-template.directive";
|
|
49
|
+
import * as i16 from "./editing/edit-template.directive";
|
|
50
|
+
import * as i17 from "./editing/edit-command.directive";
|
|
51
|
+
import * as i18 from "./editing/cancel-command.directive";
|
|
52
|
+
import * as i19 from "./editing/save-command.directive";
|
|
53
|
+
import * as i20 from "./editing/remove-command.directive";
|
|
54
|
+
import * as i21 from "./editing/add-command.directive";
|
|
55
|
+
import * as i22 from "./rendering/cell-loading.template.directive";
|
|
56
|
+
import * as i23 from "./rendering/loading-template.directive";
|
|
57
|
+
import * as i24 from "./rendering/header/header-template.directive";
|
|
58
|
+
import * as i25 from "./selection/selectall-checkbox.directive";
|
|
59
|
+
import * as i26 from "./pager/pager.component";
|
|
60
|
+
import * as i27 from "./pager/pager-prev-buttons.component";
|
|
61
|
+
import * as i28 from "./pager/pager-next-buttons.component";
|
|
62
|
+
import * as i29 from "./pager/pager-numeric-buttons.component";
|
|
63
|
+
import * as i30 from "./pager/pager-input.component";
|
|
64
|
+
import * as i31 from "./pager/pager-info.component";
|
|
65
|
+
import * as i32 from "./pager/pager-page-sizes.component";
|
|
66
|
+
import * as i33 from "./pager/pager-template.directive";
|
|
67
|
+
import * as i34 from "./pager/pager-dropdown.directive";
|
|
68
|
+
import * as i35 from "./pager/pager-input.directive";
|
|
69
|
+
import * as i36 from "./filtering/filter-row.component";
|
|
70
|
+
import * as i37 from "./filtering/cell/filter-cell.component";
|
|
71
|
+
import * as i38 from "./filtering/cell/filter-cell-template.directive";
|
|
72
|
+
import * as i39 from "./filtering/cell/filter-cell-operators.component";
|
|
73
|
+
import * as i40 from "./filtering/cell/string-filter-cell.component";
|
|
74
|
+
import * as i41 from "./filtering/cell/numeric-filter-cell.component";
|
|
75
|
+
import * as i42 from "./filtering/cell/autocomplete-filter-cell.component";
|
|
76
|
+
import * as i43 from "./filtering/cell/boolean-filter-cell.component";
|
|
77
|
+
import * as i44 from "./filtering/cell/date-filter-cell.component";
|
|
78
|
+
import * as i45 from "./filtering/operators/contains-filter-operator.component";
|
|
79
|
+
import * as i46 from "./filtering/operators/not-contains-filter-operator.component";
|
|
80
|
+
import * as i47 from "./filtering/operators/ends-with-filter-operator.component";
|
|
81
|
+
import * as i48 from "./filtering/operators/eq-filter-operator.component";
|
|
82
|
+
import * as i49 from "./filtering/operators/is-empty-filter-operator.component";
|
|
83
|
+
import * as i50 from "./filtering/operators/is-not-empty-filter-operator.component";
|
|
84
|
+
import * as i51 from "./filtering/operators/is-not-null-filter-operator.component";
|
|
85
|
+
import * as i52 from "./filtering/operators/isnull-filter-operator.component";
|
|
86
|
+
import * as i53 from "./filtering/operators/neq-filter-operator.component";
|
|
87
|
+
import * as i54 from "./filtering/operators/starts-with-filter-operator.component";
|
|
88
|
+
import * as i55 from "./filtering/operators/gt-filter-operator.component";
|
|
89
|
+
import * as i56 from "./filtering/operators/gte-filter-operator.component";
|
|
90
|
+
import * as i57 from "./filtering/operators/lt-filter-operator.component";
|
|
91
|
+
import * as i58 from "./filtering/operators/lte-filter-operator.component";
|
|
92
|
+
import * as i59 from "./filtering/operators/after-filter-operator.component";
|
|
93
|
+
import * as i60 from "./filtering/operators/after-eq-filter-operator.component";
|
|
94
|
+
import * as i61 from "./filtering/operators/before-eq-filter-operator.component";
|
|
95
|
+
import * as i62 from "./filtering/operators/before-filter-operator.component";
|
|
96
|
+
import * as i63 from "./filtering/menu/string-filter-menu.component";
|
|
97
|
+
import * as i64 from "./filtering/menu/filter-menu-template.directive";
|
|
98
|
+
import * as i65 from "./filtering/menu/numeric-filter-menu.component";
|
|
99
|
+
import * as i66 from "./filtering/menu/date-filter-menu.component";
|
|
100
|
+
import * as i67 from "./filtering/menu/boolean-filter-menu.component";
|
|
101
|
+
import * as i68 from "./filtering/menu/filter-menu-dropdownlist.directive";
|
|
102
|
+
import * as i69 from "./filtering/menu/filter-radio-button.directive";
|
|
103
|
+
import * as i70 from "./column-menu/column-chooser.component";
|
|
104
|
+
import * as i71 from "./column-menu/column-menu-filter.component";
|
|
105
|
+
import * as i72 from "./column-menu/column-menu-item.component";
|
|
106
|
+
import * as i73 from "./column-menu/column-menu-item-content-template.directive";
|
|
107
|
+
import * as i74 from "./column-menu/column-menu-sort.component";
|
|
108
|
+
import * as i75 from "./column-menu/column-menu-lock.component";
|
|
109
|
+
import * as i76 from "./column-menu/column-menu-stick.component";
|
|
110
|
+
import * as i77 from "./column-menu/column-menu-position.component";
|
|
111
|
+
import * as i78 from "./column-menu/column-menu-chooser.component";
|
|
112
|
+
import * as i79 from "./column-menu/column-menu-template.directive";
|
|
113
|
+
import * as i80 from "./column-menu/column-menu-container.component";
|
|
114
|
+
import * as i81 from "./column-menu/column-menu-item.directive";
|
|
115
|
+
import * as i82 from "./column-menu/column-menu.component";
|
|
116
|
+
import * as i83 from "./column-menu/column-menu-autosize.component";
|
|
117
|
+
import * as i84 from "./column-menu/column-menu-autosize-all.component";
|
|
117
118
|
const exportedModules = [
|
|
118
119
|
GridComponent,
|
|
119
120
|
ToolbarTemplateDirective,
|
|
@@ -227,7 +228,7 @@ GridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13
|
|
|
227
228
|
ReactiveEditingDirective,
|
|
228
229
|
InCellEditingDirective,
|
|
229
230
|
ExpandDetailsDirective,
|
|
230
|
-
ExpandGroupDirective, i1.GroupHeaderTemplateDirective, i2.GroupHeaderColumnTemplateDirective, i3.GroupFooterTemplateDirective, i4.ColumnComponent, i5.SpanColumnComponent, i6.ColumnGroupComponent, i7.FooterTemplateDirective, i8.DetailTemplateDirective, i9.FocusableDirective, i10.
|
|
231
|
+
ExpandGroupDirective, i1.GroupHeaderTemplateDirective, i2.GroupHeaderColumnTemplateDirective, i3.GroupFooterTemplateDirective, i4.ColumnComponent, i5.SpanColumnComponent, i6.ColumnGroupComponent, i7.FooterTemplateDirective, i8.DetailTemplateDirective, i9.FocusableDirective, i10.GridTableDirective, i11.CommandColumnComponent, i12.CheckboxColumnComponent, i13.SelectionCheckboxDirective, i14.CellTemplateDirective, i15.NoRecordsTemplateDirective, i16.EditTemplateDirective, i17.EditCommandDirective, i18.CancelCommandDirective, i19.SaveCommandDirective, i20.RemoveCommandDirective, i21.AddCommandDirective, i22.CellLoadingTemplateDirective, i23.LoadingTemplateDirective, i24.HeaderTemplateDirective, i25.SelectAllCheckboxDirective, i26.PagerComponent, i27.PagerPrevButtonsComponent, i28.PagerNextButtonsComponent, i29.PagerNumericButtonsComponent, i30.PagerInputComponent, i31.PagerInfoComponent, i32.PagerPageSizesComponent, i33.PagerTemplateDirective, i34.PagerDropDownListDirective, i35.PagerInputDirective, i36.FilterRowComponent, i37.FilterCellComponent, i38.FilterCellTemplateDirective, i39.FilterCellOperatorsComponent, i40.StringFilterCellComponent, i41.NumericFilterCellComponent, i42.AutoCompleteFilterCellComponent, i43.BooleanFilterCellComponent, i44.DateFilterCellComponent, i39.FilterCellOperatorsComponent, i45.ContainsFilterOperatorComponent, i46.DoesNotContainFilterOperatorComponent, i47.EndsWithFilterOperatorComponent, i48.EqualFilterOperatorComponent, i49.IsEmptyFilterOperatorComponent, i50.IsNotEmptyFilterOperatorComponent, i51.IsNotNullFilterOperatorComponent, i52.IsNullFilterOperatorComponent, i53.NotEqualFilterOperatorComponent, i54.StartsWithFilterOperatorComponent, i55.GreaterFilterOperatorComponent, i56.GreaterOrEqualToFilterOperatorComponent, i57.LessFilterOperatorComponent, i58.LessOrEqualToFilterOperatorComponent, i59.AfterFilterOperatorComponent, i60.AfterEqFilterOperatorComponent, i61.BeforeEqFilterOperatorComponent, i62.BeforeFilterOperatorComponent, i63.StringFilterMenuComponent, i64.FilterMenuTemplateDirective, i65.NumericFilterMenuComponent, i66.DateFilterMenuComponent, i67.BooleanFilterMenuComponent, i68.FilterMenuDropDownListDirective, i69.BooleanFilterRadioButtonDirective, i39.FilterCellOperatorsComponent, i45.ContainsFilterOperatorComponent, i46.DoesNotContainFilterOperatorComponent, i47.EndsWithFilterOperatorComponent, i48.EqualFilterOperatorComponent, i49.IsEmptyFilterOperatorComponent, i50.IsNotEmptyFilterOperatorComponent, i51.IsNotNullFilterOperatorComponent, i52.IsNullFilterOperatorComponent, i53.NotEqualFilterOperatorComponent, i54.StartsWithFilterOperatorComponent, i55.GreaterFilterOperatorComponent, i56.GreaterOrEqualToFilterOperatorComponent, i57.LessFilterOperatorComponent, i58.LessOrEqualToFilterOperatorComponent, i59.AfterFilterOperatorComponent, i60.AfterEqFilterOperatorComponent, i61.BeforeEqFilterOperatorComponent, i62.BeforeFilterOperatorComponent, i70.ColumnChooserComponent, i71.ColumnMenuFilterComponent, i72.ColumnMenuItemComponent, i73.ColumnMenuItemContentTemplateDirective, i74.ColumnMenuSortComponent, i75.ColumnMenuLockComponent, i76.ColumnMenuStickComponent, i77.ColumnMenuPositionComponent, i78.ColumnMenuChooserComponent, i79.ColumnMenuTemplateDirective, i80.ColumnMenuContainerComponent, i81.ColumnMenuItemDirective, i82.ColumnMenuComponent, i83.ColumnMenuAutoSizeColumnComponent, i84.ColumnMenuAutoSizeAllColumnsComponent] });
|
|
231
232
|
GridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GridModule, imports: [[
|
|
232
233
|
CommonModule,
|
|
233
234
|
GroupModule,
|
|
@@ -29,9 +29,8 @@ export class GroupHeaderComponent {
|
|
|
29
29
|
this.totalColumnsCount = 0;
|
|
30
30
|
this.groups = [];
|
|
31
31
|
this.isExpanded = false;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
return true;
|
|
32
|
+
this.groupItemClass = true;
|
|
33
|
+
this.tableGroupRowClass = true;
|
|
35
34
|
}
|
|
36
35
|
ngDoCheck() {
|
|
37
36
|
const groupArgs = {
|
|
@@ -84,7 +83,7 @@ export class GroupHeaderComponent {
|
|
|
84
83
|
}
|
|
85
84
|
}
|
|
86
85
|
GroupHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupHeaderComponent, deps: [{ token: i1.GroupsService }, { token: i2.GroupInfoService }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
87
|
-
GroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GroupHeaderComponent, selector: "[kendoGridGroupHeader]", inputs: { rowIndex: "rowIndex", logicalRowIndex: "logicalRowIndex", item: "item", skipGroupDecoration: "skipGroupDecoration", hasDetails: "hasDetails", totalColumnsCount: "totalColumnsCount", hasGroupHeaderColumn: "hasGroupHeaderColumn", groupHeaderColumns: "groupHeaderColumns", columns: "columns", groups: "groups" }, host: { properties: { "class.k-grouping-row": "this.groupItemClass" } }, ngImport: i0, template: `
|
|
86
|
+
GroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GroupHeaderComponent, selector: "[kendoGridGroupHeader]", inputs: { rowIndex: "rowIndex", logicalRowIndex: "logicalRowIndex", item: "item", skipGroupDecoration: "skipGroupDecoration", hasDetails: "hasDetails", totalColumnsCount: "totalColumnsCount", hasGroupHeaderColumn: "hasGroupHeaderColumn", groupHeaderColumns: "groupHeaderColumns", columns: "columns", groups: "groups" }, host: { properties: { "class.k-grouping-row": "this.groupItemClass", "class.k-table-group-row": "this.tableGroupRowClass" } }, ngImport: i0, template: `
|
|
88
87
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
89
88
|
<td class="k-group-cell"
|
|
90
89
|
role="presentation"
|
|
@@ -244,4 +243,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
244
243
|
}], groupItemClass: [{
|
|
245
244
|
type: HostBinding,
|
|
246
245
|
args: ['class.k-grouping-row']
|
|
246
|
+
}], tableGroupRowClass: [{
|
|
247
|
+
type: HostBinding,
|
|
248
|
+
args: ['class.k-table-group-row']
|
|
247
249
|
}] } });
|
package/esm2020/index.mjs
CHANGED
|
@@ -202,5 +202,7 @@ export { PagerDropDownListDirective } from './pager/pager-dropdown.directive';
|
|
|
202
202
|
export { GroupHeaderComponent } from './grouping/group-header.component';
|
|
203
203
|
export { GroupPanelComponent } from './grouping/group-panel.component';
|
|
204
204
|
export { GroupIndicatorComponent } from './grouping/group-indicator.component';
|
|
205
|
+
export { SizingOptionsService } from './layout/sizing-options.service';
|
|
206
|
+
export { GridTableDirective } from './rendering/grid-table.directive';
|
|
205
207
|
// Needed as it is an optional injection of the FilterService
|
|
206
208
|
export { MenuTabbingService } from './filtering/menu/menu-tabbing.service';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Injectable } from '@angular/core';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class SizingOptionsService {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.changes = new Subject();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
SizingOptionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SizingOptionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
SizingOptionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SizingOptionsService });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SizingOptionsService, decorators: [{
|
|
16
|
+
type: Injectable
|
|
17
|
+
}] });
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
export class GridMessages extends ComponentMessages {
|
|
12
12
|
}
|
|
13
13
|
GridMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GridMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
-
GridMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GridMessages, selector: "kendo-grid-messages-base", inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerLabel: "pagerLabel", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItems: "pagerItems", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", filter: "filter", filterInputLabel: "filterInputLabel", filterMenuTitle: "filterMenuTitle", filterMenuOperatorsDropDownLabel: "filterMenuOperatorsDropDownLabel", filterMenuLogicDropDownLabel: "filterMenuLogicDropDownLabel", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", loading: "loading", gridLabel: "gridLabel", columnMenu: "columnMenu", setColumnPosition: "setColumnPosition", columns: "columns", lock: "lock", unlock: "unlock", stick: "stick", unstick: "unstick", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", autosizeThisColumn: "autosizeThisColumn", autosizeAllColumns: "autosizeAllColumns", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", columnsApply: "columnsApply", columnsReset: "columnsReset", detailExpand: "detailExpand", detailCollapse: "detailCollapse", filterDateToday: "filterDateToday", filterDateToggle: "filterDateToggle", filterNumericDecrement: "filterNumericDecrement", filterNumericIncrement: "filterNumericIncrement", selectionCheckboxLabel: "selectionCheckboxLabel", selectAllCheckboxLabel: "selectAllCheckboxLabel", groupCollapse: "groupCollapse", groupExpand: "groupExpand" }, usesInheritance: true, ngImport: i0 });
|
|
14
|
+
GridMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GridMessages, selector: "kendo-grid-messages-base", inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerLabel: "pagerLabel", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItems: "pagerItems", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", selectPage: "selectPage", filter: "filter", filterInputLabel: "filterInputLabel", filterMenuTitle: "filterMenuTitle", filterMenuOperatorsDropDownLabel: "filterMenuOperatorsDropDownLabel", filterMenuLogicDropDownLabel: "filterMenuLogicDropDownLabel", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", loading: "loading", gridLabel: "gridLabel", columnMenu: "columnMenu", setColumnPosition: "setColumnPosition", columns: "columns", lock: "lock", unlock: "unlock", stick: "stick", unstick: "unstick", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", autosizeThisColumn: "autosizeThisColumn", autosizeAllColumns: "autosizeAllColumns", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", columnsApply: "columnsApply", columnsReset: "columnsReset", detailExpand: "detailExpand", detailCollapse: "detailCollapse", filterDateToday: "filterDateToday", filterDateToggle: "filterDateToggle", filterNumericDecrement: "filterNumericDecrement", filterNumericIncrement: "filterNumericIncrement", selectionCheckboxLabel: "selectionCheckboxLabel", selectAllCheckboxLabel: "selectAllCheckboxLabel", groupCollapse: "groupCollapse", groupExpand: "groupExpand" }, usesInheritance: true, ngImport: i0 });
|
|
15
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GridMessages, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
@@ -42,6 +42,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
42
42
|
type: Input
|
|
43
43
|
}], pagerPageNumberInputTitle: [{
|
|
44
44
|
type: Input
|
|
45
|
+
}], selectPage: [{
|
|
46
|
+
type: Input
|
|
45
47
|
}], filter: [{
|
|
46
48
|
type: Input
|
|
47
49
|
}], filterInputLabel: [{
|
|
@@ -55,6 +55,11 @@ export class LogicalCellDirective {
|
|
|
55
55
|
}
|
|
56
56
|
this.navigationChange = this.navigationService.changes.subscribe((e) => this.onNavigationChange(e));
|
|
57
57
|
}
|
|
58
|
+
ngAfterViewInit() {
|
|
59
|
+
const el = this.element.nativeElement;
|
|
60
|
+
const elementType = el.tagName.toLowerCase();
|
|
61
|
+
this.renderer.addClass(el, `k-table-${elementType}`);
|
|
62
|
+
}
|
|
58
63
|
ngDoCheck() {
|
|
59
64
|
if (!this.navigationService.tableEnabled || this.logicalColIndex === -1) {
|
|
60
65
|
return;
|
|
@@ -24,6 +24,7 @@ export class LogicalRowDirective {
|
|
|
24
24
|
this.logicalSlaveCellsCount = 0;
|
|
25
25
|
this.dataRowIndex = -1;
|
|
26
26
|
this.uid = nextId();
|
|
27
|
+
this.tableRowClass = true;
|
|
27
28
|
}
|
|
28
29
|
get hostRole() {
|
|
29
30
|
return this.logicalSlaveRow ? 'presentation' : 'row';
|
|
@@ -62,7 +63,7 @@ export class LogicalRowDirective {
|
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
LogicalRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LogicalRowDirective, deps: [{ token: i1.IdService }, { token: i2.NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
65
|
-
LogicalRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: { logicalRowIndex: "logicalRowIndex", logicalSlaveRow: "logicalSlaveRow", logicalCellsCount: "logicalCellsCount", logicalSlaveCellsCount: "logicalSlaveCellsCount", dataRowIndex: "dataRowIndex", dataItem: "dataItem" }, host: { properties: { "attr.role": "this.hostRole", "attr.aria-rowindex": "this.ariaRowIndex", "attr.aria-owns": "this.ariaOwns" } }, usesOnChanges: true, ngImport: i0 });
|
|
66
|
+
LogicalRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: { logicalRowIndex: "logicalRowIndex", logicalSlaveRow: "logicalSlaveRow", logicalCellsCount: "logicalCellsCount", logicalSlaveCellsCount: "logicalSlaveCellsCount", dataRowIndex: "dataRowIndex", dataItem: "dataItem" }, host: { properties: { "attr.role": "this.hostRole", "attr.aria-rowindex": "this.ariaRowIndex", "class.k-table-row": "this.tableRowClass", "attr.aria-owns": "this.ariaOwns" } }, usesOnChanges: true, ngImport: i0 });
|
|
66
67
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LogicalRowDirective, decorators: [{
|
|
67
68
|
type: Directive,
|
|
68
69
|
args: [{
|
|
@@ -86,6 +87,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
86
87
|
}], ariaRowIndex: [{
|
|
87
88
|
type: HostBinding,
|
|
88
89
|
args: ['attr.aria-rowindex']
|
|
90
|
+
}], tableRowClass: [{
|
|
91
|
+
type: HostBinding,
|
|
92
|
+
args: ['class.k-table-row']
|
|
89
93
|
}], ariaOwns: [{
|
|
90
94
|
type: HostBinding,
|
|
91
95
|
args: ['attr.aria-owns']
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-grid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1672394787,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef, Directive } from '@angular/core';
|
|
5
|
+
import { ChangeDetectorRef, Directive, Input } from '@angular/core';
|
|
6
6
|
import { PagerContextService } from "./pager-context.service";
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -19,6 +19,11 @@ export class PagerElementComponent {
|
|
|
19
19
|
this.total = this.pagerContext.total;
|
|
20
20
|
this.skip = this.pagerContext.skip;
|
|
21
21
|
this.pageSize = this.pagerContext.pageSize;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the pager element sizing option.
|
|
24
|
+
* @default `medium`
|
|
25
|
+
*/
|
|
26
|
+
this.size = 'medium';
|
|
22
27
|
}
|
|
23
28
|
/**
|
|
24
29
|
* @hidden
|
|
@@ -78,8 +83,10 @@ export class PagerElementComponent {
|
|
|
78
83
|
}
|
|
79
84
|
}
|
|
80
85
|
PagerElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PagerElementComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
81
|
-
PagerElementComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: PagerElementComponent, ngImport: i0 });
|
|
86
|
+
PagerElementComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: PagerElementComponent, inputs: { size: "size" }, ngImport: i0 });
|
|
82
87
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PagerElementComponent, decorators: [{
|
|
83
88
|
type: Directive,
|
|
84
89
|
args: [{}]
|
|
85
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PagerContextService }, { type: i0.ChangeDetectorRef }]; }
|
|
90
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PagerContextService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { size: [{
|
|
91
|
+
type: Input
|
|
92
|
+
}] } });
|
|
@@ -14,10 +14,9 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
14
14
|
import * as i2 from "./pager-context.service";
|
|
15
15
|
import * as i3 from "./../navigation/navigation.service";
|
|
16
16
|
import * as i4 from "@progress/kendo-angular-inputs";
|
|
17
|
-
import * as i5 from "
|
|
18
|
-
import * as i6 from "
|
|
19
|
-
import * as i7 from "
|
|
20
|
-
import * as i8 from "@progress/kendo-angular-common";
|
|
17
|
+
import * as i5 from "./pager-input.directive";
|
|
18
|
+
import * as i6 from "../navigation/focusable.directive";
|
|
19
|
+
import * as i7 from "@progress/kendo-angular-common";
|
|
21
20
|
/**
|
|
22
21
|
* Displays an input element which allows the typing and rendering of page numbers.
|
|
23
22
|
*
|
|
@@ -130,12 +129,11 @@ export class PagerInputComponent extends PagerElementComponent {
|
|
|
130
129
|
}
|
|
131
130
|
PagerInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PagerInputComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PagerContextService }, { token: i0.NgZone }, { token: i3.NavigationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
132
131
|
PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PagerInputComponent, selector: "kendo-pager-input", viewQueries: [{ propertyName: "numericInput", first: true, predicate: NumericTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
133
|
-
<span
|
|
132
|
+
<span class="k-pager-input k-label">
|
|
134
133
|
{{textFor('pagerPage')}}
|
|
135
134
|
<kendo-numerictextbox
|
|
136
135
|
kendoGridPagerInput
|
|
137
136
|
[kendoGridFocusable]="hasPages"
|
|
138
|
-
[tabindex]="0"
|
|
139
137
|
[spinners]="false"
|
|
140
138
|
[decimals]="0"
|
|
141
139
|
format="n0"
|
|
@@ -143,6 +141,7 @@ PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
143
141
|
[value]="current"
|
|
144
142
|
[min]="hasPages ? 1 : 0"
|
|
145
143
|
[max]="totalPages"
|
|
144
|
+
[size]="size"
|
|
146
145
|
[autoCorrect]="true"
|
|
147
146
|
[title]="textFor('pagerPageNumberInputTitle')"
|
|
148
147
|
[kendoEventsOutsideAngular]="{
|
|
@@ -153,18 +152,17 @@ PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
153
152
|
</kendo-numerictextbox>
|
|
154
153
|
{{textFor('pagerOf')}} {{totalPages}}
|
|
155
154
|
</span>
|
|
156
|
-
`, isInline: true, components: [{ type: i4.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: i5.
|
|
155
|
+
`, isInline: true, components: [{ type: i4.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: i5.PagerInputDirective, selector: "[kendoGridPagerInput]" }, { type: i6.FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { type: i7.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
157
156
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PagerInputComponent, decorators: [{
|
|
158
157
|
type: Component,
|
|
159
158
|
args: [{
|
|
160
159
|
selector: 'kendo-pager-input',
|
|
161
160
|
template: `
|
|
162
|
-
<span
|
|
161
|
+
<span class="k-pager-input k-label">
|
|
163
162
|
{{textFor('pagerPage')}}
|
|
164
163
|
<kendo-numerictextbox
|
|
165
164
|
kendoGridPagerInput
|
|
166
165
|
[kendoGridFocusable]="hasPages"
|
|
167
|
-
[tabindex]="0"
|
|
168
166
|
[spinners]="false"
|
|
169
167
|
[decimals]="0"
|
|
170
168
|
format="n0"
|
|
@@ -172,6 +170,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
172
170
|
[value]="current"
|
|
173
171
|
[min]="hasPages ? 1 : 0"
|
|
174
172
|
[max]="totalPages"
|
|
173
|
+
[size]="size"
|
|
175
174
|
[autoCorrect]="true"
|
|
176
175
|
[title]="textFor('pagerPageNumberInputTitle')"
|
|
177
176
|
[kendoEventsOutsideAngular]="{
|
|
@@ -11,8 +11,8 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
import * as i2 from "./pager-context.service";
|
|
13
13
|
import * as i3 from "./../navigation/navigation.service";
|
|
14
|
-
import * as i4 from "
|
|
15
|
-
import * as i5 from "
|
|
14
|
+
import * as i4 from "@progress/kendo-angular-buttons";
|
|
15
|
+
import * as i5 from "../navigation/focusable.directive";
|
|
16
16
|
/**
|
|
17
17
|
* Displays buttons for navigating to the next and to the last page ([see example]({% slug paging_grid %}#toc-pager-template)).
|
|
18
18
|
*/
|
|
@@ -40,93 +40,69 @@ export class PagerNextButtonsComponent extends PagerElementComponent {
|
|
|
40
40
|
}
|
|
41
41
|
PagerNextButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PagerNextButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
42
|
PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PagerNextButtonsComponent, selector: "kendo-pager-next-buttons", usesInheritance: true, ngImport: i0, template: `
|
|
43
|
-
<
|
|
43
|
+
<button
|
|
44
|
+
kendoButton
|
|
44
45
|
[kendoGridFocusable]="!disabled"
|
|
45
|
-
|
|
46
|
+
type="button"
|
|
47
|
+
[size]="size"
|
|
48
|
+
icon="caret-alt-right"
|
|
49
|
+
fillMode="flat"
|
|
50
|
+
rounded="none"
|
|
51
|
+
class="k-pager-nav"
|
|
52
|
+
[disabled]="disabled"
|
|
46
53
|
[title]="textFor('pagerNextPage')"
|
|
47
|
-
|
|
48
|
-
(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
'k-pager-nav': true,
|
|
53
|
-
'k-disabled': disabled,
|
|
54
|
-
'': true
|
|
55
|
-
}">
|
|
56
|
-
<span role="note" [attr.aria-label]="textFor('pagerNextPage')"
|
|
57
|
-
[ngClass]="{
|
|
58
|
-
'k-icon':true,
|
|
59
|
-
'k-i-caret-alt-right': true
|
|
60
|
-
}">
|
|
61
|
-
</span>
|
|
62
|
-
</span>
|
|
63
|
-
<span
|
|
54
|
+
[attr.aria-label]="textFor('pagerNextPage')"
|
|
55
|
+
(click)="currentPage !== totalPages ? changePage(currentPage) : false">
|
|
56
|
+
</button>
|
|
57
|
+
<button
|
|
58
|
+
kendoButton
|
|
64
59
|
[kendoGridFocusable]="!disabled"
|
|
65
|
-
|
|
60
|
+
type="button"
|
|
61
|
+
[size]="size"
|
|
62
|
+
icon="caret-alt-to-right"
|
|
63
|
+
fillMode="flat"
|
|
64
|
+
rounded="none"
|
|
65
|
+
class="k-pager-nav k-pager-last"
|
|
66
|
+
[disabled]="disabled"
|
|
66
67
|
[title]="textFor('pagerLastPage')"
|
|
67
|
-
|
|
68
|
-
(
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
'k-link': true,
|
|
72
|
-
'k-pager-nav': true,
|
|
73
|
-
'k-disabled': disabled,
|
|
74
|
-
'k-pager-last': true
|
|
75
|
-
}">
|
|
76
|
-
<span role="note" [attr.aria-label]="textFor('pagerLastPage')"
|
|
77
|
-
[ngClass]="{
|
|
78
|
-
'k-icon':true,
|
|
79
|
-
'k-i-caret-alt-to-right': true
|
|
80
|
-
}">
|
|
81
|
-
</span>
|
|
82
|
-
</span>
|
|
83
|
-
`, isInline: true, directives: [{ type: i4.FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
68
|
+
[attr.aria-label]="textFor('pagerLastPage')"
|
|
69
|
+
(click)="currentPage !== totalPages ? changePage(totalPages-1) : false">
|
|
70
|
+
</button>
|
|
71
|
+
`, isInline: true, components: [{ type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i5.FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
84
72
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PagerNextButtonsComponent, decorators: [{
|
|
85
73
|
type: Component,
|
|
86
74
|
args: [{
|
|
87
75
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
88
76
|
selector: 'kendo-pager-next-buttons',
|
|
89
77
|
template: `
|
|
90
|
-
<
|
|
78
|
+
<button
|
|
79
|
+
kendoButton
|
|
91
80
|
[kendoGridFocusable]="!disabled"
|
|
92
|
-
|
|
81
|
+
type="button"
|
|
82
|
+
[size]="size"
|
|
83
|
+
icon="caret-alt-right"
|
|
84
|
+
fillMode="flat"
|
|
85
|
+
rounded="none"
|
|
86
|
+
class="k-pager-nav"
|
|
87
|
+
[disabled]="disabled"
|
|
93
88
|
[title]="textFor('pagerNextPage')"
|
|
94
|
-
|
|
95
|
-
(
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
'k-pager-nav': true,
|
|
100
|
-
'k-disabled': disabled,
|
|
101
|
-
'': true
|
|
102
|
-
}">
|
|
103
|
-
<span role="note" [attr.aria-label]="textFor('pagerNextPage')"
|
|
104
|
-
[ngClass]="{
|
|
105
|
-
'k-icon':true,
|
|
106
|
-
'k-i-caret-alt-right': true
|
|
107
|
-
}">
|
|
108
|
-
</span>
|
|
109
|
-
</span>
|
|
110
|
-
<span
|
|
89
|
+
[attr.aria-label]="textFor('pagerNextPage')"
|
|
90
|
+
(click)="currentPage !== totalPages ? changePage(currentPage) : false">
|
|
91
|
+
</button>
|
|
92
|
+
<button
|
|
93
|
+
kendoButton
|
|
111
94
|
[kendoGridFocusable]="!disabled"
|
|
112
|
-
|
|
95
|
+
type="button"
|
|
96
|
+
[size]="size"
|
|
97
|
+
icon="caret-alt-to-right"
|
|
98
|
+
fillMode="flat"
|
|
99
|
+
rounded="none"
|
|
100
|
+
class="k-pager-nav k-pager-last"
|
|
101
|
+
[disabled]="disabled"
|
|
113
102
|
[title]="textFor('pagerLastPage')"
|
|
114
|
-
|
|
115
|
-
(
|
|
116
|
-
|
|
117
|
-
[ngClass]="{
|
|
118
|
-
'k-link': true,
|
|
119
|
-
'k-pager-nav': true,
|
|
120
|
-
'k-disabled': disabled,
|
|
121
|
-
'k-pager-last': true
|
|
122
|
-
}">
|
|
123
|
-
<span role="note" [attr.aria-label]="textFor('pagerLastPage')"
|
|
124
|
-
[ngClass]="{
|
|
125
|
-
'k-icon':true,
|
|
126
|
-
'k-i-caret-alt-to-right': true
|
|
127
|
-
}">
|
|
128
|
-
</span>
|
|
129
|
-
</span>
|
|
103
|
+
[attr.aria-label]="textFor('pagerLastPage')"
|
|
104
|
+
(click)="currentPage !== totalPages ? changePage(totalPages-1) : false">
|
|
105
|
+
</button>
|
|
130
106
|
`
|
|
131
107
|
}]
|
|
132
108
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PagerContextService }, { type: i0.ChangeDetectorRef }, { type: i3.NavigationService }]; } });
|