@progress/kendo-angular-icons 1.0.0-next.202110200828 → 1.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.
Files changed (62) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +119 -79
  3. package/README.md +1 -1
  4. package/dist/cdn/js/kendo-angular-icons.js +20 -0
  5. package/dist/cdn/main.js +5 -0
  6. package/dist/es/common/icon-base.js +126 -0
  7. package/{esm2015 → dist/es}/common/models/flip.js +0 -1
  8. package/{esm2015 → dist/es}/common/models/size.js +0 -1
  9. package/{esm2015 → dist/es}/common/models/theme-color.js +0 -1
  10. package/dist/es/icon/icon.component.js +58 -0
  11. package/dist/es/icon.module.js +56 -0
  12. package/{esm2015 → dist/es}/icons.module.js +15 -17
  13. package/{esm2015/kendo-angular-icons.js → dist/es/index.js} +1 -0
  14. package/{esm2015 → dist/es}/main.js +0 -0
  15. package/dist/es/package-metadata.js +15 -0
  16. package/dist/es/svg-icon/svg-icon.component.js +86 -0
  17. package/dist/es/svg-icon.module.js +56 -0
  18. package/{common → dist/es2015/common}/icon-base.d.ts +5 -10
  19. package/{esm2015 → dist/es2015}/common/icon-base.js +27 -23
  20. package/{common → dist/es2015/common}/models/flip.d.ts +0 -0
  21. package/dist/es2015/common/models/flip.js +4 -0
  22. package/{common → dist/es2015/common}/models/size.d.ts +0 -0
  23. package/dist/es2015/common/models/size.js +4 -0
  24. package/{common → dist/es2015/common}/models/theme-color.d.ts +0 -0
  25. package/dist/es2015/common/models/theme-color.js +4 -0
  26. package/{icon → dist/es2015/icon}/icon.component.d.ts +3 -7
  27. package/dist/es2015/icon/icon.component.js +51 -0
  28. package/{icon.module.d.ts → dist/es2015/icon.module.d.ts} +0 -6
  29. package/{esm2015 → dist/es2015}/icon.module.js +11 -14
  30. package/{icons.module.d.ts → dist/es2015/icons.module.d.ts} +0 -6
  31. package/dist/es2015/icons.module.js +50 -0
  32. package/{kendo-angular-icons.d.ts → dist/es2015/index.d.ts} +1 -1
  33. package/dist/es2015/index.js +9 -0
  34. package/dist/es2015/index.metadata.json +1 -0
  35. package/{main.d.ts → dist/es2015/main.d.ts} +0 -0
  36. package/dist/es2015/main.js +9 -0
  37. package/{package-metadata.d.ts → dist/es2015/package-metadata.d.ts} +0 -0
  38. package/{esm2015 → dist/es2015}/package-metadata.js +1 -1
  39. package/{svg-icon → dist/es2015/svg-icon}/svg-icon.component.d.ts +5 -9
  40. package/{esm2015 → dist/es2015}/svg-icon/svg-icon.component.js +24 -25
  41. package/{svg-icon.module.d.ts → dist/es2015/svg-icon.module.d.ts} +0 -6
  42. package/{esm2015 → dist/es2015}/svg-icon.module.js +11 -14
  43. package/{fesm2015/kendo-angular-icons.js → dist/fesm2015/index.js} +102 -113
  44. package/dist/fesm5/index.js +415 -0
  45. package/dist/npm/common/icon-base.js +128 -0
  46. package/dist/npm/common/models/flip.js +6 -0
  47. package/dist/npm/common/models/size.js +6 -0
  48. package/dist/npm/common/models/theme-color.js +6 -0
  49. package/dist/npm/icon/icon.component.js +60 -0
  50. package/dist/npm/icon.module.js +58 -0
  51. package/dist/npm/icons.module.js +55 -0
  52. package/dist/npm/index.js +13 -0
  53. package/dist/npm/main.js +16 -0
  54. package/dist/npm/package-metadata.js +17 -0
  55. package/dist/npm/svg-icon/svg-icon.component.js +88 -0
  56. package/dist/npm/svg-icon.module.js +58 -0
  57. package/dist/systemjs/kendo-angular-icons.js +5 -0
  58. package/package.json +96 -33
  59. package/schematics/ngAdd/index.js +2 -5
  60. package/schematics/ngAdd/index.js.map +1 -1
  61. package/bundles/kendo-angular-icons.umd.js +0 -5
  62. package/esm2015/icon/icon.component.js +0 -48
