{"version":3,"file":"icon.mjs","sources":["../../../projects/cds-angular/icon/cds-icon.directive.ts","../../../projects/cds-angular/icon/icon.module.ts","../../../projects/cds-angular/icon/index.ts","../../../projects/cds-angular/icon/public-api.ts","../../../projects/cds-angular/icon/icon.ts"],"sourcesContent":["/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Directive, ElementRef , Input   } from '@angular/core';\nimport { CdsIcon } from '@cds/core/icon';\n\n@Directive({ selector: 'cds-icon' })\nexport class CdsIconDirective {\n  protected element: CdsIcon;\n\n  get shape() {\n    return this.element.shape;\n  }\n  @Input() set shape(value) {\n    this.element.shape = value;\n  };\n  get size() {\n    return this.element.size;\n  }\n  @Input() set size(value) {\n    this.element.size = value;\n  };\n  get direction() {\n    return this.element.direction;\n  }\n  @Input() set direction(value) {\n    this.element.direction = value;\n  };\n  get flip() {\n    return this.element.flip;\n  }\n  @Input() set flip(value) {\n    this.element.flip = value;\n  };\n  get solid() {\n    return this.element.solid;\n  }\n  @Input() set solid(value: boolean | '') {\n    this.element.solid = value === '' ? true : value;\n  };\n  get status() {\n    return this.element.status;\n  }\n  @Input() set status(value) {\n    this.element.status = value;\n  };\n  get inverse() {\n    return this.element.inverse;\n  }\n  @Input() set inverse(value: boolean | '') {\n    this.element.inverse = value === '' ? true : value;\n  };\n  get badge() {\n    return this.element.badge;\n  }\n  @Input() set badge(value) {\n    this.element.badge = value;\n  };\n\n\n  constructor(elementRef: ElementRef) {\n    this.element = elementRef.nativeElement;\n  }\n}\n","/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport '@cds/core/icon/register.js';\n\nimport { CdsIconDirective } from './cds-icon.directive';\n\n@NgModule({\n  imports: [CommonModule],\n  declarations: [\n    CdsIconDirective,\n  ],\n  exports: [\n    CdsIconDirective,\n  ],\n})\nexport class CdsIconModule {}\n","/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nexport * from './cds-icon.directive';\nexport * from './icon.module';\n","/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\n/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\n/*\n * Public API Surface of cds-angular\n */\n\nexport * from './index';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;;;;;MAUa,gBAAgB;IAqD3B,YAAY,UAAsB;QAChC,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,aAAa,CAAC;KACzC;IApDD,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;KAC3B;IACD,IAAa,KAAK,CAAC,KAAK;QACtB,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC;KAC5B;;IACD,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;KAC1B;IACD,IAAa,IAAI,CAAC,KAAK;QACrB,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,KAAK,CAAC;KAC3B;;IACD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;KAC/B;IACD,IAAa,SAAS,CAAC,KAAK;QAC1B,IAAI,CAAC,OAAO,CAAC,SAAS,GAAG,KAAK,CAAC;KAChC;;IACD,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;KAC1B;IACD,IAAa,IAAI,CAAC,KAAK;QACrB,IAAI,CAAC,OAAO,CAAC,IAAI,GAA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