{"version":3,"file":"primeng-tag.umd.js","sources":["../../src/app/components/tag/tag.ts","../../src/app/components/tag/primeng-tag.ts"],"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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["Component","ChangeDetectionStrategy","ViewEncapsulation","Input","NgModule","CommonModule"],"mappings":";;;;;;;QAgBA;;QAeI,4BAAc,GAAd;YACI,OAAO;gBACH,mBAAmB,EAAE,IAAI;gBACzB,YAAY,EAAE,IAAI,CAAC,QAAQ,KAAK,MAAM;gBACtC,eAAe,EAAE,IAAI,CAAC,QAAQ,KAAK,SAAS;gBAC5C,eAAe,EAAE,IAAI,CAAC,QAAQ,KAAK,SAAS;gBAC5C,cAAc,EAAE,IAAI,CAAC,QAAQ,KAAK,QAAQ;gBAC1C,eAAe,EAAE,IAAI,CAAC,OAAO;aAChC,CAAC;SACL;;;;gBArCJA,cAAS,SAAC;oBACP,QAAQ,EAAE,OAAO;oBACjB,QAAQ,EAAE,sSAMT;oBACD,eAAe,EAAEC,4BAAuB,CAAC,MAAM;oBAC/C,aAAa,EAAEC,sBAAiB,CAAC,IAAI;;iBAExC;;;6BAGIC,UAAK;wBAELA,UAAK;2BAELA,UAAK;wBAELA,UAAK;uBAELA,UAAK;0BAELA,UAAK;;;QAoBV;;;;;gBALCC,aAAQ,SAAC;oBACN,OAAO,EAAE,CAACC,mBAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,GAAG,CAAC;oBACd,YAAY,EAAE,CAAC,GAAG,CAAC;iBACtB;;;IC/CD;;;;;;;;;;;;;"}