MyRepo-Ums/node_modules/@fortawesome/angular-fontawesome/fesm2022/angular-fontawesome.mjs.map
2024-01-19 11:09:11 +01:00

1 line
44 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"file":"angular-fontawesome.mjs","sources":["../../../src/lib/shared/errors/warn-if-icon-html-missing.ts","../../../src/lib/shared/errors/warn-if-icon-spec-missing.ts","../../../src/lib/shared/utils/classlist.util.ts","../../../src/lib/shared/utils/is-icon-lookup.util.ts","../../../src/lib/shared/utils/normalize-icon-spec.util.ts","../../../src/lib/config.ts","../../../src/lib/icon-library.ts","../../../src/lib/stack/stack-item-size.directive.ts","../../../src/lib/stack/stack.component.ts","../../../src/lib/icon/icon.component.ts","../../../src/lib/icon/duotone-icon.component.ts","../../../src/lib/shared/errors/warn-if-parent-not-exist.ts","../../../src/lib/layers/layers.component.ts","../../../src/lib/layers/layers-counter.component.ts","../../../src/lib/layers/layers-text.component.ts","../../../src/lib/fontawesome.module.ts","../../../src/lib/angular-fontawesome.ts"],"sourcesContent":["import { IconLookup } from '@fortawesome/fontawesome-svg-core';\n\nexport const faWarnIfIconDefinitionMissing = (iconSpec: IconLookup) => {\n throw new Error(\n `Could not find icon with iconName=${iconSpec.iconName} and prefix=${iconSpec.prefix} in the icon library.`,\n );\n};\n","export const faWarnIfIconSpecMissing = () => {\n throw new Error('Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.');\n};\n","import { FaProps } from '../models/props.model';\n\n/**\n * Fontawesome class list.\n * Returns classes array by props.\n */\nexport const faClassList = (props: FaProps): string[] => {\n const classes = {\n [`fa-${props.animation}`]: props.animation != null && !props.animation.startsWith('spin'),\n 'fa-spin': props.animation === 'spin' || props.animation === 'spin-reverse',\n 'fa-spin-pulse': props.animation === 'spin-pulse' || props.animation === 'spin-pulse-reverse',\n 'fa-spin-reverse': props.animation === 'spin-reverse' || props.animation === 'spin-pulse-reverse',\n // According to https://fontawesome.com/docs/web/style/animate#spin fa-pulse\n // class is deprecated, remove the below line when Font Awesome 5 support\n // is dropped.\n 'fa-pulse': props.animation === 'spin-pulse' || props.animation === 'spin-pulse-reverse',\n 'fa-fw': props.fixedWidth,\n 'fa-border': props.border,\n 'fa-inverse': props.inverse,\n 'fa-layers-counter': props.counter,\n 'fa-flip-horizontal': props.flip === 'horizontal' || props.flip === 'both',\n 'fa-flip-vertical': props.flip === 'vertical' || props.flip === 'both',\n [`fa-${props.size}`]: props.size !== null,\n [`fa-rotate-${props.rotate}`]: props.rotate !== null,\n [`fa-pull-${props.pull}`]: props.pull !== null,\n [`fa-stack-${props.stackItemSize}`]: props.stackItemSize != null,\n };\n\n return Object.keys(classes)\n .map((key) => (classes[key] ? key : null))\n .filter((key) => key);\n};\n","import { IconLookup, IconProp } from '@fortawesome/fontawesome-svg-core';\n\n/**\n * Returns if is IconLookup or not.\n */\nexport const isIconLookup = (i: IconProp): i is IconLookup =>\n (i as IconLookup).prefix !== undefined && (i as IconLookup).iconName !== undefined;\n","import { IconDefinition, IconLookup, IconPrefix, IconProp } from '@fortawesome/fontawesome-svg-core';\nimport { isIconLookup } from './is-icon-lookup.util';\n\n/**\n * Normalizing icon spec.\n */\nexport const faNormalizeIconSpec = (\n iconSpec: IconProp | IconDefinition,\n defaultPrefix: IconPrefix,\n): IconLookup | IconDefinition => {\n if (isIconLookup(iconSpec)) {\n return iconSpec;\n }\n\n if (typeof iconSpec === 'string') {\n return { prefix: defaultPrefix, iconName: iconSpec };\n }\n\n return { prefix: iconSpec[0], iconName: iconSpec[1] };\n};\n","import { Injectable } from '@angular/core';\nimport { IconDefinition, IconPrefix } from '@fortawesome/fontawesome-svg-core';\n\n@Injectable({ providedIn: 'root' })\nexport class FaConfig {\n /**\n * Default prefix to use, when one is not provided with the icon name.\n *\n * @default 'fas'\n */\n defaultPrefix: IconPrefix = 'fas';\n\n /**\n * Provides a fallback icon to use whilst main icon is being loaded asynchronously.\n * When value is null, then fa-icon component will throw an error if icon input is missing.\n * When value is not null, then the provided icon will be used as a fallback icon if icon input is missing.\n *\n * @default null\n */\n fallbackIcon: IconDefinition = null;\n\n /**\n * Set icons to the same fixed width.\n *\n * @see {@link: https://fontawesome.com/how-to-use/on-the-web/styling/fixed-width-icons}\n * @default false\n */\n fixedWidth?: boolean;\n}\n","import { Injectable } from '@angular/core';\nimport { IconDefinition, IconName, IconPack, IconPrefix } from '@fortawesome/fontawesome-svg-core';\n\nexport interface FaIconLibraryInterface {\n addIcons(...icons: IconDefinition[]): void;\n addIconPacks(...packs: IconPack[]): void;\n getIconDefinition(prefix: IconPrefix, name: IconName): IconDefinition | null;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class FaIconLibrary implements FaIconLibraryInterface {\n private definitions: { [prefix: string]: { [name: string]: IconDefinition } } = {};\n\n addIcons(...icons: IconDefinition[]) {\n for (const icon of icons) {\n if (!(icon.prefix in this.definitions)) {\n this.definitions[icon.prefix] = {};\n }\n this.definitions[icon.prefix][icon.iconName] = icon;\n for (const alias of icon.icon[2]) {\n if (typeof alias === 'string') {\n this.definitions[icon.prefix][alias] = icon;\n }\n }\n }\n }\n\n addIconPacks(...packs: IconPack[]) {\n for (const pack of packs) {\n const icons = Object.keys(pack).map((key) => pack[key]);\n this.addIcons(...icons);\n }\n }\n\n getIconDefinition(prefix: IconPrefix, name: IconName): IconDefinition | null {\n if (prefix in this.definitions && name in this.definitions[prefix]) {\n return this.definitions[prefix][name];\n }\n return null;\n }\n}\n","import { Directive, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { SizeProp } from '@fortawesome/fontawesome-svg-core';\nimport { FaStackComponent } from './stack.component';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'fa-icon[stackItemSize],fa-duotone-icon[stackItemSize]',\n standalone: true,\n})\nexport class FaStackItemSizeDirective implements OnChanges {\n /**\n * Specify whether icon inside {@link FaStackComponent} should be rendered in\n * regular size (1x) or as a larger icon (2x).\n */\n @Input() stackItemSize: '1x' | '2x' = '1x';\n\n /**\n * @internal\n */\n @Input() size?: SizeProp;\n\n ngOnChanges(changes: SimpleChanges) {\n if ('size' in changes) {\n throw new Error(\n 'fa-icon is not allowed to customize size when used inside fa-stack. ' +\n 'Set size on the enclosing fa-stack instead: <fa-stack size=\"4x\">...</fa-stack>.',\n );\n }\n }\n}\n","import { Component, ElementRef, Input, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';\nimport { SizeProp } from '@fortawesome/fontawesome-svg-core';\n\n@Component({\n selector: 'fa-stack',\n standalone: true,\n template: `<ng-content></ng-content>`,\n})\nexport class FaStackComponent implements OnInit, OnChanges {\n /**\n * Size of the stacked icon.\n * Note that stacked icon is by default 2 times bigger, than non-stacked icon.\n * You'll need to set size using custom CSS to align stacked icon with a\n * simple one. E.g. `fa-stack { font-size: 0.5em; }`.\n */\n @Input() size?: SizeProp;\n\n constructor(\n private renderer: Renderer2,\n private elementRef: ElementRef,\n ) {}\n\n ngOnInit() {\n this.renderer.addClass(this.elementRef.nativeElement, 'fa-stack');\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if ('size' in changes) {\n if (changes.size.currentValue != null) {\n this.renderer.addClass(this.elementRef.nativeElement, `fa-${changes.size.currentValue}`);\n }\n if (changes.size.previousValue != null) {\n this.renderer.removeClass(this.elementRef.nativeElement, `fa-${changes.size.previousValue}`);\n }\n }\n }\n}\n","import { Component, HostBinding, Input, OnChanges, Optional, SimpleChanges } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport {\n FaSymbol,\n FlipProp,\n icon,\n IconDefinition,\n IconParams,\n IconProp,\n parse,\n PullProp,\n RotateProp,\n SizeProp,\n Styles,\n Transform,\n} from '@fortawesome/fontawesome-svg-core';\nimport { FaConfig } from '../config';\nimport { FaIconLibrary } from '../icon-library';\nimport { faWarnIfIconDefinitionMissing } from '../shared/errors/warn-if-icon-html-missing';\nimport { faWarnIfIconSpecMissing } from '../shared/errors/warn-if-icon-spec-missing';\nimport { AnimationProp, FaProps } from '../shared/models/props.model';\nimport { faClassList } from '../shared/utils/classlist.util';\nimport { faNormalizeIconSpec } from '../shared/utils/normalize-icon-spec.util';\nimport { FaStackItemSizeDirective } from '../stack/stack-item-size.directive';\nimport { FaStackComponent } from '../stack/stack.component';\n\n@Component({\n selector: 'fa-icon',\n standalone: true,\n template: ``,\n host: {\n class: 'ng-fa-icon',\n '[attr.title]': 'title',\n },\n})\nexport class FaIconComponent implements OnChanges {\n @Input() icon: IconProp;\n\n /**\n * Specify a title for the icon.\n *\n * This text will be displayed in a tooltip on hover and presented to the\n * screen readers.\n */\n @Input() title?: string;\n\n /**\n * Icon animation.\n *\n * Most of the animations are only available when using Font Awesome 6. With\n * Font Awesome 5, only 'spin' and 'spin-pulse' are supported.\n */\n @Input() animation?: AnimationProp;\n\n /**\n * @deprecated Use animation=\"spin\" instead. To be removed in 0.14.0.\n */\n @Input() set spin(value: boolean) {\n this.animation = value ? 'spin' : undefined;\n }\n\n /**\n * @deprecated Use animation=\"spin-pulse\" instead. To be removed in 0.14.0.\n */\n @Input() set pulse(value: boolean) {\n this.animation = value ? 'spin-pulse' : undefined;\n }\n\n @Input() mask?: IconProp;\n\n /**\n * Set `style` attribute on the SVG element rendered by the component.\n *\n * @deprecated This input breaks view encapsulation and is not recommended.\n * For simple cases (like colors), use `style` on the component itself, for\n * more complex usages, explicitly opt-in to break the view encapsulation.\n * This input is deprecated since 0.12.0 and will be removed in 0.13.0.\n */\n @Input() styles?: Styles;\n @Input() flip?: FlipProp;\n @Input() size?: SizeProp;\n @Input() pull?: PullProp;\n @Input() border?: boolean;\n @Input() inverse?: boolean;\n @Input() symbol?: FaSymbol;\n @Input() rotate?: RotateProp;\n @Input() fixedWidth?: boolean;\n\n /**\n * Set `class` attribute on the SVG element rendered by the component.\n *\n * @deprecated This input breaks view encapsulation and is not recommended.\n * For simple cases (like colors), use `class` on the component itself, for\n * more complex usages, explicitly opt-in to break the view encapsulation.\n * This input is deprecated since 0.12.0 and will be removed in 0.13.0.\n */\n @Input() classes?: string[] = [];\n @Input() transform?: string | Transform;\n\n /**\n * Specify the `role` attribute for the rendered <svg> element.\n *\n * @default 'img'\n */\n @Input() a11yRole: string;\n\n @HostBinding('innerHTML') renderedIconHTML: SafeHtml;\n\n constructor(\n private sanitizer: DomSanitizer,\n private config: FaConfig,\n private iconLibrary: FaIconLibrary,\n @Optional() private stackItem: FaStackItemSizeDirective,\n @Optional() stack: FaStackComponent,\n ) {\n if (stack != null && stackItem == null) {\n console.error(\n 'FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into ' +\n 'fa-stack. Example: <fa-icon stackItemSize=\"2x\"></fa-icon>.',\n );\n }\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (this.icon == null && this.config.fallbackIcon == null) {\n faWarnIfIconSpecMissing();\n return;\n }\n\n if (changes) {\n const iconToBeRendered = this.icon != null ? this.icon : this.config.fallbackIcon;\n const iconDefinition = this.findIconDefinition(iconToBeRendered);\n if (iconDefinition != null) {\n const params = this.buildParams();\n this.renderIcon(iconDefinition, params);\n }\n }\n }\n\n /**\n * Programmatically trigger rendering of the icon.\n *\n * This method is useful, when creating {@link FaIconComponent} dynamically or\n * changing its inputs programmatically as in these cases icon won't be\n * re-rendered automatically.\n */\n render() {\n this.ngOnChanges({});\n }\n\n protected findIconDefinition(i: IconProp | IconDefinition): IconDefinition | null {\n const lookup = faNormalizeIconSpec(i, this.config.defaultPrefix);\n if ('icon' in lookup) {\n return lookup;\n }\n\n const definition = this.iconLibrary.getIconDefinition(lookup.prefix, lookup.iconName);\n if (definition != null) {\n return definition;\n }\n\n faWarnIfIconDefinitionMissing(lookup);\n return null;\n }\n\n protected buildParams() {\n const classOpts: FaProps = {\n flip: this.flip,\n animation: this.animation,\n border: this.border,\n inverse: this.inverse,\n size: this.size || null,\n pull: this.pull || null,\n rotate: this.rotate || null,\n fixedWidth: typeof this.fixedWidth === 'boolean' ? this.fixedWidth : this.config.fixedWidth,\n stackItemSize: this.stackItem != null ? this.stackItem.stackItemSize : null,\n };\n\n const parsedTransform = typeof this.transform === 'string' ? parse.transform(this.transform) : this.transform;\n\n return {\n title: this.title,\n transform: parsedTransform,\n classes: [...faClassList(classOpts), ...this.classes],\n mask: this.mask != null ? this.findIconDefinition(this.mask) : null,\n styles: this.styles != null ? this.styles : {},\n symbol: this.symbol,\n attributes: {\n role: this.a11yRole,\n },\n };\n }\n\n private renderIcon(definition: IconDefinition, params: IconParams) {\n const renderedIcon = icon(definition, params);\n this.renderedIconHTML = this.sanitizer.bypassSecurityTrustHtml(renderedIcon.html.join('\\n'));\n }\n}\n","import { Component, Input } from '@angular/core';\nimport { IconDefinition, IconProp } from '@fortawesome/fontawesome-svg-core';\nimport { FaIconComponent } from './icon.component';\n\n@Component({\n selector: 'fa-duotone-icon',\n standalone: true,\n template: ``,\n})\nexport class FaDuotoneIconComponent extends FaIconComponent {\n /**\n * Swap the default opacity of each duotone icons layers. This will make an\n * icons primary layer have the default opacity of 40% rather than its\n * secondary layer.\n *\n * @default false\n */\n @Input() swapOpacity?: 'true' | 'false' | boolean;\n\n /**\n * Customize the opacity of the primary icon layer.\n * Valid values are in range [0, 1.0].\n *\n * @default 1.0\n */\n @Input() primaryOpacity?: string | number;\n\n /**\n * Customize the opacity of the secondary icon layer.\n * Valid values are in range [0, 1.0].\n *\n * @default 0.4\n */\n @Input() secondaryOpacity?: string | number;\n\n /**\n * Customize the color of the primary icon layer.\n * Accepts any valid CSS color value.\n *\n * @default CSS inherited color\n */\n @Input() primaryColor?: string;\n\n /**\n * Customize the color of the secondary icon layer.\n * Accepts any valid CSS color value.\n *\n * @default CSS inherited color\n */\n @Input() secondaryColor?: string;\n\n protected findIconDefinition(i: IconProp | IconDefinition): IconDefinition | null {\n const definition = super.findIconDefinition(i);\n\n if (definition != null && !Array.isArray(definition.icon[4])) {\n throw new Error(\n 'The specified icon does not appear to be a Duotone icon. ' +\n 'Check that you specified the correct style: ' +\n `<fa-duotone-icon [icon]=\"['fad', '${definition.iconName}']\"></fa-duotone-icon> ` +\n `or use: <fa-icon icon=\"${definition.iconName}\"></fa-icon> instead.`,\n );\n }\n\n return definition;\n }\n\n protected buildParams() {\n const params = super.buildParams();\n\n if (this.swapOpacity === true || this.swapOpacity === 'true') {\n params.classes.push('fa-swap-opacity');\n }\n if (this.primaryOpacity != null) {\n params.styles['--fa-primary-opacity'] = this.primaryOpacity.toString();\n }\n if (this.secondaryOpacity != null) {\n params.styles['--fa-secondary-opacity'] = this.secondaryOpacity.toString();\n }\n if (this.primaryColor != null) {\n params.styles['--fa-primary-color'] = this.primaryColor;\n }\n if (this.secondaryColor != null) {\n params.styles['--fa-secondary-color'] = this.secondaryColor;\n }\n\n return params;\n }\n}\n","/**\n * Warns if parent component not existing.\n */\nexport const faWarnIfParentNotExist = (parent: any, parentName: string, childName: string) => {\n if (!parent) {\n throw new Error(`${childName} should be used as child of ${parentName} only.`);\n }\n};\n","import { Component, ElementRef, HostBinding, Input, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';\nimport { SizeProp } from '@fortawesome/fontawesome-svg-core';\nimport { FaConfig } from '../config';\n\n/**\n * Fontawesome layers.\n */\n@Component({\n selector: 'fa-layers',\n standalone: true,\n template: `<ng-content></ng-content>`,\n})\nexport class FaLayersComponent implements OnInit, OnChanges {\n @Input() size?: SizeProp;\n\n @Input() @HostBinding('class.fa-fw') fixedWidth?: boolean;\n\n constructor(\n private renderer: Renderer2,\n private elementRef: ElementRef,\n private config: FaConfig,\n ) {}\n\n ngOnInit() {\n this.renderer.addClass(this.elementRef.nativeElement, 'fa-layers');\n this.fixedWidth = typeof this.fixedWidth === 'boolean' ? this.fixedWidth : this.config.fixedWidth;\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if ('size' in changes) {\n if (changes.size.currentValue != null) {\n this.renderer.addClass(this.elementRef.nativeElement, `fa-${changes.size.currentValue}`);\n }\n if (changes.size.previousValue != null) {\n this.renderer.removeClass(this.elementRef.nativeElement, `fa-${changes.size.previousValue}`);\n }\n }\n }\n}\n","import { Component, HostBinding, Input, OnChanges, Optional, SimpleChanges } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { counter, CounterParams, Styles } from '@fortawesome/fontawesome-svg-core';\nimport { faWarnIfParentNotExist } from '../shared/errors/warn-if-parent-not-exist';\nimport { FaLayersComponent } from './layers.component';\n\n@Component({\n selector: 'fa-layers-counter',\n standalone: true,\n template: '',\n host: {\n class: 'ng-fa-layers-counter',\n },\n})\nexport class FaLayersCounterComponent implements OnChanges {\n @Input() content: string;\n @Input() title?: string;\n\n /**\n * Set `style` attribute on the SVG element rendered by the component.\n *\n * @deprecated This input breaks view encapsulation and is not recommended.\n * For simple cases (like colors), use `style` on the component itself, for\n * more complex usages, explicitly opt-in to break the view encapsulation.\n * This input is deprecated since 0.12.0 and will be removed in 0.13.0.\n */\n @Input() styles?: Styles;\n\n /**\n * Set `class` attribute on the SVG element rendered by the component.\n *\n * @deprecated This input breaks view encapsulation and is not recommended.\n * For simple cases (like colors), use `class` on the component itself, for\n * more complex usages, explicitly opt-in to break the view encapsulation.\n * This input is deprecated since 0.12.0 and will be removed in 0.13.0.\n */\n @Input() classes?: string[] = [];\n @Input() position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';\n\n @HostBinding('innerHTML') renderedHTML: SafeHtml;\n\n constructor(\n @Optional() private parent: FaLayersComponent,\n private sanitizer: DomSanitizer,\n ) {\n faWarnIfParentNotExist(this.parent, 'FaLayersComponent', this.constructor.name);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (changes) {\n const params = this.buildParams();\n this.updateContent(params);\n }\n }\n\n protected buildParams(): CounterParams {\n const classes = [];\n if (this.classes != null) {\n classes.push(...this.classes);\n }\n if (this.position != null) {\n classes.push(`fa-layers-${this.position}`);\n }\n return {\n title: this.title,\n classes,\n styles: this.styles,\n };\n }\n\n private updateContent(params: CounterParams) {\n this.renderedHTML = this.sanitizer.bypassSecurityTrustHtml(counter(this.content || '', params).html.join(''));\n }\n}\n","import { Component, HostBinding, Input, OnChanges, Optional, SimpleChanges } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport {\n FlipProp,\n parse,\n PullProp,\n RotateProp,\n SizeProp,\n Styles,\n text,\n TextParams,\n Transform,\n} from '@fortawesome/fontawesome-svg-core';\nimport { faWarnIfParentNotExist } from '../shared/errors/warn-if-parent-not-exist';\nimport { AnimationProp, FaProps } from '../shared/models/props.model';\nimport { faClassList } from '../shared/utils/classlist.util';\nimport { FaLayersComponent } from './layers.component';\n\n@Component({\n selector: 'fa-layers-text',\n standalone: true,\n template: '',\n host: {\n class: 'ng-fa-layers-text',\n },\n})\nexport class FaLayersTextComponent implements OnChanges {\n @Input() content: string;\n @Input() title?: string;\n\n /**\n * Set `style` attribute on the SVG element rendered by the component.\n *\n * @deprecated This input breaks view encapsulation and is not recommended.\n * For simple cases (like colors), use `style` on the component itself, for\n * more complex usages, explicitly opt-in to break the view encapsulation.\n * This input is deprecated since 0.12.0 and will be removed in 0.13.0.\n */\n @Input() styles?: Styles;\n\n /**\n * Set `class` attribute on the SVG element rendered by the component.\n *\n * @deprecated This input breaks view encapsulation and is not recommended.\n * For simple cases (like colors), use `class` on the component itself, for\n * more complex usages, explicitly opt-in to break the view encapsulation.\n * This input is deprecated since 0.12.0 and will be removed in 0.13.0.\n */\n @Input() classes?: string[] = [];\n\n /**\n * @deprecated This input was incorrectly exposed and never worked correctly. To be removed in 0.14.0.\n */\n @Input() set spin(value: boolean) {\n this.animation = value ? 'spin' : undefined;\n }\n\n /**\n * @deprecated This input was incorrectly exposed and never worked correctly. To be removed in 0.14.0.\n */\n @Input() set pulse(value: boolean) {\n this.animation = value ? 'spin-pulse' : undefined;\n }\n\n @Input() flip?: FlipProp;\n @Input() size?: SizeProp;\n @Input() pull?: PullProp;\n @Input() border?: boolean;\n @Input() inverse?: boolean;\n @Input() rotate?: RotateProp;\n @Input() fixedWidth?: boolean;\n @Input() transform?: string | Transform;\n\n @HostBinding('innerHTML') renderedHTML: SafeHtml;\n\n private animation: AnimationProp;\n\n constructor(\n @Optional() private parent: FaLayersComponent,\n private sanitizer: DomSanitizer,\n ) {\n faWarnIfParentNotExist(this.parent, 'FaLayersComponent', this.constructor.name);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (changes) {\n const params = this.buildParams();\n this.updateContent(params);\n }\n }\n\n /**\n * Updating params by component props.\n */\n protected buildParams(): TextParams {\n const classOpts: FaProps = {\n flip: this.flip,\n animation: this.animation,\n border: this.border,\n inverse: this.inverse,\n size: this.size || null,\n pull: this.pull || null,\n rotate: this.rotate || null,\n fixedWidth: this.fixedWidth,\n };\n\n const parsedTransform = typeof this.transform === 'string' ? parse.transform(this.transform) : this.transform;\n\n return {\n transform: parsedTransform,\n classes: [...faClassList(classOpts), ...this.classes],\n title: this.title,\n styles: this.styles,\n };\n }\n\n private updateContent(params: TextParams) {\n this.renderedHTML = this.sanitizer.bypassSecurityTrustHtml(text(this.content || '', params).html.join('\\n'));\n }\n}\n","import { NgModule } from '@angular/core';\nimport { FaDuotoneIconComponent } from './icon/duotone-icon.component';\nimport { FaIconComponent } from './icon/icon.component';\nimport { FaLayersCounterComponent } from './layers/layers-counter.component';\nimport { FaLayersTextComponent } from './layers/layers-text.component';\nimport { FaLayersComponent } from './layers/layers.component';\nimport { FaStackItemSizeDirective } from './stack/stack-item-size.directive';\nimport { FaStackComponent } from './stack/stack.component';\n\n@NgModule({\n imports: [\n FaIconComponent,\n FaDuotoneIconComponent,\n FaLayersComponent,\n FaLayersTextComponent,\n FaLayersCounterComponent,\n FaStackComponent,\n FaStackItemSizeDirective,\n ],\n exports: [\n FaIconComponent,\n FaDuotoneIconComponent,\n FaLayersComponent,\n FaLayersTextComponent,\n FaLayersCounterComponent,\n FaStackComponent,\n FaStackItemSizeDirective,\n ],\n})\nexport class FontAwesomeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1","i2.FaConfig","i3.FaIconLibrary","i4.FaStackItemSizeDirective","i5.FaStackComponent","i1.FaConfig","i1.FaLayersComponent"],"mappings":";;;;;AAEO,MAAM,6BAA6B,GAAG,CAAC,QAAoB,KAAI;AACpE,IAAA,MAAM,IAAI,KAAK,CACb,CAAA,kCAAA,EAAqC,QAAQ,CAAC,QAAQ,CAAA,YAAA,EAAe,QAAQ,CAAC,MAAM,CAAA,qBAAA,CAAuB,CAC5G,CAAC;AACJ,CAAC;;ACNM,MAAM,uBAAuB,GAAG,MAAK;AAC1C,IAAA,MAAM,IAAI,KAAK,CAAC,yEAAyE,CAAC,CAAC;AAC7F,CAAC;;ACAD;;;AAGG;AACI,MAAM,WAAW,GAAG,CAAC,KAAc,KAAc;AACtD,IAAA,MAAM,OAAO,GAAG;QACd,CAAC,CAAA,GAAA,EAAM,KAAK,CAAC,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC;QACzF,SAAS,EAAE,KAAK,CAAC,SAAS,KAAK,MAAM,IAAI,KAAK,CAAC,SAAS,KAAK,cAAc;QAC3E,eAAe,EAAE,KAAK,CAAC,SAAS,KAAK,YAAY,IAAI,KAAK,CAAC,SAAS,KAAK,oBAAoB;QAC7F,iBAAiB,EAAE,KAAK,CAAC,SAAS,KAAK,cAAc,IAAI,KAAK,CAAC,SAAS,KAAK,oBAAoB;;;;QAIjG,UAAU,EAAE,KAAK,CAAC,SAAS,KAAK,YAAY,IAAI,KAAK,CAAC,SAAS,KAAK,oBAAoB;QACxF,OAAO,EAAE,KAAK,CAAC,UAAU;QACzB,WAAW,EAAE,KAAK,CAAC,MAAM;QACzB,YAAY,EAAE,KAAK,CAAC,OAAO;QAC3B,mBAAmB,EAAE,KAAK,CAAC,OAAO;QAClC,oBAAoB,EAAE,KAAK,CAAC,IAAI,KAAK,Y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