angular-toolbox 1.2.0 → 1.2.2

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.
@@ -5,7 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be found in
6
6
  * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
7
  */
8
- import { Type } from "@angular/core";
8
+ import { EventEmitter, Type } from "@angular/core";
9
9
  import { Uuid } from "../../../../util";
10
10
  import { Destroyable, WindowRef } from "../../../business";
11
11
  /**
@@ -13,6 +13,10 @@ import { Destroyable, WindowRef } from "../../../business";
13
13
  * functionality to display Angular component within a new browser window.
14
14
  */
15
15
  export declare abstract class AbstractWindowService implements Destroyable {
16
+ /**
17
+ * An event triggered each time a window is closed.
18
+ */
19
+ readonly windowClose: EventEmitter<Uuid>;
16
20
  /**
17
21
  * @private
18
22
  */
@@ -35,10 +35,6 @@ export declare class WindowService extends AbstractWindowService implements OnDe
35
35
  * @private
36
36
  */
37
37
  ngOnDestroy(): void;
38
- /**
39
- * @private
40
- */
41
- private beforUnloadHandler;
42
38
  /**
43
39
  * @private
44
40
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-toolbox",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^18.0.0",