{"version":3,"sources":["../../src/app/components/tag/tag.ts"],"names":["Tag","prototype","containerClass","p-tag p-component","p-tag-info","this","severity","p-tag-success","p-tag-warning","p-tag-danger","p-tag-rounded","rounded","Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","Input","NgModule","imports","CommonModule","exports","declarations"],"mappings":"4ZAgBA,SAAAA,YAeIA,EAAAC,UAAAC,eAAA,WACI,MAAO,CACHC,qBAAqB,EACrBC,aAAgC,SAAlBC,KAAKC,SACnBC,gBAAmC,YAAlBF,KAAKC,SACtBE,gBAAmC,YAAlBH,KAAKC,SACtBG,eAAkC,WAAlBJ,KAAKC,SACrBI,gBAAiBL,KAAKM,mCAnCjCC,EAAAA,UAASC,KAAA,CAAC,CACPC,SAAU,QACVC,SAAU,yRAOVC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,cAAeC,EAAAA,kBAAkBC,+NAKhCC,EAAAA,qBAEAA,EAAAA,wBAEAA,EAAAA,qBAEAA,EAAAA,oBAEAA,EAAAA,uBAEAA,EAAAA,eAoBL,iCALCC,EAAAA,SAAQV,KAAA,CAAC,CACNW,QAAS,CAACC,EAAAA,cACVC,QAAS,CAAC1B,GACV2B,aAAc,CAAC3B","sourcesContent":["import { NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input} from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'p-tag',\n template: `\n \n \n \n {{value}}\n \n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./tag.css']\n})\nexport class Tag {\n\n @Input() styleClass: string;\n\n @Input() style: any;\n\n @Input() severity: string;\n \n @Input() value: string;\n\n @Input() icon: string;\n\n @Input() rounded: boolean;\n \n\n containerClass() {\n return {\n 'p-tag p-component': true,\n 'p-tag-info': this.severity === 'info',\n 'p-tag-success': this.severity === 'success',\n 'p-tag-warning': this.severity === 'warning',\n 'p-tag-danger': this.severity === 'danger',\n 'p-tag-rounded': this.rounded\n };\n }\n}\n\n@NgModule({\n imports: [CommonModule],\n exports: [Tag],\n declarations: [Tag]\n})\nexport class TagModule { }\n"]}