{"version":3,"file":"primeng-avatar.js","sources":["../../src/app/components/avatar/avatar.ts","../../src/app/components/avatar/primeng-avatar.ts"],"sourcesContent":["import { NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'p-avatar',\n template: `\n
\n \n {{label}}\n \n \n
\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./avatar.css']\n})\nexport class Avatar {\n\n @Input() label: string;\n\n @Input() icon: string;\n\n @Input() image: string;\n\n @Input() size: string = \"normal\";\n\n @Input() shape: string = \"square\";\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n containerClass() {\n return {\n 'p-avatar p-component': true,\n 'p-avatar-image': this.image != null,\n 'p-avatar-circle': this.shape === 'circle',\n 'p-avatar-lg': this.size === 'large',\n 'p-avatar-xl': this.size === 'xlarge'\n };\n }\n}\n\n@NgModule({\n imports: [CommonModule],\n exports: [Avatar],\n declarations: [Avatar]\n})\nexport class AvatarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAiBa,MAAM;IAdnB;QAsBa,SAAI,GAAW,QAAQ,CAAC;QAExB,UAAK,GAAW,QAAQ,CAAC;KAerC;IATG,cAAc;QACV,OAAO;YACH,sBAAsB,EAAE,IAAI;YAC5B,gBAAgB,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI;YACpC,iBAAiB,EAAE,IAAI,CAAC,KAAK,KAAK,QAAQ;YAC1C,aAAa,EAAE,IAAI,CAAC,IAAI,KAAK,OAAO;YACpC,aAAa,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;SACxC,CAAC;KACL;;;YAtCJ,SAAS,SAAC;gBACP,QAAQ,EAAE,UAAU;gBACpB,QAAQ,EAAE;;;;;;;KAOT;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,aAAa,EAAE,iBAAiB,CAAC,IAAI;;aAExC;;;oBAGI,KAAK;mBAEL,KAAK;oBAEL,KAAK;mBAEL,KAAK;oBAEL,KAAK;oBAEL,KAAK;yBAEL,KAAK;;MAkBG,YAAY;;;YALxB,QAAQ,SAAC;gBACN,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,OAAO,EAAE,CAAC,MAAM,CAAC;gBACjB,YAAY,EAAE,CAAC,MAAM,CAAC;aACzB;;;AChDD;;;;;;"}