@magic-xpa/angular 4.1300.0-dev4130.325 → 4.1300.0-dev4130.327
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/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magic-xpa/angular",
|
|
3
|
-
"version": "4.1300.0-dev4130.
|
|
3
|
+
"version": "4.1300.0-dev4130.327",
|
|
4
4
|
"license": "SEE LICENSE IN EULA.pdf",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@magic-xpa/engine": "4.1300.0-dev4130.
|
|
7
|
-
"@magic-xpa/angular-material-core": "4.1300.0-dev4130.
|
|
6
|
+
"@magic-xpa/engine": "4.1300.0-dev4130.327",
|
|
7
|
+
"@magic-xpa/angular-material-core": "4.1300.0-dev4130.327",
|
|
8
8
|
"ng-dynamic-component": "^11.0.0",
|
|
9
9
|
"@maskito/angular": "^5.3.1",
|
|
10
10
|
"@maskito/core": "^5.3.1",
|
|
@@ -1959,6 +1959,8 @@ declare class MagicShellComponent implements AfterViewInit, IMagicViewContainerR
|
|
|
1959
1959
|
constructor();
|
|
1960
1960
|
/**
|
|
1961
1961
|
* Before-unload event listener
|
|
1962
|
+
* The context is not terminated here, as 'beforeunload' is also fired when the page is about to enter
|
|
1963
|
+
* the back-forward cache, from where it may be restored. It is terminated in 'pagehide' instead.
|
|
1962
1964
|
* @param event
|
|
1963
1965
|
*/
|
|
1964
1966
|
onBeforeUnload(event: any): string;
|
|
@@ -1967,8 +1969,21 @@ declare class MagicShellComponent implements AfterViewInit, IMagicViewContainerR
|
|
|
1967
1969
|
* Chrome blocks 'unload' by permissions policy ("unload is not allowed in this document"),
|
|
1968
1970
|
* so an unload handler is never even registered. 'pagehide' is fired at an earlier step of
|
|
1969
1971
|
* the same unloading sequence, so it covers every case 'unload' did.
|
|
1972
|
+
* 'pagehide' is also fired when the page enters the back-forward cache (event.persisted is true).
|
|
1973
|
+
* The page may be restored from that cache, so the context is not terminated in that case.
|
|
1970
1974
|
*/
|
|
1971
|
-
onPageHide(): void;
|
|
1975
|
+
onPageHide(event: PageTransitionEvent): void;
|
|
1976
|
+
/**
|
|
1977
|
+
* Page-hide event listener for the pubsub subscriber socket.
|
|
1978
|
+
* Fired on page unload and also when the page enters the back-forward cache.
|
|
1979
|
+
* Close the socket explicitly, so the pubsub middleware drops its subscriptions immediately.
|
|
1980
|
+
*/
|
|
1981
|
+
onPageHideSubscriber(): void;
|
|
1982
|
+
/**
|
|
1983
|
+
* Page-show event listener for the pubsub subscriber socket.
|
|
1984
|
+
* When the page is restored from the back-forward cache (event.persisted), reconnect the socket.
|
|
1985
|
+
*/
|
|
1986
|
+
onPageShow(event: PageTransitionEvent): void;
|
|
1972
1987
|
ngAfterViewInit(): void;
|
|
1973
1988
|
setViewContainerRef(vcRef: ViewContainerRef): void;
|
|
1974
1989
|
/**
|