{"version":3,"file":"primeng-tag.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":[],"mappings":";;;MAgBa,GAAG;IAeZ,cAAc;QACV,OAAO;YACH,mBAAmB,EAAE,IAAI;YACzB,YAAY,EAAE,IAAI,CAAC,QAAQ,KAAK,MAAM;YACtC,eAAe,EAAE,IAAI,CAAC,QAAQ,KAAK,SAAS;YAC5C,eAAe,EAAE,IAAI,CAAC,QAAQ,KAAK,SAAS;YAC5C,cAAc,EAAE,IAAI,CAAC,QAAQ,KAAK,QAAQ;YAC1C,eAAe,EAAE,IAAI,CAAC,OAAO;SAChC,CAAC;KACL;;;YArCJ,SAAS,SAAC;gBACP,QAAQ,EAAE,OAAO;gBACjB,QAAQ,EAAE;;;;;;KAMT;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,aAAa,EAAE,iBAAiB,CAAC,IAAI;;aAExC;;;yBAGI,KAAK;oBAEL,KAAK;uBAEL,KAAK;oBAEL,KAAK;mBAEL,KAAK;sBAEL,KAAK;;MAoBG,SAAS;;;YALrB,QAAQ,SAAC;gBACN,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,OAAO,EAAE,CAAC,GAAG,CAAC;gBACd,YAAY,EAAE,CAAC,GAAG,CAAC;aACtB;;;AC/CD;;;;;;"}