@progress/kendo-angular-pager 17.0.0-develop.3 → 17.0.0-develop.31

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.
Files changed (45) hide show
  1. package/README.md +26 -17
  2. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  3. package/{esm2020 → esm2022}/pager/focusable.directive.mjs +7 -4
  4. package/{esm2020 → esm2022}/pager/localization/custom-messages.component.mjs +9 -8
  5. package/{esm2020 → esm2022}/pager/localization/localized-messages.directive.mjs +9 -8
  6. package/esm2022/pager/localization/messages.mjs +87 -0
  7. package/{esm2020 → esm2022}/pager/navigation.service.mjs +2 -4
  8. package/{esm2020 → esm2022}/pager/pager-context.service.mjs +6 -5
  9. package/{esm2020 → esm2022}/pager/pager-element.component.mjs +22 -15
  10. package/{esm2020 → esm2022}/pager/pager-info.component.mjs +8 -7
  11. package/{esm2020 → esm2022}/pager/pager-input.component.mjs +59 -55
  12. package/{esm2020 → esm2022}/pager/pager-next-buttons.component.mjs +18 -18
  13. package/{esm2020 → esm2022}/pager/pager-numeric-buttons.component.mjs +22 -11
  14. package/{esm2020 → esm2022}/pager/pager-page-sizes.component.mjs +25 -21
  15. package/{esm2020 → esm2022}/pager/pager-prev-buttons.component.mjs +15 -15
  16. package/{esm2020 → esm2022}/pager/pager-template.directive.mjs +4 -3
  17. package/{esm2020 → esm2022}/pager/pager.component.mjs +121 -105
  18. package/{esm2020 → esm2022}/pager/pager.module.mjs +8 -8
  19. package/{esm2020 → esm2022}/pager/pagesizechange-event.mjs +4 -0
  20. package/{esm2020 → esm2022}/pager/preventable-event.mjs +1 -3
  21. package/{fesm2020 → fesm2022}/progress-kendo-angular-pager.mjs +389 -295
  22. package/package.json +15 -21
  23. package/pager/common/pager-size.d.ts +1 -1
  24. package/pager/common/pager-type.d.ts +1 -1
  25. package/pager/localization/messages.d.ts +1 -1
  26. package/pager/pager-context.service.d.ts +1 -1
  27. package/pager/pager-input.component.d.ts +1 -1
  28. package/pager/pager-next-buttons.component.d.ts +1 -1
  29. package/pager/pager-numeric-buttons.component.d.ts +1 -1
  30. package/pager/pager-page-sizes.component.d.ts +1 -1
  31. package/pager/pager-prev-buttons.component.d.ts +1 -1
  32. package/pager/pager.component.d.ts +1 -1
  33. package/schematics/ngAdd/index.js +6 -6
  34. package/esm2020/pager/localization/messages.mjs +0 -43
  35. package/fesm2015/progress-kendo-angular-pager.mjs +0 -1991
  36. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  37. /package/{esm2020 → esm2022}/index.mjs +0 -0
  38. /package/{esm2020 → esm2022}/pager/change-event-args.interface.mjs +0 -0
  39. /package/{esm2020 → esm2022}/pager/common/constants.mjs +0 -0
  40. /package/{esm2020 → esm2022}/pager/common/pager-classes.mjs +0 -0
  41. /package/{esm2020 → esm2022}/pager/common/pager-size.mjs +0 -0
  42. /package/{esm2020 → esm2022}/pager/common/pager-type.mjs +0 -0
  43. /package/{esm2020 → esm2022}/pager/pagesize-item.interface.mjs +0 -0
  44. /package/{esm2020 → esm2022}/progress-kendo-angular-pager.mjs +0 -0
  45. /package/{esm2020 → esm2022}/util.mjs +0 -0
@@ -21,9 +21,7 @@ import { PopupService } from '@progress/kendo-angular-popup';
21
21
  * @hidden
22
22
  */
23
23
  class PreventableEvent {
24
- constructor() {
25
- this.prevented = false;
26
- }
24
+ prevented = false;
27
25
  /**
28
26
  * Prevents the default action for a specified event.
29
27
  * In this way, the source component suppresses the built-in behavior that follows the event.
@@ -46,6 +44,10 @@ class PreventableEvent {
46
44
  * is changed from the UI. If you cancel the event, the change is prevented.
47
45
  */
48
46
  class PageSizeChangeEvent extends PreventableEvent {
47
+ /**
48
+ * The newly selected page size.
49
+ */
50
+ newPageSize;
49
51
  /**
50
52
  * Constructs the event arguments for the `pageSizeChange` event.
51
53
  * @param newPageSize - The newly selected page size.
@@ -61,10 +63,54 @@ class PageSizeChangeEvent extends PreventableEvent {
61
63
  * @hidden
62
64
  */
63
65
  class Messages extends ComponentMessages {
66
+ /**
67
+ * The label for the **First page** button.
68
+ */
69
+ firstPage;
70
+ /**
71
+ * The label for the **Last page** button.
72
+ */
73
+ lastPage;
74
+ /**
75
+ * The label for the **Previous page** button.
76
+ */
77
+ previousPage;
78
+ /**
79
+ * The label for the **Next page** button.
80
+ */
81
+ nextPage;
82
+ /**
83
+ * The label displayed before the pager input.
84
+ */
85
+ page;
86
+ /**
87
+ * The title attribute of the page number input element.
88
+ */
89
+ pageNumberInputTitle;
90
+ /**
91
+ * The label displayed after the page-size selector.
92
+ */
93
+ itemsPerPage;
94
+ /**
95
+ * The label before the total-page number.
96
+ */
97
+ of;
98
+ /**
99
+ * The label after the total-page number.
100
+ */
101
+ items;
102
+ /**
103
+ * The text of the title and aria-label attributes applied to the page chooser.
104
+ */
105
+ selectPage;
106
+ /**
107
+ * The text of the aria-label attribute applied to the input element for entering the page number."
108
+ */
109
+ inputLabel;
110
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
111
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, selector: "kendoPagerMessages", inputs: { firstPage: "firstPage", lastPage: "lastPage", previousPage: "previousPage", nextPage: "nextPage", page: "page", pageNumberInputTitle: "pageNumberInputTitle", itemsPerPage: "itemsPerPage", of: "of", items: "items", selectPage: "selectPage", inputLabel: "inputLabel" }, usesInheritance: true, ngImport: i0 });
64
112
  }
