@progress/kendo-angular-menu 24.0.0-develop.12 → 24.0.0-develop.14
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.
|
@@ -22,8 +22,8 @@ const packageMetadata = {
|
|
|
22
22
|
productName: 'Kendo UI for Angular',
|
|
23
23
|
productCode: 'KENDOUIANGULAR',
|
|
24
24
|
productCodes: ['KENDOUIANGULAR'],
|
|
25
|
-
publishDate:
|
|
26
|
-
version: '24.0.0-develop.
|
|
25
|
+
publishDate: 1777540575,
|
|
26
|
+
version: '24.0.0-develop.14',
|
|
27
27
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -1154,7 +1154,7 @@ const getSizeClass = (size) => {
|
|
|
1154
1154
|
'medium': 'k-menu-group-md',
|
|
1155
1155
|
'large': 'k-menu-group-lg'
|
|
1156
1156
|
};
|
|
1157
|
-
return SIZE_CLASSES[size];
|
|
1157
|
+
return SIZE_CLASSES[size] || '';
|
|
1158
1158
|
};
|
|
1159
1159
|
/**
|
|
1160
1160
|
* @hidden
|
|
@@ -1652,10 +1652,7 @@ class ItemComponent {
|
|
|
1652
1652
|
return this.item.disabled;
|
|
1653
1653
|
}
|
|
1654
1654
|
get hasPopup() {
|
|
1655
|
-
return this.hasContent ?
|
|
1656
|
-
}
|
|
1657
|
-
get label() {
|
|
1658
|
-
return this.item.text ? this.item.text : null;
|
|
1655
|
+
return this.hasContent ? 'menu' : null;
|
|
1659
1656
|
}
|
|
1660
1657
|
get defaultPopupSettings() {
|
|
1661
1658
|
const settings = this.rtl ? POPUP_SETTINGS_RTL : POPUP_SETTINGS;
|
|
@@ -1685,7 +1682,7 @@ class ItemComponent {
|
|
|
1685
1682
|
}
|
|
1686
1683
|
get menuListClasses() {
|
|
1687
1684
|
const sizeClass = getSizeClass(this.size);
|
|
1688
|
-
return
|
|
1685
|
+
return `k-menu-group ${sizeClass}`;
|
|
1689
1686
|
}
|
|
1690
1687
|
get children() {
|
|
1691
1688
|
const item = this.item;
|
|
@@ -1835,20 +1832,20 @@ class ItemComponent {
|
|
|
1835
1832
|
};
|
|
1836
1833
|
}
|
|
1837
1834
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ItemComponent, deps: [{ token: ItemsService }, { token: NavigationService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i5.PopupService }, { token: i0.ElementRef }, { token: ContextMenuService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1838
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ItemComponent, isStandalone: true, selector: "[kendoMenuItem]", inputs: { appendTo: "appendTo", item: "item", level: "level", index: "index", siblingIndex: "siblingIndex", animate: "animate", size: "size", vertical: "vertical", rtl: "rtl", openOnClick: "openOnClick", itemTemplate: "itemTemplate", itemLinkTemplate: "itemLinkTemplate", popupSettings: "popupSettings", trackBy: "trackBy" }, host: { properties: { "attr.aria-disabled": "this.disabled", "attr.aria-haspopup": "this.hasPopup"
|
|
1835
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ItemComponent, isStandalone: true, selector: "[kendoMenuItem]", inputs: { appendTo: "appendTo", item: "item", level: "level", index: "index", siblingIndex: "siblingIndex", animate: "animate", size: "size", vertical: "vertical", rtl: "rtl", openOnClick: "openOnClick", itemTemplate: "itemTemplate", itemLinkTemplate: "itemLinkTemplate", popupSettings: "popupSettings", trackBy: "trackBy" }, host: { properties: { "attr.aria-disabled": "this.disabled", "attr.aria-haspopup": "this.hasPopup" } }, providers: [PopupService, {
|
|
1839
1836
|
provide: POPUP_CONTAINER,
|
|
1840
1837
|
useFactory: bodyFactory
|
|
1841
1838
|
}], viewQueries: [{ propertyName: "link", first: true, predicate: ["link"], descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
1842
1839
|
@if (!hasLink && !item.content && !linkTemplate) {
|
|
1843
1840
|
<span class="k-link k-menu-link" #link
|
|
1844
|
-
[class.k-active]="opened" role="presentation">
|
|
1841
|
+
[class.k-active]="opened" [class.k-disabled]="item.disabled && (level > 0 || isContextMenu)" role="presentation">
|
|
1845
1842
|
<ng-template [ngTemplateOutlet]="itemcontent">
|
|
1846
1843
|
</ng-template>
|
|
1847
1844
|
</span>
|
|
1848
1845
|
}
|
|
1849
1846
|
@if (item.url && !linkTemplate) {
|
|
1850
1847
|
<a class="k-link k-menu-link" #link [attr.href]="item.url"
|
|
1851
|
-
[class.k-active]="opened" tabindex="-1" role="presentation">
|
|
1848
|
+
[class.k-active]="opened" [class.k-disabled]="item.disabled && (level > 0 || isContextMenu)" tabindex="-1" role="presentation">
|
|
1852
1849
|
<ng-template [ngTemplateOutlet]="itemcontent">
|
|
1853
1850
|
</ng-template>
|
|
1854
1851
|
</a>
|
|
@@ -1915,14 +1912,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1915
1912
|
template: `
|
|
1916
1913
|
@if (!hasLink && !item.content && !linkTemplate) {
|
|
1917
1914
|
<span class="k-link k-menu-link" #link
|
|
1918
|
-
[class.k-active]="opened" role="presentation">
|
|
1915
|
+
[class.k-active]="opened" [class.k-disabled]="item.disabled && (level > 0 || isContextMenu)" role="presentation">
|
|
1919
1916
|
<ng-template [ngTemplateOutlet]="itemcontent">
|
|
1920
1917
|
</ng-template>
|
|
1921
1918
|
</span>
|
|
1922
1919
|
}
|
|
1923
1920
|
@if (item.url && !linkTemplate) {
|
|
1924
1921
|
<a class="k-link k-menu-link" #link [attr.href]="item.url"
|
|
1925
|
-
[class.k-active]="opened" tabindex="-1" role="presentation">
|
|
1922
|
+
[class.k-active]="opened" [class.k-disabled]="item.disabled && (level > 0 || isContextMenu)" tabindex="-1" role="presentation">
|
|
1926
1923
|
<ng-template [ngTemplateOutlet]="itemcontent">
|
|
1927
1924
|
</ng-template>
|
|
1928
1925
|
</a>
|
|
@@ -2022,9 +2019,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2022
2019
|
}], hasPopup: [{
|
|
2023
2020
|
type: HostBinding,
|
|
2024
2021
|
args: ['attr.aria-haspopup']
|
|
2025
|
-
}], label: [{
|
|
2026
|
-
type: HostBinding,
|
|
2027
|
-
args: ['attr.aria-label']
|
|
2028
2022
|
}] } });
|
|
2029
2023
|
|
|
2030
2024
|
/**
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1777540575,
|
|
11
|
+
"version": "24.0.0-develop.14",
|
|
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-menu",
|
|
3
|
-
"version": "24.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.14",
|
|
4
4
|
"description": "Kendo UI Angular Menu component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1777540575,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"@angular/core": "19 - 21",
|
|
30
30
|
"@angular/platform-browser": "19 - 21",
|
|
31
31
|
"@progress/kendo-licensing": "^1.11.0",
|
|
32
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
33
|
-
"@progress/kendo-angular-l10n": "24.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-icons": "24.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-popup": "24.0.0-develop.
|
|
32
|
+
"@progress/kendo-angular-common": "24.0.0-develop.14",
|
|
33
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.14",
|
|
34
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.14",
|
|
35
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.14",
|
|
36
36
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"tslib": "^2.3.1",
|
|
40
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
40
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.14"
|
|
41
41
|
},
|
|
42
42
|
"schematics": "./schematics/collection.json",
|
|
43
43
|
"module": "fesm2022/progress-kendo-angular-menu.mjs",
|
|
@@ -81,8 +81,7 @@ export declare class ItemComponent implements OnInit, OnChanges, AfterViewInit,
|
|
|
81
81
|
link: ElementRef;
|
|
82
82
|
popupTemplate: TemplateRef<any>;
|
|
83
83
|
get disabled(): boolean;
|
|
84
|
-
get hasPopup():
|
|
85
|
-
get label(): boolean;
|
|
84
|
+
get hasPopup(): string;
|
|
86
85
|
get defaultPopupSettings(): any;
|
|
87
86
|
get horizontal(): boolean;
|
|
88
87
|
get hasLink(): boolean;
|