@@ -0,0 +1,50 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as tslib_1 from "tslib";
6
+ import { NgModule } from '@angular/core';
7
+ import { IconModule } from './icon.module';
8
+ import { SVGIconModule } from './svg-icon.module';
9
+ /**
10
+ * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
11
+ * definition for the Icons components.
12
+ *
13
+ * @example
14
+ *
15
+ * ```ts-no-run
16
+ * // Import the Icons module
17
+ * import { IconsModule } from '@progress/kendo-angular-icons';
18
+ *
19
+ * // The browser platform with a compiler
20
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
21
+ *
22
+ * import { NgModule } from '@angular/core';
23
+ *
24
+ * // Import the app component
25
+ * import { AppComponent } from './app.component';
26
+ *
27
+ * // Define the app module
28
+ * _@NgModule({
29
+ * declarations: [AppComponent], // declare app component
30
+ * imports: [BrowserModule, IconsModule], // import Icons module
31
+ * bootstrap: [AppComponent]
32
+ * })
33
+ * export class AppModule {}
34
+ *
35
+ * // Compile and launch the module
36
+ * platformBrowserDynamic().bootstrapModule(AppModule);
37
+ *
38
+ * ```
39
+ */
40
+ let IconsModule = class IconsModule {
41
+ };
42
+ IconsModule = tslib_1.__decorate([
43
+ NgModule({
44
+ exports: [
45
+ IconModule,
46
+ SVGIconModule
47
+ ]
48
+ })
49
+ ], IconsModule);
50
+ export { IconsModule };
@@ -5,5 +5,5 @@
5
5
  /**
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
- /// <amd-module name="@progress/kendo-angular-icons" />
9
8
  export * from './main';
9
+ export { IconBase } from './common/icon-base';
@@ -0,0 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * Generated bundle index. Do not edit.
7
+ */
8
+ export * from './main';
9
+ export { IconBase } from './common/icon-base';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"IconComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"IconBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":13,"character":1},"arguments":[{"exportAs":"kendoIcon","selector":"kendo-icon","template":""}]}],"members":{"hostClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":19,"character":5},"arguments":["class.k-icon"]}]}],"name":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":40,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":40,"character":61}]}]}},"SVGIconComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"IconBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":20,"character":1},"arguments":[{"exportAs":"kendoSVGIcon","selector":"kendo-svg-icon","template":"\n <svg *ngIf=\"visible\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n [attr.viewBox]=\"icon.viewBox\" [innerHTML]=\"content\">\n </svg>"}]}],"members":{"hostClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":29,"character":5},"arguments":["class.k-svg-icon"]}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":63,"character":38},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":63,"character":68},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":63,"character":97}]}],"ngOnInit":[{"__symbolic":"method"}],"verifyIconProperty":[{"__symbolic":"method"}]}},"IconModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":44,"character":1},"arguments":[{"declarations":[[{"__symbolic":"reference","name":"IconComponent"}]],"exports":[[{"__symbolic":"reference","name":"IconComponent"}]],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":47,"character":15}]}]}],"members":{}},"SVGIconModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":44,"character":1},"arguments":[{"declarations":[[{"__symbolic":"reference","name":"SVGIconComponent"}]],"exports":[[{"__symbolic":"reference","name":"SVGIconComponent"}]],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":47,"character":15}]}]}],"members":{}},"IconsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":36,"character":1},"arguments":[{"exports":[{"__symbolic":"reference","name":"IconModule"},{"__symbolic":"reference","name":"SVGIconModule"}]}]}],"members":{}},"IconBase":{"__symbolic":"class","members":{"horizontalFlip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":27,"character":5},"arguments":["class.k-flip-h"]}]}],"verticalFlip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":31,"character":5},"arguments":["class.k-flip-v"]}]}],"flip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":5}}]}],"themeColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":5}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":99,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":99,"character":61}]}]}}},"origins":{"IconComponent":"./icon/icon.component","SVGIconComponent":"./svg-icon/svg-icon.component","IconModule":"./icon.module","SVGIconModule":"./svg-icon.module","IconsModule":"./icons.module","IconBase":"./common/icon-base"},"importAs":"@progress/kendo-angular-icons"}
File without changes
@@ -0,0 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export { IconComponent } from './icon/icon.component';
6
+ export { SVGIconComponent } from './svg-icon/svg-icon.component';
7
+ export { IconModule } from './icon.module';
8
+ export { SVGIconModule } from './svg-icon.module';
9
+ export { IconsModule } from './icons.module';
@@ -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: 1634718454,
12
+ publishDate: 1644840904,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -4,13 +4,12 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ElementRef, Renderer2, OnInit } from '@angular/core';
6
6
  import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
7
- import { IconBaseDirective } from '../common/icon-base';
7
+ import { IconBase } from '../common/icon-base';
8
8
  import { SVGIcon } from '@progress/kendo-svg-icons';
9
- import * as i0 from "@angular/core";
10
9
  /**
11
10
  * Represents the Kendo UI SVG Icon component for Angular.
12
11
  */
13
- export declare class SVGIconComponent extends IconBaseDirective implements OnInit {
12
+ export declare class SVGIconComponent extends IconBase implements OnInit {
14
13
  private domSanitizer;
15
14
  element: ElementRef;
16
15
  renderer: Renderer2;
@@ -18,15 +17,12 @@ export declare class SVGIconComponent extends IconBaseDirective implements OnIni
18
17
  /**
19
18
  * Defines the SVG icon, which will be rendered.
20
19
  */
21
- set icon(icon: SVGIcon);
22
- get icon(): SVGIcon;
23
- get content(): SafeHtml;
24
- get visible(): boolean;
20
+ icon: SVGIcon;
21
+ readonly content: SafeHtml;
22
+ readonly visible: boolean;
25
23
  private safeContent;
26
24
  private _icon;
27
25
  constructor(domSanitizer: DomSanitizer, element: ElementRef, renderer: Renderer2);
28
26
  ngOnInit(): void;
29
27
  private verifyIconProperty;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<SVGIconComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<SVGIconComponent, "kendo-svg-icon", ["kendoSVGIcon"], { "icon": "icon"; }, {}, never, never>;
32
28
  }
@@ -2,16 +2,15 @@
2
2
  * Copyright © 2021 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, Input, HostBinding, isDevMode } from '@angular/core';
5
+ import * as tslib_1 from "tslib";
6
+ import { Component, ElementRef, Input, Renderer2, HostBinding, isDevMode } from '@angular/core';
7
+ import { DomSanitizer } from "@angular/platform-browser";
6
8
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
7
- import { IconBaseDirective } from '../common/icon-base';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/platform-browser";
10
- import * as i2 from "@angular/common";
9
+ import { IconBase } from '../common/icon-base';
11
10
  /**
12
11
  * Represents the Kendo UI SVG Icon component for Angular.
13
12
  */
14
- export class SVGIconComponent extends IconBaseDirective {
13
+ let SVGIconComponent = class SVGIconComponent extends IconBase {
15
14
  constructor(domSanitizer, element, renderer) {
16
15
  super(element, renderer);
17
16
  this.domSanitizer = domSanitizer;
@@ -55,25 +54,25 @@ export class SVGIconComponent extends IconBaseDirective {
55
54
  `);
56
55
  }
57
56
  }
58
- }
59
- SVGIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: SVGIconComponent, deps: [{ token: i1.DomSanitizer }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
60
- SVGIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.10", type: SVGIconComponent, selector: "kendo-svg-icon", inputs: { icon: "icon" }, host: { properties: { "class.k-svg-icon": "this.hostClass" } }, exportAs: ["kendoSVGIcon"], usesInheritance: true, ngImport: i0, template: `
61
- <svg *ngIf="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
62
- [attr.viewBox]="icon.viewBox" [innerHTML]="content">
63
- </svg>`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: SVGIconComponent, decorators: [{
65
- type: Component,
66
- args: [{
67
- exportAs: 'kendoSVGIcon',
68
- selector: 'kendo-svg-icon',
69
- template: `
57
+ };
58
+ tslib_1.__decorate([
59
+ HostBinding('class.k-svg-icon'),
60
+ tslib_1.__metadata("design:type", Boolean)
61
+ ], SVGIconComponent.prototype, "hostClass", void 0);
62
+ tslib_1.__decorate([
63
+ Input(),
64
+ tslib_1.__metadata("design:type", Object),
65
+ tslib_1.__metadata("design:paramtypes", [Object])
66
+ ], SVGIconComponent.prototype, "icon", null);
67
+ SVGIconComponent = tslib_1.__decorate([
68
+ Component({
69
+ exportAs: 'kendoSVGIcon',
70
+ selector: 'kendo-svg-icon',
71
+ template: `
70
72
  <svg *ngIf="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
71
73
  [attr.viewBox]="icon.viewBox" [innerHTML]="content">
72
74
  </svg>`
73
- }]
74
- }], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
75
- type: HostBinding,
76
- args: ['class.k-svg-icon']
77
- }], icon: [{
78
- type: Input
79
- }] } });
75
+ }),
76
+ tslib_1.__metadata("design:paramtypes", [DomSanitizer, ElementRef, Renderer2])
77
+ ], SVGIconComponent);
78
+ export { SVGIconComponent };
@@ -2,9 +2,6 @@
2
2
  * Copyright © 2021 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 * as i0 from "@angular/core";
