@progress/kendo-angular-pdfviewer 25.0.0-develop.26 → 25.0.0-develop.27
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.
|
@@ -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
|
+
}
|
|
@@ -364,8 +364,8 @@ const packageMetadata = {
|
|
|
364
364
|
productName: 'Kendo UI for Angular',
|
|
365
365
|
productCode: 'KENDOUIANGULAR',
|
|
366
366
|
productCodes: ['KENDOUIANGULAR'],
|
|
367
|
-
publishDate:
|
|
368
|
-
version: '25.0.0-develop.
|
|
367
|
+
publishDate: 1786387602,
|
|
368
|
+
version: '25.0.0-develop.27',
|
|
369
369
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning',
|
|
370
370
|
};
|
|
371
371
|
|
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.0.0-develop.
|
|
10
|
+
"publishDate": 1786387602,
|
|
11
|
+
"version": "25.0.0-develop.27",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-pdfviewer",
|
|
3
|
-
"version": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.27",
|
|
4
4
|
"description": "Kendo UI PDFViewer for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"package": {
|
|
35
35
|
"productName": "Kendo UI for Angular",
|
|
36
36
|
"productCode": "KENDOUIANGULAR",
|
|
37
|
-
"publishDate":
|
|
37
|
+
"publishDate": 1786387602,
|
|
38
38
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
@@ -44,23 +44,23 @@
|
|
|
44
44
|
"@angular/core": "20 - 22",
|
|
45
45
|
"@angular/platform-browser": "20 - 22",
|
|
46
46
|
"@progress/kendo-licensing": "^1.11.0",
|
|
47
|
-
"@progress/kendo-angular-buttons": "25.0.0-develop.
|
|
48
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
49
|
-
"@progress/kendo-angular-dialog": "25.0.0-develop.
|
|
50
|
-
"@progress/kendo-angular-dropdowns": "25.0.0-develop.
|
|
51
|
-
"@progress/kendo-angular-inputs": "25.0.0-develop.
|
|
52
|
-
"@progress/kendo-angular-intl": "25.0.0-develop.
|
|
53
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
54
|
-
"@progress/kendo-angular-icons": "25.0.0-develop.
|
|
55
|
-
"@progress/kendo-angular-indicators": "25.0.0-develop.
|
|
56
|
-
"@progress/kendo-angular-pager": "25.0.0-develop.
|
|
57
|
-
"@progress/kendo-angular-popup": "25.0.0-develop.
|
|
58
|
-
"@progress/kendo-angular-upload": "25.0.0-develop.
|
|
47
|
+
"@progress/kendo-angular-buttons": "25.0.0-develop.27",
|
|
48
|
+
"@progress/kendo-angular-common": "25.0.0-develop.27",
|
|
49
|
+
"@progress/kendo-angular-dialog": "25.0.0-develop.27",
|
|
50
|
+
"@progress/kendo-angular-dropdowns": "25.0.0-develop.27",
|
|
51
|
+
"@progress/kendo-angular-inputs": "25.0.0-develop.27",
|
|
52
|
+
"@progress/kendo-angular-intl": "25.0.0-develop.27",
|
|
53
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.27",
|
|
54
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.27",
|
|
55
|
+
"@progress/kendo-angular-indicators": "25.0.0-develop.27",
|
|
56
|
+
"@progress/kendo-angular-pager": "25.0.0-develop.27",
|
|
57
|
+
"@progress/kendo-angular-popup": "25.0.0-develop.27",
|
|
58
|
+
"@progress/kendo-angular-upload": "25.0.0-develop.27",
|
|
59
59
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"tslib": "^2.3.1",
|
|
63
|
-
"@progress/kendo-angular-schematics": "25.0.0-develop.
|
|
63
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.27",
|
|
64
64
|
"@progress/kendo-file-saver": "^1.0.1",
|
|
65
65
|
"@progress/kendo-pdfviewer-common": "1.0.0"
|
|
66
66
|
},
|
|
@@ -9,8 +9,8 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'PDFViewerModule', package: 'pdfviewer', peerDependencies: {
|
|
11
11
|
// peers of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-navigation': '25.0.0-develop.
|
|
13
|
-
'@progress/kendo-angular-treeview': '25.0.0-develop.
|
|
12
|
+
'@progress/kendo-angular-navigation': '25.0.0-develop.27',
|
|
13
|
+
'@progress/kendo-angular-treeview': '25.0.0-develop.27'
|
|
14
14
|
} });
|
|
15
15
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
16
16
|
}
|