65
- Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
66
- Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, selector: "kendoPagerMessages", inputs: { firstPage: "firstPage", lastPage: "lastPage", previousPage: "previousPage", nextPage: "nextPage", page: "page", pageNumberInputTitle: "pageNumberInputTitle", itemsPerPage: "itemsPerPage", of: "of", items: "items", selectPage: "selectPage", inputLabel: "inputLabel" }, usesInheritance: true, ngImport: i0 });
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, decorators: [{
68
114
  type: Directive,
69
115
  args: [{
70
116
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -99,6 +145,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
99
145
  * ([see example]({% slug pager_globalization %}#toc-messages)).
100
146
  */
101
147
  class CustomMessagesComponent extends Messages {
148
+ service;
102
149
  constructor(service) {
103
150
  super();
104
151
  this.service = service;
@@ -106,15 +153,15 @@ class CustomMessagesComponent extends Messages {
106
153
  get override() {
107
154
  return true;
108
155
  }
156
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
157
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-datapager-messages", providers: [
158
+ {
159
+ provide: Messages,
160
+ useExisting: forwardRef(() => CustomMessagesComponent)
161
+ }
162
+ ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
109
163
  }
110
- CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
111
- CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-datapager-messages", providers: [
112
- {
113
- provide: Messages,
114
- useExisting: forwardRef(() => CustomMessagesComponent)
115
- }
116
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, decorators: [{
164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, decorators: [{
118
165
  type: Component,
119
166
  args: [{
120
167
  providers: [
@@ -133,19 +180,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
133
180
  * @hidden
134
181
  */
135
182
  class LocalizedMessagesDirective extends Messages {
183
+ service;
136
184
  constructor(service) {
137
185
  super();
138
186
  this.service = service;
139
187
  }
188
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
189
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoDataPagerLocalizedMessages]", providers: [
190
+ {
191
+ provide: Messages,
192
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
193
+ }
194
+ ], usesInheritance: true, ngImport: i0 });
140
195
  }
141
- LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
142
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoDataPagerLocalizedMessages]", providers: [
143
- {
144
- provide: Messages,
145
- useExisting: forwardRef(() => LocalizedMessagesDirective)
146
- }
147
- ], usesInheritance: true, ngImport: i0 });
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
149
197
  type: Directive,
150
198
  args: [{
151
199
  providers: [
@@ -163,11 +211,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
163
211
  * @hidden
164
212
  */
165
213
  class PagerContextService {
166
- constructor() {
167
- this.changes = new Subject();
168
- this.pageChange = new Subject();
169
- this.pageSizeChange = new Subject();
170
- }
214
+ total;
215
+ skip;
216
+ pageSize;
217
+ changes = new Subject();
218
+ pageChange = new Subject();
219
+ pageSizeChange = new Subject();
171
220
  get currentPage() {
172
221
  return this.skip / this.pageSize;
173
222
  }
@@ -201,18 +250,16 @@ class PagerContextService {
201
250
  * @hidden
202
251
  */
203
252
  class PagerElementComponent {
204
- constructor(localization, pagerContext, cd) {
205
- this.localization = localization;
206
- this.pagerContext = pagerContext;
207
- this.cd = cd;
208
- this.total = this.pagerContext.total;
209
- this.skip = this.pagerContext.skip;
210
- this.pageSize = this.pagerContext.pageSize;
211
- this.caretAltLeftIcon = caretAltLeftIcon;
212
- this.caretAltToLeftIcon = caretAltToLeftIcon;
213
- this.caretAltRightIcon = caretAltRightIcon;
214
- this.caretAltToRightIcon = caretAltToRightIcon;
215
- }
253
+ localization;
254
+ pagerContext;
255
+ cd;
256
+ total;
257
+ skip;
258
+ pageSize;
259
+ caretAltLeftIcon = caretAltLeftIcon;
260
+ caretAltToLeftIcon = caretAltToLeftIcon;
261
+ caretAltRightIcon = caretAltRightIcon;
262
+ caretAltToRightIcon = caretAltToRightIcon;
216
263
  /**
217
264
  * @hidden
218
265
  *
@@ -233,6 +280,15 @@ class PagerElementComponent {
233
280
  get totalPages() {
234
281
  return Math.ceil((this.total || 0) / this.pageSize);
235
282
  }
283
+ subscriptions;
284
+ constructor(localization, pagerContext, cd) {
285
+ this.localization = localization;
286
+ this.pagerContext = pagerContext;
287
+ this.cd = cd;
288
+ this.total = pagerContext.total;
289
+ this.skip = pagerContext.skip;
290
+ this.pageSize = pagerContext.pageSize;
291
+ }
236
292
  /**
237
293
  * @hidden
238
294
  *
@@ -281,10 +337,10 @@ class PagerElementComponent {
281
337
  get nextArrowSVGIcons() {
282
338
  return !this.localization.rtl ? [this.caretAltRightIcon, this.caretAltToRightIcon] : [this.caretAltLeftIcon, this.caretAltToLeftIcon];
283
339
  }
340
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerElementComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
341
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerElementComponent, selector: "kendo-pager-element", ngImport: i0, template: ``, isInline: true });
284
342
  }
285
- PagerElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerElementComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
286
- PagerElementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerElementComponent, selector: "kendo-pager-element", ngImport: i0, template: ``, isInline: true });
287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerElementComponent, decorators: [{
343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerElementComponent, decorators: [{
288
344
  type: Component,
289
345
  args: [{
290
346
  selector: 'kendo-pager-element',
@@ -352,10 +408,8 @@ const getStylingClasses = (componentType, stylingOption, previousValue, newValue
352
408
  * @hidden
353
409
  */
354
410
  class PagerNavigationService {
355
- constructor() {
356
- this.isNavigable = false;
357
- this.innerNavigationChange = new Subject();
358
- }
411
+ isNavigable = false;
412
+ innerNavigationChange = new Subject();
359
413
  toggleInnerNavigation(value) {
360
414
  this.innerNavigationChange.next(value);
361
415
  }
@@ -384,11 +438,14 @@ class PagerNavigationService {
384
438
  * Place the directive on custom focusable elements in the [`kendoDataPagerTemplate`]({% slug api_pager_pagertemplatedirective %}) to include them in the built-in Pager keyboard navigation.
385
439
  */
386
440
  class PagerFocusableDirective {
441
+ navigationService;
442
+ element;
443
+ renderer;
444
+ subscriptions = new Subscription();
387
445
  constructor(navigationService, element, renderer) {
388
446
  this.navigationService = navigationService;
389
447
  this.element = element;
390
448
  this.renderer = renderer;
391
- this.subscriptions = new Subscription();
392
449
  }
393
450
  ngOnInit() {
394
451
  this.subscriptions.add(this.navigationService.innerNavigationChange.subscribe(this.innerNavigationChange.bind(this)));
@@ -412,10 +469,10 @@ class PagerFocusableDirective {
412
469
  this.renderer.setAttribute(el, 'tabindex', index);
413
470
  });
414
471
  }
472
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerFocusableDirective, deps: [{ token: PagerNavigationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
473
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PagerFocusableDirective, isStandalone: true, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"], ngImport: i0 });
415
474
  }
416
- PagerFocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerFocusableDirective, deps: [{ token: PagerNavigationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
417
- PagerFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PagerFocusableDirective, isStandalone: true, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"], ngImport: i0 });
418
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerFocusableDirective, decorators: [{
475
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerFocusableDirective, decorators: [{
419
476
  type: Directive,
420
477
  args: [{
421
478
  selector: '[kendoPagerFocusable]',
@@ -431,17 +488,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
431
488
  class PagerPrevButtonsComponent extends PagerElementComponent {
432
489
  constructor(localization, pagerContext, cd) {
433
490
  super(localization, pagerContext, cd);
434
- /**
435
- * Specifies the padding of the buttons.
436
- *
437
- * The possible values are:
438
- * * `small`
439
- * * `medium` (default)
440
- * * `large`
441
- * * `none`
442
- */
443
- this.size = DEFAULT_SIZE;
444
491
  }
492
+ /**
493
+ * Specifies the padding of the buttons.
494
+ *
495
+ * The possible values are:
496
+ * * `small`
497
+ * * `medium` (default)
498
+ * * `large`
499
+ * * `none`
500
+ */
501
+ size = DEFAULT_SIZE;
445
502
  /**
446
503
  * @hidden
447
504
  *
@@ -458,9 +515,8 @@ class PagerPrevButtonsComponent extends PagerElementComponent {
458
515
  this.pageSize = pageSize;
459
516
  this.cd.markForCheck();
460
517
  }
461
- }
462
- PagerPrevButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerPrevButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
463
- PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerPrevButtonsComponent, isStandalone: true, selector: "kendo-datapager-prev-buttons", inputs: { size: "size" }, usesInheritance: true, ngImport: i0, template: `
518
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerPrevButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
519
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerPrevButtonsComponent, isStandalone: true, selector: "kendo-datapager-prev-buttons", inputs: { size: "size" }, usesInheritance: true, ngImport: i0, template: `
464
520
  <button
465
521
  type="button" kendoButton kendoPagerFocusable
466
522
  class="k-pager-nav k-pager-first"
@@ -487,8 +543,9 @@ PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
487
543
  [attr.aria-label]="textFor('previousPage')"
488
544
  (click)="currentPage !== 1 ? changePage(currentPage-2) : false">
489
545
  </button>
490
- `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: PagerFocusableDirective, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
491
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerPrevButtonsComponent, decorators: [{
546
+ `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: PagerFocusableDirective, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
547
+ }
548
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerPrevButtonsComponent, decorators: [{
492
549
  type: Component,
493
550
  args: [{
494
551
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -532,23 +589,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
532
589
  * Displays a drop-down list for the page size selection ([see example]({% slug pager_settings %})).
533
590
  */
534
591
  class PagerPageSizesComponent extends PagerElementComponent {
535
- constructor(localization, cd, pagerContext, element, ngZone) {
536
- super(localization, pagerContext, cd);
537
- this.pagerContext = pagerContext;
538
- this.element = element;
539
- this.ngZone = ngZone;
540
- /**
541
- * Specifies the padding of the dropdown.
542
- *
543
- * The possible values are:
544
- * * `small`
545
- * * `medium` (default)
546
- * * `large`
547
- * * `none`
548
- */
549
- this.size = DEFAULT_SIZE;
550
- this._pageSizes = [];
551
- }
592
+ pagerContext;
593
+ element;
594
+ ngZone;
595
+ dropDownList;
552
596
  /**
553
597
  * The page sizes collection. Can contain numbers and [PageSizeItem]({% slug api_pager_pagesizeitem %}) objects.
554
598
  *
@@ -690,6 +734,16 @@ class PagerPageSizesComponent extends PagerElementComponent {
690
734
  get pageSizes() {
691
735
  return this._pageSizes;
692
736
  }
737
+ /**
738
+ * Specifies the padding of the dropdown.
739
+ *
740
+ * The possible values are:
741
+ * * `small`
742
+ * * `medium` (default)
743
+ * * `large`
744
+ * * `none`
745
+ */
746
+ size = DEFAULT_SIZE;
693
747
  /**
694
748
  * @hidden
695
749
  *
@@ -698,6 +752,13 @@ class PagerPageSizesComponent extends PagerElementComponent {
698
752
  get classes() {
699
753
  return true;
700
754
  }
755
+ _pageSizes = [];
756
+ constructor(localization, cd, pagerContext, element, ngZone) {
757
+ super(localization, pagerContext, cd);
758
+ this.pagerContext = pagerContext;
759
+ this.element = element;
760
+ this.ngZone = ngZone;
761
+ }
701
762
  ngAfterViewInit() {
702
763
  this.ngZone.runOutsideAngular(() => {
703
764
  this.element.nativeElement.addEventListener('keydown', this.keyDownHandler.bind(this), true);
@@ -728,9 +789,8 @@ class PagerPageSizesComponent extends PagerElementComponent {
728
789
  this.dropDownList.toggle(false);
729
790
  }
730
791
  }
731
- }
732
- PagerPageSizesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerPageSizesComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
733
- PagerPageSizesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerPageSizesComponent, isStandalone: true, selector: "kendo-datapager-page-sizes", inputs: { pageSizes: "pageSizes", size: "size" }, host: { properties: { "class.k-pager-sizes": "this.classes" } }, viewQueries: [{ propertyName: "dropDownList", first: true, predicate: ["dropdownlist"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
792
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerPageSizesComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
793
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerPageSizesComponent, isStandalone: true, selector: "kendo-datapager-page-sizes", inputs: { pageSizes: "pageSizes", size: "size" }, host: { properties: { "class.k-pager-sizes": "this.classes" } }, viewQueries: [{ propertyName: "dropDownList", first: true, predicate: ["dropdownlist"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
734
794
  <kendo-dropdownlist kendoPagerFocusable
735
795
  #dropdownlist
736
796
  [size]="size"
@@ -743,7 +803,8 @@ PagerPageSizesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
743
803
  [attr.aria-label]="textFor('itemsPerPage')"></kendo-dropdownlist>
744
804
  {{ textFor('itemsPerPage') }}
745
805
  `, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: PagerFocusableDirective, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
746
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerPageSizesComponent, decorators: [{
806
+ }
807
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerPageSizesComponent, decorators: [{
747
808
  type: Component,
748
809
  args: [{
749
810
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -819,13 +880,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
819
880
  * ```
820
881
  */
821
882
  class PagerTemplateDirective {
883
+ templateRef;
822
884
  constructor(templateRef) {
823
885
  this.templateRef = templateRef;
824
886
  }
887
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
888
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PagerTemplateDirective, isStandalone: true, selector: "[kendoDataPagerTemplate]", ngImport: i0 });
825
889
  }
826
- PagerTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
827
- PagerTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PagerTemplateDirective, isStandalone: true, selector: "[kendoDataPagerTemplate]", ngImport: i0 });
828
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerTemplateDirective, decorators: [{
890
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerTemplateDirective, decorators: [{
829
891
  type: Directive,
830
892
  args: [{
831
893
  selector: '[kendoDataPagerTemplate]',
@@ -839,12 +901,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
839
901
  * Displays numeric buttons to enable navigation between the pages.
840
902
  */
841
903
  class PagerNumericButtonsComponent extends PagerElementComponent {
842
- constructor(localization, cd, pagerContext, renderer) {
843
- super(localization, pagerContext, cd);
844
- this.pagerContext = pagerContext;
845
- this.renderer = renderer;
846
- this._size = DEFAULT_SIZE;
847
- }
904
+ pagerContext;
905
+ renderer;
906
+ selectElement;
907
+ numbersElement;
908
+ /**
909
+ * The count of the displayed buttons.
910
+ *
911
+ * @type {number}
912
+ * @memberOf PagerNumericButtonsComponent
913
+ */
914
+ buttonCount;
848
915
  /**
849
916
  * Specifies the padding of the numeric buttons.
850
917
  *
@@ -894,6 +961,12 @@ class PagerNumericButtonsComponent extends PagerElementComponent {
894
961
  }
895
962
  return 1;
896
963
  }
964
+ constructor(localization, cd, pagerContext, renderer) {
965
+ super(localization, pagerContext, cd);
966
+ this.pagerContext = pagerContext;
967
+ this.renderer = renderer;
968
+ }
969
+ _size = DEFAULT_SIZE;
897
970
  ngAfterViewInit() {
898
971
  this.handleClasses(this.size, 'size');
899
972
  }
@@ -947,9 +1020,8 @@ class PagerNumericButtonsComponent extends PagerElementComponent {
947
1020
  this.renderer.addClass(elem, classes.toAdd);
948
1021
  }
949
1022
  }
950
- }
951
- PagerNumericButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerNumericButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
952
- PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerNumericButtonsComponent, isStandalone: true, selector: "kendo-datapager-numeric-buttons", inputs: { buttonCount: "buttonCount", size: "size" }, viewQueries: [{ propertyName: "selectElement", first: true, predicate: ["select"], descendants: true, read: ElementRef }, { propertyName: "numbersElement", first: true, predicate: ["numbers"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
1023
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerNumericButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1024
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerNumericButtonsComponent, isStandalone: true, selector: "kendo-datapager-numeric-buttons", inputs: { buttonCount: "buttonCount", size: "size" }, viewQueries: [{ propertyName: "selectElement", first: true, predicate: ["select"], descendants: true, read: ElementRef }, { propertyName: "numbersElement", first: true, predicate: ["numbers"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
953
1025
  <select kendoPagerFocusable #select
954
1026
  class="k-dropdown-list k-dropdown k-picker k-picker-solid k-rounded-md"
955
1027
  [style.display]="'none'"
@@ -1014,8 +1086,9 @@ PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
1014
1086
  [attr.title]="pageLabel(end + 1)"
1015
1087
  (click)="changePage(end)">...</button>
1016
1088
  </div>
1017
- `, isInline: true, dependencies: [{ kind: "directive", type: PagerFocusableDirective, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1018
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerNumericButtonsComponent, decorators: [{
1089
+ `, isInline: true, dependencies: [{ kind: "directive", type: PagerFocusableDirective, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1090
+ }
1091
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerNumericButtonsComponent, decorators: [{
1019
1092
  type: Component,
1020
1093
  args: [{
1021
1094
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -1106,19 +1179,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1106
1179
  * Displays buttons for navigating to the next and to the last page ([see example]({% slug pager_settings %})).
1107
1180
  */
1108
1181
  class PagerNextButtonsComponent extends PagerElementComponent {
1109
- constructor(localization, pagerContext, cd) {
1110
- super(localization, pagerContext, cd);
1111
- /**
1112
- * Specifies the padding of the buttons.
1113
- *
1114
- * The possible values are:
1115
- * * `small`
1116
- * * `medium` (default)
1117
- * * `large`
1118
- * * `none`
1119
- */
1120
- this.size = DEFAULT_SIZE;
1121
- }
1122
1182
  /**
1123
1183
  * @hidden
1124
1184
  *
@@ -1129,15 +1189,27 @@ class PagerNextButtonsComponent extends PagerElementComponent {
1129
1189
  get disabled() {
1130
1190
  return this.currentPage === this.totalPages || !this.total;
1131
1191
  }
1192
+ /**
1193
+ * Specifies the padding of the buttons.
1194
+ *
1195
+ * The possible values are:
1196
+ * * `small`
1197
+ * * `medium` (default)
1198
+ * * `large`
1199
+ * * `none`
1200
+ */
1201
+ size = DEFAULT_SIZE;
1202
+ constructor(localization, pagerContext, cd) {
1203
+ super(localization, pagerContext, cd);
1204
+ }
1132
1205
  onChanges({ total, skip, pageSize }) {
1133
1206
  this.total = total;
1134
1207
  this.skip = skip;
1135
1208
  this.pageSize = pageSize;
1136
1209
  this.cd.markForCheck();
1137
1210
  }
1138
- }
1139
- PagerNextButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerNextButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1140
- PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerNextButtonsComponent, isStandalone: true, selector: "kendo-datapager-next-buttons", inputs: { size: "size" }, usesInheritance: true, ngImport: i0, template: `
1211
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerNextButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1212
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerNextButtonsComponent, isStandalone: true, selector: "kendo-datapager-next-buttons", inputs: { size: "size" }, usesInheritance: true, ngImport: i0, template: `
1141
1213
  <button kendoButton kendoPagerFocusable
1142
1214
  type="button"
1143
1215
  [size]="size"
@@ -1164,8 +1236,9 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
1164
1236
  [attr.aria-label]="textFor('lastPage')"
1165
1237
  (click)="currentPage !== totalPages ? changePage(totalPages-1) : false">
1166
1238
  </button>
1167
- `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: PagerFocusableDirective, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerNextButtonsComponent, decorators: [{
1239
+ `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: PagerFocusableDirective, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1240
+ }
1241
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerNextButtonsComponent, decorators: [{
1169
1242
  type: Component,
1170
1243
  args: [{
1171
1244
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -1209,59 +1282,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1209
1282
  * Displays an input element which allows the typing and rendering of page numbers.
1210
1283
  */
1211
1284
  class PagerInputComponent extends PagerElementComponent {
1285
+ pagerContext;
1286
+ zone;
1287
+ renderer;
1288
+ numericInput;
1289
+ /**
1290
+ * Specifies the padding of the internal numeric input element.
1291
+ *
1292
+ * The possible values are:
1293
+ * * `small`
1294
+ * * `medium` (default)
1295
+ * * `large`
1296
+ * * `none`
1297
+ */
1298
+ size = DEFAULT_SIZE;
1212
1299
  constructor(localization, pagerContext, zone, cd, renderer) {
1213
1300
  super(localization, pagerContext, cd);
1214
1301
  this.pagerContext = pagerContext;
1215
1302
  this.zone = zone;
1216
1303
  this.renderer = renderer;
1217
- /**
1218
- * Specifies the padding of the internal numeric input element.
1219
- *
1220
- * The possible values are:
1221
- * * `small`
1222
- * * `medium` (default)
1223
- * * `large`
1224
- * * `none`
1225
- */
1226
- this.size = DEFAULT_SIZE;
1227
- /**
1228
- * @hidden
1229
- *
1230
- * @param {string} value
1231
- *
1232
- * @memberOf PagerInputComponent
1233
- */
1234
- this.handleKeyDown = (event) => {
1235
- const incomingValue = this.numericInput.value || this.current;
1236
- // eslint-disable import/no-deprecated
1237
- if (event.keyCode === Keys.Enter) {
1238
- event.preventDefault();
1239
- if (incomingValue !== this.current) {
1240
- this.zone.run(() => {
1241
- this.changePage(incomingValue - 1);
1242
- });
1243
- }
1244
- }
1245
- };
1246
- /**
1247
- * @hidden
1248
- *
1249
- * @param {string} value
1250
- *
1251
- * @memberOf PagerInputComponent
1252
- */
1253
- this.handleBlur = () => {
1254
- const inputValue = this.numericInput.value;
1255
- if (!inputValue) {
1256
- this.numericInput.writeValue(this.current);
1257
- return;
1258
- }
1259
- if (inputValue !== this.current) {
1260
- this.zone.run(() => {
1261
- this.changePage(inputValue - 1);
1262
- });
1263
- }
1264
- };
1265
1304
  }
1266
1305
  onChanges({ total, skip, pageSize }) {
1267
1306
  this.total = total;
@@ -1269,6 +1308,44 @@ class PagerInputComponent extends PagerElementComponent {
1269
1308
  this.pageSize = pageSize;
1270
1309
  this.cd.markForCheck();
1271
1310
  }
1311
+ /**
1312
+ * @hidden
1313
+ *
1314
+ * @param {string} value
1315
+ *
1316
+ * @memberOf PagerInputComponent
1317
+ */
1318
+ handleKeyDown = (event) => {
1319
+ const incomingValue = this.numericInput.value || this.current;
1320
+ // eslint-disable import/no-deprecated
1321
+ if (event.keyCode === Keys.Enter) {
1322
+ event.preventDefault();
1323
+ if (incomingValue !== this.current) {
1324
+ this.zone.run(() => {
1325
+ this.changePage(incomingValue - 1);
1326
+ });
1327
+ }
1328
+ }
1329
+ };
1330
+ /**
1331
+ * @hidden
1332
+ *
1333
+ * @param {string} value
1334
+ *
1335
+ * @memberOf PagerInputComponent
1336
+ */
1337
+ handleBlur = () => {
1338
+ const inputValue = this.numericInput.value;
1339
+ if (!inputValue) {
1340
+ this.numericInput.writeValue(this.current);
1341
+ return;
1342
+ }
1343
+ if (inputValue !== this.current) {
1344
+ this.zone.run(() => {
1345
+ this.changePage(inputValue - 1);
1346
+ });
1347
+ }
1348
+ };
1272
1349
  /**
1273
1350
  * @hidden
1274
1351
  */
@@ -1281,10 +1358,9 @@ class PagerInputComponent extends PagerElementComponent {
1281
1358
  get hasPages() {
1282
1359
  return this.totalPages !== 0;
1283
1360
  }
1284
- }
1285
- PagerInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInputComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1286
- PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerInputComponent, isStandalone: true, selector: "kendo-datapager-input", inputs: { size: "size" }, viewQueries: [{ propertyName: "numericInput", first: true, predicate: NumericTextBoxComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
1287
- <span [ngClass]="{'k-pager-input': true, 'k-label': true}">
1361
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerInputComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1362
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerInputComponent, isStandalone: true, selector: "kendo-datapager-input", inputs: { size: "size" }, viewQueries: [{ propertyName: "numericInput", first: true, predicate: NumericTextBoxComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
1363
+ <span class="k-pager-input">
1288
1364
  {{textFor('page')}}
1289
1365
  <kendo-numerictextbox kendoPagerFocusable
1290
1366
  [spinners]="false"
@@ -1307,13 +1383,14 @@ PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
1307
1383
  </kendo-numerictextbox>
1308
1384
  {{textFor('of')}} {{totalPages}}
1309
1385
  </span>
1310
- `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: 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", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "directive", type: PagerFocusableDirective, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
1311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInputComponent, decorators: [{
1386
+ `, isInline: true, dependencies: [{ kind: "component", type: 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", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "directive", type: PagerFocusableDirective, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
1387
+ }
1388
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerInputComponent, decorators: [{
1312
1389
  type: Component,
1313
1390
  args: [{
1314
1391
  selector: 'kendo-datapager-input',
1315
1392
  template: `
1316
- <span [ngClass]="{'k-pager-input': true, 'k-label': true}">
1393
+ <span class="k-pager-input">
1317
1394
  {{textFor('page')}}
1318
1395
  <kendo-numerictextbox kendoPagerFocusable
1319
1396
  [spinners]="false"
@@ -1352,10 +1429,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1352
1429
  * Displays information about the current page and the total number of records ([see example]({% slug pager_settings %})).
1353
1430
  */
1354
1431
  class PagerInfoComponent extends PagerElementComponent {
1355
- constructor(localization, cd, pagerContext) {
1356
- super(localization, pagerContext, cd);
1357
- this.pagerContext = pagerContext;
1358
- }
1432
+ pagerContext;
1359
1433
  /**
1360
1434
  * @hidden
1361
1435
  *
@@ -1388,16 +1462,20 @@ class PagerInfoComponent extends PagerElementComponent {
1388
1462
  get classes() {
1389
1463
  return true;
1390
1464
  }
1465
+ constructor(localization, cd, pagerContext) {
1466
+ super(localization, pagerContext, cd);
1467
+ this.pagerContext = pagerContext;
1468
+ }
1391
1469
  onChanges({ total, skip, pageSize }) {
1392
1470
  this.total = total;
1393
1471
  this.skip = skip;
1394
1472
  this.pageSize = pageSize;
1395
1473
  this.cd.markForCheck();
1396
1474
  }
1475
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerInfoComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
1476
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerInfoComponent, isStandalone: true, selector: "kendo-datapager-info", host: { properties: { "class.k-pager-info": "this.classes" } }, usesInheritance: true, ngImport: i0, template: `{{currentPageText}} - {{maxItems}} {{textFor('of')}} {{total}} {{textFor('items')}}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1397
1477
  }
1398
- PagerInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInfoComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
1399
- PagerInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerInfoComponent, isStandalone: true, selector: "kendo-datapager-info", host: { properties: { "class.k-pager-info": "this.classes" } }, usesInheritance: true, ngImport: i0, template: `{{currentPageText}} - {{maxItems}} {{textFor('of')}} {{total}} {{textFor('items')}}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1400
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerInfoComponent, decorators: [{
1478
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerInfoComponent, decorators: [{
1401
1479
  type: Component,
1402
1480
  args: [{
1403
1481
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -1417,8 +1495,8 @@ const packageMetadata = {
1417
1495
  name: '@progress/kendo-angular-pager',
1418
1496
  productName: 'Kendo UI for Angular',
1419
1497
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
1420
- publishDate: 1728917365,
1421
- version: '17.0.0-develop.3',
1498
+ publishDate: 1730478769,
1499
+ version: '17.0.0-develop.31',
1422
1500
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
1423
1501
  };
1424
1502
 
@@ -1432,99 +1510,41 @@ const RESPONSIVE_BREAKPOINT_MEDIUM = 600;
1432
1510
  const RESPONSIVE_BREAKPOINT_LARGE = 768;
1433
1511
 
1434
1512
  class PagerComponent {
1435
- constructor(pagerContext, element, localization, renderer, ngZone, navigationService) {
1436
- this.pagerContext = pagerContext;
1437
- this.element = element;
1438
- this.localization = localization;
1439
- this.renderer = renderer;
1440
- this.ngZone = ngZone;
1441
- this.navigationService = navigationService;
1442
- /**
1443
- * Represents the total number of data items in the collection.
1444
- */
1445
- this.total = 0;
1446
- /**
1447
- * Defines the number of data items to be skipped.
1448
- */
1449
- this.skip = 0;
1450
- /**
1451
- * Sets the maximum numeric buttons count before the buttons are collapsed.
1452
- */
1453
- this.buttonCount = 10;
1454
- /**
1455
- * Toggles the information about the current page and the total number of records.
1456
- */
1457
- this.info = true;
1458
- /**
1459
- * Defines the type of the pager.
1460
- */
1461
- this.type = 'numeric';
1462
- /**
1463
- * Toggles the **Previous** and **Next** buttons.
1464
- */
1465
- this.previousNext = true;
1466
- /**
1467
- * Fires when the current page of the Pager is changed ([see example](slug:overview_pager)).
1468
- * You have to handle the event yourself and page the data.
1469
- */
1470
- this.pageChange = new EventEmitter();
1471
- /**
1472
- * Fires when the page size of the Pager is changed.
1473
- * You have to handle the event yourself and page the data.
1474
- * If the event is prevented, the page size will remain unchanged ([see example]({% slug pager_events %})).
1475
- */
1476
- this.pageSizeChange = new EventEmitter();
1477
- this.pagerClass = true;
1478
- this.widgetRole = 'application';
1479
- this.roleDescription = 'pager';
1480
- this.keyShortcuts = 'Enter ArrowRight ArrowLeft';
1481
- this.hostTabindex = '0';
1482
- this.subscriptions = new Subscription();
1483
- this._templateContext = {};
1484
- this._pageSizeValues = DEFAULT_PAGE_SIZE_VALUES;
1485
- this.isInnerNavigationEnabled = false;
1486
- this._navigable = false;
1487
- this._size = DEFAULT_SIZE;
1488
- this.resizeHandler = () => {
1489
- if (this.template?.first) {
1490
- return;
1491
- }
1492
- const width = this.element.nativeElement.offsetWidth;
1493
- this.ngZone.runOutsideAngular(() => {
1494
- setTimeout(() => {
1495
- if (this.numericButtons) {
1496
- const selectElement = this.numericButtons.selectElement.nativeElement;
1497
- const numbersElement = this.numericButtons.numbersElement.nativeElement;
1498
- this.renderer.removeStyle(numbersElement, 'display');
1499
- this.renderer.setStyle(selectElement, 'display', 'none');
1500
- this.renderer.addClass(selectElement, 'k-hidden');
1501
- if (width < RESPONSIVE_BREAKPOINT_MEDIUM) {
1502
- this.renderer.removeStyle(selectElement, 'display');
1503
- this.renderer.removeClass(selectElement, 'k-hidden');
1504
- this.renderer.setStyle(numbersElement, 'display', 'none');
1505
- }
1506
- else {
1507
- this.renderer.addClass(selectElement, 'k-hidden');
1508
- }
1509
- }
1510
- if (this.pagerInfo) {
1511
- this.renderer.removeStyle(this.pagerInfo.nativeElement, 'display');
1512
- if (width < RESPONSIVE_BREAKPOINT_LARGE) {
1513
- this.renderer.setStyle(this.pagerInfo.nativeElement, 'display', 'none');
1514
- }
1515
- }
1516
- if (this.pagerPageSizes) {
1517
- this.renderer.removeStyle(this.pagerPageSizes.nativeElement, 'display');
1518
- if (width < RESPONSIVE_BREAKPOINT_MEDIUM) {
1519
- this.renderer.setStyle(this.pagerPageSizes.nativeElement, 'display', 'none');
1520
- }
1521
- }
1522
- });
1523
- });
1524
- };
1525
- validatePackage(packageMetadata);
1526
- this.direction = localization.rtl ? 'rtl' : 'ltr';
1527
- }
1513
+ pagerContext;
1514
+ element;
1515
+ localization;
1516
+ renderer;
1517
+ ngZone;
1518
+ navigationService;
1519
+ resizeSensor;
1520
+ pagerInfo;
1521
+ pagerPageSizes;
1522
+ numericButtons;
1523
+ template;
1524
+ /**
1525
+ * Represents the total number of data items in the collection.
1526
+ */
1527
+ total = 0;
1528
+ /**
1529
+ * Defines the number of data items to be skipped.
1530
+ */
1531
+ skip = 0;
1532
+ /**
1533
+ * Defines the number of data items per page.
1534
+ */
1535
+ pageSize;
1536
+ /**
1537
+ * Sets the maximum numeric buttons count before the buttons are collapsed.
1538
+ */
1539
+ buttonCount = 10;
1540
+ /**
1541
+ * Toggles the information about the current page and the total number of records.
1542
+ */
1543
+ info = true;
1544
+ /**
1545
+ * Defines the type of the pager.
1546
+ */
1547
+ type = 'numeric';
1528
1548
  /**
1529
1549
  * Shows a dropdown for selecting the page size.
1530
1550
  * When set to `true`, the dropdown will contain the default list of options - 5, 10, 20.
@@ -1537,6 +1557,10 @@ class PagerComponent {
1537
1557
  get pageSizeValues() {
1538
1558
  return this._pageSizeValues;
1539
1559
  }
1560
+ /**
1561
+ * Toggles the **Previous** and **Next** buttons.
1562
+ */
1563
+ previousNext = true;
1540
1564
  /**
1541
1565
  * If set to `true`, the user can use dedicated shortcuts to interact with the Pager ([see example]({% slug keyboard_navigation_pager %})).
1542
1566
  * By default, navigation is disabled and the Pager content is accessible in the normal tab sequence.
@@ -1566,6 +1590,22 @@ class PagerComponent {
1566
1590
  get size() {
1567
1591
  return this._size;
1568
1592
  }
1593
+ /**
1594
+ * Fires when the current page of the Pager is changed ([see example](slug:overview_pager)).
1595
+ * You have to handle the event yourself and page the data.
1596
+ */
1597
+ pageChange = new EventEmitter();
1598
+ /**
1599
+ * Fires when the page size of the Pager is changed.
1600
+ * You have to handle the event yourself and page the data.
1601
+ * If the event is prevented, the page size will remain unchanged ([see example]({% slug pager_events %})).
1602
+ */
1603
+ pageSizeChange = new EventEmitter();
1604
+ pagerClass = true;
1605
+ widgetRole = 'application';
1606
+ roleDescription = 'pager';
1607
+ keyShortcuts = 'Enter ArrowRight ArrowLeft';
1608
+ hostTabindex = '0';
1569
1609
  get dir() {
1570
1610
  return this.direction;
1571
1611
  }
@@ -1591,6 +1631,23 @@ class PagerComponent {
1591
1631
  context.currentPage = this.currentPage;
1592
1632
  return context;
1593
1633
  }
1634
+ subscriptions = new Subscription();
1635
+ _templateContext = {};
1636
+ _pageSizeValues = DEFAULT_PAGE_SIZE_VALUES;
1637
+ direction;
1638
+ isInnerNavigationEnabled = false;
1639
+ _navigable = false;
1640
+ _size = DEFAULT_SIZE;
1641
+ constructor(pagerContext, element, localization, renderer, ngZone, navigationService) {
1642
+ this.pagerContext = pagerContext;
1643
+ this.element = element;
1644
+ this.localization = localization;
1645
+ this.renderer = renderer;
1646
+ this.ngZone = ngZone;
1647
+ this.navigationService = navigationService;
1648
+ validatePackage(packageMetadata);
1649
+ this.direction = localization.rtl ? 'rtl' : 'ltr';
1650
+ }
1594
1651
  ngOnInit() {
1595
1652
  this.subscriptions.add(this.pagerContext.pageChange.subscribe(this.changePage.bind(this)));
1596
1653
  this.subscriptions.add(this.pagerContext.pageSizeChange.subscribe(this.changePageSize.bind(this)));
@@ -1656,6 +1713,43 @@ class PagerComponent {
1656
1713
  this.pageChange.emit({ skip: this.skip, take: event.newPageSize });
1657
1714
  }
1658
1715
  }
1716
+ resizeHandler = () => {
1717
+ if (this.template?.first) {
1718
+ return;
1719
+ }
1720
+ const width = this.element.nativeElement.offsetWidth;
1721
+ this.ngZone.runOutsideAngular(() => {
1722
+ setTimeout(() => {
1723
+ if (this.numericButtons) {
1724
+ const selectElement = this.numericButtons.selectElement.nativeElement;
1725
+ const numbersElement = this.numericButtons.numbersElement.nativeElement;
1726
+ this.renderer.removeStyle(numbersElement, 'display');
1727
+ this.renderer.setStyle(selectElement, 'display', 'none');
1728
+ this.renderer.addClass(selectElement, 'k-hidden');
1729
+ if (width < RESPONSIVE_BREAKPOINT_MEDIUM) {
1730
+ this.renderer.removeStyle(selectElement, 'display');
1731
+ this.renderer.removeClass(selectElement, 'k-hidden');
1732
+ this.renderer.setStyle(numbersElement, 'display', 'none');
1733
+ }
1734
+ else {
1735
+ this.renderer.addClass(selectElement, 'k-hidden');
1736
+ }
1737
+ }
1738
+ if (this.pagerInfo) {
1739
+ this.renderer.removeStyle(this.pagerInfo.nativeElement, 'display');
1740
+ if (width < RESPONSIVE_BREAKPOINT_LARGE) {
1741
+ this.renderer.setStyle(this.pagerInfo.nativeElement, 'display', 'none');
1742
+ }
1743
+ }
1744
+ if (this.pagerPageSizes) {
1745
+ this.renderer.removeStyle(this.pagerPageSizes.nativeElement, 'display');
1746
+ if (width < RESPONSIVE_BREAKPOINT_MEDIUM) {
1747
+ this.renderer.setStyle(this.pagerPageSizes.nativeElement, 'display', 'none');
1748
+ }
1749
+ }
1750
+ });
1751
+ });
1752
+ };
1659
1753
  textFor(value) {
1660
1754
  return this.localization.get(value);
1661
1755
  }
@@ -1726,17 +1820,16 @@ class PagerComponent {
1726
1820
  this.renderer.addClass(elem, classes.toAdd);
1727
1821
  }
1728
1822
  }
1729
- }
1730
- PagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerComponent, deps: [{ token: PagerContextService }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: PagerNavigationService }], target: i0.ɵɵFactoryTarget.Component });
1731
- PagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PagerComponent, isStandalone: true, selector: "kendo-datapager", inputs: { total: "total", skip: "skip", pageSize: "pageSize", buttonCount: "buttonCount", info: "info", type: "type", pageSizeValues: "pageSizeValues", previousNext: "previousNext", navigable: "navigable", size: "size" }, outputs: { pageChange: "pageChange", pageSizeChange: "pageSizeChange" }, host: { listeners: { "focusin": "focusHandler($event)" }, properties: { "class.k-pager": "this.pagerClass", "attr.role": "this.widgetRole", "attr.aria-roledescription": "this.roleDescription", "attr.aria-keyshortcuts": "this.keyShortcuts", "attr.tabindex": "this.hostTabindex", "attr.dir": "this.dir" } }, providers: [
1732
- LocalizationService,
1733
- PagerContextService,
1734
- PagerNavigationService,
1735
- {
1736
- provide: L10N_PREFIX,
1737
- useValue: 'kendo.pager'
1738
- }
1739
- ], queries: [{ propertyName: "template", predicate: PagerTemplateDirective }], viewQueries: [{ propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }, { propertyName: "pagerInfo", first: true, predicate: PagerInfoComponent, descendants: true, read: ElementRef }, { propertyName: "pagerPageSizes", first: true, predicate: PagerPageSizesComponent, descendants: true, read: ElementRef }, { propertyName: "numericButtons", first: true, predicate: PagerNumericButtonsComponent, descendants: true }], exportAs: ["kendoDataPager"], usesOnChanges: true, ngImport: i0, template: `
1823
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerComponent, deps: [{ token: PagerContextService }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: PagerNavigationService }], target: i0.ɵɵFactoryTarget.Component });
1824
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PagerComponent, isStandalone: true, selector: "kendo-datapager", inputs: { total: "total", skip: "skip", pageSize: "pageSize", buttonCount: "buttonCount", info: "info", type: "type", pageSizeValues: "pageSizeValues", previousNext: "previousNext", navigable: "navigable", size: "size" }, outputs: { pageChange: "pageChange", pageSizeChange: "pageSizeChange" }, host: { listeners: { "focusin": "focusHandler($event)" }, properties: { "class.k-pager": "this.pagerClass", "attr.role": "this.widgetRole", "attr.aria-roledescription": "this.roleDescription", "attr.aria-keyshortcuts": "this.keyShortcuts", "attr.tabindex": "this.hostTabindex", "attr.dir": "this.dir" } }, providers: [
1825
+ LocalizationService,
1826
+ PagerContextService,
1827
+ PagerNavigationService,
1828
+ {
1829
+ provide: L10N_PREFIX,
1830
+ useValue: 'kendo.pager'
1831
+ }
1832
+ ], queries: [{ propertyName: "template", predicate: PagerTemplateDirective }], viewQueries: [{ propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }, { propertyName: "pagerInfo", first: true, predicate: PagerInfoComponent, descendants: true, read: ElementRef }, { propertyName: "pagerPageSizes", first: true, predicate: PagerPageSizesComponent, descendants: true, read: ElementRef }, { propertyName: "numericButtons", first: true, predicate: PagerNumericButtonsComponent, descendants: true }], exportAs: ["kendoDataPager"], usesOnChanges: true, ngImport: i0, template: `
1740
1833
  <ng-container kendoDataPagerLocalizedMessages
1741
1834
  i18n-firstPage="kendo.pager.firstPage|The label for the first page button in the Pager"
1742
1835
  firstPage="Go to the first page"
@@ -1797,7 +1890,8 @@ PagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
1797
1890
  </ng-container>
1798
1891
  <kendo-resize-sensor></kendo-resize-sensor>
1799
1892
  `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoDataPagerLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PagerPrevButtonsComponent, selector: "kendo-datapager-prev-buttons", inputs: ["size"] }, { kind: "component", type: PagerNumericButtonsComponent, selector: "kendo-datapager-numeric-buttons", inputs: ["buttonCount", "size"] }, { kind: "component", type: PagerInputComponent, selector: "kendo-datapager-input", inputs: ["size"] }, { kind: "component", type: PagerNextButtonsComponent, selector: "kendo-datapager-next-buttons", inputs: ["size"] }, { kind: "component", type: PagerPageSizesComponent, selector: "kendo-datapager-page-sizes", inputs: ["pageSizes", "size"] }, { kind: "component", type: PagerInfoComponent, selector: "kendo-datapager-info" }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
1800
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerComponent, decorators: [{
1893
+ }
1894
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerComponent, decorators: [{
1801
1895
  type: Component,
1802
1896
  args: [{
1803
1897
  selector: 'kendo-datapager',
@@ -1958,15 +2052,15 @@ const KENDO_PAGER = [
1958
2052
  * @hidden
1959
2053
  */
1960
2054
  class PagerModule {
2055
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2056
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: PagerModule, imports: [CustomMessagesComponent, PagerFocusableDirective, PagerInfoComponent, PagerInputComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PagerComponent], exports: [CustomMessagesComponent, PagerFocusableDirective, PagerInfoComponent, PagerInputComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PagerComponent] });
2057
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerModule, providers: [
2058
+ IconsService,
2059
+ PopupService,
2060
+ ResizeBatchService
2061
+ ], imports: [PagerInputComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerComponent] });
1961
2062
  }
1962
- PagerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1963
- PagerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PagerModule, imports: [CustomMessagesComponent, PagerFocusableDirective, PagerInfoComponent, PagerInputComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PagerComponent], exports: [CustomMessagesComponent, PagerFocusableDirective, PagerInfoComponent, PagerInputComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PagerComponent] });
1964
- PagerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerModule, providers: [
1965
- IconsService,
1966
- PopupService,
1967
- ResizeBatchService
1968
- ], imports: [CustomMessagesComponent, PagerInfoComponent, PagerInputComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerComponent] });
1969
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PagerModule, decorators: [{
2063
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PagerModule, decorators: [{
1970
2064
  type: NgModule,
1971
2065
  args: [{
1972
2066
  exports: [...KENDO_PAGER],