source: trip-planner-front/node_modules/primeng/fesm2020/primeng-toolbar.mjs.map@ 76712b2

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

adding photos

  • Property mode set to 100644
File size: 3.1 KB
Line 
1{"version":3,"file":"primeng-toolbar.mjs","sources":["../../src/app/components/toolbar/toolbar.ts","../../src/app/components/toolbar/primeng-toolbar.ts"],"sourcesContent":["import {NgModule,Component,Input,ElementRef,ChangeDetectionStrategy, ViewEncapsulation, AfterContentInit, ContentChildren, QueryList, TemplateRef} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {BlockableUI, PrimeTemplate} from 'primeng/api';\n\n@Component({\n selector: 'p-toolbar',\n template: `\n <div [ngClass]=\"'p-toolbar p-component'\" [ngStyle]=\"style\" [class]=\"styleClass\" role=\"toolbar\">\n <ng-content></ng-content>\n <div class=\"p-toolbar-group-left\" *ngIf=\"leftTemplate\">\n <ng-container *ngTemplateOutlet=\"leftTemplate\"></ng-container>\n </div>\n <div class=\"p-toolbar-group-right\" *ngIf=\"rightTemplate\">\n <ng-container *ngTemplateOutlet=\"rightTemplate\"></ng-container>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./toolbar.css'],\n host: {\n 'class': 'p-element'\n }\n})\nexport class Toolbar implements AfterContentInit,BlockableUI {\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<any>;\n\n leftTemplate: TemplateRef<any>;\n\n rightTemplate: TemplateRef<any>;\n\n constructor(private el: ElementRef) {}\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch(item.getType()) {\n case 'left':\n this.leftTemplate = item.template;\n break;\n\n case 'right':\n this.rightTemplate = item.template;\n break;\n }\n });\n }\n\n}\n\n@NgModule({\n imports: [CommonModule],\n exports: [Toolbar],\n declarations: [Toolbar]\n})\nexport class ToolbarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAwBa,OAAO;IAYhB,YAAoB,EAAc;QAAd,OAAE,GAAF,EAAE,CAAY;KAAI;IAEtC,mBAAmB;QACjB,OAAO,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;KAC1C;IAED,kBAAkB;QACd,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,IAAI;YACxB,QAAO,IAAI,CAAC,OAAO,EAAE;gBACjB,KAAK,MAAM;oBACP,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC;oBACtC,MAAM;gBAEN,KAAK,OAAO;oBACR,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,QAAQ,CAAC;oBACvC,MAAM;aACT;SACJ,CAAC,CAAC;KACN;;oGA9BQ,OAAO;wFAAP,OAAO,wKAMC,aAAa,6BAxBpB;;;;;;;;;;KAUT;2FAQQ,OAAO;kBApBnB,SAAS;+BACI,WAAW,YACX;;;;;;;;;;KAUT,mBACgB,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,IAAI,QAE/B;wBACF,OAAO,EAAE,WAAW;qBACvB;iGAIQ,KAAK;sBAAb,KAAK;gBAEG,UAAU;sBAAlB,KAAK;gBAE0B,SAAS;sBAAxC,eAAe;uBAAC,aAAa;;MAiCrB,aAAa;;0GAAb,aAAa;2GAAb,aAAa,iBAvCb,OAAO,aAmCN,YAAY,aAnCb,OAAO;2GAuCP,aAAa,YAJb,CAAC,YAAY,CAAC;2FAId,aAAa;kBALzB,QAAQ;mBAAC;oBACN,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,OAAO,CAAC;oBAClB,YAAY,EAAE,CAAC,OAAO,CAAC;iBAC1B;;;AC9DD;;;;;;"}
Note: See TracBrowser for help on using the repository browser.