@fortawesome/angular-fontawesome
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"FontAwesomeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":8,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":12}],"declarations":[{"__symbolic":"reference","name":"FaIconComponent"},{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","name":"FaLayersTextComponent"},{"__symbolic":"reference","name":"FaLayersCounterComponent"}],"exports":[{"__symbolic":"reference","name":"FaIconComponent"},{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","name":"FaLayersTextComponent"},{"__symbolic":"reference","name":"FaLayersCounterComponent"}]}]}],"members":{}},"FaProps":{"__symbolic":"interface"},"FaIconComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":36,"character":1},"arguments":[{"selector":"fa-icon","template":"","host":{"class":"ng-fa-icon"}}]}],"members":{"iconProp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3},"arguments":["icon"]}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"spin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"pulse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"mask":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"flip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":3}}]}],"pull":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}}]}],"border":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"inverse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"symbol":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}}]}],"listItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":3}}]}],"rotate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":58,"character":3}}]}],"fixedWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":3}}]}],"transform":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":3}}]}],"renderedIconHTML":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":65,"character":3},"arguments":["innerHTML"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":68,"character":33},{"__symbolic":"reference","name":"FaIconService"}]}],"ngOnChanges":[{"__symbolic":"method"}],"updateIconSpec":[{"__symbolic":"method"}],"updateParams":[{"__symbolic":"method"}],"updateIcon":[{"__symbolic":"method"}],"renderIcon":[{"__symbolic":"method"}]}},"FaIconService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{},"statics":{"ngInjectableDef":{}}},"FaLayersComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"fa-layers","template":"<ng-content select=\"fa-icon, fa-layers-text, fa-layers-counter\"></ng-content>"}]}],"members":{"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"fixedWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"hostClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":16,"character":3},"arguments":["class"]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"updateClasses":[{"__symbolic":"method"}]}},"FaLayersTextComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵa"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":25,"character":1},"arguments":[{"selector":"fa-layers-text","template":"","host":{"class":"ng-fa-layers-text"}}]}],"members":{"spin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"pulse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"flip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"pull":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"border":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"inverse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":3}}]}],"listItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"rotate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"fixedWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"transform":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"updateParams":[{"__symbolic":"method"}],"renderFontawesomeObject":[{"__symbolic":"method"}]}},"FaLayersCounterComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵa"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":14,"character":1},"arguments":[{"selector":"fa-layers-counter","template":"","host":{"class":"ng-fa-layers-counter"}}]}],"members":{"updateParams":[{"__symbolic":"method"}],"renderFontawesomeObject":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":20,"character":1}}],"members":{"renderedHTML":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":23,"character":3},"arguments":["innerHTML"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":26,"character":15},"arguments":[{"__symbolic":"reference","name":"FaLayersComponent"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":26,"character":60}}],null],"parameters":[{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":27,"character":23}]}],"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}],"updateParams":[{"__symbolic":"method"}],"renderFontawesomeObject":[{"__symbolic":"method"}],"updateContent":[{"__symbolic":"method"}]}}},"origins":{"FontAwesomeModule":"./fontawesome.module","FaProps":"./shared/models/props.model","FaIconComponent":"./icon/icon.component","FaIconService":"./icon/icon.service","FaLayersComponent":"./layers/layers.component","FaLayersTextComponent":"./layers/layers-text.component","FaLayersCounterComponent":"./layers/layers-counter.component","ɵa":"./layers/layers-text-base.component"},"importAs":"@fortawesome/angular-fontawesome"} | ||
{"__symbolic":"module","version":4,"metadata":{"FontAwesomeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":8,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":12}],"declarations":[{"__symbolic":"reference","name":"FaIconComponent"},{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","name":"FaLayersTextComponent"},{"__symbolic":"reference","name":"FaLayersCounterComponent"}],"exports":[{"__symbolic":"reference","name":"FaIconComponent"},{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","name":"FaLayersTextComponent"},{"__symbolic":"reference","name":"FaLayersCounterComponent"}]}]}],"members":{}},"FaProps":{"__symbolic":"interface"},"FaIconComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":36,"character":1},"arguments":[{"selector":"fa-icon","template":"","host":{"class":"ng-fa-icon"}}]}],"members":{"iconProp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3},"arguments":["icon"]}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"spin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"pulse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"mask":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"flip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":3}}]}],"pull":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}}]}],"border":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"inverse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"symbol":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}}]}],"listItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":3}}]}],"rotate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":58,"character":3}}]}],"fixedWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":3}}]}],"transform":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":3}}]}],"renderedIconHTML":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":65,"character":3},"arguments":["innerHTML"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":68,"character":33},{"__symbolic":"reference","name":"FaIconService"}]}],"ngOnChanges":[{"__symbolic":"method"}],"updateIconSpec":[{"__symbolic":"method"}],"updateParams":[{"__symbolic":"method"}],"updateIcon":[{"__symbolic":"method"}],"renderIcon":[{"__symbolic":"method"}]}},"FaIconService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{},"statics":{"ngInjectableDef":{}}},"FaLayersComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"fa-layers","template":"<ng-content select=\"fa-icon, fa-layers-text, fa-layers-counter\"></ng-content>"}]}],"members":{"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"fixedWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":14,"character":3},"arguments":["class.fa-fw"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":18,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":19,"character":24}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}]}},"FaLayersTextComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵa"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":25,"character":1},"arguments":[{"selector":"fa-layers-text","template":"","host":{"class":"ng-fa-layers-text"}}]}],"members":{"spin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"pulse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"flip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"pull":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"border":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"inverse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":3}}]}],"listItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"rotate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"fixedWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"transform":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"updateParams":[{"__symbolic":"method"}],"renderFontawesomeObject":[{"__symbolic":"method"}]}},"FaLayersCounterComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵa"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":14,"character":1},"arguments":[{"selector":"fa-layers-counter","template":"","host":{"class":"ng-fa-layers-counter"}}]}],"members":{"updateParams":[{"__symbolic":"method"}],"renderFontawesomeObject":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":20,"character":1}}],"members":{"renderedHTML":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":23,"character":3},"arguments":["innerHTML"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":26,"character":15},"arguments":[{"__symbolic":"reference","name":"FaLayersComponent"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":26,"character":60}}],null],"parameters":[{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":27,"character":23}]}],"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}],"updateParams":[{"__symbolic":"method"}],"renderFontawesomeObject":[{"__symbolic":"method"}],"updateContent":[{"__symbolic":"method"}]}}},"origins":{"FontAwesomeModule":"./fontawesome.module","FaProps":"./shared/models/props.model","FaIconComponent":"./icon/icon.component","FaIconService":"./icon/icon.service","FaLayersComponent":"./layers/layers.component","FaLayersTextComponent":"./layers/layers-text.component","FaLayersCounterComponent":"./layers/layers-counter.component","ɵa":"./layers/layers-text-base.component"},"importAs":"@fortawesome/angular-fontawesome"} |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@fortawesome/fontawesome-svg-core"),require("@angular/core"),require("@angular/platform-browser"),require("@angular/common")):"function"==typeof define&&define.amd?define("@fortawesome/angular-fontawesome",["exports","@fortawesome/fontawesome-svg-core","@angular/core","@angular/platform-browser","@angular/common"],e):e((t.fortawesome=t.fortawesome||{},t.fortawesome["angular-fontawesome"]={}),t.fontawesomeSvgCore,t.ng.core,t.ng.platformBrowser,t.ng.common)}(this,function(t,s,n,e,r){"use strict";var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function p(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,s=n.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(r=s.next()).done;)i.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=s["return"])&&n.call(s)}finally{if(o)throw o.error}}return i}function u(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t}var l=function(t,e){return void 0===e&&(e="fas"),null==t?null:(n=t).prefix!==undefined&&n.iconName!==undefined?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:e,iconName:t}:void 0;var n},c=function(t,e){var n;return Array.isArray(e)&&0<e.length||!Array.isArray(e)&&e?((n={})[t]=e,n):{}},f=function(t){var e,n=((e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-li":t.listItem,"fa-inverse":t.inverse,"fa-layers-counter":t.counter,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip})["fa-"+t.size]=null!==t.size,e["fa-rotate-"+t.rotate]=null!==t.rotate,e["fa-pull-"+t.pull]=null!==t.pull,e);return Object.keys(n).map(function(t){return n[t]?t:null}).filter(function(t){return t})},y='<svg class="'+s.config.replacementClass+'" viewBox="0 0 448 512"></svg>\x3c!--icon not found--\x3e',h=function(){function t(){this.defaultPrefix="fas"}return t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=n.defineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),d=function(){function t(t,e){this.sanitizer=t,this.iconService=e,this.classes=[]}return t.prototype.ngOnChanges=function(t){t&&(this.updateIconSpec(),this.updateParams(),this.updateIcon(),this.renderIcon())},t.prototype.updateIconSpec=function(){this.iconSpec=l(this.iconProp,this.iconService.defaultPrefix)},t.prototype.updateParams=function(){var t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,listItem:this.listItem,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth},e=c("classes",u(f(t),this.classes)),n=c("mask",l(this.mask,this.iconService.defaultPrefix)),r="string"==typeof this.transform?s.parse.transform(this.transform):this.transform,o=c("transform",r);this.params=a({title:this.title},o,e,n,{styles:this.styles,symbol:this.symbol})},t.prototype.updateIcon=function(){this.icon=s.icon(this.iconSpec,this.params)},t.prototype.renderIcon=function(){var t,e;this.iconSpec||console.error("FontAwesome: Could not find icon. It looks like you've provided a null or undefined icon object to this component."),t=this.icon,(e=this.iconSpec)&&!t&&console.error("FontAwesome: Could not find icon with iconName="+e.iconName+" and prefix="+e.prefix),this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(this.icon?this.icon.html.join("\n"):y)},t.decorators=[{type:n.Component,args:[{selector:"fa-icon",template:"",host:{"class":"ng-fa-icon"}}]}],t.ctorParameters=function(){return[{type:e.DomSanitizer},{type:h}]},t.propDecorators={iconProp:[{type:n.Input,args:["icon"]}],title:[{type:n.Input}],spin:[{type:n.Input}],pulse:[{type:n.Input}],mask:[{type:n.Input}],styles:[{type:n.Input}],flip:[{type:n.Input}],size:[{type:n.Input}],pull:[{type:n.Input}],border:[{type:n.Input}],inverse:[{type:n.Input}],symbol:[{type:n.Input}],listItem:[{type:n.Input}],rotate:[{type:n.Input}],fixedWidth:[{type:n.Input}],classes:[{type:n.Input}],transform:[{type:n.Input}],renderedIconHTML:[{type:n.HostBinding,args:["innerHTML"]}]},t}(),m=function(){function t(){this.hostClass="fa-layers"}return t.prototype.ngOnInit=function(){this.updateClasses()},t.prototype.ngOnChanges=function(t){t&&this.updateClasses()},t.prototype.updateClasses=function(){var t,e,n,r={size:this.size||null,fixedWidth:this.fixedWidth};this.hostClass="fa-layers "+(t=r,(e={"fa-fw":t.fixedWidth})["fa-"+t.size]=null!==t.size,n=e,Object.keys(n).map(function(t){return n[t]?t:null}).filter(function(t){return t})).join(" ")},t.decorators=[{type:n.Component,args:[{selector:"fa-layers",template:'<ng-content select="fa-icon, fa-layers-text, fa-layers-counter"></ng-content>'}]}],t.propDecorators={size:[{type:n.Input}],fixedWidth:[{type:n.Input}],hostClass:[{type:n.HostBinding,args:["class"]}]},t}(),I=function(){function t(t,e){var n,r,o;this.parent=t,this.sanitizer=e,this.classes=[],n=this.parent,r="FaLayersComponent",o=this.constructor.name,n||console.error("FontAwesome: "+o+" should be used as child of "+r+" only.")}return t.prototype.ngOnChanges=function(t){t&&(this.updateParams(),this.updateContent())},t.prototype.updateContent=function(){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(this.renderFontawesomeObject(this.content||"",this.params).html.join("\n"))},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:m,decorators:[{type:n.Inject,args:[n.forwardRef(function(){return m})]},{type:n.Optional}]},{type:e.DomSanitizer}]},t.propDecorators={renderedHTML:[{type:n.HostBinding,args:["innerHTML"]}],content:[{type:n.Input}],title:[{type:n.Input}],styles:[{type:n.Input}],classes:[{type:n.Input}]},t}(),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.updateParams=function(){var t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,listItem:this.listItem,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth},e=c("classes",u(f(t),this.classes)),n="string"==typeof this.transform?s.parse.transform(this.transform):this.transform,r=c("transform",n);this.params=a({},r,e,{title:this.title,styles:this.styles})},e.prototype.renderFontawesomeObject=function(t,e){return s.text(t,e)},e.decorators=[{type:n.Component,args:[{selector:"fa-layers-text",template:"",host:{"class":"ng-fa-layers-text"}}]}],e.propDecorators={spin:[{type:n.Input}],pulse:[{type:n.Input}],flip:[{type:n.Input}],size:[{type:n.Input}],pull:[{type:n.Input}],border:[{type:n.Input}],inverse:[{type:n.Input}],listItem:[{type:n.Input}],rotate:[{type:n.Input}],fixedWidth:[{type:n.Input}],transform:[{type:n.Input}]},e}(I),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.updateParams=function(){this.params={title:this.title,classes:this.classes,styles:this.styles}},e.prototype.renderFontawesomeObject=function(t,e){return s.counter(t,e)},e.decorators=[{type:n.Component,args:[{selector:"fa-layers-counter",template:"",host:{"class":"ng-fa-layers-counter"}}]}],e}(I),b=function(){function t(){}return t.decorators=[{type:n.NgModule,args:[{imports:[r.CommonModule],declarations:[d,m,g,v],exports:[d,m,g,v]}]}],t}();t.FontAwesomeModule=b,t.FaIconComponent=d,t.FaIconService=h,t.FaLayersComponent=m,t.FaLayersTextComponent=g,t.FaLayersCounterComponent=v,t.ɵa=I,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@fortawesome/fontawesome-svg-core"),require("@angular/core"),require("@angular/platform-browser"),require("@angular/common")):"function"==typeof define&&define.amd?define("@fortawesome/angular-fontawesome",["exports","@fortawesome/fontawesome-svg-core","@angular/core","@angular/platform-browser","@angular/common"],e):e((t.fortawesome=t.fortawesome||{},t.fortawesome["angular-fontawesome"]={}),t.fontawesomeSvgCore,t.ng.core,t.ng.platformBrowser,t.ng.common)}(this,function(t,s,n,e,r){"use strict";var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function p(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,s=n.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(r=s.next()).done;)i.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=s["return"])&&n.call(s)}finally{if(o)throw o.error}}return i}function l(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t}var u=function(t,e){return void 0===e&&(e="fas"),null==t?null:(n=t).prefix!==undefined&&n.iconName!==undefined?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:e,iconName:t}:void 0;var n},c=function(t,e){var n;return Array.isArray(e)&&0<e.length||!Array.isArray(e)&&e?((n={})[t]=e,n):{}},f=function(t){var e,n=((e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-li":t.listItem,"fa-inverse":t.inverse,"fa-layers-counter":t.counter,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip})["fa-"+t.size]=null!==t.size,e["fa-rotate-"+t.rotate]=null!==t.rotate,e["fa-pull-"+t.pull]=null!==t.pull,e);return Object.keys(n).map(function(t){return n[t]?t:null}).filter(function(t){return t})},y='<svg class="'+s.config.replacementClass+'" viewBox="0 0 448 512"></svg>\x3c!--icon not found--\x3e',h=function(){function t(){this.defaultPrefix="fas"}return t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=n.defineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),d=function(){function t(t,e){this.sanitizer=t,this.iconService=e,this.classes=[]}return t.prototype.ngOnChanges=function(t){t&&(this.updateIconSpec(),this.updateParams(),this.updateIcon(),this.renderIcon())},t.prototype.updateIconSpec=function(){this.iconSpec=u(this.iconProp,this.iconService.defaultPrefix)},t.prototype.updateParams=function(){var t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,listItem:this.listItem,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth},e=c("classes",l(f(t),this.classes)),n=c("mask",u(this.mask,this.iconService.defaultPrefix)),r="string"==typeof this.transform?s.parse.transform(this.transform):this.transform,o=c("transform",r);this.params=a({title:this.title},o,e,n,{styles:this.styles,symbol:this.symbol})},t.prototype.updateIcon=function(){this.icon=s.icon(this.iconSpec,this.params)},t.prototype.renderIcon=function(){var t,e;this.iconSpec||console.error("FontAwesome: Could not find icon. It looks like you've provided a null or undefined icon object to this component."),t=this.icon,(e=this.iconSpec)&&!t&&console.error("FontAwesome: Could not find icon with iconName="+e.iconName+" and prefix="+e.prefix),this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(this.icon?this.icon.html.join("\n"):y)},t.decorators=[{type:n.Component,args:[{selector:"fa-icon",template:"",host:{"class":"ng-fa-icon"}}]}],t.ctorParameters=function(){return[{type:e.DomSanitizer},{type:h}]},t.propDecorators={iconProp:[{type:n.Input,args:["icon"]}],title:[{type:n.Input}],spin:[{type:n.Input}],pulse:[{type:n.Input}],mask:[{type:n.Input}],styles:[{type:n.Input}],flip:[{type:n.Input}],size:[{type:n.Input}],pull:[{type:n.Input}],border:[{type:n.Input}],inverse:[{type:n.Input}],symbol:[{type:n.Input}],listItem:[{type:n.Input}],rotate:[{type:n.Input}],fixedWidth:[{type:n.Input}],classes:[{type:n.Input}],transform:[{type:n.Input}],renderedIconHTML:[{type:n.HostBinding,args:["innerHTML"]}]},t}(),m=function(){function t(t,e){this.renderer=t,this.elementRef=e}return t.prototype.ngOnInit=function(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers")},t.prototype.ngOnChanges=function(t){"size"in t&&(null!=t.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,"fa-"+t.size.currentValue),null!=t.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,"fa-"+t.size.previousValue))},t.decorators=[{type:n.Component,args:[{selector:"fa-layers",template:'<ng-content select="fa-icon, fa-layers-text, fa-layers-counter"></ng-content>'}]}],t.ctorParameters=function(){return[{type:n.Renderer2},{type:n.ElementRef}]},t.propDecorators={size:[{type:n.Input}],fixedWidth:[{type:n.Input},{type:n.HostBinding,args:["class.fa-fw"]}]},t}(),I=function(){function t(t,e){var n,r,o;this.parent=t,this.sanitizer=e,this.classes=[],n=this.parent,r="FaLayersComponent",o=this.constructor.name,n||console.error("FontAwesome: "+o+" should be used as child of "+r+" only.")}return t.prototype.ngOnChanges=function(t){t&&(this.updateParams(),this.updateContent())},t.prototype.updateContent=function(){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(this.renderFontawesomeObject(this.content||"",this.params).html.join("\n"))},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:m,decorators:[{type:n.Inject,args:[n.forwardRef(function(){return m})]},{type:n.Optional}]},{type:e.DomSanitizer}]},t.propDecorators={renderedHTML:[{type:n.HostBinding,args:["innerHTML"]}],content:[{type:n.Input}],title:[{type:n.Input}],styles:[{type:n.Input}],classes:[{type:n.Input}]},t}(),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.updateParams=function(){var t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,listItem:this.listItem,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth},e=c("classes",l(f(t),this.classes)),n="string"==typeof this.transform?s.parse.transform(this.transform):this.transform,r=c("transform",n);this.params=a({},r,e,{title:this.title,styles:this.styles})},e.prototype.renderFontawesomeObject=function(t,e){return s.text(t,e)},e.decorators=[{type:n.Component,args:[{selector:"fa-layers-text",template:"",host:{"class":"ng-fa-layers-text"}}]}],e.propDecorators={spin:[{type:n.Input}],pulse:[{type:n.Input}],flip:[{type:n.Input}],size:[{type:n.Input}],pull:[{type:n.Input}],border:[{type:n.Input}],inverse:[{type:n.Input}],listItem:[{type:n.Input}],rotate:[{type:n.Input}],fixedWidth:[{type:n.Input}],transform:[{type:n.Input}]},e}(I),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.updateParams=function(){this.params={title:this.title,classes:this.classes,styles:this.styles}},e.prototype.renderFontawesomeObject=function(t,e){return s.counter(t,e)},e.decorators=[{type:n.Component,args:[{selector:"fa-layers-counter",template:"",host:{"class":"ng-fa-layers-counter"}}]}],e}(I),b=function(){function t(){}return t.decorators=[{type:n.NgModule,args:[{imports:[r.CommonModule],declarations:[d,m,g,v],exports:[d,m,g,v]}]}],t}();t.FontAwesomeModule=b,t.FaIconComponent=d,t.FaIconService=h,t.FaLayersComponent=m,t.FaLayersTextComponent=g,t.FaLayersCounterComponent=v,t.ɵa=I,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=angular-fontawesome.umd.min.js.map |
@@ -5,4 +5,3 @@ /** | ||
*/ | ||
import { Component, Input, HostBinding } from '@angular/core'; | ||
import { faLayerClassList } from '../shared/utils/classlist.util'; | ||
import { Component, ElementRef, HostBinding, Input, Renderer2 } from '@angular/core'; | ||
/** | ||
@@ -12,4 +11,9 @@ * Fontawesome layers. | ||
export class FaLayersComponent { | ||
constructor() { | ||
this.hostClass = 'fa-layers'; | ||
/** | ||
* @param {?} renderer | ||
* @param {?} elementRef | ||
*/ | ||
constructor(renderer, elementRef) { | ||
this.renderer = renderer; | ||
this.elementRef = elementRef; | ||
} | ||
@@ -20,3 +24,3 @@ /** | ||
ngOnInit() { | ||
this.updateClasses(); | ||
this.renderer.addClass(this.elementRef.nativeElement, 'fa-layers'); | ||
} | ||
@@ -28,17 +32,11 @@ /** | ||
ngOnChanges(changes) { | ||
if (changes) { | ||
this.updateClasses(); | ||
if ('size' in changes) { | ||
if (changes["size"].currentValue != null) { | ||
this.renderer.addClass(this.elementRef.nativeElement, `fa-${changes["size"].currentValue}`); | ||
} | ||
if (changes["size"].previousValue != null) { | ||
this.renderer.removeClass(this.elementRef.nativeElement, `fa-${changes["size"].previousValue}`); | ||
} | ||
} | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
updateClasses() { | ||
/** @type {?} */ | ||
const classOpts = { | ||
size: this.size || null, | ||
fixedWidth: this.fixedWidth, | ||
}; | ||
this.hostClass = `fa-layers ${faLayerClassList(classOpts).join(' ')}`; | ||
} | ||
} | ||
@@ -51,6 +49,10 @@ FaLayersComponent.decorators = [ | ||
]; | ||
/** @nocollapse */ | ||
FaLayersComponent.ctorParameters = () => [ | ||
{ type: Renderer2 }, | ||
{ type: ElementRef } | ||
]; | ||
FaLayersComponent.propDecorators = { | ||
size: [{ type: Input }], | ||
fixedWidth: [{ type: Input }], | ||
hostClass: [{ type: HostBinding, args: ['class',] }] | ||
fixedWidth: [{ type: Input }, { type: HostBinding, args: ['class.fa-fw',] }] | ||
}; | ||
@@ -63,5 +65,7 @@ if (false) { | ||
/** @type {?} */ | ||
FaLayersComponent.prototype.hostClass; | ||
FaLayersComponent.prototype.renderer; | ||
/** @type {?} */ | ||
FaLayersComponent.prototype.elementRef; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5ZXJzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bmb3J0YXdlc29tZS9hbmd1bGFyLWZvbnRhd2Vzb21lLyIsInNvdXJjZXMiOlsibGF5ZXJzL2xheWVycy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFvQyxXQUFXLEV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VuZGVyZXIuYWRkQ2xhc3ModGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsICdmYS1sYXllcnMnKTtcbiAgfVxuXG4gIG5nT25DaGFuZ2VzKGNoYW5nZXM6IFNpbXBsZUNoYW5nZXMpIHtcbiAgICBpZiAoJ3NpemUnIGluIGNoYW5nZXMpIHtcbiAgICAgIGlmIChjaGFuZ2VzLnNpemUuY3VycmVudFZhbHVlICE9IG51bGwpIHtcbiAgICAgICAgdGhpcy5yZW5kZXJlci5hZGRDbGFzcyh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgYGZhLSR7Y2hhbmdlcy5zaXplLmN1cnJlbnRWYWx1ZX1gKTtcbiAgICAgIH1cbiAgICAgIGlmIChjaGFuZ2VzLnNpemUucHJldmlvdXNWYWx1ZSAhPSBudWxsKSB7XG4gICAgICAgIHRoaXMucmVuZGVyZXIucmVtb3ZlQ2xhc3ModGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsIGBmYS0ke2NoYW5nZXMuc2l6ZS5wcmV2aW91c1ZhbHVlfWApO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19 |
@@ -29,14 +29,3 @@ /** | ||
}; | ||
/** @type {?} */ | ||
export const faLayerClassList = (props) => { | ||
/** @type {?} */ | ||
const classes = { | ||
'fa-fw': props.fixedWidth, | ||
[`fa-${props.size}`]: props.size !== null, | ||
}; | ||
return Object.keys(classes) | ||
.map(key => (classes[key] ? key : null)) | ||
.filter(key => key); | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xhc3NsaXN0LnV0aWwuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZm9ydGF3ZXNvbWUvYW5ndWxhci1mb250YXdlc29tZS8iLCJzb3VyY2VzIjpbInNoYXJlZC91dGlscy9jbGFzc2xpc3QudXRpbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOz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bGlwID09PSAnYm90aCcsXG4gICAgJ2ZhLWZsaXAtdmVydGljYWwnOiBwcm9wcy5mbGlwID09PSAndmVydGljYWwnIHx8IHByb3BzLmZsaXAgPT09ICdib3RoJyxcbiAgICBbYGZhLSR7cHJvcHMuc2l6ZX1gXTogcHJvcHMuc2l6ZSAhPT0gbnVsbCxcbiAgICBbYGZhLXJvdGF0ZS0ke3Byb3BzLnJvdGF0ZX1gXTogcHJvcHMucm90YXRlICE9PSBudWxsLFxuICAgIFtgZmEtcHVsbC0ke3Byb3BzLnB1bGx9YF06IHByb3BzLnB1bGwgIT09IG51bGxcbiAgfTtcblxuICByZXR1cm4gT2JqZWN0LmtleXMoY2xhc3NlcylcbiAgICAubWFwKGtleSA9PiAoY2xhc3Nlc1trZXldID8ga2V5IDogbnVsbCkpXG4gICAgLmZpbHRlcihrZXkgPT4ga2V5KTtcbn07XG4iXX0= |
@@ -5,4 +5,3 @@ /** | ||
*/ | ||
import { Component, Input, HostBinding } from '@angular/core'; | ||
import { faLayerClassList } from '../shared/utils/classlist.util'; | ||
import { Component, ElementRef, HostBinding, Input, Renderer2 } from '@angular/core'; | ||
/** | ||
@@ -12,4 +11,5 @@ * Fontawesome layers. | ||
var FaLayersComponent = /** @class */ (function () { | ||
function FaLayersComponent() { | ||
this.hostClass = 'fa-layers'; | ||
function FaLayersComponent(renderer, elementRef) { | ||
this.renderer = renderer; | ||
this.elementRef = elementRef; | ||
} | ||
@@ -23,3 +23,3 @@ /** | ||
function () { | ||
this.updateClasses(); | ||
this.renderer.addClass(this.elementRef.nativeElement, 'fa-layers'); | ||
}; | ||
@@ -35,20 +35,11 @@ /** | ||
function (changes) { | ||
if (changes) { | ||
this.updateClasses(); | ||
if ('size' in changes) { | ||
if (changes["size"].currentValue != null) { | ||
this.renderer.addClass(this.elementRef.nativeElement, "fa-" + changes["size"].currentValue); | ||
} | ||
if (changes["size"].previousValue != null) { | ||
this.renderer.removeClass(this.elementRef.nativeElement, "fa-" + changes["size"].previousValue); | ||
} | ||
} | ||
}; | ||
/** | ||
* @return {?} | ||
*/ | ||
FaLayersComponent.prototype.updateClasses = /** | ||
* @return {?} | ||
*/ | ||
function () { | ||
/** @type {?} */ | ||
var classOpts = { | ||
size: this.size || null, | ||
fixedWidth: this.fixedWidth, | ||
}; | ||
this.hostClass = "fa-layers " + faLayerClassList(classOpts).join(' '); | ||
}; | ||
FaLayersComponent.decorators = [ | ||
@@ -60,6 +51,10 @@ { type: Component, args: [{ | ||
]; | ||
/** @nocollapse */ | ||
FaLayersComponent.ctorParameters = function () { return [ | ||
{ type: Renderer2 }, | ||
{ type: ElementRef } | ||
]; }; | ||
FaLayersComponent.propDecorators = { | ||
size: [{ type: Input }], | ||
fixedWidth: [{ type: Input }], | ||
hostClass: [{ type: HostBinding, args: ['class',] }] | ||
fixedWidth: [{ type: Input }, { type: HostBinding, args: ['class.fa-fw',] }] | ||
}; | ||
@@ -75,5 +70,7 @@ return FaLayersComponent; | ||
/** @type {?} */ | ||
FaLayersComponent.prototype.hostClass; | ||
FaLayersComponent.prototype.renderer; | ||
/** @type {?} */ | ||
FaLayersComponent.prototype.elementRef; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5ZXJzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bmb3J0YXdlc29tZS9hbmd1bGFyLWZvbnRhd2Vzb21lLyIsInNvdXJjZXMiOlsibGF5ZXJzL2xheWVycy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFvQyxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFaEcsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7Ozs7Ozt5QkFlcEQsV0FBVzs7Ozs7SUFFdkIsb0NBQVE7OztJQUFSO1FBQ0Us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XZlRWxlbWVudCwgJ2ZhLWxheWVycycpO1xuICB9XG5cbiAgbmdPbkNoYW5nZXMoY2hhbmdlczogU2ltcGxlQ2hhbmdlcykge1xuICAgIGlmICgnc2l6ZScgaW4gY2hhbmdlcykge1xuICAgICAgaWYgKGNoYW5nZXMuc2l6ZS5jdXJyZW50VmFsdWUgIT0gbnVsbCkge1xuICAgICAgICB0aGlzLnJlbmRlcmVyLmFkZENsYXNzKHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCBgZmEtJHtjaGFuZ2VzLnNpemUuY3VycmVudFZhbHVlfWApO1xuICAgICAgfVxuICAgICAgaWYgKGNoYW5nZXMuc2l6ZS5wcmV2aW91c1ZhbHVlICE9IG51bGwpIHtcbiAgICAgICAgdGhpcy5yZW5kZXJlci5yZW1vdmVDbGFzcyh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgYGZhLSR7Y2hhbmdlcy5zaXplLnByZXZpb3VzVmFsdWV9YCk7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0= |
@@ -31,16 +31,3 @@ /** | ||
}; | ||
/** @type {?} */ | ||
export var faLayerClassList = function (props) { | ||
var _a; | ||
/** @type {?} */ | ||
var classes = (_a = { | ||
'fa-fw': props.fixedWidth | ||
}, | ||
_a["fa-" + props.size] = props.size !== null, | ||
_a); | ||
return Object.keys(classes) | ||
.map(function (key) { return (classes[key] ? key : null); }) | ||
.filter(function (key) { return key; }); | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xhc3NsaXN0LnV0aWwuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZm9ydGF3ZXNvbWUvYW5ndWxhci1mb250YXdlc29tZS8iLCJzb3VyY2VzIjpbInNoYXJlZC91dGlscy9jbGFzc2xpc3QudXRpbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQU1BLFdBQWEsV0FBVyxH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nRpY2FsJyB8fCBwcm9wcy5mbGlwID09PSAnYm90aCcsXG4gICAgW2BmYS0ke3Byb3BzLnNpemV9YF06IHByb3BzLnNpemUgIT09IG51bGwsXG4gICAgW2BmYS1yb3RhdGUtJHtwcm9wcy5yb3RhdGV9YF06IHByb3BzLnJvdGF0ZSAhPT0gbnVsbCxcbiAgICBbYGZhLXB1bGwtJHtwcm9wcy5wdWxsfWBdOiBwcm9wcy5wdWxsICE9PSBudWxsXG4gIH07XG5cbiAgcmV0dXJuIE9iamVjdC5rZXlzKGNsYXNzZXMpXG4gICAgLm1hcChrZXkgPT4gKGNsYXNzZXNba2V5XSA/IGtleSA6IG51bGwpKVxuICAgIC5maWx0ZXIoa2V5ID0+IGtleSk7XG59O1xuIl19 |
import { config, icon, parse, text, counter } from '@fortawesome/fontawesome-svg-core'; | ||
import { Injectable, Input, Inject, Optional, forwardRef, HostBinding, NgModule, Component, defineInjectable } from '@angular/core'; | ||
import { Injectable, Input, Inject, Optional, forwardRef, HostBinding, NgModule, Component, ElementRef, Renderer2, defineInjectable } from '@angular/core'; | ||
import { DomSanitizer } from '@angular/platform-browser'; | ||
@@ -76,13 +76,2 @@ import { CommonModule } from '@angular/common'; | ||
}; | ||
/** @type {?} */ | ||
const faLayerClassList = (props) => { | ||
/** @type {?} */ | ||
const classes = { | ||
'fa-fw': props.fixedWidth, | ||
[`fa-${props.size}`]: props.size !== null, | ||
}; | ||
return Object.keys(classes) | ||
.map(key => (classes[key] ? key : null)) | ||
.filter(key => key); | ||
}; | ||
@@ -257,4 +246,9 @@ /** | ||
class FaLayersComponent { | ||
constructor() { | ||
this.hostClass = 'fa-layers'; | ||
/** | ||
* @param {?} renderer | ||
* @param {?} elementRef | ||
*/ | ||
constructor(renderer, elementRef) { | ||
this.renderer = renderer; | ||
this.elementRef = elementRef; | ||
} | ||
@@ -265,3 +259,3 @@ /** | ||
ngOnInit() { | ||
this.updateClasses(); | ||
this.renderer.addClass(this.elementRef.nativeElement, 'fa-layers'); | ||
} | ||
@@ -273,17 +267,11 @@ /** | ||
ngOnChanges(changes) { | ||
if (changes) { | ||
this.updateClasses(); | ||
if ('size' in changes) { | ||
if (changes["size"].currentValue != null) { | ||
this.renderer.addClass(this.elementRef.nativeElement, `fa-${changes["size"].currentValue}`); | ||
} | ||
if (changes["size"].previousValue != null) { | ||
this.renderer.removeClass(this.elementRef.nativeElement, `fa-${changes["size"].previousValue}`); | ||
} | ||
} | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
updateClasses() { | ||
/** @type {?} */ | ||
const classOpts = { | ||
size: this.size || null, | ||
fixedWidth: this.fixedWidth, | ||
}; | ||
this.hostClass = `fa-layers ${faLayerClassList(classOpts).join(' ')}`; | ||
} | ||
} | ||
@@ -296,6 +284,10 @@ FaLayersComponent.decorators = [ | ||
]; | ||
/** @nocollapse */ | ||
FaLayersComponent.ctorParameters = () => [ | ||
{ type: Renderer2 }, | ||
{ type: ElementRef } | ||
]; | ||
FaLayersComponent.propDecorators = { | ||
size: [{ type: Input }], | ||
fixedWidth: [{ type: Input }], | ||
hostClass: [{ type: HostBinding, args: ['class',] }] | ||
fixedWidth: [{ type: Input }, { type: HostBinding, args: ['class.fa-fw',] }] | ||
}; | ||
@@ -508,2 +500,2 @@ | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhci1mb250YXdlc29tZS5qcy5tYXAiLCJzb3VyY2VzIjpbIm5nOi8vQGZvcnRhd2Vzb21lL2FuZ3VsYXItZm9udGF3ZXNvbWUvc2hhcmVkL3V0aWxzL2lzLWljb24tbG9va3VwLnV0aWwudHMiLCJuZzovL0Bmb3J0YXdlc29tZS9hbmd1bGFyLWZvbnRhd2Vzb21lL3NoYXJlZC91dGlscy9ub3JtYWxpemUtaWNvbi1zcGVjLnV0aWwudHMiLCJuZzovL0Bmb3J0YXdlc29tZS9hbmd1bGFyLWZvbnRhd2Vzb21lL3NoYXJlZC91dGlscy9vY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0FBSyxFQUFFLElBQUksQ0FBQyxLQUFLO1lBQ2pCLE9BQU8sRUFBRSxJQUFJLENBQUMsT0FBTztZQUNyQixNQUFNLEVBQUUsSUFBSSxDQUFDLE1BQU07U0FDcEIsQ0FBQztLQUNIOzs7Ozs7SUFFUyx1QkFBdUIsQ0FBQyxPQUF3QixFQUFFLE1BQXNCO1FBQ2hGLE9BQU8sT0FBTyxDQUFDLE9BQU8sRUFBRSxNQUFNLENBQUMsQ0FBQztLQUNqQzs7O1lBdEJGLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsbUJBQW1CO2dCQUM3QixRQUFRLEVBQUUsRUFBRTtnQkFDWixJQUFJLEVBQUU7b0JBQ0osS0FBSyxFQUFFLHNCQUFzQjtpQkFDOUI7YUFDRjs7Ozs7OztBQ3BCRDs7O1lBUUMsUUFBUSxTQUFDO2dCQUNSLE9BQU8sRUFBRSxDQUFDLFlBQVksQ0FBQztnQkFDdkIsWUFBWSxFQUFFO29CQUNaLGVBQWU7b0JBQ2YsaUJBQWlCO29CQUNqQixxQkFBcUI7b0JBQ3JCLHdCQUF3QjtpQkFDekI7Z0JBQ0QsT0FBTyxFQUFFO29CQUNQLGVBQWU7b0JBQ2YsaUJBQWlCO29CQUNqQixxQkFBcUI7b0JBQ3JCLHdCQUF3QjtpQkFDekI7YUFDRjs7Ozs7Ozs7Ozs7Ozs7OyJ9 |
import { config, icon, parse, text, counter } from '@fortawesome/fontawesome-svg-core'; | ||
import { Injectable, Input, Inject, Optional, forwardRef, HostBinding, Component, NgModule, defineInjectable } from '@angular/core'; | ||
import { Injectable, Input, Inject, Optional, forwardRef, HostBinding, NgModule, Component, ElementRef, Renderer2, defineInjectable } from '@angular/core'; | ||
import { __extends, __spread, __assign } from 'tslib'; | ||
@@ -81,15 +81,2 @@ import { DomSanitizer } from '@angular/platform-browser'; | ||
}; | ||
/** @type {?} */ | ||
var faLayerClassList = function (props) { | ||
var _a; | ||
/** @type {?} */ | ||
var classes = (_a = { | ||
'fa-fw': props.fixedWidth | ||
}, | ||
_a["fa-" + props.size] = props.size !== null, | ||
_a); | ||
return Object.keys(classes) | ||
.map(function (key) { return (classes[key] ? key : null); }) | ||
.filter(function (key) { return key; }); | ||
}; | ||
@@ -282,4 +269,5 @@ /** | ||
var FaLayersComponent = /** @class */ (function () { | ||
function FaLayersComponent() { | ||
this.hostClass = 'fa-layers'; | ||
function FaLayersComponent(renderer, elementRef) { | ||
this.renderer = renderer; | ||
this.elementRef = elementRef; | ||
} | ||
@@ -293,3 +281,3 @@ /** | ||
function () { | ||
this.updateClasses(); | ||
this.renderer.addClass(this.elementRef.nativeElement, 'fa-layers'); | ||
}; | ||
@@ -305,20 +293,11 @@ /** | ||
function (changes) { | ||
if (changes) { | ||
this.updateClasses(); | ||
if ('size' in changes) { | ||
if (changes["size"].currentValue != null) { | ||
this.renderer.addClass(this.elementRef.nativeElement, "fa-" + changes["size"].currentValue); | ||
} | ||
if (changes["size"].previousValue != null) { | ||
this.renderer.removeClass(this.elementRef.nativeElement, "fa-" + changes["size"].previousValue); | ||
} | ||
} | ||
}; | ||
/** | ||
* @return {?} | ||
*/ | ||
FaLayersComponent.prototype.updateClasses = /** | ||
* @return {?} | ||
*/ | ||
function () { | ||
/** @type {?} */ | ||
var classOpts = { | ||
size: this.size || null, | ||
fixedWidth: this.fixedWidth, | ||
}; | ||
this.hostClass = "fa-layers " + faLayerClassList(classOpts).join(' '); | ||
}; | ||
FaLayersComponent.decorators = [ | ||
@@ -330,6 +309,10 @@ { type: Component, args: [{ | ||
]; | ||
/** @nocollapse */ | ||
FaLayersComponent.ctorParameters = function () { return [ | ||
{ type: Renderer2 }, | ||
{ type: ElementRef } | ||
]; }; | ||
FaLayersComponent.propDecorators = { | ||
size: [{ type: Input }], | ||
fixedWidth: [{ type: Input }], | ||
hostClass: [{ type: HostBinding, args: ['class',] }] | ||
fixedWidth: [{ type: Input }, { type: HostBinding, args: ['class.fa-fw',] }] | ||
}; | ||
@@ -586,2 +569,2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0FBQyxDQUFDO0tBQ2pDOztnQkF0QkYsU0FBUyxTQUFDO29CQUNULFFBQVEsRUFBRSxtQkFBbUI7b0JBQzdCLFFBQVEsRUFBRSxFQUFFO29CQUNaLElBQUksRUFBRTt3QkFDSixLQUFLLEVBQUUsc0JBQXNCO3FCQUM5QjtpQkFDRjs7bUNBcEJEO0VBcUI4Qyx5QkFBeUI7Ozs7OztBQ3JCdkU7Ozs7Z0JBUUMsUUFBUSxTQUFDO29CQUNSLE9BQU8sRUFBRSxDQUFDLFlBQVksQ0FBQztvQkFDdkIsWUFBWSxFQUFFO3dCQUNaLGVBQWU7d0JBQ2YsaUJBQWlCO3dCQUNqQixxQkFBcUI7d0JBQ3JCLHdCQUF3QjtxQkFDekI7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLGVBQWU7d0JBQ2YsaUJBQWlCO3dCQUNqQixxQkFBcUI7d0JBQ3JCLHdCQUF3QjtxQkFDekI7aUJBQ0Y7OzRCQXRCRDs7Ozs7Ozs7Ozs7Ozs7OyJ9 |
@@ -1,2 +0,2 @@ | ||
import { SimpleChanges, OnChanges, OnInit } from '@angular/core'; | ||
import { ElementRef, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core'; | ||
import { SizeProp } from '@fortawesome/fontawesome-svg-core'; | ||
@@ -7,8 +7,9 @@ /** | ||
export declare class FaLayersComponent implements OnInit, OnChanges { | ||
private renderer; | ||
private elementRef; | ||
size?: SizeProp; | ||
fixedWidth?: boolean; | ||
hostClass: string; | ||
constructor(renderer: Renderer2, elementRef: ElementRef); | ||
ngOnInit(): void; | ||
ngOnChanges(changes: SimpleChanges): void; | ||
updateClasses(): void; | ||
} |
{ | ||
"$schema": "../node_modules/ng-packagr/package.schema.json", | ||
"name": "@fortawesome/angular-fontawesome", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Angular Fontawesome, an Angular library", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -7,2 +7,1 @@ import { FaProps } from '../models/props.model'; | ||
export declare const faClassList: (props: FaProps) => string[]; | ||
export declare const faLayerClassList: (props: FaProps) => string[]; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
439612
3296