@progress/kendo-angular-navigation 25.4.0-develop.3 → 25.4.0-develop.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codemods/libs/common/src/codemods/utils.js +16 -1
- package/fesm2022/progress-kendo-angular-navigation.mjs +17 -7
- package/package-metadata.mjs +2 -2
- package/package.json +8 -8
- package/EULA.pdf +0 -0
- package/EULA.rtf +0 -2730
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
"use strict";
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.tsInterfaceTransformer = exports.tsPropertyValueTransformer = exports.tsPropertyTransformer = exports.tsComponentPropertyRemoval = exports.attributeConditionalRemoval = exports.attributeRemoval = exports.attributeValueUpdate = exports.attributeNameValueUpdate = exports.attributeNameUpdate = exports.eventUpdate = exports.htmlTransformer = exports.blockTextElements = void 0;
|
|
7
|
+
exports.tsInterfaceTransformer = exports.tsPropertyValueTransformer = exports.tsPropertyTransformer = exports.tsComponentPropertyRemoval = exports.valuelessAttributeRemoval = exports.attributeConditionalRemoval = exports.attributeRemoval = exports.attributeValueUpdate = exports.attributeNameValueUpdate = exports.attributeNameUpdate = exports.eventUpdate = exports.htmlTransformer = exports.blockTextElements = void 0;
|
|
8
8
|
exports.hasKendoInTemplate = hasKendoInTemplate;
|
|
9
9
|
exports.isImportedFromPackage = isImportedFromPackage;
|
|
10
10
|
exports.tsPropertyRemoval = tsPropertyRemoval;
|
|
@@ -374,6 +374,21 @@ const attributeConditionalRemoval = (templateContent, tagName, attributeName, va
|
|
|
374
374
|
return result;
|
|
375
375
|
};
|
|
376
376
|
exports.attributeConditionalRemoval = attributeConditionalRemoval;
|
|
377
|
+
/**
|
|
378
|
+
* Removes an attribute from a tag regardless of whether it has a value.
|
|
379
|
+
* Handles valueless directive selectors (`<ng-template kendoDirective>`) and static values (`attr="value"`).
|
|
380
|
+
*
|
|
381
|
+
* @param templateContent - The template string content to transform
|
|
382
|
+
* @param tagName - The HTML tag name to target (e.g., 'ng-template')
|
|
383
|
+
* @param attributeName - The attribute name to remove
|
|
384
|
+
* @returns The transformed template content
|
|
385
|
+
*/
|
|
386
|
+
const valuelessAttributeRemoval = (templateContent, tagName, attributeName) => {
|
|
387
|
+
const escapeRegex = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
388
|
+
const pattern = new RegExp(`(<${escapeRegex(tagName)}\\b(?:[^>"']|"[^"]*"|'[^']*')*?)\\s+${escapeRegex(attributeName)}(?:\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]+))?(?=\\s|\\/?>)`, 'gi');
|
|
389
|
+
return templateContent.replace(pattern, '$1');
|
|
390
|
+
};
|
|
391
|
+
exports.valuelessAttributeRemoval = valuelessAttributeRemoval;
|
|
377
392
|
function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propertyName) {
|
|
378
393
|
if (source.includes(typeName)) {
|
|
379
394
|
if (!isImportedFromPackage(rootSource, j, packageName, typeName)) {
|
|
@@ -25,8 +25,8 @@ const packageMetadata = {
|
|
|
25
25
|
productName: 'Kendo UI for Angular',
|
|
26
26
|
productCode: 'KENDOUIANGULAR',
|
|
27
27
|
productCodes: ['KENDOUIANGULAR'],
|
|
28
|
-
publishDate:
|
|
29
|
-
version: '25.4.0-develop.
|
|
28
|
+
publishDate: 1793955653,
|
|
29
|
+
version: '25.4.0-develop.31',
|
|
30
30
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -1373,7 +1373,7 @@ class ActionSheetComponent {
|
|
|
1373
1373
|
</div>
|
|
1374
1374
|
</div>
|
|
1375
1375
|
}
|
|
1376
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ActionSheetListComponent, selector: "[kendoActionSheetList]", inputs: ["groupItems", "allItems", "itemTemplate"], outputs: ["itemClick"] }, { kind: "component", type: ButtonDirective, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "
|
|
1376
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ActionSheetListComponent, selector: "[kendoActionSheetList]", inputs: ["groupItems", "allItems", "itemTemplate"], outputs: ["itemClick"] }, { kind: "component", type: ButtonDirective, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1377
1377
|
}
|
|
1378
1378
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: ActionSheetComponent, decorators: [{
|
|
1379
1379
|
type: Component,
|
|
@@ -3357,10 +3357,20 @@ const KENDO_BREADCRUMB = [
|
|
|
3357
3357
|
* ```
|
|
3358
3358
|
*/
|
|
3359
3359
|
const KENDO_NAVIGATION = [
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3360
|
+
ActionSheetComponent,
|
|
3361
|
+
ActionSheetViewComponent,
|
|
3362
|
+
ActionSheetHeaderTemplateDirective,
|
|
3363
|
+
ActionSheetItemTemplateDirective,
|
|
3364
|
+
ActionSheetContentTemplateDirective,
|
|
3365
|
+
ActionSheetFooterTemplateDirective,
|
|
3366
|
+
ActionSheetTemplateDirective,
|
|
3367
|
+
AppBarComponent,
|
|
3368
|
+
AppBarSectionComponent,
|
|
3369
|
+
AppBarSpacerComponent,
|
|
3370
|
+
BottomNavigationComponent,
|
|
3371
|
+
BottomNavigationItemTemplateDirective,
|
|
3372
|
+
BreadCrumbComponent,
|
|
3373
|
+
BreadCrumbItemTemplateDirective
|
|
3364
3374
|
];
|
|
3365
3375
|
|
|
3366
3376
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
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.4.0-develop.
|
|
10
|
+
"publishDate": 1793955653,
|
|
11
|
+
"version": "25.4.0-develop.31",
|
|
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-navigation",
|
|
3
|
-
"version": "25.4.0-develop.
|
|
3
|
+
"version": "25.4.0-develop.31",
|
|
4
4
|
"description": "Kendo UI Navigation for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"package": {
|
|
36
36
|
"productName": "Kendo UI for Angular",
|
|
37
37
|
"productCode": "KENDOUIANGULAR",
|
|
38
|
-
"publishDate":
|
|
38
|
+
"publishDate": 1793955653,
|
|
39
39
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
40
40
|
}
|
|
41
41
|
},
|
|
@@ -44,16 +44,16 @@
|
|
|
44
44
|
"@angular/common": "20 - 22",
|
|
45
45
|
"@angular/core": "20 - 22",
|
|
46
46
|
"@angular/platform-browser": "20 - 22",
|
|
47
|
-
"@progress/kendo-licensing": "^1.
|
|
48
|
-
"@progress/kendo-angular-buttons": "25.4.0-develop.
|
|
49
|
-
"@progress/kendo-angular-common": "25.4.0-develop.
|
|
50
|
-
"@progress/kendo-angular-icons": "25.4.0-develop.
|
|
51
|
-
"@progress/kendo-angular-l10n": "25.4.0-develop.
|
|
47
|
+
"@progress/kendo-licensing": "^1.13.0",
|
|
48
|
+
"@progress/kendo-angular-buttons": "25.4.0-develop.31",
|
|
49
|
+
"@progress/kendo-angular-common": "25.4.0-develop.31",
|
|
50
|
+
"@progress/kendo-angular-icons": "25.4.0-develop.31",
|
|
51
|
+
"@progress/kendo-angular-l10n": "25.4.0-develop.31",
|
|
52
52
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
|
-
"@progress/kendo-angular-schematics": "25.4.0-develop.
|
|
56
|
+
"@progress/kendo-angular-schematics": "25.4.0-develop.31"
|
|
57
57
|
},
|
|
58
58
|
"schematics": "./schematics/collection.json",
|
|
59
59
|
"module": "fesm2022/progress-kendo-angular-navigation.mjs",
|
package/EULA.pdf
DELETED
|
Binary file
|