@fortawesome/angular-fontawesome
Advanced tools
Comparing version 0.8.0 to 0.8.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":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"FaIconComponent"},{"__symbolic":"reference","name":"FaDuotoneIconComponent"},{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","name":"FaLayersTextComponent"},{"__symbolic":"reference","name":"FaLayersCounterComponent"},{"__symbolic":"reference","name":"FaStackComponent"},{"__symbolic":"reference","name":"FaStackItemSizeDirective"}],"exports":[{"__symbolic":"reference","name":"FaIconComponent"},{"__symbolic":"reference","name":"FaDuotoneIconComponent"},{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","name":"FaLayersTextComponent"},{"__symbolic":"reference","name":"FaLayersCounterComponent"},{"__symbolic":"reference","name":"FaStackComponent"},{"__symbolic":"reference","name":"FaStackItemSizeDirective"}]}]}],"members":{}},"FaProps":{"__symbolic":"interface"},"FaIconComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":26,"character":1},"arguments":[{"selector":"fa-icon","template":"","host":{"class":"ng-fa-icon","[attr.title]":"title","$quoted$":["[attr.title]"]}}]}],"members":{"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"spin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"pulse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"mask":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"flip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"pull":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"border":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"inverse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"symbol":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":3}}]}],"rotate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}}]}],"fixedWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"transform":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}}]}],"a11yRole":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"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","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":71,"character":5}}]],"parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":68,"character":23},{"__symbolic":"reference","name":"FaConfig"},{"__symbolic":"reference","name":"FaIconLibrary"},{"__symbolic":"reference","name":"FaStackItemSizeDirective"}]}],"ngOnChanges":[{"__symbolic":"method"}],"render":[{"__symbolic":"method"}],"findIconDefinition":[{"__symbolic":"method"}],"buildParams":[{"__symbolic":"method"}],"renderIcon":[{"__symbolic":"method"}]}},"FaDuotoneIconComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"FaIconComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"fa-duotone-icon","template":""}]}],"members":{"swapOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"primaryOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"secondaryOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"primaryColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":3}}]}],"secondaryColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"findIconDefinition":[{"__symbolic":"method"}],"buildParams":[{"__symbolic":"method"}]}},"FaConfig":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{},"statics":{"ɵprov":{}}},"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-duotone-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":13,"character":12},"arguments":["class.fa-fw"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":15,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":15,"character":63},{"__symbolic":"reference","name":"FaConfig"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}]}},"FaLayersTextComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":18,"character":1},"arguments":[{"selector":"fa-layers-text","template":"","host":{"class":"ng-fa-layers-text"}}]}],"members":{"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"spin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"pulse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"flip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"pull":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"border":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"inverse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"rotate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"fixedWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"transform":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"renderedHTML":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":41,"character":3},"arguments":["innerHTML"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":43,"character":15}}],null],"parameters":[{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":43,"character":80}]}],"ngOnChanges":[{"__symbolic":"method"}],"buildParams":[{"__symbolic":"method"}],"updateContent":[{"__symbolic":"method"}]}},"FaLayersCounterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"fa-layers-counter","template":"","host":{"class":"ng-fa-layers-counter"}}]}],"members":{"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"renderedHTML":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":19,"character":3},"arguments":["innerHTML"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":21,"character":15}}],null],"parameters":[{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":21,"character":80}]}],"ngOnChanges":[{"__symbolic":"method"}],"buildParams":[{"__symbolic":"method"}],"updateContent":[{"__symbolic":"method"}]}},"FaStackComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"fa-stack","template":"<ng-content select=\"fa-icon[stackItemSize],fa-duotone-icon[stackItemSize]\"></ng-content>"}]}],"members":{"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":17,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":17,"character":63}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}]}},"FaStackItemSizeDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"fa-icon[stackItemSize],fa-duotone-icon[stackItemSize]"}]}],"members":{"stackItemSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}]}},"FaIconLibrary":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":9,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"addIcons":[{"__symbolic":"method"}],"addIconPacks":[{"__symbolic":"method"}],"getIconDefinition":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"FaIconLibraryInterface":{"__symbolic":"interface"}},"origins":{"FontAwesomeModule":"./fontawesome.module","FaProps":"./shared/models/props.model","FaIconComponent":"./icon/icon.component","FaDuotoneIconComponent":"./icon/duotone-icon.component","FaConfig":"./config","FaLayersComponent":"./layers/layers.component","FaLayersTextComponent":"./layers/layers-text.component","FaLayersCounterComponent":"./layers/layers-counter.component","FaStackComponent":"./stack/stack.component","FaStackItemSizeDirective":"./stack/stack-item-size.directive","FaIconLibrary":"./icon-library","FaIconLibraryInterface":"./icon-library"},"importAs":"@fortawesome/angular-fontawesome"} | ||
{"__symbolic":"module","version":4,"metadata":{"FontAwesomeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"FaIconComponent"},{"__symbolic":"reference","name":"FaDuotoneIconComponent"},{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","name":"FaLayersTextComponent"},{"__symbolic":"reference","name":"FaLayersCounterComponent"},{"__symbolic":"reference","name":"FaStackComponent"},{"__symbolic":"reference","name":"FaStackItemSizeDirective"}],"exports":[{"__symbolic":"reference","name":"FaIconComponent"},{"__symbolic":"reference","name":"FaDuotoneIconComponent"},{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","name":"FaLayersTextComponent"},{"__symbolic":"reference","name":"FaLayersCounterComponent"},{"__symbolic":"reference","name":"FaStackComponent"},{"__symbolic":"reference","name":"FaStackItemSizeDirective"}]}]}],"members":{}},"FaProps":{"__symbolic":"interface"},"FaIconComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":27,"character":1},"arguments":[{"selector":"fa-icon","template":"","host":{"class":"ng-fa-icon","[attr.title]":"title","$quoted$":["[attr.title]"]}}]}],"members":{"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"spin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"pulse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"mask":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"flip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"pull":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"border":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"inverse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":3}}]}],"symbol":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}}]}],"rotate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"fixedWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}}]}],"transform":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":3}}]}],"a11yRole":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":3}}]}],"renderedIconHTML":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":66,"character":3},"arguments":["innerHTML"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":72,"character":5}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":73,"character":5}}]],"parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":69,"character":23},{"__symbolic":"reference","name":"FaConfig"},{"__symbolic":"reference","name":"FaIconLibrary"},{"__symbolic":"reference","name":"FaStackItemSizeDirective"},{"__symbolic":"reference","name":"FaStackComponent"}]}],"ngOnChanges":[{"__symbolic":"method"}],"render":[{"__symbolic":"method"}],"findIconDefinition":[{"__symbolic":"method"}],"buildParams":[{"__symbolic":"method"}],"renderIcon":[{"__symbolic":"method"}]}},"FaDuotoneIconComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"FaIconComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"fa-duotone-icon","template":""}]}],"members":{"swapOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"primaryOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"secondaryOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"primaryColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":3}}]}],"secondaryColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"findIconDefinition":[{"__symbolic":"method"}],"buildParams":[{"__symbolic":"method"}]}},"FaConfig":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{},"statics":{"ɵprov":{}}},"FaLayersComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"fa-layers","template":"<ng-content></ng-content>"}]}],"members":{"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"fixedWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":14,"character":12},"arguments":["class.fa-fw"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":16,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":16,"character":63},{"__symbolic":"reference","name":"FaConfig"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}]}},"FaLayersTextComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":18,"character":1},"arguments":[{"selector":"fa-layers-text","template":"","host":{"class":"ng-fa-layers-text"}}]}],"members":{"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"spin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"pulse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"flip":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"pull":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"border":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"inverse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"rotate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"fixedWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"transform":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"renderedHTML":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":41,"character":3},"arguments":["innerHTML"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":43,"character":15}}],null],"parameters":[{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":43,"character":80}]}],"ngOnChanges":[{"__symbolic":"method"}],"buildParams":[{"__symbolic":"method"}],"updateContent":[{"__symbolic":"method"}]}},"FaLayersCounterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"fa-layers-counter","template":"","host":{"class":"ng-fa-layers-counter"}}]}],"members":{"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"renderedHTML":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":19,"character":3},"arguments":["innerHTML"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":21,"character":15}}],null],"parameters":[{"__symbolic":"reference","name":"FaLayersComponent"},{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":21,"character":80}]}],"ngOnChanges":[{"__symbolic":"method"}],"buildParams":[{"__symbolic":"method"}],"updateContent":[{"__symbolic":"method"}]}},"FaStackComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"fa-stack","template":"<ng-content></ng-content>"}]}],"members":{"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":16,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":16,"character":63}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}]}},"FaStackItemSizeDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"fa-icon[stackItemSize],fa-duotone-icon[stackItemSize]"}]}],"members":{"stackItemSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}]}},"FaIconLibrary":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":9,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"addIcons":[{"__symbolic":"method"}],"addIconPacks":[{"__symbolic":"method"}],"getIconDefinition":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"FaIconLibraryInterface":{"__symbolic":"interface"}},"origins":{"FontAwesomeModule":"./fontawesome.module","FaProps":"./shared/models/props.model","FaIconComponent":"./icon/icon.component","FaDuotoneIconComponent":"./icon/duotone-icon.component","FaConfig":"./config","FaLayersComponent":"./layers/layers.component","FaLayersTextComponent":"./layers/layers-text.component","FaLayersCounterComponent":"./layers/layers-counter.component","FaStackComponent":"./stack/stack.component","FaStackItemSizeDirective":"./stack/stack-item-size.directive","FaIconLibrary":"./icon-library","FaIconLibraryInterface":"./icon-library"},"importAs":"@fortawesome/angular-fontawesome"} |
@@ -506,4 +506,38 @@ (function (global, factory) { | ||
var FaStackComponent = /** @class */ (function () { | ||
function FaStackComponent(renderer, elementRef) { | ||
this.renderer = renderer; | ||
this.elementRef = elementRef; | ||
} | ||
FaStackComponent.prototype.ngOnInit = function () { | ||
this.renderer.addClass(this.elementRef.nativeElement, 'fa-stack'); | ||
}; | ||
FaStackComponent.prototype.ngOnChanges = function (changes) { | ||
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 FaStackComponent; | ||
}()); | ||
FaStackComponent.decorators = [ | ||
{ type: i0.Component, args: [{ | ||
selector: 'fa-stack', | ||
template: "<ng-content></ng-content>" | ||
},] } | ||
]; | ||
FaStackComponent.ctorParameters = function () { return [ | ||
{ type: i0.Renderer2 }, | ||
{ type: i0.ElementRef } | ||
]; }; | ||
FaStackComponent.propDecorators = { | ||
size: [{ type: i0.Input }] | ||
}; | ||
var FaIconComponent = /** @class */ (function () { | ||
function FaIconComponent(sanitizer, config, iconLibrary, stackItem) { | ||
function FaIconComponent(sanitizer, config, iconLibrary, stackItem, stack) { | ||
this.sanitizer = sanitizer; | ||
@@ -514,2 +548,6 @@ this.config = config; | ||
this.classes = []; | ||
if (stack != null && stackItem == null) { | ||
console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into ' + | ||
'fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.'); | ||
} | ||
} | ||
@@ -616,3 +654,4 @@ FaIconComponent.prototype.ngOnChanges = function (changes) { | ||
{ type: FaIconLibrary }, | ||
{ type: FaStackItemSizeDirective, decorators: [{ type: i0.Optional }] } | ||
{ type: FaStackItemSizeDirective, decorators: [{ type: i0.Optional }] }, | ||
{ type: FaStackComponent, decorators: [{ type: i0.Optional }] } | ||
]; }; | ||
@@ -727,3 +766,3 @@ FaIconComponent.propDecorators = { | ||
selector: 'fa-layers', | ||
template: "<ng-content select=\"fa-icon, fa-duotone-icon, fa-layers-text, fa-layers-counter\"></ng-content>" | ||
template: "<ng-content></ng-content>" | ||
},] } | ||
@@ -859,37 +898,2 @@ ]; | ||
var FaStackComponent = /** @class */ (function () { | ||
function FaStackComponent(renderer, elementRef) { | ||
this.renderer = renderer; | ||
this.elementRef = elementRef; | ||
} | ||
FaStackComponent.prototype.ngOnInit = function () { | ||
this.renderer.addClass(this.elementRef.nativeElement, 'fa-stack'); | ||
}; | ||
FaStackComponent.prototype.ngOnChanges = function (changes) { | ||
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 FaStackComponent; | ||
}()); | ||
FaStackComponent.decorators = [ | ||
{ type: i0.Component, args: [{ | ||
selector: 'fa-stack', | ||
// TODO: See if it is better to select fa-icon and throw if it does not have stackItemSize directive | ||
template: "<ng-content select=\"fa-icon[stackItemSize],fa-duotone-icon[stackItemSize]\"></ng-content>" | ||
},] } | ||
]; | ||
FaStackComponent.ctorParameters = function () { return [ | ||
{ type: i0.Renderer2 }, | ||
{ type: i0.ElementRef } | ||
]; }; | ||
FaStackComponent.propDecorators = { | ||
size: [{ type: i0.Input }] | ||
}; | ||
var FontAwesomeModule = /** @class */ (function () { | ||
@@ -896,0 +900,0 @@ function FontAwesomeModule() { |
@@ -15,3 +15,3 @@ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/platform-browser"),require("@fortawesome/fontawesome-svg-core")):"function"==typeof define&&define.amd?define("@fortawesome/angular-fontawesome",["exports","@angular/core","@angular/platform-browser","@fortawesome/fontawesome-svg-core"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).fortawesome=t.fortawesome||{},t.fortawesome["angular-fontawesome"]={}),t.ng.core,t.ng.platformBrowser,t.fontawesomeSvgCore)}(this,(function(t,e,n,r){"use strict"; | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */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)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};Object.create;function i(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function a(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]));return t}Object.create;var l=function(){this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1};l.ɵprov=e.ɵɵdefineInjectable({factory:function(){return new l},token:l,providedIn:"root"}),l.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}];var p=function(){function t(){this.definitions={}}return t.prototype.addIcons=function(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{for(var o=i(n),s=o.next();!s.done;s=o.next()){var a=s.value;a.prefix in this.definitions||(this.definitions[a.prefix]={}),this.definitions[a.prefix][a.iconName]=a}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}},t.prototype.addIconPacks=function(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=function(t){var e=Object.keys(t).map((function(e){return t[e]}));s.addIcons.apply(s,a(e))},s=this;try{for(var l=i(n),p=l.next();!p.done;p=l.next()){var c=p.value;o(c)}}catch(e){t={error:e}}finally{try{p&&!p.done&&(e=l.return)&&e.call(l)}finally{if(t)throw t.error}}},t.prototype.getIconDefinition=function(t,e){return t in this.definitions&&e in this.definitions[t]?this.definitions[t][e]:null},t}();p.ɵprov=e.ɵɵdefineInjectable({factory:function(){return new p},token:p,providedIn:"root"}),p.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}];var c=function(t){var e,n=((e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"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["fa-stack-"+t.stackItemSize]=null!=t.stackItemSize,e);return Object.keys(n).map((function(t){return n[t]?t:null})).filter((function(t){return t}))},u=function(){function t(){this.stackItemSize="1x"}return t.prototype.ngOnChanges=function(t){if("size"in t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')},t}();u.decorators=[{type:e.Directive,args:[{selector:"fa-icon[stackItemSize],fa-duotone-icon[stackItemSize]"}]}],u.propDecorators={stackItemSize:[{type:e.Input}],size:[{type:e.Input}]};var f=function(){function t(t,e,n,r){this.sanitizer=t,this.config=e,this.iconLibrary=n,this.stackItem=r,this.classes=[]}return t.prototype.ngOnChanges=function(t){if(null==this.icon&&null==this.config.fallbackIcon)return function(){throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")}();var e=null;if(e=null==this.icon?this.config.fallbackIcon:this.icon,t){var n=this.findIconDefinition(e);if(null!=n){var r=this.buildParams();this.renderIcon(n,r)}}},t.prototype.render=function(){this.ngOnChanges({})},t.prototype.findIconDefinition=function(t){var e=function(t,e){return void 0!==(n=t).prefix&&void 0!==n.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:e,iconName:t}:void 0;var n}(t,this.config.defaultPrefix);if("icon"in e)return e;var n=this.iconLibrary.getIconDefinition(e.prefix,e.iconName);if(null!=n)return n;var o=r.findIconDefinition(e);if(null!=o){var i="Global icon library is deprecated. Consult https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md for the migration instructions.";if("unset"===this.config.globalLibrary)console.error("FontAwesome: "+i);else if(!this.config.globalLibrary)throw new Error(i);return o}return function(t){throw new Error("Could not find icon with iconName="+t.iconName+" and prefix="+t.prefix+" in the icon library.")}(e),null},t.prototype.buildParams=function(){var t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},e="string"==typeof this.transform?r.parse.transform(this.transform):this.transform;return{title:this.title,transform:e,classes:a(c(t),this.classes),mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}},t.prototype.renderIcon=function(t,e){var n=r.icon(t,e);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(n.html.join("\n"))},t}();f.decorators=[{type:e.Component,args:[{selector:"fa-icon",template:"",host:{class:"ng-fa-icon","[attr.title]":"title"}}]}],f.ctorParameters=function(){return[{type:n.DomSanitizer},{type:l},{type:p},{type:u,decorators:[{type:e.Optional}]}]},f.propDecorators={icon:[{type:e.Input}],title:[{type:e.Input}],spin:[{type:e.Input}],pulse:[{type:e.Input}],mask:[{type:e.Input}],styles:[{type:e.Input}],flip:[{type:e.Input}],size:[{type:e.Input}],pull:[{type:e.Input}],border:[{type:e.Input}],inverse:[{type:e.Input}],symbol:[{type:e.Input}],rotate:[{type:e.Input}],fixedWidth:[{type:e.Input}],classes:[{type:e.Input}],transform:[{type:e.Input}],a11yRole:[{type:e.Input}],renderedIconHTML:[{type:e.HostBinding,args:["innerHTML"]}]};var y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.findIconDefinition=function(e){var n=t.prototype.findIconDefinition.call(this,e);if(null!=n&&!Array.isArray(n.icon[4]))throw new Error("The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: <fa-duotone-icon [icon]=\"['fad', '"+n.iconName+'\']"></fa-duotone-icon> or use: <fa-icon icon="'+n.iconName+'"></fa-icon> instead.');return n},e.prototype.buildParams=function(){var e=t.prototype.buildParams.call(this);return!0!==this.swapOpacity&&"true"!==this.swapOpacity||e.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(e.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(e.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(e.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(e.styles["--fa-secondary-color"]=this.secondaryColor),e},e}(f);y.decorators=[{type:e.Component,args:[{selector:"fa-duotone-icon",template:""}]}],y.propDecorators={swapOpacity:[{type:e.Input}],primaryOpacity:[{type:e.Input}],secondaryOpacity:[{type:e.Input}],primaryColor:[{type:e.Input}],secondaryColor:[{type:e.Input}]};var h=function(t,e,n){if(!t)throw new Error(n+" should be used as child of "+e+" only.")},d=function(){function t(t,e,n){this.renderer=t,this.elementRef=e,this.config=n}return t.prototype.ngOnInit=function(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth},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}();d.decorators=[{type:e.Component,args:[{selector:"fa-layers",template:'<ng-content select="fa-icon, fa-duotone-icon, fa-layers-text, fa-layers-counter"></ng-content>'}]}],d.ctorParameters=function(){return[{type:e.Renderer2},{type:e.ElementRef},{type:l}]},d.propDecorators={size:[{type:e.Input}],fixedWidth:[{type:e.Input},{type:e.HostBinding,args:["class.fa-fw"]}]};var m=function(){function t(t,e){this.parent=t,this.sanitizer=e,this.classes=[],h(this.parent,"FaLayersComponent",this.constructor.name)}return t.prototype.ngOnChanges=function(t){if(t){var e=this.buildParams();this.updateContent(e)}},t.prototype.buildParams=function(){return{title:this.title,classes:this.classes,styles:this.styles}},t.prototype.updateContent=function(t){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(r.counter(this.content||"",t).html.join(""))},t}();m.decorators=[{type:e.Component,args:[{selector:"fa-layers-counter",template:"",host:{class:"ng-fa-layers-counter"}}]}],m.ctorParameters=function(){return[{type:d,decorators:[{type:e.Optional}]},{type:n.DomSanitizer}]},m.propDecorators={content:[{type:e.Input}],title:[{type:e.Input}],styles:[{type:e.Input}],classes:[{type:e.Input}],renderedHTML:[{type:e.HostBinding,args:["innerHTML"]}]};var I=function(){function t(t,e){this.parent=t,this.sanitizer=e,this.classes=[],h(this.parent,"FaLayersComponent",this.constructor.name)}return t.prototype.ngOnChanges=function(t){if(t){var e=this.buildParams();this.updateContent(e)}},t.prototype.buildParams=function(){var t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?r.parse.transform(this.transform):this.transform,classes:a(c(t),this.classes),title:this.title,styles:this.styles}},t.prototype.updateContent=function(t){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(r.text(this.content||"",t).html.join("\n"))},t}();I.decorators=[{type:e.Component,args:[{selector:"fa-layers-text",template:"",host:{class:"ng-fa-layers-text"}}]}],I.ctorParameters=function(){return[{type:d,decorators:[{type:e.Optional}]},{type:n.DomSanitizer}]},I.propDecorators={content:[{type:e.Input}],title:[{type:e.Input}],styles:[{type:e.Input}],classes:[{type:e.Input}],spin:[{type:e.Input}],pulse:[{type:e.Input}],flip:[{type:e.Input}],size:[{type:e.Input}],pull:[{type:e.Input}],border:[{type:e.Input}],inverse:[{type:e.Input}],rotate:[{type:e.Input}],fixedWidth:[{type:e.Input}],transform:[{type:e.Input}],renderedHTML:[{type:e.HostBinding,args:["innerHTML"]}]};var g=function(){function t(t,e){this.renderer=t,this.elementRef=e}return t.prototype.ngOnInit=function(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")},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}();g.decorators=[{type:e.Component,args:[{selector:"fa-stack",template:'<ng-content select="fa-icon[stackItemSize],fa-duotone-icon[stackItemSize]"></ng-content>'}]}],g.ctorParameters=function(){return[{type:e.Renderer2},{type:e.ElementRef}]},g.propDecorators={size:[{type:e.Input}]};var v=function(){};v.decorators=[{type:e.NgModule,args:[{declarations:[f,y,d,I,m,g,u],exports:[f,y,d,I,m,g,u]}]}],t.FaConfig=l,t.FaDuotoneIconComponent=y,t.FaIconComponent=f,t.FaIconLibrary=p,t.FaLayersComponent=d,t.FaLayersCounterComponent=m,t.FaLayersTextComponent=I,t.FaStackComponent=g,t.FaStackItemSizeDirective=u,t.FontAwesomeModule=v,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
***************************************************************************** */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)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};Object.create;function i(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function a(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]));return t}Object.create;var p=function(){this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1};p.ɵprov=e.ɵɵdefineInjectable({factory:function(){return new p},token:p,providedIn:"root"}),p.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}];var l=function(){function t(){this.definitions={}}return t.prototype.addIcons=function(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{for(var o=i(n),s=o.next();!s.done;s=o.next()){var a=s.value;a.prefix in this.definitions||(this.definitions[a.prefix]={}),this.definitions[a.prefix][a.iconName]=a}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}},t.prototype.addIconPacks=function(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=function(t){var e=Object.keys(t).map((function(e){return t[e]}));s.addIcons.apply(s,a(e))},s=this;try{for(var p=i(n),l=p.next();!l.done;l=p.next()){var c=l.value;o(c)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(e=p.return)&&e.call(p)}finally{if(t)throw t.error}}},t.prototype.getIconDefinition=function(t,e){return t in this.definitions&&e in this.definitions[t]?this.definitions[t][e]:null},t}();l.ɵprov=e.ɵɵdefineInjectable({factory:function(){return new l},token:l,providedIn:"root"}),l.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}];var c=function(t){var e,n=((e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"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["fa-stack-"+t.stackItemSize]=null!=t.stackItemSize,e);return Object.keys(n).map((function(t){return n[t]?t:null})).filter((function(t){return t}))},u=function(){function t(){this.stackItemSize="1x"}return t.prototype.ngOnChanges=function(t){if("size"in t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')},t}();u.decorators=[{type:e.Directive,args:[{selector:"fa-icon[stackItemSize],fa-duotone-icon[stackItemSize]"}]}],u.propDecorators={stackItemSize:[{type:e.Input}],size:[{type:e.Input}]};var f=function(){function t(t,e){this.renderer=t,this.elementRef=e}return t.prototype.ngOnInit=function(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")},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}();f.decorators=[{type:e.Component,args:[{selector:"fa-stack",template:"<ng-content></ng-content>"}]}],f.ctorParameters=function(){return[{type:e.Renderer2},{type:e.ElementRef}]},f.propDecorators={size:[{type:e.Input}]};var y=function(){function t(t,e,n,r,o){this.sanitizer=t,this.config=e,this.iconLibrary=n,this.stackItem=r,this.classes=[],null!=o&&null==r&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}return t.prototype.ngOnChanges=function(t){if(null==this.icon&&null==this.config.fallbackIcon)return function(){throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")}();var e=null;if(e=null==this.icon?this.config.fallbackIcon:this.icon,t){var n=this.findIconDefinition(e);if(null!=n){var r=this.buildParams();this.renderIcon(n,r)}}},t.prototype.render=function(){this.ngOnChanges({})},t.prototype.findIconDefinition=function(t){var e=function(t,e){return void 0!==(n=t).prefix&&void 0!==n.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:e,iconName:t}:void 0;var n}(t,this.config.defaultPrefix);if("icon"in e)return e;var n=this.iconLibrary.getIconDefinition(e.prefix,e.iconName);if(null!=n)return n;var o=r.findIconDefinition(e);if(null!=o){var i="Global icon library is deprecated. Consult https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md for the migration instructions.";if("unset"===this.config.globalLibrary)console.error("FontAwesome: "+i);else if(!this.config.globalLibrary)throw new Error(i);return o}return function(t){throw new Error("Could not find icon with iconName="+t.iconName+" and prefix="+t.prefix+" in the icon library.")}(e),null},t.prototype.buildParams=function(){var t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},e="string"==typeof this.transform?r.parse.transform(this.transform):this.transform;return{title:this.title,transform:e,classes:a(c(t),this.classes),mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}},t.prototype.renderIcon=function(t,e){var n=r.icon(t,e);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(n.html.join("\n"))},t}();y.decorators=[{type:e.Component,args:[{selector:"fa-icon",template:"",host:{class:"ng-fa-icon","[attr.title]":"title"}}]}],y.ctorParameters=function(){return[{type:n.DomSanitizer},{type:p},{type:l},{type:u,decorators:[{type:e.Optional}]},{type:f,decorators:[{type:e.Optional}]}]},y.propDecorators={icon:[{type:e.Input}],title:[{type:e.Input}],spin:[{type:e.Input}],pulse:[{type:e.Input}],mask:[{type:e.Input}],styles:[{type:e.Input}],flip:[{type:e.Input}],size:[{type:e.Input}],pull:[{type:e.Input}],border:[{type:e.Input}],inverse:[{type:e.Input}],symbol:[{type:e.Input}],rotate:[{type:e.Input}],fixedWidth:[{type:e.Input}],classes:[{type:e.Input}],transform:[{type:e.Input}],a11yRole:[{type:e.Input}],renderedIconHTML:[{type:e.HostBinding,args:["innerHTML"]}]};var h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.findIconDefinition=function(e){var n=t.prototype.findIconDefinition.call(this,e);if(null!=n&&!Array.isArray(n.icon[4]))throw new Error("The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: <fa-duotone-icon [icon]=\"['fad', '"+n.iconName+'\']"></fa-duotone-icon> or use: <fa-icon icon="'+n.iconName+'"></fa-icon> instead.');return n},e.prototype.buildParams=function(){var e=t.prototype.buildParams.call(this);return!0!==this.swapOpacity&&"true"!==this.swapOpacity||e.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(e.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(e.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(e.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(e.styles["--fa-secondary-color"]=this.secondaryColor),e},e}(y);h.decorators=[{type:e.Component,args:[{selector:"fa-duotone-icon",template:""}]}],h.propDecorators={swapOpacity:[{type:e.Input}],primaryOpacity:[{type:e.Input}],secondaryOpacity:[{type:e.Input}],primaryColor:[{type:e.Input}],secondaryColor:[{type:e.Input}]};var d=function(t,e,n){if(!t)throw new Error(n+" should be used as child of "+e+" only.")},m=function(){function t(t,e,n){this.renderer=t,this.elementRef=e,this.config=n}return t.prototype.ngOnInit=function(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth},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}();m.decorators=[{type:e.Component,args:[{selector:"fa-layers",template:"<ng-content></ng-content>"}]}],m.ctorParameters=function(){return[{type:e.Renderer2},{type:e.ElementRef},{type:p}]},m.propDecorators={size:[{type:e.Input}],fixedWidth:[{type:e.Input},{type:e.HostBinding,args:["class.fa-fw"]}]};var I=function(){function t(t,e){this.parent=t,this.sanitizer=e,this.classes=[],d(this.parent,"FaLayersComponent",this.constructor.name)}return t.prototype.ngOnChanges=function(t){if(t){var e=this.buildParams();this.updateContent(e)}},t.prototype.buildParams=function(){return{title:this.title,classes:this.classes,styles:this.styles}},t.prototype.updateContent=function(t){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(r.counter(this.content||"",t).html.join(""))},t}();I.decorators=[{type:e.Component,args:[{selector:"fa-layers-counter",template:"",host:{class:"ng-fa-layers-counter"}}]}],I.ctorParameters=function(){return[{type:m,decorators:[{type:e.Optional}]},{type:n.DomSanitizer}]},I.propDecorators={content:[{type:e.Input}],title:[{type:e.Input}],styles:[{type:e.Input}],classes:[{type:e.Input}],renderedHTML:[{type:e.HostBinding,args:["innerHTML"]}]};var g=function(){function t(t,e){this.parent=t,this.sanitizer=e,this.classes=[],d(this.parent,"FaLayersComponent",this.constructor.name)}return t.prototype.ngOnChanges=function(t){if(t){var e=this.buildParams();this.updateContent(e)}},t.prototype.buildParams=function(){var t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?r.parse.transform(this.transform):this.transform,classes:a(c(t),this.classes),title:this.title,styles:this.styles}},t.prototype.updateContent=function(t){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(r.text(this.content||"",t).html.join("\n"))},t}();g.decorators=[{type:e.Component,args:[{selector:"fa-layers-text",template:"",host:{class:"ng-fa-layers-text"}}]}],g.ctorParameters=function(){return[{type:m,decorators:[{type:e.Optional}]},{type:n.DomSanitizer}]},g.propDecorators={content:[{type:e.Input}],title:[{type:e.Input}],styles:[{type:e.Input}],classes:[{type:e.Input}],spin:[{type:e.Input}],pulse:[{type:e.Input}],flip:[{type:e.Input}],size:[{type:e.Input}],pull:[{type:e.Input}],border:[{type:e.Input}],inverse:[{type:e.Input}],rotate:[{type:e.Input}],fixedWidth:[{type:e.Input}],transform:[{type:e.Input}],renderedHTML:[{type:e.HostBinding,args:["innerHTML"]}]};var v=function(){};v.decorators=[{type:e.NgModule,args:[{declarations:[y,h,m,g,I,f,u],exports:[y,h,m,g,I,f,u]}]}],t.FaConfig=p,t.FaDuotoneIconComponent=h,t.FaIconComponent=y,t.FaIconLibrary=l,t.FaLayersComponent=m,t.FaLayersCounterComponent=I,t.FaLayersTextComponent=g,t.FaStackComponent=f,t.FaStackItemSizeDirective=u,t.FontAwesomeModule=v,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=angular-fontawesome.umd.min.js.map |
@@ -8,2 +8,9 @@ # Change Log | ||
## [0.8.1](https://github.com/FortAwesome/angular-fontawesome/releases/tag/0.8.1) - 2020-12-11 | ||
### Fixed | ||
* Support fa-layers with content wrapped into ng-container. ([#283](https://github.com/FortAwesome/angular-fontawesome/issues/283)) | ||
* Warn about missing stackItemSize on fa-icon inside fa-stack instead of silently dropping elements. ([#177](https://github.com/FortAwesome/angular-fontawesome/issues/177)) | ||
## [0.8.0](https://github.com/FortAwesome/angular-fontawesome/releases/tag/0.8.0) - 2020-11-12 | ||
@@ -10,0 +17,0 @@ |
@@ -11,4 +11,5 @@ import { Component, HostBinding, Input, Optional } from '@angular/core'; | ||
import { FaStackItemSizeDirective } from '../stack/stack-item-size.directive'; | ||
import { FaStackComponent } from '../stack/stack.component'; | ||
export class FaIconComponent { | ||
constructor(sanitizer, config, iconLibrary, stackItem) { | ||
constructor(sanitizer, config, iconLibrary, stackItem, stack) { | ||
this.sanitizer = sanitizer; | ||
@@ -19,2 +20,6 @@ this.config = config; | ||
this.classes = []; | ||
if (stack != null && stackItem == null) { | ||
console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into ' + | ||
'fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.'); | ||
} | ||
} | ||
@@ -120,3 +125,4 @@ ngOnChanges(changes) { | ||
{ type: FaIconLibrary }, | ||
{ type: FaStackItemSizeDirective, decorators: [{ type: Optional }] } | ||
{ type: FaStackItemSizeDirective, decorators: [{ type: Optional }] }, | ||
{ type: FaStackComponent, decorators: [{ type: Optional }] } | ||
]; | ||
@@ -143,2 +149,2 @@ FaIconComponent.propDecorators = { | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiL1VzZXJzL2Rldm90bzEzL1Byb2plY3RzL2FuZ3VsYXItZm9udGF3ZXNvbWUvc3JjL2xpYi8iLCJzb3VyY2VzIjpbImljb24vaWNvbi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFhLFFBQVEsRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFDbEcsT0FBTyxFQUFFLFlBQVksRUFBWSxNQUFNLDJCQUEyQixDQUFDO0FBQ25FLE9BQU8sRUFFTCxrQkFBa0IsRUFFbEIsSUFBSSxFQUlKLEtBQUssR0FNTixNQUFNLG1DQUFtQyxDQUFDO0FBQzNDLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxXQUFXLEN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GUsXG4gICAgICB9LFxuICAgIH07XG4gIH1cblxuICBwcml2YXRlIHJlbmRlckljb24oZGVmaW5pdGlvbjogSWNvbkRlZmluaXRpb24sIHBhcmFtczogSWNvblBhcmFtcykge1xuICAgIGNvbnN0IHJlbmRlcmVkSWNvbiA9IGljb24oZGVmaW5pdGlvbiwgcGFyYW1zKTtcbiAgICB0aGlzLnJlbmRlcmVkSWNvbkhUTUwgPSB0aGlzLnNhbml0aXplci5ieXBhc3NTZWN1cml0eVRydXN0SHRtbChyZW5kZXJlZEljb24uaHRtbC5qb2luKCdcXG4nKSk7XG4gIH1cbn1cbiJdfQ== |
@@ -30,3 +30,3 @@ import { Component, ElementRef, HostBinding, Input, Renderer2 } from '@angular/core'; | ||
selector: 'fa-layers', | ||
template: `<ng-content select="fa-icon, fa-duotone-icon, fa-layers-text, fa-layers-counter"></ng-content>` | ||
template: `<ng-content></ng-content>` | ||
},] } | ||
@@ -43,2 +43,2 @@ ]; | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5ZXJzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvZGV2b3RvMTMvUHJvamVjdHMvYW5ndWxhci1mb250YXdlc29tZS9zcmMvbGliLyIsInNvdXJjZXMiOlsibGF5ZXJzL2xheWVycy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBcUIsU0FBUyxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUV2SCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQ3JDOztHQUVHO0FBS0gsTUFBTSxPQUFPLGlCQUFpQjtJQUs1QixZQUFvQixRQUFtQixFQUFVLFVBQXNCLEVBQVUsTUFBZ0I7UUFBN0UsYUFBUSxHQUFSL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JlbmRlcmVyMiwgcHJpdmF0ZSBlbGVtZW50UmVmOiBFbGVtZW50UmVmLCBwcml2YXRlIGNvbmZpZzogRmFDb25maWcpIHt9XG5cbiAgbmdPbkluaXQoKSB7XG4gICAgdGhpcy5yZW5kZXJlci5hZGRDbGFzcyh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ2ZhLWxheWVycycpO1xuICAgIHRoaXMuZml4ZWRXaWR0aCA9IHR5cGVvZiB0aGlzLmZpeGVkV2lkdGggPT09ICdib29sZWFuJyA/IHRoaXMuZml4ZWRXaWR0aCA6IHRoaXMuY29uZmlnLmZpeGVkV2lkdGg7XG4gIH1cblxuICBuZ09uQ2hhbmdlcyhjaGFuZ2VzOiBTaW1wbGVDaGFuZ2VzKSB7XG4gICAgaWYgKCdzaXplJyBpbiBjaGFuZ2VzKSB7XG4gICAgICBpZiAoY2hhbmdlcy5zaXplLmN1cnJlbnRWYWx1ZSAhPSBudWxsKSB7XG4gICAgICAgIHRoaXMucmVuZGVyZXIuYWRkQ2xhc3ModGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsIGBmYS0ke2NoYW5nZXMuc2l6ZS5jdXJyZW50VmFsdWV9YCk7XG4gICAgICB9XG4gICAgICBpZiAoY2hhbmdlcy5zaXplLnByZXZpb3VzVmFsdWUgIT0gbnVsbCkge1xuICAgICAgICB0aGlzLnJlbmRlcmVyLnJlbW92ZUNsYXNzKHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCBgZmEtJHtjaGFuZ2VzLnNpemUucHJldmlvdXNWYWx1ZX1gKTtcbiAgICAgIH1cbiAgICB9XG4gIH1cbn1cbiJdfQ== |
@@ -24,4 +24,3 @@ import { Component, ElementRef, Input, Renderer2 } from '@angular/core'; | ||
selector: 'fa-stack', | ||
// TODO: See if it is better to select fa-icon and throw if it does not have stackItemSize directive | ||
template: `<ng-content select="fa-icon[stackItemSize],fa-duotone-icon[stackItemSize]"></ng-content>`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sgeyBmb250LXNpemU6IDAuNWVtOyB9YC5cbiAgICovXG4gIEBJbnB1dCgpIHNpemU/OiBTaXplUHJvcDtcblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJlbmRlcmVyOiBSZW5kZXJlcjIsIHByaXZhdGUgZWxlbWVudFJlZjogRWxlbWVudFJlZikge31cblxuICBuZ09uSW5pdCgpIHtcbiAgICB0aGlzLnJlbmRlcmVyLmFkZENsYXNzKHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCAnZmEtc3RhY2snKTtcbiAgfVxuXG4gIG5nT25DaGFuZ2VzKGNoYW5nZXM6IFNpbXBsZUNoYW5nZXMpIHtcbiAgICBpZiAoJ3NpemUnIGluIGNoYW5nZXMpIHtcbiAgICAgIGlmIChjaGFuZ2VzLnNpemUuY3VycmVudFZhbHVlICE9IG51bGwpIHtcbiAgICAgICAgdGhpcy5yZW5kZXJlci5hZGRDbGFzcyh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgYGZhLSR7Y2hhbmdlcy5zaXplLmN1cnJlbnRWYWx1ZX1gKTtcbiAgICAgIH1cbiAgICAgIGlmIChjaGFuZ2VzLnNpemUucHJldmlvdXNWYWx1ZSAhPSBudWxsKSB7XG4gICAgICAgIHRoaXMucmVuZGVyZXIucmVtb3ZlQ2xhc3ModGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsIGBmYS0ke2NoYW5nZXMuc2l6ZS5wcmV2aW91c1ZhbHVlfWApO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19 |
@@ -1,2 +0,2 @@ | ||
import { ɵɵdefineInjectable, Injectable, Directive, Input, Component, Optional, HostBinding, Renderer2, ElementRef, NgModule } from '@angular/core'; | ||
import { ɵɵdefineInjectable, Injectable, Directive, Input, Component, Renderer2, ElementRef, Optional, HostBinding, NgModule } from '@angular/core'; | ||
import { DomSanitizer } from '@angular/platform-browser'; | ||
@@ -164,4 +164,37 @@ import { findIconDefinition, parse, icon, counter, text } from '@fortawesome/fontawesome-svg-core'; | ||
class FaStackComponent { | ||
constructor(renderer, elementRef) { | ||
this.renderer = renderer; | ||
this.elementRef = elementRef; | ||
} | ||
ngOnInit() { | ||
this.renderer.addClass(this.elementRef.nativeElement, 'fa-stack'); | ||
} | ||
ngOnChanges(changes) { | ||
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}`); | ||
} | ||
} | ||
} | ||
} | ||
FaStackComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'fa-stack', | ||
template: `<ng-content></ng-content>` | ||
},] } | ||
]; | ||
FaStackComponent.ctorParameters = () => [ | ||
{ type: Renderer2 }, | ||
{ type: ElementRef } | ||
]; | ||
FaStackComponent.propDecorators = { | ||
size: [{ type: Input }] | ||
}; | ||
class FaIconComponent { | ||
constructor(sanitizer, config, iconLibrary, stackItem) { | ||
constructor(sanitizer, config, iconLibrary, stackItem, stack) { | ||
this.sanitizer = sanitizer; | ||
@@ -172,2 +205,6 @@ this.config = config; | ||
this.classes = []; | ||
if (stack != null && stackItem == null) { | ||
console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into ' + | ||
'fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.'); | ||
} | ||
} | ||
@@ -273,3 +310,4 @@ ngOnChanges(changes) { | ||
{ type: FaIconLibrary }, | ||
{ type: FaStackItemSizeDirective, decorators: [{ type: Optional }] } | ||
{ type: FaStackItemSizeDirective, decorators: [{ type: Optional }] }, | ||
{ type: FaStackComponent, decorators: [{ type: Optional }] } | ||
]; | ||
@@ -378,3 +416,3 @@ FaIconComponent.propDecorators = { | ||
selector: 'fa-layers', | ||
template: `<ng-content select="fa-icon, fa-duotone-icon, fa-layers-text, fa-layers-counter"></ng-content>` | ||
template: `<ng-content></ng-content>` | ||
},] } | ||
@@ -508,36 +546,2 @@ ]; | ||
class FaStackComponent { | ||
constructor(renderer, elementRef) { | ||
this.renderer = renderer; | ||
this.elementRef = elementRef; | ||
} | ||
ngOnInit() { | ||
this.renderer.addClass(this.elementRef.nativeElement, 'fa-stack'); | ||
} | ||
ngOnChanges(changes) { | ||
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}`); | ||
} | ||
} | ||
} | ||
} | ||
FaStackComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'fa-stack', | ||
// TODO: See if it is better to select fa-icon and throw if it does not have stackItemSize directive | ||
template: `<ng-content select="fa-icon[stackItemSize],fa-duotone-icon[stackItemSize]"></ng-content>` | ||
},] } | ||
]; | ||
FaStackComponent.ctorParameters = () => [ | ||
{ type: Renderer2 }, | ||
{ type: ElementRef } | ||
]; | ||
FaStackComponent.propDecorators = { | ||
size: [{ type: Input }] | ||
}; | ||
class FontAwesomeModule { | ||
@@ -544,0 +548,0 @@ } |
@@ -7,2 +7,3 @@ import { OnChanges, SimpleChanges } from '@angular/core'; | ||
import { FaStackItemSizeDirective } from '../stack/stack-item-size.directive'; | ||
import { FaStackComponent } from '../stack/stack.component'; | ||
export declare class FaIconComponent implements OnChanges { | ||
@@ -41,3 +42,3 @@ private sanitizer; | ||
renderedIconHTML: SafeHtml; | ||
constructor(sanitizer: DomSanitizer, config: FaConfig, iconLibrary: FaIconLibrary, stackItem: FaStackItemSizeDirective); | ||
constructor(sanitizer: DomSanitizer, config: FaConfig, iconLibrary: FaIconLibrary, stackItem: FaStackItemSizeDirective, stack: FaStackComponent); | ||
ngOnChanges(changes: SimpleChanges): never; | ||
@@ -44,0 +45,0 @@ /** |
{ | ||
"$schema": "./node_modules/ng-packagr/package.schema.json", | ||
"name": "@fortawesome/angular-fontawesome", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "Angular Fontawesome, an Angular library", | ||
@@ -6,0 +6,0 @@ "repository": { |
export declare const svgCoreVersion = "^1.2.32"; | ||
export declare const angularFontawesomeVersion = "~0.8.0"; | ||
export declare const angularFontawesomeVersion = "~0.8.1"; | ||
export declare const iconPackVersion = "^5.15.1"; |
@@ -5,4 +5,4 @@ "use strict"; | ||
exports.svgCoreVersion = '^1.2.32'; | ||
exports.angularFontawesomeVersion = '~0.8.0'; | ||
exports.angularFontawesomeVersion = '~0.8.1'; | ||
exports.iconPackVersion = '^5.15.1'; | ||
//# sourceMappingURL=versions.js.map |
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
375328
2788