@@ -13,7 +13,7 @@ import {InjectionToken} from '../di/injection_token';
1313 * during hydration is enabled.
1414 */
1515export const IS_HYDRATION_DOM_REUSE_ENABLED = new InjectionToken < boolean > (
16- typeof ngDevMode === 'undefined' || ! ! ngDevMode ? 'IS_HYDRATION_DOM_REUSE_ENABLED' : '' ,
16+ typeof ngDevMode === 'undefined' || ngDevMode ? 'IS_HYDRATION_DOM_REUSE_ENABLED' : '' ,
1717) ;
1818
1919// By default (in client rendering mode), we remove all the contents
@@ -25,7 +25,7 @@ export const PRESERVE_HOST_CONTENT_DEFAULT = false;
2525 * retained during the bootstrap.
2626 */
2727export const PRESERVE_HOST_CONTENT = new InjectionToken < boolean > (
28- typeof ngDevMode === 'undefined' || ! ! ngDevMode ? 'PRESERVE_HOST_CONTENT' : '' ,
28+ typeof ngDevMode === 'undefined' || ngDevMode ? 'PRESERVE_HOST_CONTENT' : '' ,
2929 {
3030 providedIn : 'root' ,
3131 factory : ( ) => PRESERVE_HOST_CONTENT_DEFAULT ,
@@ -37,15 +37,15 @@ export const PRESERVE_HOST_CONTENT = new InjectionToken<boolean>(
3737 * is enabled.
3838 */
3939export const IS_I18N_HYDRATION_ENABLED = new InjectionToken < boolean > (
40- typeof ngDevMode === 'undefined' || ! ! ngDevMode ? 'IS_I18N_HYDRATION_ENABLED' : '' ,
40+ typeof ngDevMode === 'undefined' || ngDevMode ? 'IS_I18N_HYDRATION_ENABLED' : '' ,
4141) ;
4242
4343/**
4444 * Internal token that indicates whether event replay support for SSR
4545 * is enabled.
4646 */
4747export const IS_EVENT_REPLAY_ENABLED = new InjectionToken < boolean > (
48- typeof ngDevMode === 'undefined' || ! ! ngDevMode ? 'IS_EVENT_REPLAY_ENABLED' : '' ,
48+ typeof ngDevMode === 'undefined' || ngDevMode ? 'IS_EVENT_REPLAY_ENABLED' : '' ,
4949) ;
5050
5151export const EVENT_REPLAY_ENABLED_DEFAULT = false ;
@@ -55,7 +55,7 @@ export const EVENT_REPLAY_ENABLED_DEFAULT = false;
5555 * is enabled.
5656 */
5757export const IS_INCREMENTAL_HYDRATION_ENABLED = new InjectionToken < boolean > (
58- typeof ngDevMode === 'undefined' || ! ! ngDevMode ? 'IS_INCREMENTAL_HYDRATION_ENABLED' : '' ,
58+ typeof ngDevMode === 'undefined' || ngDevMode ? 'IS_INCREMENTAL_HYDRATION_ENABLED' : '' ,
5959) ;
6060
6161/**
@@ -68,3 +68,10 @@ export const JSACTION_BLOCK_ELEMENT_MAP = new InjectionToken<Map<string, Set<Ele
6868 factory : ( ) => new Map < string , Set < Element > > ( ) ,
6969 } ,
7070) ;
71+
72+ /**
73+ * Internal token that indicates whether the initial navigation is blocking in the application.
74+ */
75+ export const IS_ENABLED_BLOCKING_INITIAL_NAVIGATION = new InjectionToken < boolean > (
76+ typeof ngDevMode === 'undefined' || ngDevMode ? 'IS_ENABLED_BLOCKING_INITIAL_NAVIGATION' : '' ,
77+ ) ;
0 commit comments