@progress/kendo-angular-menu 11.0.0-develop.99 → 11.0.0
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 +17 -17
- package/esm2020/menu-item.component.mjs +3 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/rendering/list.component.mjs +2 -2
- package/fesm2015/progress-kendo-angular-menu.mjs +7 -5
- package/fesm2020/progress-kendo-angular-menu.mjs +7 -5
- package/menu-item.component.d.ts +3 -1
- package/menu-item.interface.d.ts +6 -0
- package/package.json +7 -7
- package/schematics/ngAdd/index.js +1 -1
package/NOTICE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Progress Kendo UI for Angular 2023
|
|
2
2
|
|
|
3
|
-
Copyright
|
|
3
|
+
Copyright © 2016-2023 Progress Software Corporation and/or one of its
|
|
4
4
|
subsidiaries or affiliates. All rights reserved.
|
|
5
5
|
|
|
6
6
|
Portions of the Product include certain open source and commercial third-party
|
|
@@ -65,7 +65,7 @@ the Product:
|
|
|
65
65
|
|
|
66
66
|
(1) The Apache Software License, Version 2.0:
|
|
67
67
|
|
|
68
|
-
Progress Kendo UI for Angular
|
|
68
|
+
Progress Kendo UI for Angular 2023 incorporates TsLib v1.9.3. Such technology
|
|
69
69
|
is subject to the following terms and conditions: Apache Software License Version 2.0.
|
|
70
70
|
|
|
71
71
|
Apache License
|
|
@@ -290,7 +290,7 @@ is subject to the following terms and conditions: Apache Software License Versio
|
|
|
290
290
|
|
|
291
291
|
(2) BSD-Style Licenses:
|
|
292
292
|
|
|
293
|
-
(a) Progress Kendo UI for Angular
|
|
293
|
+
(a) Progress Kendo UI for Angular 2023 incorporates xlf-translate v2.0.4. Such
|
|
294
294
|
technology is subject to the following terms and conditions:
|
|
295
295
|
|
|
296
296
|
BSD 3-Clause License
|
|
@@ -325,7 +325,7 @@ technology is subject to the following terms and conditions:
|
|
|
325
325
|
|
|
326
326
|
(3) The ISC License:
|
|
327
327
|
|
|
328
|
-
(a) Progress Kendo UI for Angular
|
|
328
|
+
(a) Progress Kendo UI for Angular 2023 incorporates glob v7.1.3. Such technology
|
|
329
329
|
is subject to the following terms and conditions:
|
|
330
330
|
|
|
331
331
|
The ISC License
|
|
@@ -352,7 +352,7 @@ is subject to the following terms and conditions:
|
|
|
352
352
|
|
|
353
353
|
(4) MIT-Style Licenses:
|
|
354
354
|
|
|
355
|
-
(a) Progress Kendo UI for Angular
|
|
355
|
+
(a) Progress Kendo UI for Angular 2023 incorporates HammerJS v2.0.8. Such
|
|
356
356
|
technology is subject to the following terms and conditions:
|
|
357
357
|
|
|
358
358
|
The MIT License (MIT)
|
|
@@ -377,7 +377,7 @@ technology is subject to the following terms and conditions:
|
|
|
377
377
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
378
378
|
SOFTWARE.
|
|
379
379
|
|
|
380
|
-
(b) Progress Kendo UI for Angular
|
|
380
|
+
(b) Progress Kendo UI for Angular 2023 incorporates prosemirror-commands v1*,
|
|
381
381
|
prosemirror-cursor v1*, prosemirror-gapcursor v1*, prosemirror-history v1*,
|
|
382
382
|
prosemirror-inputrules v1*, prosemirror-keymap v1*, prosemirror-model v1*,
|
|
383
383
|
prosemirror-schema-list v1*, prosemirror-state v1*, prosemirror-tables v0.7*,
|
|
@@ -404,7 +404,7 @@ subject to the following terms and conditions:
|
|
|
404
404
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
405
405
|
THE SOFTWARE.
|
|
406
406
|
|
|
407
|
-
(c) Progress Kendo UI for Angular
|
|
407
|
+
(c) Progress Kendo UI for Angular 2023 incorporates cheerio v0.2.2. Such technology is subject to the following terms and conditions:
|
|
408
408
|
|
|
409
409
|
MIT License
|
|
410
410
|
|
|
@@ -428,7 +428,7 @@ subject to the following terms and conditions:
|
|
|
428
428
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
429
429
|
SOFTWARE.
|
|
430
430
|
|
|
431
|
-
(d) Progress Kendo UI for Angular
|
|
431
|
+
(d) Progress Kendo UI for Angular 2023 incorporates @types/prosemirror-commands v1*,
|
|
432
432
|
@types/prosemirror-dropcursor v1*, @types/prosemirror-gapcursor v1*, @types/prosemirror-history v1*,
|
|
433
433
|
@types/prosemirror-inputrules v1*, @types/prosemirror-keymap v1*, @types/prosemirror-model v1*,
|
|
434
434
|
@types/prosemirror-schema-list v1*, @types/prosemirror-state v1*, @types/prosemirror-tables v0.9*,
|
|
@@ -457,7 +457,7 @@ subject to the following terms and conditions:
|
|
|
457
457
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
458
458
|
SOFTWARE.
|
|
459
459
|
|
|
460
|
-
(e) Progress Kendo UI for Angular
|
|
460
|
+
(e) Progress Kendo UI for Angular 2023 incorporates pako-esm v1.0.0. Such
|
|
461
461
|
technology is subject to the following terms and conditions:
|
|
462
462
|
|
|
463
463
|
Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries
|
|
@@ -483,7 +483,7 @@ technology is subject to the following terms and conditions:
|
|
|
483
483
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
484
484
|
THE SOFTWARE.
|
|
485
485
|
|
|
486
|
-
(f) Progress Kendo UI for Angular
|
|
486
|
+
(f) Progress Kendo UI for Angular 2023 incorporates jszip-esm v1.0.0. Such
|
|
487
487
|
technology is subject to the following terms and conditions:
|
|
488
488
|
|
|
489
489
|
Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries
|
|
@@ -510,7 +510,7 @@ technology is subject to the following terms and conditions:
|
|
|
510
510
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
511
511
|
THE SOFTWARE.
|
|
512
512
|
|
|
513
|
-
(g) Progress Kendo UI for Angular
|
|
513
|
+
(g) Progress Kendo UI for Angular 2023 incorporates data.task v3.1.2. Such
|
|
514
514
|
technology is subject to the following terms and conditions:
|
|
515
515
|
|
|
516
516
|
The MIT License
|
|
@@ -535,7 +535,7 @@ technology is subject to the following terms and conditions:
|
|
|
535
535
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
536
536
|
THE SOFTWARE.
|
|
537
537
|
|
|
538
|
-
(h) Progress Kendo UI for Angular
|
|
538
|
+
(h) Progress Kendo UI for Angular 2023 incorporates ramda v0.23. Such technology
|
|
539
539
|
is subject to the following terms and conditions:
|
|
540
540
|
|
|
541
541
|
The MIT License (MIT)
|
|
@@ -560,7 +560,7 @@ is subject to the following terms and conditions:
|
|
|
560
560
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
561
561
|
THE SOFTWARE.
|
|
562
562
|
|
|
563
|
-
(i) Progress Kendo UI for Angular
|
|
563
|
+
(i) Progress Kendo UI for Angular 2023 incorporates js-yaml v3.14.0. Such
|
|
564
564
|
technology is subject to the following terms and conditions:
|
|
565
565
|
|
|
566
566
|
(The MIT License)
|
|
@@ -587,7 +587,7 @@ technology is subject to the following terms and conditions:
|
|
|
587
587
|
|
|
588
588
|
(5) UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE:
|
|
589
589
|
|
|
590
|
-
Progress Kendo UI for Angular
|
|
590
|
+
Progress Kendo UI for Angular 2023 incorporates Unicode CLDR Database v33.
|
|
591
591
|
Such technology is subject to the following terms and conditions:
|
|
592
592
|
|
|
593
593
|
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
|
|
@@ -605,7 +605,7 @@ Such technology is subject to the following terms and conditions:
|
|
|
605
605
|
|
|
606
606
|
COPYRIGHT AND PERMISSION NOTICE
|
|
607
607
|
|
|
608
|
-
Copyright © 1991-
|
|
608
|
+
Copyright © 1991-2019 Unicode, Inc. All rights reserved.
|
|
609
609
|
Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
|
|
610
610
|
|
|
611
611
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
@@ -642,7 +642,7 @@ incorporated into the Product: NONE
|
|
|
642
642
|
|
|
643
643
|
3. Special Notices Regarding Progress Products incorporated into the Product:
|
|
644
644
|
|
|
645
|
-
(a) Progress Kendo UI for Angular
|
|
645
|
+
(a) Progress Kendo UI for Angular 2023 incorporates Kendo UI Licensing CLI v1.1
|
|
646
646
|
from Progress Software Corporation. See NOTICE.txt text file within product for
|
|
647
647
|
third-party license information.
|
|
648
648
|
|
|
@@ -651,4 +651,4 @@ the release notes or other documentation that accompanies updates received in
|
|
|
651
651
|
connection with support of the Product.
|
|
652
652
|
|
|
653
653
|
|
|
654
|
-
Updated
|
|
654
|
+
Updated 13.Jan.2023
|
|
@@ -87,7 +87,7 @@ export class MenuItemComponent {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
MenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
90
|
-
MenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MenuItemComponent, selector: "kendo-menu-item", inputs: { text: "text", url: "url", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", icon: "icon", data: "data", separator: "separator" }, queries: [{ propertyName: "itemTemplate", predicate: ItemTemplateDirective }, { propertyName: "itemLinkTemplate", predicate: ItemLinkTemplateDirective }, { propertyName: "itemContentTemplate", predicate: ItemContentTemplateDirective }, { propertyName: "children", predicate: MenuItemComponent }], ngImport: i0, template: ``, isInline: true });
|
|
90
|
+
MenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MenuItemComponent, selector: "kendo-menu-item", inputs: { text: "text", url: "url", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", icon: "icon", svgIcon: "svgIcon", data: "data", separator: "separator" }, queries: [{ propertyName: "itemTemplate", predicate: ItemTemplateDirective }, { propertyName: "itemLinkTemplate", predicate: ItemLinkTemplateDirective }, { propertyName: "itemContentTemplate", predicate: ItemContentTemplateDirective }, { propertyName: "children", predicate: MenuItemComponent }], ngImport: i0, template: ``, isInline: true });
|
|
91
91
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuItemComponent, decorators: [{
|
|
92
92
|
type: Component,
|
|
93
93
|
args: [{
|
|
@@ -106,6 +106,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
106
106
|
type: Input
|
|
107
107
|
}], icon: [{
|
|
108
108
|
type: Input
|
|
109
|
+
}], svgIcon: [{
|
|
110
|
+
type: Input
|
|
109
111
|
}], data: [{
|
|
110
112
|
type: Input
|
|
111
113
|
}], separator: [{
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-menu',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '',
|
|
12
|
+
publishDate: 1674032275,
|
|
13
|
+
version: '11.0.0',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -455,7 +455,7 @@ ItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
455
455
|
</ng-template>
|
|
456
456
|
|
|
457
457
|
<ng-template #itemcontent>
|
|
458
|
-
<
|
|
458
|
+
<kendo-icon-wrapper *ngIf="item.icon || item.svgIcon" [name]="item.icon" [svgIcon]="item.svgIcon" role="presentation"></kendo-icon-wrapper>
|
|
459
459
|
<ng-container *ngIf="!template">
|
|
460
460
|
<span class="k-menu-link-text">{{ item.text }}</span>
|
|
461
461
|
</ng-container>
|
|
@@ -511,7 +511,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
511
511
|
</ng-template>
|
|
512
512
|
|
|
513
513
|
<ng-template #itemcontent>
|
|
514
|
-
<
|
|
514
|
+
<kendo-icon-wrapper *ngIf="item.icon || item.svgIcon" [name]="item.icon" [svgIcon]="item.svgIcon" role="presentation"></kendo-icon-wrapper>
|
|
515
515
|
<ng-container *ngIf="!template">
|
|
516
516
|
<span class="k-menu-link-text">{{ item.text }}</span>
|
|
517
517
|
</ng-container>
|
|
@@ -23,8 +23,8 @@ const packageMetadata = {
|
|
|
23
23
|
name: '@progress/kendo-angular-menu',
|
|
24
24
|
productName: 'Kendo UI for Angular',
|
|
25
25
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
26
|
-
publishDate:
|
|
27
|
-
version: '',
|
|
26
|
+
publishDate: 1674032275,
|
|
27
|
+
version: '11.0.0',
|
|
28
28
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -1024,7 +1024,7 @@ class MenuItemComponent {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
1026
|
MenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1027
|
-
MenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MenuItemComponent, selector: "kendo-menu-item", inputs: { text: "text", url: "url", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", icon: "icon", data: "data", separator: "separator" }, queries: [{ propertyName: "itemTemplate", predicate: ItemTemplateDirective }, { propertyName: "itemLinkTemplate", predicate: ItemLinkTemplateDirective }, { propertyName: "itemContentTemplate", predicate: ItemContentTemplateDirective }, { propertyName: "children", predicate: MenuItemComponent }], ngImport: i0, template: ``, isInline: true });
|
|
1027
|
+
MenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MenuItemComponent, selector: "kendo-menu-item", inputs: { text: "text", url: "url", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", icon: "icon", svgIcon: "svgIcon", data: "data", separator: "separator" }, queries: [{ propertyName: "itemTemplate", predicate: ItemTemplateDirective }, { propertyName: "itemLinkTemplate", predicate: ItemLinkTemplateDirective }, { propertyName: "itemContentTemplate", predicate: ItemContentTemplateDirective }, { propertyName: "children", predicate: MenuItemComponent }], ngImport: i0, template: ``, isInline: true });
|
|
1028
1028
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuItemComponent, decorators: [{
|
|
1029
1029
|
type: Component,
|
|
1030
1030
|
args: [{
|
|
@@ -1043,6 +1043,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1043
1043
|
type: Input
|
|
1044
1044
|
}], icon: [{
|
|
1045
1045
|
type: Input
|
|
1046
|
+
}], svgIcon: [{
|
|
1047
|
+
type: Input
|
|
1046
1048
|
}], data: [{
|
|
1047
1049
|
type: Input
|
|
1048
1050
|
}], separator: [{
|
|
@@ -1698,7 +1700,7 @@ ItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
1698
1700
|
</ng-template>
|
|
1699
1701
|
|
|
1700
1702
|
<ng-template #itemcontent>
|
|
1701
|
-
<
|
|
1703
|
+
<kendo-icon-wrapper *ngIf="item.icon || item.svgIcon" [name]="item.icon" [svgIcon]="item.svgIcon" role="presentation"></kendo-icon-wrapper>
|
|
1702
1704
|
<ng-container *ngIf="!template">
|
|
1703
1705
|
<span class="k-menu-link-text">{{ item.text }}</span>
|
|
1704
1706
|
</ng-container>
|
|
@@ -1754,7 +1756,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1754
1756
|
</ng-template>
|
|
1755
1757
|
|
|
1756
1758
|
<ng-template #itemcontent>
|
|
1757
|
-
<
|
|
1759
|
+
<kendo-icon-wrapper *ngIf="item.icon || item.svgIcon" [name]="item.icon" [svgIcon]="item.svgIcon" role="presentation"></kendo-icon-wrapper>
|
|
1758
1760
|
<ng-container *ngIf="!template">
|
|
1759
1761
|
<span class="k-menu-link-text">{{ item.text }}</span>
|
|
1760
1762
|
</ng-container>
|
|
@@ -23,8 +23,8 @@ const packageMetadata = {
|
|
|
23
23
|
name: '@progress/kendo-angular-menu',
|
|
24
24
|
productName: 'Kendo UI for Angular',
|
|
25
25
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
26
|
-
publishDate:
|
|
27
|
-
version: '',
|
|
26
|
+
publishDate: 1674032275,
|
|
27
|
+
version: '11.0.0',
|
|
28
28
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -1041,7 +1041,7 @@ class MenuItemComponent {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
MenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1044
|
-
MenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MenuItemComponent, selector: "kendo-menu-item", inputs: { text: "text", url: "url", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", icon: "icon", data: "data", separator: "separator" }, queries: [{ propertyName: "itemTemplate", predicate: ItemTemplateDirective }, { propertyName: "itemLinkTemplate", predicate: ItemLinkTemplateDirective }, { propertyName: "itemContentTemplate", predicate: ItemContentTemplateDirective }, { propertyName: "children", predicate: MenuItemComponent }], ngImport: i0, template: ``, isInline: true });
|
|
1044
|
+
MenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MenuItemComponent, selector: "kendo-menu-item", inputs: { text: "text", url: "url", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", icon: "icon", svgIcon: "svgIcon", data: "data", separator: "separator" }, queries: [{ propertyName: "itemTemplate", predicate: ItemTemplateDirective }, { propertyName: "itemLinkTemplate", predicate: ItemLinkTemplateDirective }, { propertyName: "itemContentTemplate", predicate: ItemContentTemplateDirective }, { propertyName: "children", predicate: MenuItemComponent }], ngImport: i0, template: ``, isInline: true });
|
|
1045
1045
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuItemComponent, decorators: [{
|
|
1046
1046
|
type: Component,
|
|
1047
1047
|
args: [{
|
|
@@ -1060,6 +1060,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1060
1060
|
type: Input
|
|
1061
1061
|
}], icon: [{
|
|
1062
1062
|
type: Input
|
|
1063
|
+
}], svgIcon: [{
|
|
1064
|
+
type: Input
|
|
1063
1065
|
}], data: [{
|
|
1064
1066
|
type: Input
|
|
1065
1067
|
}], separator: [{
|
|
@@ -1692,7 +1694,7 @@ ItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
1692
1694
|
</ng-template>
|
|
1693
1695
|
|
|
1694
1696
|
<ng-template #itemcontent>
|
|
1695
|
-
<
|
|
1697
|
+
<kendo-icon-wrapper *ngIf="item.icon || item.svgIcon" [name]="item.icon" [svgIcon]="item.svgIcon" role="presentation"></kendo-icon-wrapper>
|
|
1696
1698
|
<ng-container *ngIf="!template">
|
|
1697
1699
|
<span class="k-menu-link-text">{{ item.text }}</span>
|
|
1698
1700
|
</ng-container>
|
|
@@ -1748,7 +1750,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1748
1750
|
</ng-template>
|
|
1749
1751
|
|
|
1750
1752
|
<ng-template #itemcontent>
|
|
1751
|
-
<
|
|
1753
|
+
<kendo-icon-wrapper *ngIf="item.icon || item.svgIcon" [name]="item.icon" [svgIcon]="item.svgIcon" role="presentation"></kendo-icon-wrapper>
|
|
1752
1754
|
<ng-container *ngIf="!template">
|
|
1753
1755
|
<span class="k-menu-link-text">{{ item.text }}</span>
|
|
1754
1756
|
</ng-container>
|
package/menu-item.component.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { ItemTemplateDirective } from './templates/item-template.directive';
|
|
|
7
7
|
import { ItemLinkTemplateDirective } from './templates/item-link-template.directive';
|
|
8
8
|
import { ItemContentTemplateDirective } from './templates/item-content-template.directive';
|
|
9
9
|
import { MenuItem } from './menu-item.interface';
|
|
10
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* A component that can be used to specify the Menu items
|
|
@@ -60,6 +61,7 @@ export declare class MenuItemComponent implements MenuItem {
|
|
|
60
61
|
cssClass: any;
|
|
61
62
|
cssStyle: any;
|
|
62
63
|
icon: string;
|
|
64
|
+
svgIcon: SVGIcon;
|
|
63
65
|
data: any;
|
|
64
66
|
separator: boolean;
|
|
65
67
|
/**
|
|
@@ -95,5 +97,5 @@ export declare class MenuItemComponent implements MenuItem {
|
|
|
95
97
|
*/
|
|
96
98
|
get items(): any[];
|
|
97
99
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemComponent, never>;
|
|
98
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemComponent, "kendo-menu-item", never, { "text": "text"; "url": "url"; "disabled": "disabled"; "cssClass": "cssClass"; "cssStyle": "cssStyle"; "icon": "icon"; "data": "data"; "separator": "separator"; }, {}, ["itemTemplate", "itemLinkTemplate", "itemContentTemplate", "children"], never>;
|
|
100
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemComponent, "kendo-menu-item", never, { "text": "text"; "url": "url"; "disabled": "disabled"; "cssClass": "cssClass"; "cssStyle": "cssStyle"; "icon": "icon"; "svgIcon": "svgIcon"; "data": "data"; "separator": "separator"; }, {}, ["itemTemplate", "itemLinkTemplate", "itemContentTemplate", "children"], never>;
|
|
99
101
|
}
|
package/menu-item.interface.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import { SVGIcon } from '@progress/kendo-angular-icons';
|
|
6
7
|
/**
|
|
7
8
|
* An interface for the Menu items.
|
|
8
9
|
*/
|
|
@@ -21,6 +22,11 @@ export interface MenuItem {
|
|
|
21
22
|
* be rendered for the item ([see example]({% slug items_menu %}#toc-icon)).
|
|
22
23
|
*/
|
|
23
24
|
icon?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Defines an [`SVGIcon`](slug:api_icons_svgicon) that will be
|
|
27
|
+
* rendered for the item using a [`KendoSVGIcon`](slug:api_icons_svgiconcomponent) component.
|
|
28
|
+
*/
|
|
29
|
+
svgIcon?: SVGIcon;
|
|
24
30
|
/**
|
|
25
31
|
* Specifies if the item is disabled ([see example]({% slug items_menu %}#toc-disabled-state)).
|
|
26
32
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-menu",
|
|
3
|
-
"version": "11.0.0
|
|
3
|
+
"version": "11.0.0",
|
|
4
4
|
"description": "Kendo UI Angular Menu component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
"@angular/core": "13 - 15",
|
|
24
24
|
"@angular/platform-browser": "13 - 15",
|
|
25
25
|
"@progress/kendo-licensing": "^1.0.2",
|
|
26
|
-
"@progress/kendo-angular-common": "11.0.0
|
|
27
|
-
"@progress/kendo-angular-l10n": "11.0.0
|
|
28
|
-
"@progress/kendo-angular-icons": "11.0.0
|
|
29
|
-
"@progress/kendo-angular-popup": "11.0.0
|
|
30
|
-
"@progress/kendo-angular-schematics": "11.0.0-develop.99",
|
|
26
|
+
"@progress/kendo-angular-common": "11.0.0",
|
|
27
|
+
"@progress/kendo-angular-l10n": "11.0.0",
|
|
28
|
+
"@progress/kendo-angular-icons": "11.0.0",
|
|
29
|
+
"@progress/kendo-angular-popup": "11.0.0",
|
|
31
30
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
32
31
|
},
|
|
33
32
|
"dependencies": {
|
|
34
|
-
"tslib": "^2.3.1"
|
|
33
|
+
"tslib": "^2.3.1",
|
|
34
|
+
"@progress/kendo-angular-schematics": "11.0.0"
|
|
35
35
|
},
|
|
36
36
|
"schematics": "./schematics/collection.json",
|
|
37
37
|
"module": "fesm2015/progress-kendo-angular-menu.mjs",
|
|
@@ -4,7 +4,7 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'MenuModule', package: 'menu', peerDependencies: {
|
|
6
6
|
// Peer dependency of icons
|
|
7
|
-
|
|
7
|
+
'@progress/kendo-svg-icons': '^1.0.0'
|
|
8
8
|
} });
|
|
9
9
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
10
10
|
}
|