@progress/kendo-angular-icons 16.5.0 → 16.6.0-develop.2

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.
@@ -0,0 +1,18 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { IconComponent } from "./icon/icon.component";
6
+ import { SVGIconComponent } from "./svg-icon/svg-icon.component";
7
+ /**
8
+ * Utility array that contains all `KendoIcon` related components and directives
9
+ */
10
+ export declare const KENDO_ICON: readonly [typeof IconComponent];
11
+ /**
12
+ * Utility array that contains all `KendoSVGIcon` related components and directives
13
+ */
14
+ export declare const KENDO_SVGICON: readonly [typeof SVGIconComponent];
15
+ /**
16
+ * Utility array that contains all `@progress/kendo-angular-icons` related components and directives
17
+ */
18
+ export declare const KENDO_ICONS: readonly [typeof IconComponent, typeof SVGIconComponent];
@@ -55,9 +55,12 @@ export class IconsService {
55
55
  }
56
56
  }
57
57
  IconsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsService, deps: [{ token: ICON_SETTINGS, optional: true }, { token: i1.IconSettingsService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
58
- IconsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsService });
58
+ IconsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsService, providedIn: 'root' });
59
59
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsService, decorators: [{
60
- type: Injectable
60
+ type: Injectable,
61
+ args: [{
62
+ providedIn: 'root'
63
+ }]
61
64
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
62
65
  type: Optional
63
66
  }, {
@@ -0,0 +1,25 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { IconComponent } from "./icon/icon.component";
6
+ import { SVGIconComponent } from "./svg-icon/svg-icon.component";
7
+ /**
8
+ * Utility array that contains all `KendoIcon` related components and directives
9
+ */
10
+ export const KENDO_ICON = [
11
+ IconComponent
12
+ ];
13
+ /**
14
+ * Utility array that contains all `KendoSVGIcon` related components and directives
15
+ */
16
+ export const KENDO_SVGICON = [
17
+ SVGIconComponent
18
+ ];
19
+ /**
20
+ * Utility array that contains all `@progress/kendo-angular-icons` related components and directives
21
+ */
22
+ export const KENDO_ICONS = [
23
+ ...KENDO_ICON,
24
+ ...KENDO_SVGICON
25
+ ];
@@ -37,13 +37,14 @@ export class IconComponent extends IconBaseDirective {
37
37
  }
38
38
  }
39
39
  IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
40
- IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: IconComponent, selector: "kendo-icon", inputs: { name: "name" }, host: { properties: { "class.k-icon": "this.hostClass", "class.k-font-icon": "this.hostClass", "attr.aria-hidden": "this.hostAriaHidden" } }, exportAs: ["kendoIcon"], usesInheritance: true, ngImport: i0, template: '', isInline: true });
40
+ IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: IconComponent, isStandalone: true, selector: "kendo-icon", inputs: { name: "name" }, host: { properties: { "class.k-icon": "this.hostClass", "class.k-font-icon": "this.hostClass", "attr.aria-hidden": "this.hostAriaHidden" } }, exportAs: ["kendoIcon"], usesInheritance: true, ngImport: i0, template: '', isInline: true });
41
41
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconComponent, decorators: [{
42
42
  type: Component,
43
43
  args: [{
44
44
  exportAs: 'kendoIcon',
45
45
  selector: 'kendo-icon',
46
- template: ''
46
+ template: '',
47
+ standalone: true
47
48
  }]
48
49
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
49
50
  type: HostBinding,
@@ -5,11 +5,11 @@
5
5
  import { Component, HostBinding, Input, isDevMode } from '@angular/core';
6
6
  import { Subscription } from 'rxjs';
7
7
  import { IconsService } from '../common/icons.service';
8
+ import { NgClass, NgIf } from '@angular/common';
9
+ import { IconComponent } from '../icon/icon.component';
10
+ import { SVGIconComponent } from '../svg-icon/svg-icon.component';
8
11
  import * as i0 from "@angular/core";
9
12
  import * as i1 from "../common/icons.service";
10
- import * as i2 from "../icon/icon.component";
11
- import * as i3 from "@angular/common";
12
- import * as i4 from "../svg-icon/svg-icon.component";
13
13
  /**
14
14
  * @hidden
15
15
  */
@@ -69,7 +69,7 @@ https://www.telerik.com/design-system/docs/foundation/iconography/icon-list/
69
69
  }
70
70
  }
71
71
  IconWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconWrapperComponent, deps: [{ token: i1.IconsService }], target: i0.ɵɵFactoryTarget.Component });