6
- import * as i1 from "./svg-icon/svg-icon.component";
7
- import * as i2 from "@angular/common";
8
5
  /**
9
6
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
10
7
  * definition for the SVG Icon component.
@@ -37,7 +34,4 @@ import * as i2 from "@angular/common";
37
34
  * ```
38
35
  */
39
36
  export declare class SVGIconModule {
40
- static ɵfac: i0.ɵɵFactoryDeclaration<SVGIconModule, never>;
41
- static ɵmod: i0.ɵɵNgModuleDeclaration<SVGIconModule, [typeof i1.SVGIconComponent], [typeof i2.CommonModule], [typeof i1.SVGIconComponent]>;
42
- static ɵinj: i0.ɵɵInjectorDeclaration<SVGIconModule>;
43
37
  }
@@ -2,10 +2,10 @@
2
2
  * Copyright © 2021 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 * as tslib_1 from "tslib";
5
6
  import { NgModule } from '@angular/core';
6
7
  import { CommonModule } from '@angular/common';
7
8
  import { SVGIconComponent } from './svg-icon/svg-icon.component';
8
- import * as i0 from "@angular/core";
9
9
  const exportedModules = [
10
10
  SVGIconComponent
11
11
  ];
@@ -43,16 +43,13 @@ const declarations = [
43
43
  *
44
44
  * ```
45
45
  */
46
- export class SVGIconModule {
47
- }
48
- SVGIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: SVGIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- SVGIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: SVGIconModule, declarations: [SVGIconComponent], imports: [CommonModule], exports: [SVGIconComponent] });
50
- SVGIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: SVGIconModule, imports: [[CommonModule]] });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: SVGIconModule, decorators: [{
52
- type: NgModule,
53
- args: [{
54
- declarations: [declarations],
55
- exports: [exportedModules],
56
- imports: [CommonModule]
57
- }]
58
- }] });
46
+ let SVGIconModule = class SVGIconModule {
47
+ };
48
+ SVGIconModule = tslib_1.__decorate([
49
+ NgModule({
50
+ declarations: [declarations],
51
+ exports: [exportedModules],
52
+ imports: [CommonModule]
53
+ })
54
+ ], SVGIconModule);
55
+ export { SVGIconModule };
@@ -2,12 +2,11 @@
2
2
  * Copyright © 2021 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 * as i0 from '@angular/core';
6
- import { Directive, HostBinding, Input, Component, isDevMode, NgModule } from '@angular/core';
5
+ import { __decorate, __metadata } from 'tslib';
6
+ import { HostBinding, Input, Component, ElementRef, Renderer2, isDevMode, NgModule } from '@angular/core';
7
7
  import { validatePackage } from '@progress/kendo-licensing';
8
+ import { DomSanitizer } from '@angular/platform-browser';
8
9
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
- import * as i1 from '@angular/platform-browser';
10
- import * as i2 from '@angular/common';
11
10
  import { CommonModule } from '@angular/common';
12
11
 
13
12
  /**
@@ -17,7 +16,7 @@ const packageMetadata = {
17
16
  name: '@progress/kendo-angular-icons',
18
17
  productName: 'Kendo UI for Angular',
19
18
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
20
- publishDate: 1634718454,
19
+ publishDate: 1644840904,
21
20
  version: '',
22
21
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
23
22
  };
@@ -33,7 +32,7 @@ const sizeClasses = {
33
32
  /**
34
33
  * @hidden
35
34
  */
36
- class IconBaseDirective {
35
+ class IconBase {
37
36
  constructor(element, renderer) {
38
37
  this.element = element;
39
38
  this.renderer = renderer;
@@ -98,31 +97,35 @@ class IconBaseDirective {
98
97
  return this._size;
99
98
  }
100
99
  }
101
- IconBaseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: IconBaseDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
102
- IconBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.10", type: IconBaseDirective, selector: "[kendoIconBase]", inputs: { flip: "flip", themeColor: "themeColor", size: "size" }, host: { properties: { "class.k-flip-h": "this.horizontalFlip", "class.k-flip-v": "this.verticalFlip" } }, ngImport: i0 });
103
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: IconBaseDirective, decorators: [{
104
- type: Directive,
105
- args: [{
106
- selector: '[kendoIconBase]'
107
- }]
108
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { horizontalFlip: [{
109
- type: HostBinding,
110
- args: ['class.k-flip-h']
111
- }], verticalFlip: [{
112
- type: HostBinding,
113
- args: ['class.k-flip-v']
114
- }], flip: [{
115
- type: Input
116
- }], themeColor: [{
117
- type: Input
118
- }], size: [{
119
- type: Input
120
- }] } });
100
+ __decorate([
101
+ HostBinding('class.k-flip-h'),
102
+ __metadata("design:type", Boolean),
103
+ __metadata("design:paramtypes", [])
104
+ ], IconBase.prototype, "horizontalFlip", null);
105
+ __decorate([
106
+ HostBinding('class.k-flip-v'),
107
+ __metadata("design:type", Boolean),
108
+ __metadata("design:paramtypes", [])
109
+ ], IconBase.prototype, "verticalFlip", null);
110
+ __decorate([
111
+ Input(),
112
+ __metadata("design:type", String)
113
+ ], IconBase.prototype, "flip", void 0);
114
+ __decorate([
115
+ Input(),
116
+ __metadata("design:type", String),
117
+ __metadata("design:paramtypes", [String])
118
+ ], IconBase.prototype, "themeColor", null);
119
+ __decorate([
120
+ Input(),
121
+ __metadata("design:type", String),
122
+ __metadata("design:paramtypes", [String])
123
+ ], IconBase.prototype, "size", null);
121
124
 
122
125
  /**
123
126
  * Represents the Kendo UI Icon component for Angular.
124
127
  */
125
- class IconComponent extends IconBaseDirective {
128
+ let IconComponent = class IconComponent extends IconBase {
126
129
  constructor(element, renderer) {
127
130
  super(element, renderer);
128
131
  this.element = element;
@@ -144,27 +147,29 @@ class IconComponent extends IconBaseDirective {
144
147
  get name() {
145
148
  return this._name;
146
149
  }
147
- }
148
- IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: IconComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
149
- IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.10", type: IconComponent, selector: "kendo-icon", inputs: { name: "name" }, host: { properties: { "class.k-icon": "this.hostClass" } }, exportAs: ["kendoIcon"], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: IconComponent, decorators: [{
151
- type: Component,
152
- args: [{
153
- exportAs: 'kendoIcon',
154
- selector: 'kendo-icon',
155
- template: ``
156
- }]
157
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
158
- type: HostBinding,
159
- args: ['class.k-icon']
160
- }], name: [{
161
- type: Input
162
- }] } });
150
+ };
151
+ __decorate([
152
+ HostBinding('class.k-icon'),
153
+ __metadata("design:type", Boolean)
154
+ ], IconComponent.prototype, "hostClass", void 0);
155
+ __decorate([
156
+ Input(),
157
+ __metadata("design:type", String),
158
+ __metadata("design:paramtypes", [String])
159
+ ], IconComponent.prototype, "name", null);
160
+ IconComponent = __decorate([
161
+ Component({
162
+ exportAs: 'kendoIcon',
163
+ selector: 'kendo-icon',
164
+ template: ``
165
+ }),
166
+ __metadata("design:paramtypes", [ElementRef, Renderer2])
167
+ ], IconComponent);
163
168
 
164
169
  /**
165
170
  * Represents the Kendo UI SVG Icon component for Angular.
166
171
  */
167
- class SVGIconComponent extends IconBaseDirective {
172
+ let SVGIconComponent = class SVGIconComponent extends IconBase {
168
173
  constructor(domSanitizer, element, renderer) {
169
174
  super(element, renderer);
170
175
  this.domSanitizer = domSanitizer;
@@ -208,34 +213,33 @@ class SVGIconComponent extends IconBaseDirective {
208
213
  `);
