@progress/kendo-angular-icons 2.0.0 → 2.0.1-dev.202205121437
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,4 +2,4 @@
|
|
|
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
|
-
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core"),require("@progress/kendo-licensing"),require("@progress/kendo-angular-common"),require("@angular/platform-browser"),require("@angular/common")):"function"==typeof define&&define.amd?define("KendoAngularIcons",["exports","@angular/core","@progress/kendo-licensing","@progress/kendo-angular-common","@angular/platform-browser","@angular/common"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularIcons={},e.ng.core,e.KendoLicensing,e.KendoAngularCommon,e.ng.platformBrowser,e.ng.common)}(this,function(e,n,t,o,r,i){"use strict";function s(t){if(t&&t.__esModule)return t;var o=Object.create(null);return t&&Object.keys(t).forEach(function(e){var n;"default"!==e&&(n=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(o,e,n.get?n:{enumerable:!0,get:function(){return t[e]}}))}),o.default=t,Object.freeze(o)}var a=s(n),c=s(r),r=s(i),l=function(e,n){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])})(e,n)};function p(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}l(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}Object.create;function m(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var o,r,i=t.call(e),s=[];try{for(;(void 0===n||0<n--)&&!(o=i.next()).done;)s.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(r)throw r.error}}return s}function u(e,n,t){if(t||2===arguments.length)for(var o,r=0,i=n.length;r<i;r++)!o&&r in n||((o=o||Array.prototype.slice.call(n,0,r))[r]=n[r]);return e.concat(o||Array.prototype.slice.call(n))}Object.create;var g={name:"@progress/kendo-angular-icons",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:
|
|
5
|
+
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core"),require("@progress/kendo-licensing"),require("@progress/kendo-angular-common"),require("@angular/platform-browser"),require("@angular/common")):"function"==typeof define&&define.amd?define("KendoAngularIcons",["exports","@angular/core","@progress/kendo-licensing","@progress/kendo-angular-common","@angular/platform-browser","@angular/common"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularIcons={},e.ng.core,e.KendoLicensing,e.KendoAngularCommon,e.ng.platformBrowser,e.ng.common)}(this,function(e,n,t,o,r,i){"use strict";function s(t){if(t&&t.__esModule)return t;var o=Object.create(null);return t&&Object.keys(t).forEach(function(e){var n;"default"!==e&&(n=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(o,e,n.get?n:{enumerable:!0,get:function(){return t[e]}}))}),o.default=t,Object.freeze(o)}var a=s(n),c=s(r),r=s(i),l=function(e,n){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])})(e,n)};function p(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}l(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}Object.create;function m(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var o,r,i=t.call(e),s=[];try{for(;(void 0===n||0<n--)&&!(o=i.next()).done;)s.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(r)throw r.error}}return s}function u(e,n,t){if(t||2===arguments.length)for(var o,r=0,i=n.length;r<i;r++)!o&&r in n||((o=o||Array.prototype.slice.call(n,0,r))[r]=n[r]);return e.concat(o||Array.prototype.slice.call(n))}Object.create;var g={name:"@progress/kendo-angular-icons",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1652366209,version:"",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"},d={default:"k-icon",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},f=(Object.defineProperty(y.prototype,"horizontalFlip",{get:function(){return"horizontal"===this.flip||"both"===this.flip},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"verticalFlip",{get:function(){return"vertical"===this.flip||"both"===this.flip},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"themeColor",{get:function(){return this._themeColor},set:function(e){var n=this.element.nativeElement;this._themeColor=e,this.renderer.removeClass(n,"k-color-"+e),e&&this.renderer.addClass(n,"k-color-"+e)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"size",{get:function(){return this._size},set:function(e){var n=this.element.nativeElement,t=(this._size=e,d[this.size]);this.renderer.removeClass(n,t),"default"!==e&&this.renderer.addClass(n,t)},enumerable:!1,configurable:!0}),y);function y(e,n){this.element=e,this.renderer=n,t.validatePackage(g)}f.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:f,deps:[{token:a.ElementRef},{token:a.Renderer2}],target:a.ɵɵFactoryTarget.Directive}),f.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:f,selector:"[kendoIconBase]",inputs:{flip:"flip",themeColor:"themeColor",size:"size"},host:{properties:{"class.k-flip-h":"this.horizontalFlip","class.k-flip-v":"this.verticalFlip"}},ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:f,decorators:[{type:n.Directive,args:[{selector:"[kendoIconBase]"}]}],ctorParameters:function(){return[{type:a.ElementRef},{type:a.Renderer2}]},propDecorators:{horizontalFlip:[{type:n.HostBinding,args:["class.k-flip-h"]}],verticalFlip:[{type:n.HostBinding,args:["class.k-flip-v"]}],flip:[{type:n.Input}],themeColor:[{type:n.Input}],size:[{type:n.Input}]}});p(I,h=f),Object.defineProperty(I.prototype,"name",{get:function(){return this._name},set:function(e){var n=this.element.nativeElement;this.renderer.removeClass(n,"k-i-"+this.name),(this._name=e)&&this.renderer.addClass(n,"k-i-"+this.name)},enumerable:!1,configurable:!0});var h,v=I;function I(e,n){var t=h.call(this,e,n)||this;return t.element=e,t.renderer=n,t.hostClass=!0,t}v.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:v,deps:[{token:a.ElementRef},{token:a.Renderer2}],target:a.ɵɵFactoryTarget.Component}),v.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:v,selector:"kendo-icon",inputs:{name:"name"},host:{properties:{"class.k-icon":"this.hostClass"}},exportAs:["kendoIcon"],usesInheritance:!0,ngImport:a,template:"",isInline:!0}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:v,decorators:[{type:n.Component,args:[{exportAs:"kendoIcon",selector:"kendo-icon",template:""}]}],ctorParameters:function(){return[{type:a.ElementRef},{type:a.Renderer2}]},propDecorators:{hostClass:[{type:n.HostBinding,args:["class.k-icon"]}],name:[{type:n.Input}]}});p(b,k=f),Object.defineProperty(b.prototype,"icon",{get:function(){return this._icon},set:function(e){var n=this.element.nativeElement;this._icon&&this._icon.name&&this.renderer.removeClass(n,"k-svg-i-"+this._icon.name),this._icon=e,this.renderer.addClass(n,"k-svg-i-"+this._icon.name)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"content",{get:function(){return this.safeContent=this.safeContent||this.domSanitizer.bypassSecurityTrustHtml(this.icon.content),this.safeContent},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"visible",{get:function(){return this.icon&&o.isDocumentAvailable()},enumerable:!1,configurable:!0}),b.prototype.ngOnInit=function(){this.verifyIconProperty()},b.prototype.verifyIconProperty=function(){if(n.isDevMode()&&!this._icon)throw new Error("\n Invalid configuration.\n The input [icon] is required for the Kendo UI SVG Icon component for Angular.\n See https://www.telerik.com/kendo-angular-ui/components/icons/svg-icon\n ")};var k,f=b;function b(e,n,t){var o=k.call(this,n,t)||this;return o.domSanitizer=e,o.element=n,o.renderer=t,o.hostClass=!0,o}f.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:f,deps:[{token:c.DomSanitizer},{token:a.ElementRef},{token:a.Renderer2}],target:a.ɵɵFactoryTarget.Component}),f.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:f,selector:"kendo-svg-icon",inputs:{icon:"icon"},host:{properties:{"class.k-svg-icon":"this.hostClass"}},exportAs:["kendoSVGIcon"],usesInheritance:!0,ngImport:a,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>',isInline:!0,directives:[{type:r.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]}]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:f,decorators:[{type:n.Component,args:[{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>'}]}],ctorParameters:function(){return[{type:c.DomSanitizer},{type:a.ElementRef},{type:a.Renderer2}]},propDecorators:{hostClass:[{type:n.HostBinding,args:["class.k-svg-icon"]}],icon:[{type:n.Input}]}});var r=[v],C=u([],m(r)),w=function(){},C=(w.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w,deps:[],target:a.ɵɵFactoryTarget.NgModule}),w.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w,declarations:[v],imports:[i.CommonModule],exports:[v]}),w.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w,imports:[[i.CommonModule]]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w,decorators:[{type:n.NgModule,args:[{declarations:[C],exports:[r],imports:[i.CommonModule]}]}]}),[f]),r=u([],m(C)),D=function(){},r=(D.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:D,deps:[],target:a.ɵɵFactoryTarget.NgModule}),D.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:D,declarations:[f],imports:[i.CommonModule],exports:[f]}),D.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:D,imports:[[i.CommonModule]]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:D,decorators:[{type:n.NgModule,args:[{declarations:[r],exports:[C],imports:[i.CommonModule]}]}]}),function(){});r.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:r,deps:[],target:a.ɵɵFactoryTarget.NgModule}),r.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:r,exports:[w,D]}),r.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:r,imports:[w,D]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:r,decorators:[{type:n.NgModule,args:[{exports:[w,D]}]}]}),e.IconComponent=v,e.IconModule=w,e.IconsModule=r,e.SVGIconComponent=f,e.SVGIconModule=D,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
@@ -0,0 +1,7 @@
|
|
|
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 { IconFlip } from './flip';
|
|
6
|
+
export { IconSize } from './size';
|
|
7
|
+
export { IconThemeColor } from './theme-color';
|
|
@@ -0,0 +1,5 @@
|
|
|
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 {};
|
|
@@ -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:
|
|
12
|
+
publishDate: 1652366209,
|
|
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
|
};
|
|
@@ -17,7 +17,7 @@ const packageMetadata = {
|
|
|
17
17
|
name: '@progress/kendo-angular-icons',
|
|
18
18
|
productName: 'Kendo UI for Angular',
|
|
19
19
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
20
|
-
publishDate:
|
|
20
|
+
publishDate: 1652366209,
|
|
21
21
|
version: '',
|
|
22
22
|
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
23
|
};
|
package/main.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export { SVGIconComponent } from './svg-icon/svg-icon.component';
|
|
|
7
7
|
export { IconModule } from './icon.module';
|
|
8
8
|
export { SVGIconModule } from './svg-icon.module';
|
|
9
9
|
export { IconsModule } from './icons.module';
|
|
10
|
+
export { IconFlip, IconSize, IconThemeColor } from './common/models';
|