@progress/kendo-angular-pager 23.4.0-develop.1 → 23.4.0-develop.3
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.
|
@@ -0,0 +1,46 @@
|
|
|
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 utils_1 = require("../utils");
|
|
10
|
+
const pagerPattern = /<kendo-pager[\s>]/;
|
|
11
|
+
function default_1(fileInfo, api) {
|
|
12
|
+
const filePath = fileInfo.path;
|
|
13
|
+
if (!(0, utils_1.isApiChangeTarget)(filePath)) {
|
|
14
|
+
return fileInfo.source;
|
|
15
|
+
}
|
|
16
|
+
if (filePath.endsWith('.html')) {
|
|
17
|
+
if (pagerPattern.test(fileInfo.source)) {
|
|
18
|
+
(0, utils_1.writeInstructionMarker)(exports.aiInstructions, __filename, fileInfo.path);
|
|
19
|
+
}
|
|
20
|
+
return fileInfo.source;
|
|
21
|
+
}
|
|
22
|
+
let patternDetected = false;
|
|
23
|
+
(0, utils_1.htmlTransformer)(fileInfo, api, (templateContent) => {
|
|
24
|
+
if (pagerPattern.test(templateContent)) {
|
|
25
|
+
patternDetected = true;
|
|
26
|
+
}
|
|
27
|
+
return templateContent;
|
|
28
|
+
});
|
|
29
|
+
const j = api.jscodeshift;
|
|
30
|
+
const rootSource = j(fileInfo.source);
|
|
31
|
+
const hasPagerImport = (0, utils_1.isImportedFromPackage)(rootSource, j, '@progress/kendo-angular-pager', 'PagerComponent');
|
|
32
|
+
if (patternDetected || hasPagerImport) {
|
|
33
|
+
(0, utils_1.writeInstructionMarker)(exports.aiInstructions, __filename, fileInfo.path);
|
|
34
|
+
}
|
|
35
|
+
return fileInfo.source;
|
|
36
|
+
}
|
|
37
|
+
exports.aiInstructions = `The Pager component's adaptiveMode property now defaults to 'none' in v21.
|
|
38
|
+
If you relied on the automatic adaptive behavior, explicitly set adaptiveMode to your desired value:
|
|
39
|
+
|
|
40
|
+
Before (implicit adaptive behavior):
|
|
41
|
+
<kendo-pager [total]="total" [pageSize]="pageSize"></kendo-pager>
|
|
42
|
+
|
|
43
|
+
After (restore adaptive behavior):
|
|
44
|
+
<kendo-pager [total]="total" [pageSize]="pageSize" adaptiveMode="auto"></kendo-pager>
|
|
45
|
+
|
|
46
|
+
Alternatively, if you intentionally want no adaptive mode, no changes are needed.`;
|
|
@@ -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: '23.4.0-develop.
|
|
1522
|
+
publishDate: 1776175491,
|
|
1523
|
+
version: '23.4.0-develop.3',
|
|
1524
1524
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
1525
1525
|
};
|
|
1526
1526
|
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "23.4.0-develop.
|
|
10
|
+
"publishDate": 1776175491,
|
|
11
|
+
"version": "23.4.0-develop.3",
|
|
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": "23.4.0-develop.
|
|
3
|
+
"version": "23.4.0-develop.3",
|
|
4
4
|
"description": "Kendo UI Angular Pager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -14,10 +14,25 @@
|
|
|
14
14
|
],
|
|
15
15
|
"@progress": {
|
|
16
16
|
"friendlyName": "Pager",
|
|
17
|
+
"migrations": {
|
|
18
|
+
"options": {
|
|
19
|
+
"parser": "tsx",
|
|
20
|
+
"pattern": "*.{ts,html,css,scss,sass,less}"
|
|
21
|
+
},
|
|
22
|
+
"codemods": {
|
|
23
|
+
"21": [
|
|
24
|
+
{
|
|
25
|
+
"description": "The Pager's adaptiveMode property now defaults to 'none'.",
|
|
26
|
+
"file": "codemods/v21/pager-adaptivemode.js",
|
|
27
|
+
"instructionsOnly": true
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
},
|
|
17
32
|
"package": {
|
|
18
33
|
"productName": "Kendo UI for Angular",
|
|
19
34
|
"productCode": "KENDOUIANGULAR",
|
|
20
|
-
"publishDate":
|
|
35
|
+
"publishDate": 1776175491,
|
|
21
36
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
22
37
|
}
|
|
23
38
|
},
|
|
@@ -27,16 +42,16 @@
|
|
|
27
42
|
"@angular/core": "19 - 21",
|
|
28
43
|
"@angular/platform-browser": "19 - 21",
|
|
29
44
|
"@progress/kendo-licensing": "^1.10.0",
|
|
30
|
-
"@progress/kendo-angular-common": "23.4.0-develop.
|
|
31
|
-
"@progress/kendo-angular-dropdowns": "23.4.0-develop.
|
|
32
|
-
"@progress/kendo-angular-inputs": "23.4.0-develop.
|
|
33
|
-
"@progress/kendo-angular-icons": "23.4.0-develop.
|
|
34
|
-
"@progress/kendo-angular-l10n": "23.4.0-develop.
|
|
45
|
+
"@progress/kendo-angular-common": "23.4.0-develop.3",
|
|
46
|
+
"@progress/kendo-angular-dropdowns": "23.4.0-develop.3",
|
|
47
|
+
"@progress/kendo-angular-inputs": "23.4.0-develop.3",
|
|
48
|
+
"@progress/kendo-angular-icons": "23.4.0-develop.3",
|
|
49
|
+
"@progress/kendo-angular-l10n": "23.4.0-develop.3",
|
|
35
50
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
36
51
|
},
|
|
37
52
|
"dependencies": {
|
|
38
53
|
"tslib": "^2.3.1",
|
|
39
|
-
"@progress/kendo-angular-schematics": "23.4.0-develop.
|
|
54
|
+
"@progress/kendo-angular-schematics": "23.4.0-develop.3"
|
|
40
55
|
},
|
|
41
56
|
"schematics": "./schematics/collection.json",
|
|
42
57
|
"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': '23.4.0-develop.
|
|
13
|
-
'@progress/kendo-angular-intl': '23.4.0-develop.
|
|
14
|
-
'@progress/kendo-angular-navigation': '23.4.0-develop.
|
|
15
|
-
'@progress/kendo-angular-popup': '23.4.0-develop.
|
|
12
|
+
'@progress/kendo-angular-treeview': '23.4.0-develop.3',
|
|
13
|
+
'@progress/kendo-angular-intl': '23.4.0-develop.3',
|
|
14
|
+
'@progress/kendo-angular-navigation': '23.4.0-develop.3',
|
|
15
|
+
'@progress/kendo-angular-popup': '23.4.0-develop.3',
|
|
16
16
|
'@progress/kendo-drawing': '^1.5.12',
|
|
17
17
|
// peer dependency of kendo-angular-inputs
|
|
18
|
-
'@progress/kendo-angular-buttons': '23.4.0-develop.
|
|
19
|
-
'@progress/kendo-angular-dialog': '23.4.0-develop.
|
|
18
|
+
'@progress/kendo-angular-buttons': '23.4.0-develop.3',
|
|
19
|
+
'@progress/kendo-angular-dialog': '23.4.0-develop.3',
|
|
20
20
|
// Peer dependency of icons
|
|
21
21
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
22
22
|
} });
|