source: trip-planner-front/node_modules/primeng/esm2020/api/overlayservice.mjs@ 59329aa

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

adding photos

  • Property mode set to 100644
File size: 2.2 KB
Line 
1import { Injectable } from '@angular/core';
2import { Subject } from 'rxjs';
3import * as i0 from "@angular/core";
4export class OverlayService {
5 constructor() {
6 this.clickSource = new Subject();
7 this.clickObservable = this.clickSource.asObservable();
8 }
9 add(event) {
10 if (event) {
11 this.clickSource.next(event);
12 }
13 }
14}
15OverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OverlayService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16OverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OverlayService, providedIn: 'root' });
17i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OverlayService, decorators: [{
18 type: Injectable,
19 args: [{ providedIn: 'root' }]
20 }] });
21//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3ZlcmxheXNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvYXBpL292ZXJsYXlzZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQzs7QUFJL0IsTUFBTSxPQUFPLGNBQWM7SUFEM0I7UUFHWSxnQkFBVyxHQUFHLElBQUksT0FBTyxFQUFxQixDQUFDO1FBRXZELG9CQUFlLEdBQUcsSUFBSSxDQUFDLFdBQVcsQ0FBQyxZQUFZLEVBQUUsQ0FBQztLQU9yRDtJQUx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