@progress/kendo-angular-pager 20.1.2-develop.1 → 21.0.0-develop.2
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/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pager/focusable.directive.mjs +4 -4
- package/esm2022/pager/localization/custom-messages.component.mjs +4 -4
- package/esm2022/pager/localization/localized-messages.directive.mjs +4 -4
- package/esm2022/pager/localization/messages.mjs +3 -3
- package/esm2022/pager/pager-element.component.mjs +4 -4
- package/esm2022/pager/pager-info.component.mjs +4 -4
- package/esm2022/pager/pager-input.component.mjs +4 -4
- package/esm2022/pager/pager-next-buttons.component.mjs +4 -4
- package/esm2022/pager/pager-numeric-buttons.component.mjs +4 -4
- package/esm2022/pager/pager-page-sizes.component.mjs +4 -4
- package/esm2022/pager/pager-prev-buttons.component.mjs +4 -4
- package/esm2022/pager/pager-template.directive.mjs +5 -5
- package/esm2022/pager/pager.component.mjs +53 -21
- package/esm2022/pager/pager.module.mjs +4 -4
- package/esm2022/pager/spacer.component.mjs +3 -3
- package/fesm2022/progress-kendo-angular-pager.mjs +110 -78
- package/package.json +12 -12
- package/schematics/ngAdd/index.js +7 -7
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '
|
|
13
|
+
publishDate: 1761752851,
|
|
14
|
+
version: '21.0.0-develop.2',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -55,14 +55,14 @@ export class PagerFocusableDirective {
|
|
|
55
55
|
this.renderer.setAttribute(el, 'tabindex', index);
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
59
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
58
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerFocusableDirective, deps: [{ token: i1.PagerNavigationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
59
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: PagerFocusableDirective, isStandalone: true, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"], ngImport: i0 });
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerFocusableDirective, decorators: [{
|
|
62
62
|
type: Directive,
|
|
63
63
|
args: [{
|
|
64
64
|
selector: '[kendoPagerFocusable]',
|
|
65
65
|
exportAs: 'kendoPagerFocusable',
|
|
66
66
|
standalone: true
|
|
67
67
|
}]
|
|
68
|
-
}], ctorParameters:
|
|
68
|
+
}], ctorParameters: () => [{ type: i1.PagerNavigationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
@@ -31,15 +31,15 @@ export class CustomMessagesComponent extends Messages {
|
|
|
31
31
|
get override() {
|
|
32
32
|
return true;
|
|
33
33
|
}
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-datapager-messages, kendo-pager-messages", providers: [
|
|
36
36
|
{
|
|
37
37
|
provide: Messages,
|
|
38
38
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
39
39
|
}
|
|
40
40
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{
|
|
45
45
|
providers: [
|
|
@@ -52,4 +52,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
52
52
|
template: ``,
|
|
53
53
|
standalone: true
|
|
54
54
|
}]
|
|
55
|
-
}], ctorParameters:
|
|
55
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
@@ -16,15 +16,15 @@ export class LocalizedMessagesDirective extends Messages {
|
|
|
16
16
|
super();
|
|
17
17
|
this.service = service;
|
|
18
18
|
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoPagerLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: Messages,
|
|
23
23
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
24
|
}
|
|
25
25
|
], usesInheritance: true, ngImport: i0 });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
28
28
|
type: Directive,
|
|
29
29
|
args: [{
|
|
30
30
|
providers: [
|
|
@@ -36,4 +36,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
36
36
|
selector: '[kendoPagerLocalizedMessages]',
|
|
37
37
|
standalone: true
|
|
38
38
|
}]
|
|
39
|
-
}], ctorParameters:
|
|
39
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
@@ -64,10 +64,10 @@ export class Messages extends ComponentMessages {
|
|
|
64
64
|
* The text of the aria-label attribute applied to the input element for entering the page number."
|
|
65
65
|
*/
|
|
66
66
|
inputLabel;
|
|
67
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
68
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
67
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
68
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: Messages, selector: "kendoPagerMessages", inputs: { ariaLabel: "ariaLabel", 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 });
|
|
69
69
|
}
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, decorators: [{
|
|
71
71
|
type: Directive,
|
|
72
72
|
args: [{
|
|
73
73
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -101,13 +101,13 @@ export class PagerElementComponent {
|
|
|
101
101
|
get nextArrowSVGIcons() {
|
|
102
102
|
return !this.localization.rtl ? [this.caretAltRightIcon, this.caretAltToRightIcon] : [this.caretAltLeftIcon, this.caretAltToLeftIcon];
|
|
103
103
|
}
|
|
104
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
105
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
104
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerElementComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
105
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PagerElementComponent, selector: "kendo-pager-element", ngImport: i0, template: ``, isInline: true });
|
|
106
106
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerElementComponent, decorators: [{
|
|
108
108
|
type: Component,
|
|
109
109
|
args: [{
|
|
110
110
|
selector: 'kendo-pager-element',
|
|
111
111
|
template: ``
|
|
112
112
|
}]
|
|
113
|
-
}], ctorParameters:
|
|
113
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i2.PagerContextService }, { type: i0.ChangeDetectorRef }] });
|
|
@@ -62,10 +62,10 @@ export class PagerInfoComponent extends PagerElementComponent {
|
|
|
62
62
|
this.pageSize = pageSize;
|
|
63
63
|
this.cd.markForCheck();
|
|
64
64
|
}
|
|
65
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
66
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
65
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerInfoComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PagerInfoComponent, isStandalone: true, selector: "kendo-datapager-info, kendo-pager-info", host: { properties: { "class.k-pager-info": "this.hostClass" } }, usesInheritance: true, ngImport: i0, template: `{{currentPageText}} - {{maxItems}} {{textFor('of')}} {{total}} {{textFor('items')}}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
67
67
|
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerInfoComponent, decorators: [{
|
|
69
69
|
type: Component,
|
|
70
70
|
args: [{
|
|
71
71
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -73,7 +73,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
73
73
|
template: `{{currentPageText}} - {{maxItems}} {{textFor('of')}} {{total}} {{textFor('items')}}`,
|
|
74
74
|
standalone: true
|
|
75
75
|
}]
|
|
76
|
-
}], ctorParameters:
|
|
76
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.PagerContextService }], propDecorators: { hostClass: [{
|
|
77
77
|
type: HostBinding,
|
|
78
78
|
args: ['class.k-pager-info']
|
|
79
79
|
}] } });
|
|
@@ -105,8 +105,8 @@ export class PagerInputComponent extends PagerElementComponent {
|
|
|
105
105
|
get hasPages() {
|
|
106
106
|
return this.totalPages !== 0;
|
|
107
107
|
}
|
|
108
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
109
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
108
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerInputComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PagerContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
109
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PagerInputComponent, isStandalone: true, selector: "kendo-datapager-input, kendo-pager-input", inputs: { showPageText: "showPageText", size: "size" }, viewQueries: [{ propertyName: "numericInput", first: true, predicate: NumericTextBoxComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
110
110
|
<span class="k-pager-input">
|
|
111
111
|
<ng-container *ngIf="showPageText">{{textFor('page')}}</ng-container>
|
|
112
112
|
<kendo-numerictextbox kendoPagerFocusable
|
|
@@ -132,7 +132,7 @@ export class PagerInputComponent extends PagerElementComponent {
|
|
|
132
132
|
</span>
|
|
133
133
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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"] }] });
|
|
134
134
|
}
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerInputComponent, decorators: [{
|
|
136
136
|
type: Component,
|
|
137
137
|
args: [{
|
|
138
138
|
selector: 'kendo-datapager-input, kendo-pager-input',
|
|
@@ -164,7 +164,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
164
164
|
standalone: true,
|
|
165
165
|
imports: [NgIf, NumericTextBoxComponent, PagerFocusableDirective, EventsOutsideAngularDirective]
|
|
166
166
|
}]
|
|
167
|
-
}], ctorParameters:
|
|
167
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i2.PagerContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { numericInput: [{
|
|
168
168
|
type: ViewChild,
|
|
169
169
|
args: [NumericTextBoxComponent, { static: true }]
|
|
170
170
|
}], showPageText: [{
|
|
@@ -61,8 +61,8 @@ export class PagerNextButtonsComponent extends PagerElementComponent {
|
|
|
61
61
|
this.pageSize = pageSize;
|
|
62
62
|
this.cd.markForCheck();
|
|
63
63
|
}
|
|
64
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
65
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
64
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerNextButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PagerNextButtonsComponent, isStandalone: true, selector: "kendo-datapager-next-buttons, kendo-pager-next-buttons", inputs: { size: "size" }, usesInheritance: true, ngImport: i0, template: `
|
|
66
66
|
<button kendoButton kendoPagerFocusable
|
|
67
67
|
type="button"
|
|
68
68
|
[size]="size"
|
|
@@ -93,7 +93,7 @@ export class PagerNextButtonsComponent extends PagerElementComponent {
|
|
|
93
93
|
</button>
|
|
94
94
|
`, 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 });
|
|
95
95
|
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerNextButtonsComponent, decorators: [{
|
|
97
97
|
type: Component,
|
|
98
98
|
args: [{
|
|
99
99
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -131,6 +131,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
131
131
|
standalone: true,
|
|
132
132
|
imports: [ButtonComponent, PagerFocusableDirective]
|
|
133
133
|
}]
|
|
134
|
-
}], ctorParameters:
|
|
134
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i2.PagerContextService }, { type: i0.ChangeDetectorRef }], propDecorators: { size: [{
|
|
135
135
|
type: Input
|
|
136
136
|
}] } });
|
|
@@ -141,8 +141,8 @@ export class PagerNumericButtonsComponent extends PagerElementComponent {
|
|
|
141
141
|
this.renderer.addClass(elem, classes.toAdd);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
145
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
144
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerNumericButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.PagerContextService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
145
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PagerNumericButtonsComponent, isStandalone: true, selector: "kendo-datapager-numeric-buttons, kendo-pager-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: `
|
|
146
146
|
<div class="k-pager-numbers" #numbers>
|
|
147
147
|
<button *ngIf="start > 1"
|
|
148
148
|
type="button"
|
|
@@ -184,7 +184,7 @@ export class PagerNumericButtonsComponent extends PagerElementComponent {
|
|
|
184
184
|
</div>
|
|
185
185
|
`, 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: "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 });
|
|
186
186
|
}
|
|
187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerNumericButtonsComponent, decorators: [{
|
|
188
188
|
type: Component,
|
|
189
189
|
args: [{
|
|
190
190
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -233,7 +233,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
233
233
|
standalone: true,
|
|
234
234
|
imports: [PagerFocusableDirective, NgIf, NgFor, ButtonComponent]
|
|
235
235
|
}]
|
|
236
|
-
}], ctorParameters:
|
|
236
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.PagerContextService }, { type: i0.Renderer2 }], propDecorators: { selectElement: [{
|
|
237
237
|
type: ViewChild,
|
|
238
238
|
args: ['select', { read: ElementRef }]
|
|
239
239
|
}], numbersElement: [{
|
|
@@ -137,8 +137,8 @@ export class PagerPageSizesComponent extends PagerElementComponent {
|
|
|
137
137
|
this.dropDownList.toggle(false);
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
141
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
140
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerPageSizesComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.PagerContextService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
141
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PagerPageSizesComponent, isStandalone: true, selector: "kendo-datapager-page-sizes, kendo-pager-page-sizes", inputs: { showItemsText: "showItemsText", pageSizes: "pageSizes", size: "size", adaptiveMode: "adaptiveMode" }, host: { properties: { "class.k-pager-sizes": "this.classes" } }, viewQueries: [{ propertyName: "dropDownList", first: true, predicate: ["dropdownlist"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
142
142
|
<kendo-dropdownlist kendoPagerFocusable
|
|
143
143
|
#dropdownlist
|
|
144
144
|
[size]="size"
|
|
@@ -153,7 +153,7 @@ export class PagerPageSizesComponent extends PagerElementComponent {
|
|
|
153
153
|
<ng-container *ngIf="showItemsText">{{ textFor('itemsPerPage') }}</ng-container>
|
|
154
154
|
`, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "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"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
155
155
|
}
|
|
156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerPageSizesComponent, decorators: [{
|
|
157
157
|
type: Component,
|
|
158
158
|
args: [{
|
|
159
159
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -175,7 +175,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
175
175
|
standalone: true,
|
|
176
176
|
imports: [DropDownListComponent, PagerFocusableDirective, NgIf]
|
|
177
177
|
}]
|
|
178
|
-
}], ctorParameters:
|
|
178
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.PagerContextService }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { dropDownList: [{
|
|
179
179
|
type: ViewChild,
|
|
180
180
|
args: ['dropdownlist', { static: true }]
|
|
181
181
|
}], showItemsText: [{
|
|
@@ -61,8 +61,8 @@ export class PagerPrevButtonsComponent extends PagerElementComponent {
|
|
|
61
61
|
this.pageSize = pageSize;
|
|
62
62
|
this.cd.markForCheck();
|
|
63
63
|
}
|
|
64
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
65
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
64
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerPrevButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PagerPrevButtonsComponent, isStandalone: true, selector: "kendo-datapager-prev-buttons, kendo-pager-prev-buttons", inputs: { size: "size" }, usesInheritance: true, ngImport: i0, template: `
|
|
66
66
|
<button
|
|
67
67
|
type="button" kendoButton
|
|
68
68
|
kendoPagerFocusable
|
|
@@ -95,7 +95,7 @@ export class PagerPrevButtonsComponent extends PagerElementComponent {
|
|
|
95
95
|
</button>
|
|
96
96
|
`, 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 });
|
|
97
97
|
}
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerPrevButtonsComponent, decorators: [{
|
|
99
99
|
type: Component,
|
|
100
100
|
args: [{
|
|
101
101
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -135,6 +135,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
135
135
|
standalone: true,
|
|
136
136
|
imports: [ButtonComponent, PagerFocusableDirective]
|
|
137
137
|
}]
|
|
138
|
-
}], ctorParameters:
|
|
138
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i2.PagerContextService }, { type: i0.ChangeDetectorRef }], propDecorators: { size: [{
|
|
139
139
|
type: Input
|
|
140
140
|
}] } });
|
|
@@ -31,15 +31,15 @@ export class PagerTemplateDirective {
|
|
|
31
31
|
constructor(templateRef) {
|
|
32
32
|
this.templateRef = templateRef;
|
|
33
33
|
}
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: PagerTemplateDirective, isStandalone: true, selector: "[kendoDataPagerTemplate], [kendoPagerTemplate]", ngImport: i0 });
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerTemplateDirective, decorators: [{
|
|
38
38
|
type: Directive,
|
|
39
39
|
args: [{
|
|
40
40
|
selector: '[kendoDataPagerTemplate], [kendoPagerTemplate]',
|
|
41
41
|
standalone: true
|
|
42
42
|
}]
|
|
43
|
-
}], ctorParameters:
|
|
43
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
44
44
|
type: Optional
|
|
45
|
-
}] }]
|
|
45
|
+
}] }] });
|
|
@@ -264,7 +264,9 @@ export class PagerComponent {
|
|
|
264
264
|
}
|
|
265
265
|
set showPageText(value) {
|
|
266
266
|
this._showPageText = value;
|
|
267
|
-
|
|
267
|
+
if (this.pagerInputComponent) {
|
|
268
|
+
this.pagerInputComponent.showPageText = value;
|
|
269
|
+
}
|
|
268
270
|
this.pageTextVisibilityChange.emit(value);
|
|
269
271
|
}
|
|
270
272
|
/**
|
|
@@ -275,7 +277,9 @@ export class PagerComponent {
|
|
|
275
277
|
}
|
|
276
278
|
set showItemsText(value) {
|
|
277
279
|
this._showItemsText = value;
|
|
278
|
-
|
|
280
|
+
if (this.pageSizesComponent) {
|
|
281
|
+
this.pageSizesComponent.showItemsText = value;
|
|
282
|
+
}
|
|
279
283
|
this.itemsTextVisibilityChange.emit(value);
|
|
280
284
|
}
|
|
281
285
|
/**
|
|
@@ -345,7 +349,9 @@ export class PagerComponent {
|
|
|
345
349
|
this.subscriptions.add(this.localization.changes.subscribe(({ rtl }) => {
|
|
346
350
|
this.direction = rtl ? 'rtl' : 'ltr';
|
|
347
351
|
this.measureAllTextWidths();
|
|
348
|
-
this.responsive
|
|
352
|
+
if (this.responsive) {
|
|
353
|
+
this.resizeHandler();
|
|
354
|
+
}
|
|
349
355
|
}));
|
|
350
356
|
this.subscriptions.add(this.navigationService.innerNavigationChange.subscribe(this.innerNavigationChange.bind(this)));
|
|
351
357
|
if (this.navigable) {
|
|
@@ -365,13 +371,21 @@ export class PagerComponent {
|
|
|
365
371
|
this.renderer.setAttribute(this.element.nativeElement, 'aria-label', this.ariaLabel);
|
|
366
372
|
this.subscriptions.add(this.template.changes.subscribe(() => {
|
|
367
373
|
this.measureAllTextWidths();
|
|
368
|
-
this.responsive
|
|
374
|
+
if (this.responsive) {
|
|
375
|
+
this.resizeHandler(false);
|
|
376
|
+
}
|
|
369
377
|
}));
|
|
370
378
|
this.handleClasses(this.size, 'size');
|
|
371
379
|
this.measureAllTextWidths();
|
|
372
|
-
!this.numericButtons
|
|
373
|
-
|
|
374
|
-
|
|
380
|
+
if (!this.numericButtons) {
|
|
381
|
+
this.pagerDimensions.numericButtonsWidth = this.element.nativeElement.querySelector('.k-pager-numbers')?.offsetWidth ?? 0;
|
|
382
|
+
}
|
|
383
|
+
if (!this.pagerInput) {
|
|
384
|
+
this.pagerDimensions.inputWidth = this.element.nativeElement.querySelector('.k-pager-input')?.offsetWidth ?? 0;
|
|
385
|
+
}
|
|
386
|
+
if (!this.pageSizes) {
|
|
387
|
+
this.pagerDimensions.pageSizesWidth = this.element.nativeElement.querySelector('.k-pager-sizes')?.offsetWidth ?? 0;
|
|
388
|
+
}
|
|
375
389
|
const padding = calculatePadding(this.element.nativeElement);
|
|
376
390
|
this.pagerDimensions.padding = padding.padding;
|
|
377
391
|
this.pagerDimensions.gapNumbersSizes = padding.gapNumbersSizes;
|
|
@@ -385,7 +399,9 @@ export class PagerComponent {
|
|
|
385
399
|
this.initialized = true;
|
|
386
400
|
return;
|
|
387
401
|
}
|
|
388
|
-
this.responsive
|
|
402
|
+
if (this.responsive) {
|
|
403
|
+
this.resizeHandler();
|
|
404
|
+
}
|
|
389
405
|
setTimeout(() => {
|
|
390
406
|
this.initialized = true;
|
|
391
407
|
this.cdr.markForCheck();
|
|
@@ -409,7 +425,9 @@ export class PagerComponent {
|
|
|
409
425
|
});
|
|
410
426
|
this.pagerDimensions.numericButtonsWidth = (this.pagerDimensions.numericButtonsWidth * Math.min(this.buttonCount, this.total / this.pageSize)) / previousButtonCount;
|
|
411
427
|
this.renderer.setAttribute(this.element.nativeElement, 'aria-label', this.ariaLabel);
|
|
412
|
-
this.responsive
|
|
428
|
+
if (this.responsive) {
|
|
429
|
+
this.resizeHandler(false);
|
|
430
|
+
}
|
|
413
431
|
if (pageSizeAdjusted) {
|
|
414
432
|
Promise.resolve().then(() => {
|
|
415
433
|
this.pageChange.emit({ skip: this.skip, take: currentTotal });
|
|
@@ -418,7 +436,9 @@ export class PagerComponent {
|
|
|
418
436
|
}
|
|
419
437
|
}
|
|
420
438
|
if (anyChanged(["pageSizeValues", "previousNext", "buttonCount"], changes, true)) {
|
|
421
|
-
this.responsive
|
|
439
|
+
if (this.responsive) {
|
|
440
|
+
this.resizeHandler(false);
|
|
441
|
+
}
|
|
422
442
|
}
|
|
423
443
|
if (isChanged('responsive', changes, true)) {
|
|
424
444
|
if (changes['responsive'].currentValue && !changes['responsive'].previousValue) {
|
|
@@ -432,7 +452,9 @@ export class PagerComponent {
|
|
|
432
452
|
}
|
|
433
453
|
if (isChanged('type', changes, true)) {
|
|
434
454
|
this.showNumericButtonsResponsive();
|
|
435
|
-
this.responsive
|
|
455
|
+
if (this.responsive) {
|
|
456
|
+
this.resizeHandler(false);
|
|
457
|
+
}
|
|
436
458
|
}
|
|
437
459
|
}
|
|
438
460
|
ngOnDestroy() {
|
|
@@ -512,7 +534,9 @@ export class PagerComponent {
|
|
|
512
534
|
else {
|
|
513
535
|
this.hideElementsInOrder(pagerWidth, elementsWidths);
|
|
514
536
|
}
|
|
515
|
-
!this.initialized
|
|
537
|
+
if (!this.initialized) {
|
|
538
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => this.initialized = true);
|
|
539
|
+
}
|
|
516
540
|
});
|
|
517
541
|
});
|
|
518
542
|
};
|
|
@@ -540,14 +564,18 @@ export class PagerComponent {
|
|
|
540
564
|
return;
|
|
541
565
|
}
|
|
542
566
|
e.preventDefault();
|
|
543
|
-
!isFirstPage
|
|
567
|
+
if (!isFirstPage) {
|
|
568
|
+
this.pagerContext.changePage(0);
|
|
569
|
+
}
|
|
544
570
|
}
|
|
545
571
|
else if (isEnd) {
|
|
546
572
|
e.preventDefault();
|
|
547
573
|
if (e.target !== wrapper) {
|
|
548
574
|
return;
|
|
549
575
|
}
|
|
550
|
-
!isLastPage
|
|
576
|
+
if (!isLastPage) {
|
|
577
|
+
this.pagerContext.changePage(this.totalPages - 1);
|
|
578
|
+
}
|
|
551
579
|
}
|
|
552
580
|
else if (this.isInnerNavigationEnabled) {
|
|
553
581
|
if (isEsc) {
|
|
@@ -564,11 +592,15 @@ export class PagerComponent {
|
|
|
564
592
|
}
|
|
565
593
|
if (isArrowLeftOrPageUp) {
|
|
566
594
|
e.preventDefault();
|
|
567
|
-
!isFirstPage
|
|
595
|
+
if (!isFirstPage) {
|
|
596
|
+
this.pagerContext.prevPage();
|
|
597
|
+
}
|
|
568
598
|
}
|
|
569
599
|
else if (isArrowRightOrPageDown) {
|
|
570
600
|
e.preventDefault();
|
|
571
|
-
!isLastPage
|
|
601
|
+
if (!isLastPage) {
|
|
602
|
+
this.pagerContext.nextPage();
|
|
603
|
+
}
|
|
572
604
|
}
|
|
573
605
|
else if (isEnter) {
|
|
574
606
|
e.preventDefault();
|
|
@@ -774,8 +806,8 @@ export class PagerComponent {
|
|
|
774
806
|
}
|
|
775
807
|
return this.pageSizeValues?.length > 0;
|
|
776
808
|
}
|
|
777
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
778
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
809
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerComponent, deps: [{ token: i1.PagerContextService, optional: true, skipSelf: true }, { token: i0.ElementRef }, { token: i2.LocalizationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i3.PagerNavigationService, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
810
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PagerComponent, isStandalone: true, selector: "kendo-datapager, kendo-pager", inputs: { externalTemplate: "externalTemplate", total: "total", skip: "skip", pageSize: "pageSize", buttonCount: "buttonCount", info: "info", type: "type", pageSizeValues: "pageSizeValues", previousNext: "previousNext", navigable: "navigable", size: "size", responsive: "responsive", adaptiveMode: "adaptiveMode" }, outputs: { pageChange: "pageChange", pageSizeChange: "pageSizeChange", pagerInputVisibilityChange: "pagerInputVisibilityChange", pageTextVisibilityChange: "pageTextVisibilityChange", itemsTextVisibilityChange: "itemsTextVisibilityChange" }, host: { listeners: { "focusin": "focusHandler($event)" }, properties: { "class.k-pager": "this.pagerClass", "class.k-pager-responsive": "this.responsiveClass", "attr.role": "this.widgetRole", "attr.aria-roledescription": "this.roleDescription", "attr.aria-keyshortcuts": "this.keyShortcuts", "attr.tabindex": "this.hostTabindex", "attr.dir": "this.dir" } }, providers: [
|
|
779
811
|
LocalizationService,
|
|
780
812
|
PagerContextService,
|
|
781
813
|
PagerNavigationService,
|
|
@@ -850,7 +882,7 @@ export class PagerComponent {
|
|
|
850
882
|
<kendo-resize-sensor *ngIf="responsive" (resize)="resizeHandler()"></kendo-resize-sensor>
|
|
851
883
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoPagerLocalizedMessages]" }, { 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, kendo-pager-prev-buttons", inputs: ["size"] }, { kind: "component", type: PagerNumericButtonsComponent, selector: "kendo-datapager-numeric-buttons, kendo-pager-numeric-buttons", inputs: ["buttonCount", "size"] }, { kind: "component", type: PagerInputComponent, selector: "kendo-datapager-input, kendo-pager-input", inputs: ["showPageText", "size"] }, { kind: "component", type: PagerNextButtonsComponent, selector: "kendo-datapager-next-buttons, kendo-pager-next-buttons", inputs: ["size"] }, { kind: "component", type: PagerPageSizesComponent, selector: "kendo-datapager-page-sizes, kendo-pager-page-sizes", inputs: ["showItemsText", "pageSizes", "size", "adaptiveMode"] }, { kind: "component", type: PagerInfoComponent, selector: "kendo-datapager-info, kendo-pager-info" }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
852
884
|
}
|
|
853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerComponent, decorators: [{
|
|
854
886
|
type: Component,
|
|
855
887
|
args: [{
|
|
856
888
|
selector: 'kendo-datapager, kendo-pager',
|
|
@@ -933,7 +965,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
933
965
|
standalone: true,
|
|
934
966
|
imports: [LocalizedMessagesDirective, NgIf, NgTemplateOutlet, PagerPrevButtonsComponent, PagerNumericButtonsComponent, PagerInputComponent, PagerNextButtonsComponent, PagerPageSizesComponent, PagerInfoComponent, ResizeSensorComponent, NgStyle]
|
|
935
967
|
}]
|
|
936
|
-
}], ctorParameters:
|
|
968
|
+
}], ctorParameters: () => [{ type: i1.PagerContextService, decorators: [{
|
|
937
969
|
type: Optional
|
|
938
970
|
}, {
|
|
939
971
|
type: SkipSelf
|
|
@@ -941,7 +973,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
941
973
|
type: Optional
|
|
942
974
|
}, {
|
|
943
975
|
type: SkipSelf
|
|
944
|
-
}] }]
|
|
976
|
+
}] }], propDecorators: { template: [{
|
|
945
977
|
type: ContentChildren,
|
|
946
978
|
args: [PagerTemplateDirective]
|
|
947
979
|
}], numericButtons: [{
|
|
@@ -43,15 +43,15 @@ import * as i11 from "./spacer.component";
|
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
45
|
export class PagerModule {
|
|
46
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
47
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
48
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
47
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: PagerModule, imports: [i1.CustomMessagesComponent, i2.PagerFocusableDirective, i3.PagerInfoComponent, i4.PagerInputComponent, i5.PagerNextButtonsComponent, i6.PagerNumericButtonsComponent, i7.PagerPageSizesComponent, i8.PagerPrevButtonsComponent, i9.PagerTemplateDirective, i10.PagerComponent, i11.PagerSpacerComponent], exports: [i1.CustomMessagesComponent, i2.PagerFocusableDirective, i3.PagerInfoComponent, i4.PagerInputComponent, i5.PagerNextButtonsComponent, i6.PagerNumericButtonsComponent, i7.PagerPageSizesComponent, i8.PagerPrevButtonsComponent, i9.PagerTemplateDirective, i10.PagerComponent, i11.PagerSpacerComponent] });
|
|
48
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerModule, providers: [
|
|
49
49
|
IconsService,
|
|
50
50
|
PopupService,
|
|
51
51
|
ResizeBatchService
|
|
52
52
|
], imports: [i4.PagerInputComponent, i5.PagerNextButtonsComponent, i6.PagerNumericButtonsComponent, i7.PagerPageSizesComponent, i8.PagerPrevButtonsComponent, i10.PagerComponent] });
|
|
53
53
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerModule, decorators: [{
|
|
55
55
|
type: NgModule,
|
|
56
56
|
args: [{
|
|
57
57
|
exports: [...KENDO_PAGER],
|
|
@@ -46,10 +46,10 @@ export class PagerSpacerComponent {
|
|
|
46
46
|
* If you do not set this property, the `PagerSpacer` takes all the available space.
|
|
47
47
|
*/
|
|
48
48
|
width;
|
|
49
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
50
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
49
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PagerSpacerComponent, isStandalone: true, selector: "kendo-pager-spacer", inputs: { width: "width" }, host: { properties: { "class.k-spacer": "this.hostClass", "class.k-spacer-sized": "this.sizedClass", "style.flexBasis": "this.flexBasisStyle" } }, ngImport: i0, template: ``, isInline: true });
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PagerSpacerComponent, decorators: [{
|
|
53
53
|
type: Component,
|
|
54
54
|
args: [{
|
|
55
55
|
selector: 'kendo-pager-spacer',
|