72
- IconWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: IconWrapperComponent, 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: `
72
+ IconWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
73
73
  <kendo-svgicon
74
74
  *ngIf="iconSettings?.type === 'svg' && hasSvgIcon; else font"
75
75
  [ngClass]="innerCssClass"
@@ -89,7 +89,7 @@ IconWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
89
89
  <span [ngClass]="customClasses"></span>
90
90
  </ng-template>
91
91
  </ng-template>
92
- `, isInline: true, dependencies: [{ kind: "component", type: i2.IconComponent, selector: "kendo-icon", inputs: ["name"], exportAs: ["kendoIcon"] }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.SVGIconComponent, selector: "kendo-svg-icon, kendo-svgicon", inputs: ["icon"], exportAs: ["kendoSVGIcon"] }] });
92
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconComponent, selector: "kendo-icon", inputs: ["name"], exportAs: ["kendoIcon"] }, { kind: "component", type: SVGIconComponent, selector: "kendo-svg-icon, kendo-svgicon", inputs: ["icon"], exportAs: ["kendoSVGIcon"] }] });
93
93
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconWrapperComponent, decorators: [{
94
94
  type: Component,
95
95
  args: [{
@@ -115,7 +115,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
115
115
  <span [ngClass]="customClasses"></span>
116
116
  </ng-template>
117
117
  </ng-template>
118
- `
118
+ `,
119
+ standalone: true,
120
+ imports: [NgClass, NgIf, IconComponent, SVGIconComponent]
119
121
  }]
120
122
  }], ctorParameters: function () { return [{ type: i1.IconsService }]; }, propDecorators: { hostClass: [{
121
123
  type: HostBinding,
@@ -3,15 +3,9 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
7
6
  import { IconComponent } from './icon/icon.component';
8
7
  import * as i0 from "@angular/core";
9
- const exportedModules = [
10
- IconComponent
11
- ];
12
- const declarations = [
13
- ...exportedModules
14
- ];
8
+ //IMPORTANT: NgModule export kept for backwards compatibility
15
9
  /**
16
10
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
17
11
  * definition for the Icon component.
@@ -46,13 +40,12 @@ const declarations = [
46
40
  export class IconModule {
47
41
  }
48
42
  IconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- IconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IconModule, declarations: [IconComponent], imports: [CommonModule], exports: [IconComponent, CommonModule] });
50
- IconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconModule, imports: [CommonModule, CommonModule] });
43
+ IconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IconModule, imports: [IconComponent], exports: [IconComponent] });
44
+ IconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconModule, imports: [IconComponent] });
51
45
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconModule, decorators: [{
52
46
  type: NgModule,
53
47
  args: [{
54
- declarations: [declarations],
55
- exports: [exportedModules, CommonModule],
56
- imports: [CommonModule]
48
+ exports: [IconComponent],
49
+ imports: [IconComponent]
57
50
  }]
58
51
  }] });
@@ -4,16 +4,11 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
6
  import { IconsService } from './common/icons.service';
7
- import { IconWrapperComponent } from './icon-wrapper/icon-wrapper.component';
8
- import { IconModule } from './icon.module';
9
- import { SVGIconModule } from './svg-icon.module';
7
+ import { KENDO_ICONS } from './directives';
10
8
  import * as i0 from "@angular/core";
11
- const exportedModules = [
12
- IconWrapperComponent
13
- ];
14
- const declarations = [
15
- ...exportedModules
16
- ];
9
+ import * as i1 from "./icon/icon.component";
10
+ import * as i2 from "./svg-icon/svg-icon.component";
11
+ //IMPORTANT: NgModule export kept for backwards compatibility
17
12
  /**
18
13
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
19
14
  * definition for the Icons components.
@@ -48,24 +43,16 @@ const declarations = [
48
43
  export class IconsModule {
49
44
  }
50
45
  IconsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
51
- IconsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, declarations: [IconWrapperComponent], imports: [IconModule,
52
- SVGIconModule], exports: [IconModule,
53
- SVGIconModule, IconWrapperComponent] });
54
- IconsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, providers: [IconsService], imports: [IconModule,
55
- SVGIconModule, IconModule,
56
- SVGIconModule] });
46
+ IconsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, imports: [i1.IconComponent, i2.SVGIconComponent], exports: [i1.IconComponent, i2.SVGIconComponent] });
47
+ IconsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, providers: [IconsService], imports: [KENDO_ICONS] });
57
48
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, decorators: [{
58
49
  type: NgModule,
59
50
  args: [{
60
- declarations,
61
51
  imports: [
62
- IconModule,
63
- SVGIconModule
52
+ ...KENDO_ICONS
64
53
  ],
65
54
  exports: [
66
- IconModule,
67
- SVGIconModule,
68
- exportedModules
55
+ ...KENDO_ICONS
69
56
  ],
70
57
  providers: [IconsService]
71
58
  }]
package/esm2020/index.mjs CHANGED
@@ -11,3 +11,4 @@ export { IconsModule } from './icons.module';
11
11
  export { IconsService } from './common/icons.service';
12
12
  export { IconSettingsService } from './common/icon-settings.service';
13
13
  export { ICON_SETTINGS } from './common/icon-settings';
14
+ export * from './directives';
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-icons',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1721813930,
13
- version: '16.5.0',
12
+ publishDate: 1721846795,
13
+ version: '16.6.0-develop.2',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -6,9 +6,9 @@ import { Component, ElementRef, Input, Renderer2, HostBinding, isDevMode, Change
6
6
  import { DomSanitizer } from "@angular/platform-browser";
7
7
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
8
8
  import { IconBaseDirective } from '../common/icon-base';
9
+ import { NgClass, NgIf } from '@angular/common';
9
10
  import * as i0 from "@angular/core";
10
11
  import * as i1 from "@angular/platform-browser";
11
- import * as i2 from "@angular/common";
12
12
  const areSame = (i1, i2) => i1?.name === i2?.name && i1.content === i2.content && i1.viewBox === i2.viewBox;
13
13
  /**
14
14
  * Represents the Kendo UI SVG Icon component for Angular.
@@ -65,10 +65,10 @@ export class SVGIconComponent extends IconBaseDirective {
65
65
  }
66
66
  }
67
67
  SVGIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconComponent, deps: [{ token: i1.DomSanitizer }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
68
- SVGIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SVGIconComponent, selector: "kendo-svg-icon, kendo-svgicon", inputs: { icon: "icon" }, host: { properties: { "class.k-svg-icon": "this.hostClass", "class.k-icon": "this.hostClass", "attr.aria-hidden": "this.hostAriaHidden" } }, exportAs: ["kendoSVGIcon"], usesInheritance: true, ngImport: i0, template: `
68
+ SVGIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SVGIconComponent, isStandalone: true, selector: "kendo-svg-icon, kendo-svgicon", inputs: { icon: "icon" }, host: { properties: { "class.k-svg-icon": "this.hostClass", "class.k-icon": "this.hostClass", "attr.aria-hidden": "this.hostAriaHidden" } }, exportAs: ["kendoSVGIcon"], usesInheritance: true, ngImport: i0, template: `
69
69
  <svg [style.pointerEvents]="'none'" *ngIf="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
70
70
  [attr.viewBox]="icon.viewBox" [innerHTML]="content">
71
- </svg>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
71
+ </svg>`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
72
72
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconComponent, decorators: [{
73
73
  type: Component,
74
74
  args: [{
@@ -78,7 +78,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
78
78
  <svg [style.pointerEvents]="'none'" *ngIf="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
79
79
  [attr.viewBox]="icon.viewBox" [innerHTML]="content">
80
80
  </svg>`,
81
- changeDetection: ChangeDetectionStrategy.OnPush
81
+ changeDetection: ChangeDetectionStrategy.OnPush,
82
+ standalone: true,
83
+ imports: [NgIf, NgClass]
82
84
  }]
83
85
  }], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
84
86
  type: HostBinding,
@@ -3,15 +3,9 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
7
6
  import { SVGIconComponent } from './svg-icon/svg-icon.component';
8
7
  import * as i0 from "@angular/core";
9
- const exportedModules = [
10
- SVGIconComponent
11
- ];
12
- const declarations = [
13
- ...exportedModules
14
- ];
8
+ //IMPORTANT: NgModule export kept for backwards compatibility
15
9
  /**
16
10
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
17
11
  * definition for the SVG Icon component.
@@ -46,13 +40,12 @@ const declarations = [
46
40
  export class SVGIconModule {
47
41
  }
48
42
  SVGIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- SVGIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, declarations: [SVGIconComponent], imports: [CommonModule], exports: [SVGIconComponent] });
50
- SVGIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, imports: [CommonModule] });
43
+ SVGIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, imports: [SVGIconComponent], exports: [SVGIconComponent] });
44
+ SVGIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, imports: [SVGIconComponent] });
51
45
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, decorators: [{
52
46
  type: NgModule,
53
47
  args: [{
54
- declarations: [declarations],
55
- exports: [exportedModules],
56
- imports: [CommonModule]
48
+ exports: [SVGIconComponent],
49
+ imports: [SVGIconComponent]
57
50
  }]
58
51
  }] });
@@ -6,9 +6,8 @@ import * as i0 from '@angular/core';
6
6
  import { Directive, HostBinding, Input, Component, isDevMode, ChangeDetectionStrategy, InjectionToken, Injectable, Optional, Inject, NgModule } from '@angular/core';
7
7
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
8
8
  import { validatePackage } from '@progress/kendo-licensing';
9
+ import { NgIf, NgClass } from '@angular/common';
9
10
  import * as i1 from '@angular/platform-browser';
10
- import * as i3 from '@angular/common';
11
- import { CommonModule } from '@angular/common';
12
11
  import { Subject, BehaviorSubject, Subscription } from 'rxjs';
13
12
  import { map, tap } from 'rxjs/operators';
14
13
 
@@ -19,8 +18,8 @@ const packageMetadata = {
19
18
  name: '@progress/kendo-angular-icons',
20
19
  productName: 'Kendo UI for Angular',
21
20
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
22
- publishDate: 1721813930,
23
- version: '16.5.0',
21
+ publishDate: 1721846795,
22
+ version: '16.6.0-develop.2',
24
23
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
25
24
  };
26
25
 
@@ -161,13 +160,14 @@ class IconComponent extends IconBaseDirective {
161
160
  }
162
161
  }
163
162
  IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
164
- IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: IconComponent, selector: "kendo-icon", inputs: { name: "name" }, host: { properties: { "class.k-icon": "this.hostClass", "class.k-font-icon": "this.hostClass", "attr.aria-hidden": "this.hostAriaHidden" } }, exportAs: ["kendoIcon"], usesInheritance: true, ngImport: i0, template: '', isInline: true });
163
+ IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: IconComponent, isStandalone: true, selector: "kendo-icon", inputs: { name: "name" }, host: { properties: { "class.k-icon": "this.hostClass", "class.k-font-icon": "this.hostClass", "attr.aria-hidden": "this.hostAriaHidden" } }, exportAs: ["kendoIcon"], usesInheritance: true, ngImport: i0, template: '', isInline: true });
165
164
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconComponent, decorators: [{
166
165
  type: Component,
167
166
  args: [{
168
167
  exportAs: 'kendoIcon',
169
168
  selector: 'kendo-icon',
170
- template: ''
169
+ template: '',
170
+ standalone: true
171
171
  }]
172
172
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
173
173
  type: HostBinding,
@@ -239,10 +239,10 @@ class SVGIconComponent extends IconBaseDirective {
239
239
  }
240
240
  }
241
241
  SVGIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconComponent, deps: [{ token: i1.DomSanitizer }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
242
- SVGIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SVGIconComponent, selector: "kendo-svg-icon, kendo-svgicon", inputs: { icon: "icon" }, host: { properties: { "class.k-svg-icon": "this.hostClass", "class.k-icon": "this.hostClass", "attr.aria-hidden": "this.hostAriaHidden" } }, exportAs: ["kendoSVGIcon"], usesInheritance: true, ngImport: i0, template: `
242
+ SVGIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SVGIconComponent, isStandalone: true, selector: "kendo-svg-icon, kendo-svgicon", inputs: { icon: "icon" }, host: { properties: { "class.k-svg-icon": "this.hostClass", "class.k-icon": "this.hostClass", "attr.aria-hidden": "this.hostAriaHidden" } }, exportAs: ["kendoSVGIcon"], usesInheritance: true, ngImport: i0, template: `
243
243
  <svg [style.pointerEvents]="'none'" *ngIf="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
244
244
  [attr.viewBox]="icon.viewBox" [innerHTML]="content">
245
- </svg>`, isInline: true, dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
245
+ </svg>`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
246
246
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconComponent, decorators: [{
247
247
  type: Component,
248
248
  args: [{
@@ -252,7 +252,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
252
252
  <svg [style.pointerEvents]="'none'" *ngIf="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
253
253
  [attr.viewBox]="icon.viewBox" [innerHTML]="content">
254
254
  </svg>`,
255
- changeDetection: ChangeDetectionStrategy.OnPush
255
+ changeDetection: ChangeDetectionStrategy.OnPush,
256
+ standalone: true,
257
+ imports: [NgIf, NgClass]
256
258
  }]
257
259
  }], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
258
260
  type: HostBinding,
@@ -377,9 +379,12 @@ class IconsService {
377
379
  }
378
380
  }
379
381
  IconsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsService, deps: [{ token: ICON_SETTINGS, optional: true }, { token: IconSettingsService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
380
- IconsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsService });
382
+ IconsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsService, providedIn: 'root' });
381
383
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsService, decorators: [{
382
- type: Injectable
384
+ type: Injectable,
385
+ args: [{
386
+ providedIn: 'root'
387
+ }]
383
388
  }], ctorParameters: function () {
384
389
  return [{ type: undefined, decorators: [{
385
390
  type: Optional
@@ -450,7 +455,7 @@ https://www.telerik.com/design-system/docs/foundation/iconography/icon-list/
450
455
  }
451
456
  }
452
457
  IconWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconWrapperComponent, deps: [{ token: IconsService }], target: i0.ɵɵFactoryTarget.Component });
453
- IconWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: IconWrapperComponent, 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: `
458
+ IconWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
454
459
  <kendo-svgicon
455
460
  *ngIf="iconSettings?.type === 'svg' && hasSvgIcon; else font"
456
461
  [ngClass]="innerCssClass"
@@ -470,7 +475,7 @@ IconWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
470
475
  <span [ngClass]="customClasses"></span>
471
476
  </ng-template>
472
477
  </ng-template>
473
- `, isInline: true, dependencies: [{ kind: "component", type: IconComponent, selector: "kendo-icon", inputs: ["name"], exportAs: ["kendoIcon"] }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SVGIconComponent, selector: "kendo-svg-icon, kendo-svgicon", inputs: ["icon"], exportAs: ["kendoSVGIcon"] }] });
478
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconComponent, selector: "kendo-icon", inputs: ["name"], exportAs: ["kendoIcon"] }, { kind: "component", type: SVGIconComponent, selector: "kendo-svg-icon, kendo-svgicon", inputs: ["icon"], exportAs: ["kendoSVGIcon"] }] });
474
479
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconWrapperComponent, decorators: [{
475
480
  type: Component,
476
481
  args: [{
@@ -496,7 +501,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
496
501
  <span [ngClass]="customClasses"></span>
497
502
  </ng-template>
498
503
  </ng-template>
499
- `
504
+ `,
505
+ standalone: true,
506
+ imports: [NgClass, NgIf, IconComponent, SVGIconComponent]
500
507
  }]
501
508
  }], ctorParameters: function () { return [{ type: IconsService }]; }, propDecorators: { hostClass: [{
502
509
  type: HostBinding,
@@ -513,12 +520,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
513
520
  type: Input
514
521
  }] } });
515
522
 
516
- const exportedModules$2 = [
517
- IconComponent
518
- ];
519
- const declarations$2 = [
520
- ...exportedModules$2
521
- ];
523
+ //IMPORTANT: NgModule export kept for backwards compatibility
522
524
  /**
523
525
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
524
526
  * definition for the Icon component.
@@ -553,23 +555,17 @@ const declarations$2 = [
553
555
  class IconModule {
554
556
  }
555
557
  IconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
556
- IconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IconModule, declarations: [IconComponent], imports: [CommonModule], exports: [IconComponent, CommonModule] });
557
- IconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconModule, imports: [CommonModule, CommonModule] });
558
+ IconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IconModule, imports: [IconComponent], exports: [IconComponent] });
559
+ IconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconModule, imports: [IconComponent] });
558
560
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconModule, decorators: [{
559
561
  type: NgModule,
560
562
  args: [{
561
- declarations: [declarations$2],
562
- exports: [exportedModules$2, CommonModule],
563
- imports: [CommonModule]
563
+ exports: [IconComponent],
564
+ imports: [IconComponent]
564
565
  }]
565
566
  }] });
566
567
 
567
- const exportedModules$1 = [
568
- SVGIconComponent
569
- ];
570
- const declarations$1 = [
571
- ...exportedModules$1
572
- ];
568
+ //IMPORTANT: NgModule export kept for backwards compatibility
573
569
  /**
574
570
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
575
571
  * definition for the SVG Icon component.
@@ -604,23 +600,37 @@ const declarations$1 = [
604
600
  class SVGIconModule {
605
601
  }
606
602
  SVGIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
607
- SVGIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, declarations: [SVGIconComponent], imports: [CommonModule], exports: [SVGIconComponent] });
608
- SVGIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, imports: [CommonModule] });
603
+ SVGIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, imports: [SVGIconComponent], exports: [SVGIconComponent] });
604
+ SVGIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, imports: [SVGIconComponent] });
609
605
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, decorators: [{
610
606
  type: NgModule,
611
607
  args: [{
612
- declarations: [declarations$1],
613
- exports: [exportedModules$1],
614
- imports: [CommonModule]
608
+ exports: [SVGIconComponent],
609
+ imports: [SVGIconComponent]
615
610
  }]
616
611
  }] });
617
612
 
618
- const exportedModules = [
619
- IconWrapperComponent
613
+ /**
614
+ * Utility array that contains all `KendoIcon` related components and directives
615
+ */
616
+ const KENDO_ICON = [
617
+ IconComponent
620
618
  ];
621
- const declarations = [
622
- ...exportedModules
619
+ /**
620
+ * Utility array that contains all `KendoSVGIcon` related components and directives
621
+ */
622
+ const KENDO_SVGICON = [
623
+ SVGIconComponent
623
624
  ];
625
+ /**
626
+ * Utility array that contains all `@progress/kendo-angular-icons` related components and directives
627
+ */
628
+ const KENDO_ICONS = [
629
+ ...KENDO_ICON,
630
+ ...KENDO_SVGICON
631
+ ];
632
+
633
+ //IMPORTANT: NgModule export kept for backwards compatibility
624
634
  /**
625
635
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
626
636
  * definition for the Icons components.
@@ -655,24 +665,16 @@ const declarations = [
655
665
  class IconsModule {
656
666
  }
657
667
  IconsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
658
- IconsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, declarations: [IconWrapperComponent], imports: [IconModule,
659
- SVGIconModule], exports: [IconModule,
660
- SVGIconModule, IconWrapperComponent] });
661
- IconsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, providers: [IconsService], imports: [IconModule,
662
- SVGIconModule, IconModule,
663
- SVGIconModule] });
668
+ IconsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, imports: [IconComponent, SVGIconComponent], exports: [IconComponent, SVGIconComponent] });
669
+ IconsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, providers: [IconsService], imports: [KENDO_ICONS] });
664
670
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, decorators: [{
665
671
  type: NgModule,
666
672
  args: [{
667
- declarations,
668
673
  imports: [
669
- IconModule,
670
- SVGIconModule
674
+ ...KENDO_ICONS
671
675
  ],
672
676
  exports: [
673
- IconModule,
674
- SVGIconModule,
675
- exportedModules
677
+ ...KENDO_ICONS
676
678
  ],
677
679
  providers: [IconsService]
678
680
  }]
@@ -682,5 +684,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
682
684
  * Generated bundle index. Do not edit.
683
685
  */
684
686
 
685
- export { ICON_SETTINGS, IconComponent, IconModule, IconSettingsService, IconWrapperComponent, IconsModule, IconsService, SVGIconComponent, SVGIconModule };
687
+ export { ICON_SETTINGS, IconComponent, IconModule, IconSettingsService, IconWrapperComponent, IconsModule, IconsService, KENDO_ICON, KENDO_ICONS, KENDO_SVGICON, SVGIconComponent, SVGIconModule };
686
688
 
@@ -7,8 +7,7 @@ import { Directive, HostBinding, Input, Component, isDevMode, ChangeDetectionStr
7
7
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
8
8
  import { validatePackage } from '@progress/kendo-licensing';
9
9
  import * as i1 from '@angular/platform-browser';
10
- import * as i3 from '@angular/common';
11
- import { CommonModule } from '@angular/common';
10
+ import { NgIf, NgClass } from '@angular/common';
12
11
  import { Subject, BehaviorSubject, Subscription } from 'rxjs';
13
12
  import { map, tap } from 'rxjs/operators';
14
13
 
@@ -19,8 +18,8 @@ const packageMetadata = {
19
18
  name: '@progress/kendo-angular-icons',
20
19
  productName: 'Kendo UI for Angular',
21
20
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
22
- publishDate: 1721813930,
23
- version: '16.5.0',
21
+ publishDate: 1721846795,
22
+ version: '16.6.0-develop.2',
24
23
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
25
24
  };
26
25
 
@@ -161,13 +160,14 @@ class IconComponent extends IconBaseDirective {
161
160
  }
162
161
  }
163
162
  IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
164
- IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: IconComponent, selector: "kendo-icon", inputs: { name: "name" }, host: { properties: { "class.k-icon": "this.hostClass", "class.k-font-icon": "this.hostClass", "attr.aria-hidden": "this.hostAriaHidden" } }, exportAs: ["kendoIcon"], usesInheritance: true, ngImport: i0, template: '', isInline: true });
163
+ IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: IconComponent, isStandalone: true, selector: "kendo-icon", inputs: { name: "name" }, host: { properties: { "class.k-icon": "this.hostClass", "class.k-font-icon": "this.hostClass", "attr.aria-hidden": "this.hostAriaHidden" } }, exportAs: ["kendoIcon"], usesInheritance: true, ngImport: i0, template: '', isInline: true });
165
164
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconComponent, decorators: [{
166
165
  type: Component,
167
166
  args: [{
168
167
  exportAs: 'kendoIcon',
169
168
  selector: 'kendo-icon',
170
- template: ''
169
+ template: '',
170
+ standalone: true
171
171
  }]
172
172
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
173
173
  type: HostBinding,
@@ -238,10 +238,10 @@ class SVGIconComponent extends IconBaseDirective {
238
238
  }
239
239
  }
240
240
  SVGIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconComponent, deps: [{ token: i1.DomSanitizer }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
241
- SVGIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SVGIconComponent, selector: "kendo-svg-icon, kendo-svgicon", inputs: { icon: "icon" }, host: { properties: { "class.k-svg-icon": "this.hostClass", "class.k-icon": "this.hostClass", "attr.aria-hidden": "this.hostAriaHidden" } }, exportAs: ["kendoSVGIcon"], usesInheritance: true, ngImport: i0, template: `
241
+ SVGIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SVGIconComponent, isStandalone: true, selector: "kendo-svg-icon, kendo-svgicon", inputs: { icon: "icon" }, host: { properties: { "class.k-svg-icon": "this.hostClass", "class.k-icon": "this.hostClass", "attr.aria-hidden": "this.hostAriaHidden" } }, exportAs: ["kendoSVGIcon"], usesInheritance: true, ngImport: i0, template: `
242
242
  <svg [style.pointerEvents]="'none'" *ngIf="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
243
243
  [attr.viewBox]="icon.viewBox" [innerHTML]="content">
244
- </svg>`, isInline: true, dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
244
+ </svg>`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
245
245
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconComponent, decorators: [{
246
246
  type: Component,
247
247
  args: [{
@@ -251,7 +251,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
251
251
  <svg [style.pointerEvents]="'none'" *ngIf="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
252
252
  [attr.viewBox]="icon.viewBox" [innerHTML]="content">
253
253
  </svg>`,
254
- changeDetection: ChangeDetectionStrategy.OnPush
254
+ changeDetection: ChangeDetectionStrategy.OnPush,
255
+ standalone: true,
256
+ imports: [NgIf, NgClass]
255
257
  }]
256
258
  }], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
257
259
  type: HostBinding,
@@ -376,9 +378,12 @@ class IconsService {
376
378
  }
377
379
  }
378
380
  IconsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsService, deps: [{ token: ICON_SETTINGS, optional: true }, { token: IconSettingsService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
379
- IconsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsService });
381
+ IconsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsService, providedIn: 'root' });
380
382
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsService, decorators: [{
381
- type: Injectable
383
+ type: Injectable,
384
+ args: [{
385
+ providedIn: 'root'
386
+ }]
382
387
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
383
388
  type: Optional
384
389
  }, {
@@ -447,7 +452,7 @@ https://www.telerik.com/design-system/docs/foundation/iconography/icon-list/
447
452
  }
448
453
  }
449
454
  IconWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconWrapperComponent, deps: [{ token: IconsService }], target: i0.ɵɵFactoryTarget.Component });
450
- IconWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: IconWrapperComponent, 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: `
455
+ IconWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
451
456
  <kendo-svgicon
452
457
  *ngIf="iconSettings?.type === 'svg' && hasSvgIcon; else font"
453
458
  [ngClass]="innerCssClass"
@@ -467,7 +472,7 @@ IconWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
467
472
  <span [ngClass]="customClasses"></span>
468
473
  </ng-template>
469
474
  </ng-template>
470
- `, isInline: true, dependencies: [{ kind: "component", type: IconComponent, selector: "kendo-icon", inputs: ["name"], exportAs: ["kendoIcon"] }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SVGIconComponent, selector: "kendo-svg-icon, kendo-svgicon", inputs: ["icon"], exportAs: ["kendoSVGIcon"] }] });
475
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconComponent, selector: "kendo-icon", inputs: ["name"], exportAs: ["kendoIcon"] }, { kind: "component", type: SVGIconComponent, selector: "kendo-svg-icon, kendo-svgicon", inputs: ["icon"], exportAs: ["kendoSVGIcon"] }] });
471
476
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconWrapperComponent, decorators: [{
472
477
  type: Component,
473
478
  args: [{
@@ -493,7 +498,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
493
498
  <span [ngClass]="customClasses"></span>
494
499
  </ng-template>
495
500
  </ng-template>
496
- `
501
+ `,
502
+ standalone: true,
503
+ imports: [NgClass, NgIf, IconComponent, SVGIconComponent]
497
504
  }]
498
505
  }], ctorParameters: function () { return [{ type: IconsService }]; }, propDecorators: { hostClass: [{
499
506
  type: HostBinding,
@@ -510,12 +517,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
510
517
  type: Input
511
518
  }] } });
512
519
 
513
- const exportedModules$2 = [
514
- IconComponent
515
- ];
516
- const declarations$2 = [
517
- ...exportedModules$2
518
- ];
520
+ //IMPORTANT: NgModule export kept for backwards compatibility
519
521
  /**
520
522
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
521
523
  * definition for the Icon component.
@@ -550,23 +552,17 @@ const declarations$2 = [
550
552
  class IconModule {
551
553
  }
552
554
  IconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
553
- IconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IconModule, declarations: [IconComponent], imports: [CommonModule], exports: [IconComponent, CommonModule] });
554
- IconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconModule, imports: [CommonModule, CommonModule] });
555
+ IconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IconModule, imports: [IconComponent], exports: [IconComponent] });
556
+ IconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconModule, imports: [IconComponent] });
555
557
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconModule, decorators: [{
556
558
  type: NgModule,
557
559
  args: [{
558
- declarations: [declarations$2],
559
- exports: [exportedModules$2, CommonModule],
560
- imports: [CommonModule]
560
+ exports: [IconComponent],
561
+ imports: [IconComponent]
561
562
  }]
562
563
  }] });
563
564
 
564
- const exportedModules$1 = [
565
- SVGIconComponent
566
- ];
567
- const declarations$1 = [
568
- ...exportedModules$1
569
- ];
565
+ //IMPORTANT: NgModule export kept for backwards compatibility
570
566
  /**
571
567
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
572
568
  * definition for the SVG Icon component.
@@ -601,23 +597,37 @@ const declarations$1 = [
601
597
  class SVGIconModule {
602
598
  }
603
599
  SVGIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
604
- SVGIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, declarations: [SVGIconComponent], imports: [CommonModule], exports: [SVGIconComponent] });
605
- SVGIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, imports: [CommonModule] });
600
+ SVGIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, imports: [SVGIconComponent], exports: [SVGIconComponent] });
601
+ SVGIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, imports: [SVGIconComponent] });
606
602
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SVGIconModule, decorators: [{
607
603
  type: NgModule,
608
604
  args: [{
609
- declarations: [declarations$1],
610
- exports: [exportedModules$1],
611
- imports: [CommonModule]
605
+ exports: [SVGIconComponent],
606
+ imports: [SVGIconComponent]
612
607
  }]
613
608
  }] });
614
609
 
615
- const exportedModules = [
616
- IconWrapperComponent
610
+ /**
611
+ * Utility array that contains all `KendoIcon` related components and directives
612
+ */
613
+ const KENDO_ICON = [
614
+ IconComponent
617
615
  ];
618
- const declarations = [
619
- ...exportedModules
616
+ /**
617
+ * Utility array that contains all `KendoSVGIcon` related components and directives
618
+ */
619
+ const KENDO_SVGICON = [
620
+ SVGIconComponent
620
621
  ];
622
+ /**
623
+ * Utility array that contains all `@progress/kendo-angular-icons` related components and directives
624
+ */
625
+ const KENDO_ICONS = [
626
+ ...KENDO_ICON,
627
+ ...KENDO_SVGICON
628
+ ];
629
+
630
+ //IMPORTANT: NgModule export kept for backwards compatibility
621
631
  /**
622
632
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
623
633
  * definition for the Icons components.
@@ -652,24 +662,16 @@ const declarations = [
652
662
  class IconsModule {
653
663
  }
654
664
  IconsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
655
- IconsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, declarations: [IconWrapperComponent], imports: [IconModule,
656
- SVGIconModule], exports: [IconModule,
657
- SVGIconModule, IconWrapperComponent] });
658
- IconsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, providers: [IconsService], imports: [IconModule,
659
- SVGIconModule, IconModule,
660
- SVGIconModule] });
665
+ IconsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, imports: [IconComponent, SVGIconComponent], exports: [IconComponent, SVGIconComponent] });
666
+ IconsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, providers: [IconsService], imports: [KENDO_ICONS] });
661
667
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconsModule, decorators: [{
662
668
  type: NgModule,
663
669
  args: [{
664
- declarations,
665
670
  imports: [
666
- IconModule,
667
- SVGIconModule
671
+ ...KENDO_ICONS
668
672
  ],
669
673
  exports: [
670
- IconModule,
671
- SVGIconModule,
672
- exportedModules
674
+ ...KENDO_ICONS
673
675
  ],
674
676
  providers: [IconsService]
675
677
  }]
@@ -679,5 +681,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
679
681
  * Generated bundle index. Do not edit.
680
682
  */
681
683
 
682
- export { ICON_SETTINGS, IconComponent, IconModule, IconSettingsService, IconWrapperComponent, IconsModule, IconsService, SVGIconComponent, SVGIconModule };
684
+ export { ICON_SETTINGS, IconComponent, IconModule, IconSettingsService, IconWrapperComponent, IconsModule, IconsService, KENDO_ICON, KENDO_ICONS, KENDO_SVGICON, SVGIconComponent, SVGIconModule };
683
685
 
@@ -22,5 +22,5 @@ export declare class IconComponent extends IconBaseDirective {
22
22
  private _name;
23
23
  constructor(element: ElementRef, renderer: Renderer2);
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "kendo-icon", ["kendoIcon"], { "name": "name"; }, {}, never, never, false, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "kendo-icon", ["kendoIcon"], { "name": "name"; }, {}, never, never, true, never>;
26
26
  }
@@ -55,5 +55,5 @@ export declare class IconWrapperComponent implements OnDestroy {
55
55
  constructor(iconsService: IconsService);
56
56
  ngOnDestroy(): void;
57
57
  static ɵfac: i0.ɵɵFactoryDeclaration<IconWrapperComponent, never>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<IconWrapperComponent, "kendo-icon-wrapper", ["kendoIconWrapper"], { "name": "name"; "svgIcon": "svgIcon"; "innerCssClass": "innerCssClass"; "customFontClass": "customFontClass"; "size": "size"; }, {}, never, never, false, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconWrapperComponent, "kendo-icon-wrapper", ["kendoIconWrapper"], { "name": "name"; "svgIcon": "svgIcon"; "innerCssClass": "innerCssClass"; "customFontClass": "customFontClass"; "size": "size"; }, {}, never, never, true, never>;
59
59
  }
package/icon.module.d.ts CHANGED
@@ -4,7 +4,6 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "./icon/icon.component";
7
- import * as i2 from "@angular/common";
8
7
  /**
9
8
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
9
  * definition for the Icon component.
@@ -38,6 +37,6 @@ import * as i2 from "@angular/common";
38
37
  */
39
38
  export declare class IconModule {
40
39
  static ɵfac: i0.ɵɵFactoryDeclaration<IconModule, never>;
41
- static ɵmod: i0.ɵɵNgModuleDeclaration<IconModule, [typeof i1.IconComponent], [typeof i2.CommonModule], [typeof i1.IconComponent, typeof i2.CommonModule]>;
40
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IconModule, never, [typeof i1.IconComponent], [typeof i1.IconComponent]>;
42
41
  static ɵinj: i0.ɵɵInjectorDeclaration<IconModule>;
43
42
  }
package/icons.module.d.ts CHANGED
@@ -3,9 +3,8 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
6
- import * as i1 from "./icon-wrapper/icon-wrapper.component";
7
- import * as i2 from "./icon.module";
8
- import * as i3 from "./svg-icon.module";
6
+ import * as i1 from "./icon/icon.component";
7
+ import * as i2 from "./svg-icon/svg-icon.component";
9
8
  /**
10
9
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
11
10
  * definition for the Icons components.
@@ -39,6 +38,6 @@ import * as i3 from "./svg-icon.module";
39
38
  */
40
39
  export declare class IconsModule {
41
40
  static ɵfac: i0.ɵɵFactoryDeclaration<IconsModule, never>;
42
- static ɵmod: i0.ɵɵNgModuleDeclaration<IconsModule, [typeof i1.IconWrapperComponent], [typeof i2.IconModule, typeof i3.SVGIconModule], [typeof i2.IconModule, typeof i3.SVGIconModule, typeof i1.IconWrapperComponent]>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IconsModule, never, [typeof i1.IconComponent, typeof i2.SVGIconComponent], [typeof i1.IconComponent, typeof i2.SVGIconComponent]>;
43
42
  static ɵinj: i0.ɵɵInjectorDeclaration<IconsModule>;
44
43
  }
package/index.d.ts CHANGED
@@ -13,3 +13,4 @@ export { IconsService } from './common/icons.service';
13
13
  export { IconSettingsService } from './common/icon-settings.service';
14
14
  export { ICON_SETTINGS } from './common/icon-settings';
15
15
  export { SVGIcon } from '@progress/kendo-svg-icons';
16
+ export * from './directives';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-icons",
3
- "version": "16.5.0",
3
+ "version": "16.6.0-develop.2",
4
4
  "description": "Kendo UI Angular component starter template",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -22,12 +22,12 @@
22
22
  "@angular/platform-browser": "15 - 18",
23
23
  "@progress/kendo-licensing": "^1.0.2",
24
24
  "@progress/kendo-svg-icons": "^3.0.0",
25
- "@progress/kendo-angular-common": "16.5.0",
25
+ "@progress/kendo-angular-common": "16.6.0-develop.2",
26
26
  "rxjs": "^6.5.3 || ^7.0.0"
27
27
  },
28
28
  "dependencies": {
29
29
  "tslib": "^2.3.1",
30
- "@progress/kendo-angular-schematics": "16.5.0"
30
+ "@progress/kendo-angular-schematics": "16.6.0-develop.2"
31
31
  },
32
32
  "schematics": "./schematics/collection.json",
33
33
  "module": "fesm2015/progress-kendo-angular-icons.mjs",
@@ -28,5 +28,5 @@ export declare class SVGIconComponent extends IconBaseDirective implements OnIni
28
28
  ngOnInit(): void;
29
29
  private verifyIconProperty;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<SVGIconComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<SVGIconComponent, "kendo-svg-icon, kendo-svgicon", ["kendoSVGIcon"], { "icon": "icon"; }, {}, never, never, false, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<SVGIconComponent, "kendo-svg-icon, kendo-svgicon", ["kendoSVGIcon"], { "icon": "icon"; }, {}, never, never, true, never>;
32
32
  }
@@ -4,7 +4,6 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "./svg-icon/svg-icon.component";
7
- import * as i2 from "@angular/common";
8
7
  /**
9
8
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
9
  * definition for the SVG Icon component.
@@ -38,6 +37,6 @@ import * as i2 from "@angular/common";
38
37
  */
39
38
  export declare class SVGIconModule {
40
39
  static ɵfac: i0.ɵɵFactoryDeclaration<SVGIconModule, never>;
41
- static ɵmod: i0.ɵɵNgModuleDeclaration<SVGIconModule, [typeof i1.SVGIconComponent], [typeof i2.CommonModule], [typeof i1.SVGIconComponent]>;
40
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SVGIconModule, never, [typeof i1.SVGIconComponent], [typeof i1.SVGIconComponent]>;
42
41
  static ɵinj: i0.ɵɵInjectorDeclaration<SVGIconModule>;
43
42
  }