209
214
  }
210
215
  }
211
- }
212
- SVGIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: SVGIconComponent, deps: [{ token: i1.DomSanitizer }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
213
- SVGIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.10", type: SVGIconComponent, selector: "kendo-svg-icon", inputs: { icon: "icon" }, host: { properties: { "class.k-svg-icon": "this.hostClass" } }, exportAs: ["kendoSVGIcon"], usesInheritance: true, ngImport: i0, template: `
214
- <svg *ngIf="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
215
- [attr.viewBox]="icon.viewBox" [innerHTML]="content">
216
- </svg>`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: SVGIconComponent, decorators: [{
218
- type: Component,
219
- args: [{
220
- exportAs: 'kendoSVGIcon',
221
- selector: 'kendo-svg-icon',
222
- template: `
216
+ };
217
+ __decorate([
218
+ HostBinding('class.k-svg-icon'),
219
+ __metadata("design:type", Boolean)
220
+ ], SVGIconComponent.prototype, "hostClass", void 0);
221
+ __decorate([
222
+ Input(),
223
+ __metadata("design:type", Object),
224
+ __metadata("design:paramtypes", [Object])
225
+ ], SVGIconComponent.prototype, "icon", null);
226
+ SVGIconComponent = __decorate([
227
+ Component({
228
+ exportAs: 'kendoSVGIcon',
229
+ selector: 'kendo-svg-icon',
230
+ template: `
223
231
  <svg *ngIf="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
224
232
  [attr.viewBox]="icon.viewBox" [innerHTML]="content">
225
233
  </svg>`
226
- }]
227
- }], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
228
- type: HostBinding,
229
- args: ['class.k-svg-icon']
230
- }], icon: [{
231
- type: Input
232
- }] } });
234
+ }),
235
+ __metadata("design:paramtypes", [DomSanitizer, ElementRef, Renderer2])
236
+ ], SVGIconComponent);
233
237
 
