source: trip-planner-front/node_modules/primeng/fesm2015/primeng-avatar.mjs.map@ b738035

Last change on this file since b738035 was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 2.7 KB
Line 
1{"version":3,"file":"primeng-avatar.mjs","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 <div [ngClass]=\"containerClass()\" [class]=\"styleClass\" [ngStyle]=\"style\">\n <ng-content></ng-content>\n <span class=\"p-avatar-text\" *ngIf=\"label; else iconTemplate\">{{label}}</span>\n <ng-template #iconTemplate><span [class]=\"icon\" [ngClass]=\"'p-avatar-icon'\" *ngIf=\"icon; else imageTemplate\"></span></ng-template>\n <ng-template #imageTemplate><img [src]=\"image\" *ngIf=\"image\"></ng-template>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./avatar.css'],\n host: {\n 'class': 'p-element'\n }\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":";;;;;MAoBa,MAAM;IAjBnB;QAyBa,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;;mGAxBQ,MAAM;uFAAN,MAAM,yNAfL;;;;;;;KAOT;2FAQQ,MAAM;kBAjBlB,SAAS;+BACI,UAAU,YACV;;;;;;;KAOT,mBACgB,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,IAAI,QAE/B;wBACF,OAAO,EAAE,WAAW;qBACvB;8BAIQ,KAAK;sBAAb,KAAK;gBAEG,IAAI;sBAAZ,KAAK;gBAEG,KAAK;sBAAb,KAAK;gBAEG,IAAI;sBAAZ,KAAK;gBAEG,KAAK;sBAAb,KAAK;gBAEG,KAAK;sBAAb,KAAK;gBAEG,UAAU;sBAAlB,KAAK;;MAkBG,YAAY;;yGAAZ,YAAY;0GAAZ,YAAY,iBAhCZ,MAAM,aA4BL,YAAY,aA5Bb,MAAM;0GAgCN,YAAY,YAJZ,CAAC,YAAY,CAAC;2FAId,YAAY;kBALxB,QAAQ;mBAAC;oBACN,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,MAAM,CAAC;oBACjB,YAAY,EAAE,CAAC,MAAM,CAAC;iBACzB;;;ACnDD;;;;;;"}
Note: See TracBrowser for help on using the repository browser.