@progress/kendo-angular-icons 18.5.0-develop.7 → 18.5.0-develop.9
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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, HostBinding, Input, isDevMode } from '@angular/core';
|
|
5
|
+
import { Component, ElementRef, HostBinding, Input, isDevMode } from '@angular/core';
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
7
|
import { IconsService } from '../common/icons.service';
|
|
8
8
|
import { NgClass, NgIf } from '@angular/common';
|
|
@@ -15,6 +15,7 @@ import * as i1 from "../common/icons.service";
|
|
|
15
15
|
*/
|
|
16
16
|
export class IconWrapperComponent {
|
|
17
17
|
iconsService;
|
|
18
|
+
element;
|
|
18
19
|
hostClass = true;
|
|
19
20
|
/**
|
|
20
21
|
* Defines the name for an existing font icon in a Kendo UI theme, which will be rendered.
|
|
@@ -84,8 +85,9 @@ https://www.telerik.com/design-system/docs/foundation/iconography/icon-list/
|
|
|
84
85
|
return this.iconsService.getCustomFontIconClass(this.name) || this.customFontClass;
|
|
85
86
|
}
|
|
86
87
|
subs = new Subscription();
|
|
87
|
-
constructor(iconsService) {
|
|
88
|
+
constructor(iconsService, element) {
|
|
88
89
|
this.iconsService = iconsService;
|
|
90
|
+
this.element = element;
|
|
89
91
|
this.subs = iconsService.changes.subscribe(iconSettings => {
|
|
90
92
|
this.iconSettings = iconSettings;
|
|
91
93
|
});
|
|
@@ -93,7 +95,7 @@ https://www.telerik.com/design-system/docs/foundation/iconography/icon-list/
|
|
|
93
95
|
ngOnDestroy() {
|
|
94
96
|
this.subs.unsubscribe();
|
|
95
97
|
}
|
|
96
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IconWrapperComponent, deps: [{ token: i1.IconsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
98
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IconWrapperComponent, deps: [{ token: i1.IconsService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
97
99
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IconWrapperComponent, isStandalone: true, selector: "kendo-icon-wrapper", inputs: { name: "name", svgIcon: "svgIcon", innerCssClass: "innerCssClass", customFontClass: "customFontClass", size: "size" }, host: { properties: { "class.k-icon-wrapper-host": "this.hostClass" } }, exportAs: ["kendoIconWrapper"], ngImport: i0, template: `
|
|
98
100
|
<kendo-svgicon
|
|
99
101
|
*ngIf="iconSettings?.type === 'svg' && hasSvgIcon; else font"
|
|
@@ -145,7 +147,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
145
147
|
standalone: true,
|
|
146
148
|
imports: [NgClass, NgIf, IconComponent, SVGIconComponent]
|
|
147
149
|
}]
|
|
148
|
-
}], ctorParameters: function () { return [{ type: i1.IconsService }]; }, propDecorators: { hostClass: [{
|
|
150
|
+
}], ctorParameters: function () { return [{ type: i1.IconsService }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
|
|
149
151
|
type: HostBinding,
|
|
150
152
|
args: ['class.k-icon-wrapper-host']
|
|
151
153
|
}], name: [{
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '18.5.0-develop.
|
|
13
|
+
publishDate: 1744038892,
|
|
14
|
+
version: '18.5.0-develop.9',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -19,8 +19,8 @@ const packageMetadata = {
|
|
|
19
19
|
productName: 'Kendo UI for Angular',
|
|
20
20
|
productCode: 'KENDOUIANGULAR',
|
|
21
21
|
productCodes: ['KENDOUIANGULAR'],
|
|
22
|
-
publishDate:
|
|
23
|
-
version: '18.5.0-develop.
|
|
22
|
+
publishDate: 1744038892,
|
|
23
|
+
version: '18.5.0-develop.9',
|
|
24
24
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -438,6 +438,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
438
438
|
*/
|
|
439
439
|
class IconWrapperComponent {
|
|
440
440
|
iconsService;
|
|
441
|
+
element;
|
|
441
442
|
hostClass = true;
|
|
442
443
|
/**
|
|
443
444
|
* Defines the name for an existing font icon in a Kendo UI theme, which will be rendered.
|
|
@@ -507,8 +508,9 @@ https://www.telerik.com/design-system/docs/foundation/iconography/icon-list/
|
|
|
507
508
|
return this.iconsService.getCustomFontIconClass(this.name) || this.customFontClass;
|
|
508
509
|
}
|
|
509
510
|
subs = new Subscription();
|
|
510
|
-
constructor(iconsService) {
|
|
511
|
+
constructor(iconsService, element) {
|
|
511
512
|
this.iconsService = iconsService;
|
|
513
|
+
this.element = element;
|
|
512
514
|
this.subs = iconsService.changes.subscribe(iconSettings => {
|
|
513
515
|
this.iconSettings = iconSettings;
|
|
514
516
|
});
|
|
@@ -516,7 +518,7 @@ https://www.telerik.com/design-system/docs/foundation/iconography/icon-list/
|
|
|
516
518
|
ngOnDestroy() {
|
|
517
519
|
this.subs.unsubscribe();
|
|
518
520
|
}
|
|
519
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IconWrapperComponent, deps: [{ token: IconsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
521
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IconWrapperComponent, deps: [{ token: IconsService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
520
522
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IconWrapperComponent, isStandalone: true, selector: "kendo-icon-wrapper", inputs: { name: "name", svgIcon: "svgIcon", innerCssClass: "innerCssClass", customFontClass: "customFontClass", size: "size" }, host: { properties: { "class.k-icon-wrapper-host": "this.hostClass" } }, exportAs: ["kendoIconWrapper"], ngImport: i0, template: `
|
|
521
523
|
<kendo-svgicon
|
|
522
524
|
*ngIf="iconSettings?.type === 'svg' && hasSvgIcon; else font"
|
|
@@ -568,7 +570,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
568
570
|
standalone: true,
|
|
569
571
|
imports: [NgClass, NgIf, IconComponent, SVGIconComponent]
|
|
570
572
|
}]
|
|
571
|
-
}], ctorParameters: function () { return [{ type: IconsService }]; }, propDecorators: { hostClass: [{
|
|
573
|
+
}], ctorParameters: function () { return [{ type: IconsService }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
|
|
572
574
|
type: HostBinding,
|
|
573
575
|
args: ['class.k-icon-wrapper-host']
|
|
574
576
|
}], name: [{
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { OnDestroy } from '@angular/core';
|
|
5
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
6
6
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
7
|
import { IconsService } from '../common/icons.service';
|
|
8
8
|
import { IconSettings, IconSize } from '../common/models';
|
|
@@ -12,6 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare class IconWrapperComponent implements OnDestroy {
|
|
14
14
|
private iconsService;
|
|
15
|
+
element: ElementRef;
|
|
15
16
|
hostClass: boolean;
|
|
16
17
|
/**
|
|
17
18
|
* Defines the name for an existing font icon in a Kendo UI theme, which will be rendered.
|
|
@@ -52,7 +53,7 @@ export declare class IconWrapperComponent implements OnDestroy {
|
|
|
52
53
|
get hasSvgIcon(): boolean;
|
|
53
54
|
get customFontIconClass(): string;
|
|
54
55
|
private subs;
|
|
55
|
-
constructor(iconsService: IconsService);
|
|
56
|
+
constructor(iconsService: IconsService, element: ElementRef);
|
|
56
57
|
ngOnDestroy(): void;
|
|
57
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconWrapperComponent, never>;
|
|
58
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<IconWrapperComponent, "kendo-icon-wrapper", ["kendoIconWrapper"], { "name": { "alias": "name"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "innerCssClass": { "alias": "innerCssClass"; "required": false; }; "customFontClass": { "alias": "customFontClass"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-icons",
|
|
3
|
-
"version": "18.5.0-develop.
|
|
3
|
+
"version": "18.5.0-develop.9",
|
|
4
4
|
"description": "Kendo UI Angular component starter template",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"package": {
|
|
18
18
|
"productName": "Kendo UI for Angular",
|
|
19
19
|
"productCode": "KENDOUIANGULAR",
|
|
20
|
-
"publishDate":
|
|
20
|
+
"publishDate": 1744038892,
|
|
21
21
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"@angular/platform-browser": "16 - 19",
|
|
29
29
|
"@progress/kendo-licensing": "^1.5.0",
|
|
30
30
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
31
|
-
"@progress/kendo-angular-common": "18.5.0-develop.
|
|
31
|
+
"@progress/kendo-angular-common": "18.5.0-develop.9",
|
|
32
32
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"tslib": "^2.3.1",
|
|
36
|
-
"@progress/kendo-angular-schematics": "18.5.0-develop.
|
|
36
|
+
"@progress/kendo-angular-schematics": "18.5.0-develop.9"
|
|
37
37
|
},
|
|
38
38
|
"schematics": "./schematics/collection.json",
|
|
39
39
|
"module": "fesm2022/progress-kendo-angular-icons.mjs",
|