@progress/kendo-angular-pager 25.0.0-develop.8 → 25.1.0-develop.1
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/NOTICE.txt +33 -34
- package/codemods/libs/common/src/codemods/utils.js +15 -0
- package/codemods/libs/pager/codemods/v25/pager-rendering-changes.js +22 -0
- package/fesm2022/progress-kendo-angular-pager.mjs +63 -60
- package/index.d.ts +2 -2
- package/package-metadata.mjs +2 -2
- package/package.json +15 -8
- package/schematics/ngAdd/index.js +6 -6
package/NOTICE.txt
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
Progress Kendo UI for Angular 2026
|
|
2
|
+
Progress Kendo UI for Angular 2026 Updated August 2026
|
|
3
3
|
|
|
4
4
|
----------------------------------------------------------------------------------------------------------------------------
|
|
5
5
|
NOTICES REPORT
|
|
6
6
|
----------------------------------------------------------------------------------------------------------------------------
|
|
7
7
|
|
|
8
8
|
Portions of the Products include certain open source and commercial third-party components listed below ("Third-Party
|
|
9
|
-
Components"). The authors of the Third-Party Components require Progress Software Corporation ("PSC") to include
|
|
10
|
-
|
|
11
|
-
acknowledge that the authors of the Third-Party Components have no obligation to provide support to you for the Third-
|
|
12
|
-
|
|
9
|
+
Components"). The authors of the Third-Party Components require Progress Software Corporation ("PSC") to include the
|
|
10
|
+
following notices and additional licensing terms as a condition of PSC's use of such Third-Party Components. You
|
|
11
|
+
acknowledge that the authors of the Third-Party Components have no obligation to provide support to you for the Third-Party
|
|
12
|
+
Components or the Product. You hereby undertake to comply with all licenses related to the applicable Third-Party
|
|
13
13
|
Components. Notwithstanding anything to the contrary, to the extent that any of the terms and conditions of the Progress
|
|
14
|
-
Agreement conflict, vary, or are in addition to the terms and conditions of the aforementioned third-party licenses for
|
|
15
|
-
|
|
14
|
+
Agreement conflict, vary, or are in addition to the terms and conditions of the aforementioned third-party licenses for these
|
|
15
|
+
technologies, such terms and conditions are offered by PSC alone and not by any other party.
|
|
16
16
|
|
|
17
17
|
----------------------------------------------------------------------------------------------------------------------------
|
|
18
18
|
Report Content
|
|
@@ -25,40 +25,38 @@
|
|
|
25
25
|
|
|
26
26
|
----------------------------------------------------------------------------------------------------------------------------
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
AI governed by the terms and conditions of a license agreement from AI licensor will be required for use and access of
|
|
32
|
-
|
|
33
|
-
a valid use of AI. You acknowledge and accept that Progress is not a party to the license agreement between You
|
|
34
|
-
licensor for AI use, and as a result Progress does not have any control over AI and its availability, and Progress
|
|
35
|
-
|
|
36
|
-
with the Software.
|
|
28
|
+
GENERATIVE ARTIFICIAL INTELLIGENCE INTEGRATION
|
|
29
|
+
If the Software documentation specifies integration with some form of generative artificial intelligence (AI), then the
|
|
30
|
+
Software will include a configuration to connect to AI. You acknowledge that a separate license or subscription access
|
|
31
|
+
to AI governed by the terms and conditions of a license agreement from AI licensor will be required for use and access of
|
|
32
|
+
AI capabilities integrated with the Software. You will be responsible to comply with the terms of such license agreement
|
|
33
|
+
for a valid use of AI. You acknowledge and accept that Progress is not a party to the license agreement between You
|
|
34
|
+
and AI licensor for AI use, and as a result Progress does not have any control over AI and its availability, and Progress
|
|
35
|
+
disclaims any and all liabilities for any output, error, damages, loss, etc., or any other result of Your use of AI
|
|
36
|
+
integrated with the Software.
|
|
37
37
|
|
|
38
38
|
----------------------------------------------------------------------------------------------------------------------------
|
|
39
39
|
|
|
40
|
-
NOTICE FROM PROGRESS SOFTWARE CORPORATION: Additional notices may be included in the release notes or
|
|
41
|
-
|
|
40
|
+
NOTICE FROM PROGRESS SOFTWARE CORPORATION: Additional notices may be included in the release notes or other
|
|
41
|
+
documentation that accompanies updates received in connection with support of the Product.
|
|
42
42
|
|
|
43
43
|
----------------------------------------------------------------------------------------------------------------------------
|
|
44
44
|
|
|
45
45
|
TECHNOLOGIES DISTRIBUTED UNDER ORIGINAL LICENSE
|
|
46
|
-
The Product contains the following third-party technologies licensed to PSC under licenses that require PSC to
|
|
47
|
-
|
|
48
|
-
below.
|
|
46
|
+
The Product contains the following third-party technologies licensed to PSC under licenses that require PSC to distribute the
|
|
47
|
+
technologies to Users only under its original license terms as noted, the text of which is copied herein below.
|
|
49
48
|
|
|
50
49
|
Component License
|
|
51
|
-
|
|
52
|
-
caniuse-lite | 1.0.30001797 Creative Commons Attribution 4.0
|
|
50
|
+
caniuse-lite | 1.0.30001806 Creative Commons Attribution 4.0
|
|
53
51
|
|
|
54
52
|
----------------------------------------------------------------------------------------------------------------------------
|
|
55
53
|
|
|
56
|
-
Components:
|
|
54
|
+
Components:
|
|
57
55
|
|
|
58
56
|
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
59
57
|
| Component | Origin | License |
|
|
60
58
|
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
61
|
-
| caniuse-lite 1.0.
|
|
59
|
+
| caniuse-lite 1.0.30001806 | https://github.com/ben-eb/caniuse-lit | Creative Commons Attribution 4.0 |
|
|
62
60
|
| | e | |
|
|
63
61
|
| jszip 3.10.1 | https://github.com/Stuk/jszip | MIT License |
|
|
64
62
|
| Microsofttslib 1.14.1 | http://github.com/Microsoft/tslib/ | BSD Zero Clause License |
|
|
@@ -66,12 +64,14 @@ Components:
|
|
|
66
64
|
| node-semver 7.7.1 | https://github.com/npm/node-semver | ISC License |
|
|
67
65
|
| nodeca/pako 1.0.11 | https://github.com/nodeca/pako | MIT License |
|
|
68
66
|
| orderedmap 2.1.1 | https://github.com/marijnh/orderedmap | MIT License |
|
|
69
|
-
| pdfjs-dist-for-node 5.
|
|
67
|
+
| pdfjs-dist-for-node 5.5.207 | http://mozilla.github.io/pdf.js/ | Apache License 2.0 |
|
|
68
|
+
| @progress/kendo-svg-icons 5.4.0 | https://github.com/telerik/kendo-icon | Apache License 2.0 |
|
|
69
|
+
| | s#readme | |
|
|
70
70
|
| prosemirror-commands 1.7.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
71
71
|
| | irror-commands#readme | |
|
|
72
72
|
| prosemirror-dropcursor 1.8.2 | https://github.com/prosemirror/prosem | MIT License |
|
|
73
73
|
| | irror-dropcursor#readme | |
|
|
74
|
-
| prosemirror-gapcursor 1.4.
|
|
74
|
+
| prosemirror-gapcursor 1.4.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
75
75
|
| | irror-gapcursor#readme | |
|
|
76
76
|
| prosemirror-history 1.5.0 | https://github.com/prosemirror/prosem | MIT License |
|
|
77
77
|
| | irror-history#readme | |
|
|
@@ -79,7 +79,7 @@ Components:
|
|
|
79
79
|
| | irror-inputrules#readme | |
|
|
80
80
|
| prosemirror-keymap 1.2.3 | https://github.com/prosemirror/prosem | MIT License |
|
|
81
81
|
| | irror-keymap#readme | |
|
|
82
|
-
| prosemirror-model 1.25.
|
|
82
|
+
| prosemirror-model 1.25.9 | https://github.com/prosemirror/prosem | MIT License |
|
|
83
83
|
| | irror-model#readme | |
|
|
84
84
|
| prosemirror-schema-list 1.5.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
85
85
|
| | irror-schema-list#readme | |
|
|
@@ -87,16 +87,14 @@ Components:
|
|
|
87
87
|
| | irror-state#readme | |
|
|
88
88
|
| prosemirror-tables 1.8.5 | https://github.com/prosemirror/prosem | MIT License |
|
|
89
89
|
| | irror-tables#readme | |
|
|
90
|
-
| prosemirror-transform 1.
|
|
90
|
+
| prosemirror-transform 1.12.0 | https://github.com/prosemirror/prosem | MIT License |
|
|
91
91
|
| | irror-transform#readme | |
|
|
92
|
-
| prosemirror-view 1.
|
|
92
|
+
| prosemirror-view 1.42.0 | https://github.com/prosemirror/prosem | MIT License |
|
|
93
93
|
| | irror-view#readme | |
|
|
94
94
|
| rope-sequence 1.3.4 | https://github.com/marijnh/rope-seque | MIT License |
|
|
95
95
|
| | nce#readme | |
|
|
96
96
|
| w3c-keyname 2.2.8 | https://github.com/marijnh/w3c-keynam | MIT License |
|
|
97
97
|
| | e#readme | |
|
|
98
|
-
| @progress/kendo-svg-icons 4.9.2 | https://github.com/telerik/kendo-icon | Apache License 2.0 |
|
|
99
|
-
| | s#readme | |
|
|
100
98
|
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
101
99
|
|
|
102
100
|
-------------------------------------------------------------------------------------------------------------------------
|
|
@@ -104,7 +102,8 @@ License Data and Text:
|
|
|
104
102
|
-------------------------------------------------------------------------------------------------------------------------
|
|
105
103
|
|
|
106
104
|
Apache License 2.0
|
|
107
|
-
(@progress/kendo-svg-icons 4.
|
|
105
|
+
(@progress/kendo-svg-icons 5.4.0, pdfjs-dist-for-node 5.5.207)
|
|
106
|
+
|
|
108
107
|
Apache License
|
|
109
108
|
Version 2.0, January 2004
|
|
110
109
|
=========================
|
|
@@ -372,7 +371,7 @@ THIS SOFTWARE.
|
|
|
372
371
|
---
|
|
373
372
|
|
|
374
373
|
Creative Commons Attribution 4.0
|
|
375
|
-
(caniuse-lite 1.0.
|
|
374
|
+
(caniuse-lite 1.0.30001806)
|
|
376
375
|
|
|
377
376
|
Creative Commons Attribution 4.0
|
|
378
377
|
================================
|
|
@@ -13,6 +13,7 @@ exports.writeInstructionMarker = writeInstructionMarker;
|
|
|
13
13
|
exports.isApiChangeTarget = isApiChangeTarget;
|
|
14
14
|
exports.isRenderingChangeTarget = isRenderingChangeTarget;
|
|
15
15
|
exports.executeCodemodTest = executeCodemodTest;
|
|
16
|
+
exports.removeAttributeFromDirectiveHost = removeAttributeFromDirectiveHost;
|
|
16
17
|
const tslib_1 = require("tslib");
|
|
17
18
|
/// <reference types="node" />
|
|
18
19
|
const fs = tslib_1.__importStar(require("fs"));
|
|
@@ -1486,3 +1487,17 @@ function executeCodemodTest(codemod, testDir, exampleFileName = 'example.ts', ex
|
|
|
1486
1487
|
catch { }
|
|
1487
1488
|
}
|
|
1488
1489
|
}
|
|
1490
|
+
function removeAttributeFromDirectiveHost(templateContent, directiveAttr, attrToRemove) {
|
|
1491
|
+
const escapedDirective = directiveAttr.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
1492
|
+
const escapedAttr = attrToRemove.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
1493
|
+
const boundPattern = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*${escapedDirective}[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
1494
|
+
const staticPattern = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*${escapedDirective}[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
1495
|
+
// Also match when the attribute appears before the directive
|
|
1496
|
+
const boundPatternBefore = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*${escapedDirective}[^>]*?>)`, 'gi');
|
|
1497
|
+
const staticPatternBefore = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*${escapedDirective}[^>]*?>)`, 'gi');
|
|
1498
|
+
let result = templateContent.replace(boundPattern, '$1$3');
|
|
1499
|
+
result = result.replace(staticPattern, '$1$3');
|
|
1500
|
+
result = result.replace(boundPatternBefore, '$1$3');
|
|
1501
|
+
result = result.replace(staticPatternBefore, '$1$3');
|
|
1502
|
+
return result;
|
|
1503
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.aiInstructions = void 0;
|
|
8
|
+
exports.default = default_1;
|
|
9
|
+
const codemods_1 = require("@progress/kendo-angular-common/codemods");
|
|
10
|
+
exports.aiInstructions = `Review your stylesheets, test files, and any code that references these Pager changes:
|
|
11
|
+
|
|
12
|
+
chevronLeftIcon / chevronRightIcon — replaced with caretAltLeftIcon / caretAltRightIcon in Pager elements.
|
|
13
|
+
Replace chevronLeftIcon/chevronRightIcon references with caretAltLeftIcon/caretAltRightIcon in Pager context.`;
|
|
14
|
+
const pattern = /chevronLeftIcon|chevronRightIcon/;
|
|
15
|
+
function default_1(fileInfo) {
|
|
16
|
+
if ((0, codemods_1.isRenderingChangeTarget)(fileInfo.path)) {
|
|
17
|
+
if (pattern.test(fileInfo.source)) {
|
|
18
|
+
(0, codemods_1.writeInstructionMarker)(exports.aiInstructions, __filename, fileInfo.path);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return fileInfo.source;
|
|
22
|
+
}
|
|
@@ -7,8 +7,8 @@ import { Input, Directive, forwardRef, Component, ChangeDetectionStrategy, HostB
|
|
|
7
7
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { Subject, Subscription } from 'rxjs';
|
|
10
|
-
import {
|
|
11
|
-
import { isVisible, isDocumentAvailable, isFocusable, Keys, EventsOutsideAngularDirective, anyChanged, isChanged, replaceMessagePlaceholder, normalizeKeys, ResizeSensorComponent, isPresent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
import { caretAltLeftIcon, caretAltToLeftIcon, caretAltRightIcon, caretAltToRightIcon } from '@progress/kendo-svg-icons';
|
|
11
|
+
import { isVisible, isDocumentAvailable, isFocusable, Keys, EventsOutsideAngularDirective, anyChanged, isChanged, replaceMessagePlaceholder, normalizeKeys, ResizeSensorComponent, provideComponentName, isPresent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
12
12
|
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
13
13
|
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
14
14
|
import { NumericTextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
@@ -119,10 +119,10 @@ class Messages extends ComponentMessages {
|
|
|
119
119
|
* The text of the aria-label attribute applied to the input element for entering the page number."
|
|
120
120
|
*/
|
|
121
121
|
inputLabel;
|
|
122
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
123
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
122
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
123
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: Messages, isStandalone: true, 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 });
|
|
124
124
|
}
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: Messages, decorators: [{
|
|
126
126
|
type: Directive,
|
|
127
127
|
args: [{
|
|
128
128
|
selector: 'kendoPagerMessages'
|
|
@@ -177,15 +177,15 @@ class CustomMessagesComponent extends Messages {
|
|
|
177
177
|
get override() {
|
|
178
178
|
return true;
|
|
179
179
|
}
|
|
180
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
181
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
180
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
181
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-datapager-messages, kendo-pager-messages", providers: [
|
|
182
182
|
{
|
|
183
183
|
provide: Messages,
|
|
184
184
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
185
185
|
}
|
|
186
186
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
187
187
|
}
|
|
188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
189
189
|
type: Component,
|
|
190
190
|
args: [{
|
|
191
191
|
providers: [
|
|
@@ -209,15 +209,15 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
209
209
|
super();
|
|
210
210
|
this.service = service;
|
|
211
211
|
}
|
|
212
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
213
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
212
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
213
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoPagerLocalizedMessages]", providers: [
|
|
214
214
|
{
|
|
215
215
|
provide: Messages,
|
|
216
216
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
217
217
|
}
|
|
218
218
|
], usesInheritance: true, ngImport: i0 });
|
|
219
219
|
}
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
221
221
|
type: Directive,
|
|
222
222
|
args: [{
|
|
223
223
|
providers: [
|
|
@@ -283,9 +283,9 @@ class PagerElementComponent {
|
|
|
283
283
|
total;
|
|
284
284
|
skip;
|
|
285
285
|
pageSize;
|
|
286
|
-
|
|
286
|
+
caretAltLeftIcon = caretAltLeftIcon;
|
|
287
287
|
caretAltToLeftIcon = caretAltToLeftIcon;
|
|
288
|
-
|
|
288
|
+
caretAltRightIcon = caretAltRightIcon;
|
|
289
289
|
caretAltToRightIcon = caretAltToRightIcon;
|
|
290
290
|
/**
|
|
291
291
|
* @hidden
|
|
@@ -354,21 +354,21 @@ class PagerElementComponent {
|
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
get prevArrowIcons() {
|
|
357
|
-
return !this.localization.rtl ? ['caret-alt-to-left', '
|
|
357
|
+
return !this.localization.rtl ? ['caret-alt-to-left', 'caret-alt-left'] : ['caret-alt-to-right', 'caret-alt-right'];
|
|
358
358
|
}
|
|
359
359
|
get prevArrowSVGIcons() {
|
|
360
|
-
return !this.localization.rtl ? [this.caretAltToLeftIcon, this.
|
|
360
|
+
return !this.localization.rtl ? [this.caretAltToLeftIcon, this.caretAltLeftIcon] : [this.caretAltToRightIcon, this.caretAltRightIcon];
|
|
361
361
|
}
|
|
362
362
|
get nextArrowIcons() {
|
|
363
|
-
return !this.localization.rtl ? ['
|
|
363
|
+
return !this.localization.rtl ? ['caret-alt-right', 'caret-alt-to-right'] : ['caret-alt-left', 'caret-alt-to-left'];
|
|
364
364
|
}
|
|
365
365
|
get nextArrowSVGIcons() {
|
|
366
|
-
return !this.localization.rtl ? [this.
|
|
366
|
+
return !this.localization.rtl ? [this.caretAltRightIcon, this.caretAltToRightIcon] : [this.caretAltLeftIcon, this.caretAltToLeftIcon];
|
|
367
367
|
}
|
|
368
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
369
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
368
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerElementComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
369
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: PagerElementComponent, isStandalone: true, selector: "kendo-pager-element", ngImport: i0, template: ``, isInline: true });
|
|
370
370
|
}
|
|
371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerElementComponent, decorators: [{
|
|
372
372
|
type: Component,
|
|
373
373
|
args: [{
|
|
374
374
|
selector: 'kendo-pager-element',
|
|
@@ -577,10 +577,10 @@ class PagerFocusableDirective {
|
|
|
577
577
|
this.renderer.setAttribute(el, 'tabindex', index);
|
|
578
578
|
});
|
|
579
579
|
}
|
|
580
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
581
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
580
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerFocusableDirective, deps: [{ token: PagerNavigationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
581
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: PagerFocusableDirective, isStandalone: true, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"], ngImport: i0 });
|
|
582
582
|
}
|
|
583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerFocusableDirective, decorators: [{
|
|
584
584
|
type: Directive,
|
|
585
585
|
args: [{
|
|
586
586
|
selector: '[kendoPagerFocusable]',
|
|
@@ -636,8 +636,8 @@ class PagerPrevButtonsComponent extends PagerElementComponent {
|
|
|
636
636
|
this.pageSize = pageSize;
|
|
637
637
|
this.cd.markForCheck();
|
|
638
638
|
}
|
|
639
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
640
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
639
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerPrevButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
640
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: PagerPrevButtonsComponent, isStandalone: true, selector: "kendo-datapager-prev-buttons, kendo-pager-prev-buttons", inputs: { size: "size" }, usesInheritance: true, ngImport: i0, template: `
|
|
641
641
|
<button
|
|
642
642
|
type="button" kendoButton
|
|
643
643
|
kendoPagerFocusable
|
|
@@ -668,7 +668,7 @@ class PagerPrevButtonsComponent extends PagerElementComponent {
|
|
|
668
668
|
</button>
|
|
669
669
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: PagerFocusableDirective, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
670
670
|
}
|
|
671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerPrevButtonsComponent, decorators: [{
|
|
672
672
|
type: Component,
|
|
673
673
|
args: [{
|
|
674
674
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -830,8 +830,8 @@ class PagerPageSizesComponent extends PagerElementComponent {
|
|
|
830
830
|
this.dropDownList.toggle(false);
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
834
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
833
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerPageSizesComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
834
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", 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: `
|
|
835
835
|
<kendo-dropdownlist kendoPagerFocusable
|
|
836
836
|
#dropdownlist
|
|
837
837
|
[size]="size"
|
|
@@ -849,7 +849,7 @@ class PagerPageSizesComponent extends PagerElementComponent {
|
|
|
849
849
|
}
|
|
850
850
|
`, 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
851
851
|
}
|
|
852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerPageSizesComponent, decorators: [{
|
|
853
853
|
type: Component,
|
|
854
854
|
args: [{
|
|
855
855
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -917,10 +917,10 @@ class PagerTemplateDirective {
|
|
|
917
917
|
constructor(templateRef) {
|
|
918
918
|
this.templateRef = templateRef;
|
|
919
919
|
}
|
|
920
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
921
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
920
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
921
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: PagerTemplateDirective, isStandalone: true, selector: "[kendoDataPagerTemplate], [kendoPagerTemplate]", ngImport: i0 });
|
|
922
922
|
}
|
|
923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerTemplateDirective, decorators: [{
|
|
924
924
|
type: Directive,
|
|
925
925
|
args: [{
|
|
926
926
|
selector: '[kendoDataPagerTemplate], [kendoPagerTemplate]',
|
|
@@ -1055,8 +1055,8 @@ class PagerNumericButtonsComponent extends PagerElementComponent {
|
|
|
1055
1055
|
this.renderer.addClass(elem, classes.toAdd);
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
1058
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1059
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
1058
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerNumericButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1059
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", 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: `
|
|
1060
1060
|
<div class="k-pager-numbers" #numbers>
|
|
1061
1061
|
@if (start > 1) {
|
|
1062
1062
|
<button
|
|
@@ -1101,7 +1101,7 @@ class PagerNumericButtonsComponent extends PagerElementComponent {
|
|
|
1101
1101
|
</div>
|
|
1102
1102
|
`, isInline: true, dependencies: [{ kind: "directive", type: PagerFocusableDirective, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1103
1103
|
}
|
|
1104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerNumericButtonsComponent, decorators: [{
|
|
1105
1105
|
type: Component,
|
|
1106
1106
|
args: [{
|
|
1107
1107
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1212,8 +1212,8 @@ class PagerNextButtonsComponent extends PagerElementComponent {
|
|
|
1212
1212
|
this.pageSize = pageSize;
|
|
1213
1213
|
this.cd.markForCheck();
|
|
1214
1214
|
}
|
|
1215
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1216
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1215
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerNextButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1216
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: PagerNextButtonsComponent, isStandalone: true, selector: "kendo-datapager-next-buttons, kendo-pager-next-buttons", inputs: { size: "size" }, usesInheritance: true, ngImport: i0, template: `
|
|
1217
1217
|
<button kendoButton kendoPagerFocusable
|
|
1218
1218
|
type="button"
|
|
1219
1219
|
[size]="size"
|
|
@@ -1242,7 +1242,7 @@ class PagerNextButtonsComponent extends PagerElementComponent {
|
|
|
1242
1242
|
</button>
|
|
1243
1243
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: PagerFocusableDirective, selector: "[kendoPagerFocusable]", exportAs: ["kendoPagerFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1244
1244
|
}
|
|
1245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerNextButtonsComponent, decorators: [{
|
|
1246
1246
|
type: Component,
|
|
1247
1247
|
args: [{
|
|
1248
1248
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1276,7 +1276,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1276
1276
|
</button>
|
|
1277
1277
|
`,
|
|
1278
1278
|
standalone: true,
|
|
1279
|
-
imports: [ButtonComponent, PagerFocusableDirective]
|
|
1279
|
+
imports: [ButtonComponent, PagerFocusableDirective],
|
|
1280
1280
|
}]
|
|
1281
1281
|
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: PagerContextService }, { type: i0.ChangeDetectorRef }], propDecorators: { size: [{
|
|
1282
1282
|
type: Input
|
|
@@ -1370,8 +1370,8 @@ class PagerInputComponent extends PagerElementComponent {
|
|
|
1370
1370
|
get hasPages() {
|
|
1371
1371
|
return this.totalPages !== 0;
|
|
1372
1372
|
}
|
|
1373
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1374
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
1373
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerInputComponent, deps: [{ token: i1.LocalizationService }, { token: PagerContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1374
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", 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: `
|
|
1375
1375
|
<span class="k-pager-input">
|
|
1376
1376
|
@if (showPageText) {
|
|
1377
1377
|
{{textFor('page')}}
|
|
@@ -1399,7 +1399,7 @@ class PagerInputComponent extends PagerElementComponent {
|
|
|
1399
1399
|
</span>
|
|
1400
1400
|
`, 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"] }] });
|
|
1401
1401
|
}
|
|
1402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerInputComponent, decorators: [{
|
|
1403
1403
|
type: Component,
|
|
1404
1404
|
args: [{
|
|
1405
1405
|
selector: 'kendo-datapager-input, kendo-pager-input',
|
|
@@ -1495,10 +1495,10 @@ class PagerInfoComponent extends PagerElementComponent {
|
|
|
1495
1495
|
this.pageSize = pageSize;
|
|
1496
1496
|
this.cd.markForCheck();
|
|
1497
1497
|
}
|
|
1498
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1499
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1498
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerInfoComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PagerContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1499
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", 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 });
|
|
1500
1500
|
}
|
|
1501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerInfoComponent, decorators: [{
|
|
1502
1502
|
type: Component,
|
|
1503
1503
|
args: [{
|
|
1504
1504
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1519,8 +1519,8 @@ const packageMetadata = {
|
|
|
1519
1519
|
productName: 'Kendo UI for Angular',
|
|
1520
1520
|
productCode: 'KENDOUIANGULAR',
|
|
1521
1521
|
productCodes: ['KENDOUIANGULAR'],
|
|
1522
|
-
publishDate:
|
|
1523
|
-
version: '25.
|
|
1522
|
+
publishDate: 1786626795,
|
|
1523
|
+
version: '25.1.0-develop.1',
|
|
1524
1524
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
1525
1525
|
};
|
|
1526
1526
|
|
|
@@ -1898,7 +1898,8 @@ class PagerComponent {
|
|
|
1898
1898
|
const previousTotal = changes['total']?.previousValue;
|
|
1899
1899
|
const currentTotal = this.total;
|
|
1900
1900
|
let pageSizeAdjusted = false;
|
|
1901
|
-
|
|
1901
|
+
const isTotalChanged = changes['total'] && currentTotal !== previousTotal && currentTotal > 0;
|
|
1902
|
+
if (this._isAllSelected && isTotalChanged) {
|
|
1902
1903
|
this.pageSize = currentTotal;
|
|
1903
1904
|
pageSizeAdjusted = true;
|
|
1904
1905
|
}
|
|
@@ -2331,15 +2332,16 @@ class PagerComponent {
|
|
|
2331
2332
|
const innerStyledElement = this.pagerInputElement();
|
|
2332
2333
|
!this.pagerDimensions.gapPageText && (this.pagerDimensions.gapPageText = calculateGap(innerStyledElement));
|
|
2333
2334
|
}
|
|
2334
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2335
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2335
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerComponent, deps: [{ token: PagerContextService, optional: true, skipSelf: true }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: PagerNavigationService, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
2336
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", 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: [
|
|
2336
2337
|
LocalizationService,
|
|
2337
2338
|
PagerContextService,
|
|
2338
2339
|
PagerNavigationService,
|
|
2339
2340
|
{
|
|
2340
2341
|
provide: L10N_PREFIX,
|
|
2341
2342
|
useValue: 'kendo.pager'
|
|
2342
|
-
}
|
|
2343
|
+
},
|
|
2344
|
+
provideComponentName('pager')
|
|
2343
2345
|
], queries: [{ propertyName: "template", predicate: PagerTemplateDirective }], viewQueries: [{ propertyName: "numericButtons", first: true, predicate: PagerNumericButtonsComponent, descendants: true, read: ElementRef }, { propertyName: "pagerInput", first: true, predicate: PagerInputComponent, descendants: true, read: ElementRef }, { propertyName: "pagerInputComponent", first: true, predicate: PagerInputComponent, descendants: true }, { propertyName: "pageSizes", first: true, predicate: PagerPageSizesComponent, descendants: true, read: ElementRef }, { propertyName: "pageSizesComponent", first: true, predicate: PagerPageSizesComponent, descendants: true }], exportAs: ["kendoDataPager", "kendoPager"], usesOnChanges: true, ngImport: i0, template: `
|
|
2344
2346
|
<ng-container kendoPagerLocalizedMessages
|
|
2345
2347
|
i18n-ariaLabel="kendo.pager.ariaLabel|The value of the aria-label attribute of the Pager"
|
|
@@ -2420,7 +2422,7 @@ class PagerComponent {
|
|
|
2420
2422
|
}
|
|
2421
2423
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoPagerLocalizedMessages]" }, { 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"] }] });
|
|
2422
2424
|
}
|
|
2423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerComponent, decorators: [{
|
|
2424
2426
|
type: Component,
|
|
2425
2427
|
args: [{
|
|
2426
2428
|
selector: 'kendo-datapager, kendo-pager',
|
|
@@ -2432,7 +2434,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2432
2434
|
{
|
|
2433
2435
|
provide: L10N_PREFIX,
|
|
2434
2436
|
useValue: 'kendo.pager'
|
|
2435
|
-
}
|
|
2437
|
+
},
|
|
2438
|
+
provideComponentName('pager')
|
|
2436
2439
|
],
|
|
2437
2440
|
template: `
|
|
2438
2441
|
<ng-container kendoPagerLocalizedMessages
|
|
@@ -2645,10 +2648,10 @@ class PagerSpacerComponent {
|
|
|
2645
2648
|
* If you do not set this property, the `PagerSpacer` takes all the available space.
|
|
2646
2649
|
*/
|
|
2647
2650
|
width;
|
|
2648
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2649
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2651
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2652
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", 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 });
|
|
2650
2653
|
}
|
|
2651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerSpacerComponent, decorators: [{
|
|
2652
2655
|
type: Component,
|
|
2653
2656
|
args: [{
|
|
2654
2657
|
selector: 'kendo-pager-spacer',
|
|
@@ -2723,15 +2726,15 @@ const KENDO_PAGER = [
|
|
|
2723
2726
|
* ```
|
|
2724
2727
|
*/
|
|
2725
2728
|
class PagerModule {
|
|
2726
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2727
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
2728
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
2729
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2730
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: PagerModule, imports: [CustomMessagesComponent, PagerFocusableDirective, PagerInfoComponent, PagerInputComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PagerComponent, PagerSpacerComponent], exports: [CustomMessagesComponent, PagerFocusableDirective, PagerInfoComponent, PagerInputComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PagerComponent, PagerSpacerComponent] });
|
|
2731
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerModule, providers: [
|
|
2729
2732
|
IconsService,
|
|
2730
2733
|
PopupService,
|
|
2731
2734
|
ResizeBatchService
|
|
2732
2735
|
], imports: [PagerInputComponent, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerComponent] });
|
|
2733
2736
|
}
|
|
2734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PagerModule, decorators: [{
|
|
2735
2738
|
type: NgModule,
|
|
2736
2739
|
args: [{
|
|
2737
2740
|
exports: [...KENDO_PAGER],
|
package/index.d.ts
CHANGED
|
@@ -194,9 +194,9 @@ declare abstract class PagerElementComponent implements OnInit, OnDestroy {
|
|
|
194
194
|
total: number;
|
|
195
195
|
skip: number;
|
|
196
196
|
pageSize: number;
|
|
197
|
-
|
|
197
|
+
caretAltLeftIcon: SVGIcon;
|
|
198
198
|
caretAltToLeftIcon: SVGIcon;
|
|
199
|
-
|
|
199
|
+
caretAltRightIcon: SVGIcon;
|
|
200
200
|
caretAltToRightIcon: SVGIcon;
|
|
201
201
|
/**
|
|
202
202
|
* @hidden
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.
|
|
10
|
+
"publishDate": 1786626795,
|
|
11
|
+
"version": "25.1.0-develop.1",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-pager",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.1.0-develop.1",
|
|
4
4
|
"description": "Kendo UI Angular Pager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -26,13 +26,20 @@
|
|
|
26
26
|
"file": "codemods/v21/pager-adaptivemode.js",
|
|
27
27
|
"instructionsOnly": true
|
|
28
28
|
}
|
|
29
|
+
],
|
|
30
|
+
"25": [
|
|
31
|
+
{
|
|
32
|
+
"description": "The Pager has rendering changes that may affect custom styling.",
|
|
33
|
+
"file": "codemods/v25/pager-rendering-changes.js",
|
|
34
|
+
"instructionsOnly": true
|
|
35
|
+
}
|
|
29
36
|
]
|
|
30
37
|
}
|
|
31
38
|
},
|
|
32
39
|
"package": {
|
|
33
40
|
"productName": "Kendo UI for Angular",
|
|
34
41
|
"productCode": "KENDOUIANGULAR",
|
|
35
|
-
"publishDate":
|
|
42
|
+
"publishDate": 1786626795,
|
|
36
43
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
37
44
|
}
|
|
38
45
|
},
|
|
@@ -42,16 +49,16 @@
|
|
|
42
49
|
"@angular/core": "20 - 22",
|
|
43
50
|
"@angular/platform-browser": "20 - 22",
|
|
44
51
|
"@progress/kendo-licensing": "^1.11.0",
|
|
45
|
-
"@progress/kendo-angular-common": "25.
|
|
46
|
-
"@progress/kendo-angular-dropdowns": "25.
|
|
47
|
-
"@progress/kendo-angular-inputs": "25.
|
|
48
|
-
"@progress/kendo-angular-icons": "25.
|
|
49
|
-
"@progress/kendo-angular-l10n": "25.
|
|
52
|
+
"@progress/kendo-angular-common": "25.1.0-develop.1",
|
|
53
|
+
"@progress/kendo-angular-dropdowns": "25.1.0-develop.1",
|
|
54
|
+
"@progress/kendo-angular-inputs": "25.1.0-develop.1",
|
|
55
|
+
"@progress/kendo-angular-icons": "25.1.0-develop.1",
|
|
56
|
+
"@progress/kendo-angular-l10n": "25.1.0-develop.1",
|
|
50
57
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
51
58
|
},
|
|
52
59
|
"dependencies": {
|
|
53
60
|
"tslib": "^2.3.1",
|
|
54
|
-
"@progress/kendo-angular-schematics": "25.
|
|
61
|
+
"@progress/kendo-angular-schematics": "25.1.0-develop.1"
|
|
55
62
|
},
|
|
56
63
|
"schematics": "./schematics/collection.json",
|
|
57
64
|
"module": "fesm2022/progress-kendo-angular-pager.mjs",
|
|
@@ -9,14 +9,14 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'PagerModule', package: 'pager', peerDependencies: {
|
|
11
11
|
// Peers of inputs and dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '25.
|
|
13
|
-
'@progress/kendo-angular-intl': '25.
|
|
14
|
-
'@progress/kendo-angular-navigation': '25.
|
|
15
|
-
'@progress/kendo-angular-popup': '25.
|
|
12
|
+
'@progress/kendo-angular-treeview': '25.1.0-develop.1',
|
|
13
|
+
'@progress/kendo-angular-intl': '25.1.0-develop.1',
|
|
14
|
+
'@progress/kendo-angular-navigation': '25.1.0-develop.1',
|
|
15
|
+
'@progress/kendo-angular-popup': '25.1.0-develop.1',
|
|
16
16
|
'@progress/kendo-drawing': '^1.5.12',
|
|
17
17
|
// peer dependency of kendo-angular-inputs
|
|
18
|
-
'@progress/kendo-angular-buttons': '25.
|
|
19
|
-
'@progress/kendo-angular-dialog': '25.
|
|
18
|
+
'@progress/kendo-angular-buttons': '25.1.0-develop.1',
|
|
19
|
+
'@progress/kendo-angular-dialog': '25.1.0-develop.1',
|
|
20
20
|
// Peer dependency of icons
|
|
21
21
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
22
22
|
} });
|