234
- const exportedModules$1 = [
238
+ const exportedModules = [
235
239
  IconComponent
236
240
  ];
237
- const declarations$1 = [
238
- ...exportedModules$1
241
+ const declarations = [
242
+ ...exportedModules
239
243
  ];
240
244
  /**
241
245
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -268,25 +272,21 @@ const declarations$1 = [
268
272
  *
269
273
  * ```
270
274
  */
271
- class IconModule {
272
- }
273
- IconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: IconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
274
- IconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: IconModule, declarations: [IconComponent], imports: [CommonModule], exports: [IconComponent] });
275
- IconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: IconModule, imports: [[CommonModule]] });
276
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: IconModule, decorators: [{
277
- type: NgModule,
278
- args: [{
279
- declarations: [declarations$1],
280
- exports: [exportedModules$1],
281
- imports: [CommonModule]
282
- }]
283
- }] });
275
+ let IconModule = class IconModule {
276
+ };
277
+ IconModule = __decorate([
278
+ NgModule({
279
+ declarations: [declarations],
280
+ exports: [exportedModules],
281
+ imports: [CommonModule]
282
+ })
283
+ ], IconModule);
284
284
 
285
- const exportedModules = [
285
+ const exportedModules$1 = [
286
286
  SVGIconComponent
287
287
  ];
288
- const declarations = [
289
- ...exportedModules
288
+ const declarations$1 = [
289
+ ...exportedModules$1
290
290
  ];
291
291
  /**
292
292
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -319,19 +319,15 @@ const declarations = [
319
319
  *
320
320
  * ```
321
321
  */
322
- class SVGIconModule {
323
- }
324
- SVGIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: SVGIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
325
- SVGIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: SVGIconModule, declarations: [SVGIconComponent], imports: [CommonModule], exports: [SVGIconComponent] });
326
- SVGIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: SVGIconModule, imports: [[CommonModule]] });
327
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: SVGIconModule, decorators: [{
328
- type: NgModule,
329
- args: [{
330
- declarations: [declarations],
331
- exports: [exportedModules],
332
- imports: [CommonModule]
333
- }]
334
- }] });
322
+ let SVGIconModule = class SVGIconModule {
323
+ };
324
+ SVGIconModule = __decorate([
325
+ NgModule({
326
+ declarations: [declarations$1],
327
+ exports: [exportedModules$1],
328
+ imports: [CommonModule]
329
+ })
330
+ ], SVGIconModule);
335
331
 
336
332
  /**
337
333
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -364,26 +360,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.10", ngImpo
364
360
  *
365
361
  * ```
366
362
  */
367
- class IconsModule {
368
- }
369
- IconsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: IconsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
370
- IconsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: IconsModule, exports: [IconModule,
371
- SVGIconModule] });
372
- IconsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: IconsModule, imports: [IconModule,
373
- SVGIconModule] });
374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0, type: IconsModule, decorators: [{
375
- type: NgModule,
376
- args: [{
377
- exports: [
378
- IconModule,
379
- SVGIconModule
380
- ]
381
- }]
382
- }] });
363
+ let IconsModule = class IconsModule {
364
+ };
365
+ IconsModule = __decorate([
366
+ NgModule({
367
+ exports: [
368
+ IconModule,
369
+ SVGIconModule
370
+ ]
371
+ })
372
+ ], IconsModule);
383
373
 
384
374
  /**
385
375
  * Generated bundle index. Do not edit.
386
376
  */
387
377
 
388
- export { IconComponent, IconModule, IconsModule, SVGIconComponent, SVGIconModule };
389
-
378
+ export { IconBase, IconComponent, SVGIconComponent, IconModule, SVGIconModule, IconsModule };