@paperless/angular 0.1.0-alpha.310 → 0.1.0-alpha.311
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/modules/overlay/overlay.ref.mjs +4 -1
- package/fesm2015/paperless-angular.mjs +3 -1
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +3 -1
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/modules/overlay/overlay.ref.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
1
2
|
export class OverlayRef {
|
|
2
3
|
constructor(_overlay) {
|
|
3
4
|
this._overlay = _overlay;
|
|
5
|
+
this.closed$ = new Subject();
|
|
4
6
|
}
|
|
5
7
|
close() {
|
|
6
8
|
this._overlay.dispose();
|
|
9
|
+
this.closed$.next(null);
|
|
7
10
|
}
|
|
8
11
|
}
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3ZlcmxheS5yZWYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wYXBlcmxlc3Mvc3JjL2xpYi9tb2R1bGVzL292ZXJsYXkvb3ZlcmxheS5yZWYudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUUvQixNQUFNLE9BQU8sVUFBVTtJQUluQixZQUFvQixRQUF1QjtRQUF2QixhQUFRLEdBQVIsUUFBUSxDQUFlO1FBRnBDLFlBQU8sR0FBRyxJQUFJLE9BQU8sRUFBRSxDQUFDO0lBRWUsQ0FBQztJQUUvQyxLQUFLO1FBQ0QsSUFBSSxDQUFDLFFBQVEsQ0FBQyxPQUFPLEVBQUUsQ0FBQztRQUN4QixJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUM1QixDQUFDO0NBQ0oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBPdmVybGF5UmVmIGFzIENES092ZXJsYXlSZWYgfSBmcm9tICdAYW5ndWxhci9jZGsvb3ZlcmxheSc7XG5pbXBvcnQgeyBTdWJqZWN0IH0gZnJvbSAncnhqcyc7XG5cbmV4cG9ydCBjbGFzcyBPdmVybGF5UmVmPFQ+IHtcbiAgICBwdWJsaWMgaW5zdGFuY2UhOiBUO1xuICAgIHB1YmxpYyBjbG9zZWQkID0gbmV3IFN1YmplY3QoKTtcblxuICAgIGNvbnN0cnVjdG9yKHByaXZhdGUgX292ZXJsYXk6IENES092ZXJsYXlSZWYpIHt9XG5cbiAgICBjbG9zZSgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5fb3ZlcmxheS5kaXNwb3NlKCk7XG4gICAgICAgIHRoaXMuY2xvc2VkJC5uZXh0KG51bGwpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -4,7 +4,7 @@ import { NG_VALUE_ACCESSOR, FormControl, FormGroup, FormArray } from '@angular/f
|
|
|
4
4
|
import * as i1$1 from '@angular/common';
|
|
5
5
|
import { CommonModule, DatePipe, CurrencyPipe } from '@angular/common';
|
|
6
6
|
import { __decorate } from 'tslib';
|
|
7
|
-
import { fromEvent, timer, BehaviorSubject, distinctUntilChanged, map as map$1 } from 'rxjs';
|
|
7
|
+
import { fromEvent, Subject, timer, BehaviorSubject, distinctUntilChanged, map as map$1 } from 'rxjs';
|
|
8
8
|
import { ObserversModule } from '@angular/cdk/observers';
|
|
9
9
|
import * as i1 from '@angular/cdk/overlay';
|
|
10
10
|
import { OverlayModule as OverlayModule$1, OverlayConfig } from '@angular/cdk/overlay';
|
|
@@ -1685,9 +1685,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
1685
1685
|
class OverlayRef {
|
|
1686
1686
|
constructor(_overlay) {
|
|
1687
1687
|
this._overlay = _overlay;
|
|
1688
|
+
this.closed$ = new Subject();
|
|
1688
1689
|
}
|
|
1689
1690
|
close() {
|
|
1690
1691
|
this._overlay.dispose();
|
|
1692
|
+
this.closed$.next(null);
|
|
1691
1693
|
}
|
|
1692
1694
|
}
|
|
1693
1695
|
|