@angular/router
Advanced tools
Comparing version 3.4.7 to 3.4.8
/** | ||
* @license Angular v3.4.7 | ||
* @license Angular v3.4.8 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v3.4.7 | ||
* @license Angular v3.4.8 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -12,3 +12,3 @@ * License: MIT | ||
/** | ||
* @whatItDoes Creates an initializer that in addition to setting up the Angular 2 | ||
* @whatItDoes Creates an initializer that in addition to setting up the Angular | ||
* router sets up the ngRoute integration. | ||
@@ -36,5 +36,6 @@ * | ||
var RouterUpgradeInitializer = { | ||
provide: _angular_router.ROUTER_INITIALIZER, | ||
useFactory: initialRouterNavigation, | ||
deps: [_angular_upgrade_static.UpgradeModule, _angular_core.ApplicationRef, _angular_router.RouterPreloader, _angular_router.ROUTER_CONFIGURATION] | ||
provide: _angular_core.APP_BOOTSTRAP_LISTENER, | ||
multi: true, | ||
useFactory: locationSyncBootstrapListener, | ||
deps: [_angular_upgrade_static.UpgradeModule] | ||
}; | ||
@@ -44,19 +45,4 @@ /** | ||
*/ | ||
function initialRouterNavigation(ngUpgrade, ref, preloader, opts) { | ||
return function () { | ||
if (!ngUpgrade.$injector) { | ||
throw new Error("\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n "); | ||
} | ||
var router = ngUpgrade.injector.get(_angular_router.Router); | ||
var ref = ngUpgrade.injector.get(_angular_core.ApplicationRef); | ||
router.resetRootComponentType(ref.componentTypes[0]); | ||
preloader.setUpPreloading(); | ||
if (opts.initialNavigation === false) { | ||
router.setUpLocationChangeListener(); | ||
} | ||
else { | ||
router.initialNavigation(); | ||
} | ||
setUpLocationSync(ngUpgrade); | ||
}; | ||
function locationSyncBootstrapListener(ngUpgrade) { | ||
return function () { setUpLocationSync(ngUpgrade); }; | ||
} | ||
@@ -72,2 +58,5 @@ /** | ||
function setUpLocationSync(ngUpgrade) { | ||
if (!ngUpgrade.$injector) { | ||
throw new Error("\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n "); | ||
} | ||
var router = ngUpgrade.injector.get(_angular_router.Router); | ||
@@ -83,5 +72,5 @@ var url = document.createElement('a'); | ||
exports.RouterUpgradeInitializer = RouterUpgradeInitializer; | ||
exports.initialRouterNavigation = initialRouterNavigation; | ||
exports.locationSyncBootstrapListener = locationSyncBootstrapListener; | ||
exports.setUpLocationSync = setUpLocationSync; | ||
})); |
/** | ||
* @license Angular v3.4.7 | ||
* @license Angular v3.4.8 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
*/ | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/core"),require("@angular/router"),require("@angular/upgrade/static")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@angular/router","@angular/upgrade/static"],factory):factory((global.ng=global.ng||{},global.ng.router=global.ng.router||{},global.ng.router.upgrade=global.ng.router.upgrade||{}),global.ng.core,global.ng.router,global.ng.upgrade.static)}(this,function(exports,_angular_core,_angular_router,_angular_upgrade_static){"use strict";function initialRouterNavigation(ngUpgrade,ref,preloader,opts){return function(){if(!ngUpgrade.$injector)throw new Error("\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n ");var router=ngUpgrade.injector.get(_angular_router.Router),ref=ngUpgrade.injector.get(_angular_core.ApplicationRef);router.resetRootComponentType(ref.componentTypes[0]),preloader.setUpPreloading(),opts.initialNavigation===!1?router.setUpLocationChangeListener():router.initialNavigation(),setUpLocationSync(ngUpgrade)}}function setUpLocationSync(ngUpgrade){var router=ngUpgrade.injector.get(_angular_router.Router),url=document.createElement("a");ngUpgrade.$injector.get("$rootScope").$on("$locationChangeStart",function(_,next,__){url.href=next,router.navigateByUrl(url.pathname)})}var RouterUpgradeInitializer={provide:_angular_router.ROUTER_INITIALIZER,useFactory:initialRouterNavigation,deps:[_angular_upgrade_static.UpgradeModule,_angular_core.ApplicationRef,_angular_router.RouterPreloader,_angular_router.ROUTER_CONFIGURATION]};exports.RouterUpgradeInitializer=RouterUpgradeInitializer,exports.initialRouterNavigation=initialRouterNavigation,exports.setUpLocationSync=setUpLocationSync}); | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/core"),require("@angular/router"),require("@angular/upgrade/static")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@angular/router","@angular/upgrade/static"],factory):factory((global.ng=global.ng||{},global.ng.router=global.ng.router||{},global.ng.router.upgrade=global.ng.router.upgrade||{}),global.ng.core,global.ng.router,global.ng.upgrade.static)}(this,function(exports,_angular_core,_angular_router,_angular_upgrade_static){"use strict";function locationSyncBootstrapListener(ngUpgrade){return function(){setUpLocationSync(ngUpgrade)}}function setUpLocationSync(ngUpgrade){if(!ngUpgrade.$injector)throw new Error("\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n ");var router=ngUpgrade.injector.get(_angular_router.Router),url=document.createElement("a");ngUpgrade.$injector.get("$rootScope").$on("$locationChangeStart",function(_,next,__){url.href=next,router.navigateByUrl(url.pathname)})}var RouterUpgradeInitializer={provide:_angular_core.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:locationSyncBootstrapListener,deps:[_angular_upgrade_static.UpgradeModule]};exports.RouterUpgradeInitializer=RouterUpgradeInitializer,exports.locationSyncBootstrapListener=locationSyncBootstrapListener,exports.setUpLocationSync=setUpLocationSync}); |
{ | ||
"name": "@angular/router", | ||
"version": "3.4.7", | ||
"version": "3.4.8", | ||
"description": "Angular - the routing library", | ||
@@ -24,7 +24,7 @@ "main": "bundles/router.umd.js", | ||
"peerDependencies": { | ||
"@angular/core": "2.4.7", | ||
"@angular/common": "2.4.7", | ||
"@angular/platform-browser": "2.4.7", | ||
"@angular/core": "2.4.8", | ||
"@angular/common": "2.4.8", | ||
"@angular/platform-browser": "2.4.8", | ||
"rxjs": "^5.0.1" | ||
} | ||
} |
@@ -12,3 +12,3 @@ /** | ||
/** | ||
* @whatItDoes Indicates that a class can implement to be a guard deciding if a route can be | ||
* @whatItDoes Interface that a class can implement to be a guard deciding if a route can be | ||
* activated. | ||
@@ -53,3 +53,3 @@ * | ||
* | ||
* You can also provide a function with the same signature instead of the class: | ||
* You can alternatively provide a function with the `canActivate` signature: | ||
* | ||
@@ -83,3 +83,3 @@ * ``` | ||
/** | ||
* @whatItDoes Indicates that a class can implement to be a guard deciding if a child route can be | ||
* @whatItDoes Interface that a class can implement to be a guard deciding if a child route can be | ||
* activated. | ||
@@ -129,3 +129,3 @@ * | ||
* | ||
* You can also provide a function with the same signature instead of the class: | ||
* You can alternatively provide a function with the `canActivateChild` signature: | ||
* | ||
@@ -164,3 +164,3 @@ * ``` | ||
/** | ||
* @whatItDoes Indicates that a class can implement to be a guard deciding if a route can be | ||
* @whatItDoes Interface that a class can implement to be a guard deciding if a route can be | ||
* deactivated. | ||
@@ -206,3 +206,3 @@ * | ||
* | ||
* You can also provide a function with the same signature instead of the class: | ||
* You can alternatively provide a function with the `canDeactivate` signature: | ||
* | ||
@@ -236,3 +236,3 @@ * ``` | ||
/** | ||
* @whatItDoes Indicates that class can implement to be a data provider. | ||
* @whatItDoes Interface that class can implement to be a data provider. | ||
* | ||
@@ -277,3 +277,3 @@ * @howToUse | ||
* | ||
* You can also provide a function with the same signature instead of the class. | ||
* You can alternatively provide a function with the `resolve` signature: | ||
* | ||
@@ -308,3 +308,3 @@ * ``` | ||
/** | ||
* @whatItDoes Indicates that a class can implement to be a guard deciding if a children can be | ||
* @whatItDoes Interface that a class can implement to be a guard deciding if a children can be | ||
* loaded. | ||
@@ -349,3 +349,3 @@ * | ||
* | ||
* You can also provide a function with the same signature instead of the class: | ||
* You can alternatively provide a function with the `canLoad` signature: | ||
* | ||
@@ -352,0 +352,0 @@ * ``` |
@@ -14,3 +14,2 @@ /** | ||
import { RouterOutletMap } from './router_outlet_map'; | ||
import { RouterPreloader } from './router_preloader'; | ||
import { ActivatedRoute } from './router_state'; | ||
@@ -72,3 +71,3 @@ import { UrlHandlingStrategy } from './url_handling_strategy'; | ||
* | ||
* The Angular 2 router solves these problems. Using the router, you can declaratively specify | ||
* The Angular router solves these problems. Using the router, you can declaratively specify | ||
* application states, manage state transitions while taking care of the URL, and load bundles on | ||
@@ -148,4 +147,24 @@ * demand. | ||
export declare function rootRoute(router: Router): ActivatedRoute; | ||
export declare function initialRouterNavigation(router: Router, ref: ApplicationRef, preloader: RouterPreloader, opts: ExtraOptions): (bootstrappedComponentRef: ComponentRef<any>) => void; | ||
/** | ||
* To initialize the router properly we need to do in two steps: | ||
* | ||
* We need to start the navigation in a APP_INITIALIZER to block the bootstrap if | ||
* a resolver or a guards executes asynchronously. Second, we need to actually run | ||
* activation in a BOOTSTRAP_LISTENER. We utilize the afterPreactivation | ||
* hook provided by the router to do that. | ||
* | ||
* The router navigation starts, reaches the point when preactivation is done, and then | ||
* pauses. It waits for the hook to be resolved. We then resolve it only in a bootstrap listener. | ||
*/ | ||
export declare class RouterInitializer { | ||
private injector; | ||
private initNavigation; | ||
private resultOfPreactivationDone; | ||
constructor(injector: Injector); | ||
appInitializer(): Promise<any>; | ||
bootstrapListener(bootstrappedComponentRef: ComponentRef<any>): void; | ||
} | ||
export declare function getAppInitializer(r: RouterInitializer): any; | ||
export declare function getBootstrapListener(r: RouterInitializer): any; | ||
/** | ||
* A token for the router initializer that will be called after the app is bootstrapped. | ||
@@ -156,6 +175,11 @@ * | ||
export declare const ROUTER_INITIALIZER: OpaqueToken; | ||
export declare function provideRouterInitializer(): ({ | ||
export declare function provideRouterInitializer(): (typeof RouterInitializer | { | ||
provide: any; | ||
multi: boolean; | ||
useFactory: (r: RouterInitializer) => any; | ||
deps: typeof RouterInitializer[]; | ||
} | { | ||
provide: OpaqueToken; | ||
useFactory: (router: Router, ref: ApplicationRef, preloader: RouterPreloader, opts: ExtraOptions) => (bootstrappedComponentRef: ComponentRef<any>) => void; | ||
deps: (OpaqueToken | typeof Router | typeof RouterPreloader | typeof ApplicationRef)[]; | ||
useFactory: (r: RouterInitializer) => any; | ||
deps: typeof RouterInitializer[]; | ||
} | { | ||
@@ -162,0 +186,0 @@ provide: OpaqueToken; |
@@ -8,4 +8,6 @@ /** | ||
*/ | ||
import { APP_BASE_HREF, HashLocationStrategy, Location, LocationStrategy, PathLocationStrategy, PlatformLocation } from '@angular/common'; | ||
import { ANALYZE_FOR_ENTRY_COMPONENTS, APP_BOOTSTRAP_LISTENER, ApplicationRef, Compiler, Inject, Injector, NgModule, NgModuleFactoryLoader, NgProbeToken, OpaqueToken, Optional, SkipSelf, SystemJsNgModuleLoader } from '@angular/core'; | ||
import { APP_BASE_HREF, HashLocationStrategy, LOCATION_INITIALIZED, Location, LocationStrategy, PathLocationStrategy, PlatformLocation } from '@angular/common'; | ||
import { ANALYZE_FOR_ENTRY_COMPONENTS, APP_BOOTSTRAP_LISTENER, APP_INITIALIZER, ApplicationRef, Compiler, Inject, Injectable, Injector, NgModule, NgModuleFactoryLoader, NgProbeToken, OpaqueToken, Optional, SkipSelf, SystemJsNgModuleLoader } from '@angular/core'; | ||
import { Subject } from 'rxjs/Subject'; | ||
import { of } from 'rxjs/observable/of'; | ||
import { RouterLink, RouterLinkWithHref } from './directives/router_link'; | ||
@@ -106,3 +108,3 @@ import { RouterLinkActive } from './directives/router_link_active'; | ||
* | ||
* The Angular 2 router solves these problems. Using the router, you can declaratively specify | ||
* The Angular router solves these problems. Using the router, you can declaratively specify | ||
* application states, manage state transitions while taking care of the URL, and load bundles on | ||
@@ -280,24 +282,106 @@ * demand. | ||
/** | ||
* @param {?} router | ||
* @param {?} ref | ||
* @param {?} preloader | ||
* @param {?} opts | ||
* @return {?} | ||
* To initialize the router properly we need to do in two steps: | ||
* | ||
* We need to start the navigation in a APP_INITIALIZER to block the bootstrap if | ||
* a resolver or a guards executes asynchronously. Second, we need to actually run | ||
* activation in a BOOTSTRAP_LISTENER. We utilize the afterPreactivation | ||
* hook provided by the router to do that. | ||
* | ||
* The router navigation starts, reaches the point when preactivation is done, and then | ||
* pauses. It waits for the hook to be resolved. We then resolve it only in a bootstrap listener. | ||
*/ | ||
export function initialRouterNavigation(router, ref, preloader, opts) { | ||
return function (bootstrappedComponentRef) { | ||
export var RouterInitializer = (function () { | ||
/** | ||
* @param {?} injector | ||
*/ | ||
function RouterInitializer(injector) { | ||
this.injector = injector; | ||
this.resultOfPreactivationDone = new Subject(); | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
RouterInitializer.prototype.appInitializer = function () { | ||
var _this = this; | ||
var /** @type {?} */ p = this.injector.get(LOCATION_INITIALIZED, Promise.resolve(null)); | ||
return p.then(function () { | ||
var /** @type {?} */ resolve = null; | ||
var /** @type {?} */ res = new Promise(function (r) { return resolve = r; }); | ||
var /** @type {?} */ router = _this.injector.get(Router); | ||
var /** @type {?} */ opts = _this.injector.get(ROUTER_CONFIGURATION); | ||
if (opts.initialNavigation === false) { | ||
router.setUpLocationChangeListener(); | ||
} | ||
else { | ||
router.hooks.afterPreactivation = function () { | ||
// only the initial navigation should be delayed | ||
if (!_this.initNavigation) { | ||
_this.initNavigation = true; | ||
resolve(true); | ||
return _this.resultOfPreactivationDone; | ||
} | ||
else { | ||
return of(null); | ||
} | ||
}; | ||
router.initialNavigation(); | ||
} | ||
return res; | ||
}); | ||
}; | ||
/** | ||
* @param {?} bootstrappedComponentRef | ||
* @return {?} | ||
*/ | ||
RouterInitializer.prototype.bootstrapListener = function (bootstrappedComponentRef) { | ||
var /** @type {?} */ ref = this.injector.get(ApplicationRef); | ||
if (bootstrappedComponentRef !== ref.components[0]) { | ||
return; | ||
} | ||
var /** @type {?} */ preloader = this.injector.get(RouterPreloader); | ||
preloader.setUpPreloading(); | ||
var /** @type {?} */ router = this.injector.get(Router); | ||
router.resetRootComponentType(ref.componentTypes[0]); | ||
preloader.setUpPreloading(); | ||
if (opts.initialNavigation === false) { | ||
router.setUpLocationChangeListener(); | ||
} | ||
else { | ||
router.initialNavigation(); | ||
} | ||
this.resultOfPreactivationDone.next(null); | ||
this.resultOfPreactivationDone.complete(); | ||
}; | ||
RouterInitializer.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
RouterInitializer.ctorParameters = function () { return [ | ||
{ type: Injector, }, | ||
]; }; | ||
return RouterInitializer; | ||
}()); | ||
function RouterInitializer_tsickle_Closure_declarations() { | ||
/** @type {?} */ | ||
RouterInitializer.decorators; | ||
/** | ||
* @nocollapse | ||
* @type {?} | ||
*/ | ||
RouterInitializer.ctorParameters; | ||
/** @type {?} */ | ||
RouterInitializer.prototype.initNavigation; | ||
/** @type {?} */ | ||
RouterInitializer.prototype.resultOfPreactivationDone; | ||
/** @type {?} */ | ||
RouterInitializer.prototype.injector; | ||
} | ||
/** | ||
* @param {?} r | ||
* @return {?} | ||
*/ | ||
export function getAppInitializer(r) { | ||
return r.appInitializer.bind(r); | ||
} | ||
/** | ||
* @param {?} r | ||
* @return {?} | ||
*/ | ||
export function getBootstrapListener(r) { | ||
return r.bootstrapListener.bind(r); | ||
} | ||
/** | ||
* A token for the router initializer that will be called after the app is bootstrapped. | ||
@@ -313,7 +397,10 @@ * | ||
return [ | ||
RouterInitializer, | ||
{ | ||
provide: ROUTER_INITIALIZER, | ||
useFactory: initialRouterNavigation, | ||
deps: [Router, ApplicationRef, RouterPreloader, ROUTER_CONFIGURATION] | ||
provide: APP_INITIALIZER, | ||
multi: true, | ||
useFactory: getAppInitializer, | ||
deps: [RouterInitializer] | ||
}, | ||
{ provide: ROUTER_INITIALIZER, useFactory: getBootstrapListener, deps: [RouterInitializer] }, | ||
{ provide: APP_BOOTSTRAP_LISTENER, multi: true, useExisting: ROUTER_INITIALIZER }, | ||
@@ -320,0 +407,0 @@ ]; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"ROUTER_CONFIGURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["ROUTER_CONFIGURATION"]},"ROUTER_FORROOT_GUARD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["ROUTER_FORROOT_GUARD"]},"ROUTER_PROVIDERS":[{"__symbolic":"reference","module":"@angular/common","name":"Location"},{"provide":{"__symbolic":"reference","module":"./url_tree","name":"UrlSerializer"},"useClass":{"__symbolic":"reference","module":"./url_tree","name":"DefaultUrlSerializer"}},{"provide":{"__symbolic":"reference","module":"./router","name":"Router"},"useFactory":{"__symbolic":"reference","name":"setupRouter"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef"},{"__symbolic":"reference","module":"./url_tree","name":"UrlSerializer"},{"__symbolic":"reference","module":"./router_outlet_map","name":"RouterOutletMap"},{"__symbolic":"reference","module":"@angular/common","name":"Location"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/core","name":"NgModuleFactoryLoader"},{"__symbolic":"reference","module":"@angular/core","name":"Compiler"},{"__symbolic":"reference","module":"./router_config_loader","name":"ROUTES"},{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"},[{"__symbolic":"reference","module":"./url_handling_strategy","name":"UrlHandlingStrategy"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}],[{"__symbolic":"reference","module":"./route_reuse_strategy","name":"RouteReuseStrategy"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}]]},{"__symbolic":"reference","module":"./router_outlet_map","name":"RouterOutletMap"},{"provide":{"__symbolic":"reference","module":"./router_state","name":"ActivatedRoute"},"useFactory":{"__symbolic":"reference","name":"rootRoute"},"deps":[{"__symbolic":"reference","module":"./router","name":"Router"}]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"NgModuleFactoryLoader"},"useClass":{"__symbolic":"reference","module":"@angular/core","name":"SystemJsNgModuleLoader"}},{"__symbolic":"reference","module":"./router_preloader","name":"RouterPreloader"},{"__symbolic":"reference","module":"./router_preloader","name":"NoPreloading"},{"__symbolic":"reference","module":"./router_preloader","name":"PreloadAllModules"},{"provide":{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"},"useValue":{"enableTracing":false}}],"routerNgProbeToken":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgProbeToken"},"arguments":["Router",{"__symbolic":"reference","module":"./router","name":"Router"}]}},"RouterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./directives/router_outlet","name":"RouterOutlet"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLink"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLinkWithHref"},{"__symbolic":"reference","module":"./directives/router_link_active","name":"RouterLinkActive"}],"exports":[{"__symbolic":"reference","module":"./directives/router_outlet","name":"RouterOutlet"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLink"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLinkWithHref"},{"__symbolic":"reference","module":"./directives/router_link_active","name":"RouterLinkActive"}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"ROUTER_FORROOT_GUARD"}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}]},"statics":{"forRoot":{"__symbolic":"function","parameters":["routes","config"],"value":{"ngModule":{"__symbolic":"reference","name":"RouterModule"},"providers":[{"__symbolic":"reference","name":"ROUTER_PROVIDERS"},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"provideRoutes"},"arguments":[{"__symbolic":"reference","name":"routes"}]},{"provide":{"__symbolic":"reference","name":"ROUTER_FORROOT_GUARD"},"useFactory":{"__symbolic":"reference","name":"provideForRootGuard"},"deps":[[{"__symbolic":"reference","module":"./router","name":"Router"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf"}}]]},{"provide":{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"},"useValue":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"config"},"thenExpression":{"__symbolic":"reference","name":"config"},"elseExpression":{}}},{"provide":{"__symbolic":"reference","module":"@angular/common","name":"LocationStrategy"},"useFactory":{"__symbolic":"reference","name":"provideLocationStrategy"},"deps":[{"__symbolic":"reference","module":"@angular/common","name":"PlatformLocation"},[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"APP_BASE_HREF"}]},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}],{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"}]},{"provide":{"__symbolic":"reference","module":"./router_preloader","name":"PreloadingStrategy"},"useExisting":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"preloadingStrategy"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"preloadingStrategy"},"elseExpression":{"__symbolic":"reference","module":"./router_preloader","name":"NoPreloading"}}},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"NgProbeToken"},"multi":true,"useFactory":{"__symbolic":"reference","name":"routerNgProbeToken"}},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"provideRouterInitializer"}}]}},"forChild":{"__symbolic":"function","parameters":["routes"],"value":{"ngModule":{"__symbolic":"reference","name":"RouterModule"},"providers":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"provideRoutes"},"arguments":[{"__symbolic":"reference","name":"routes"}]}]}}}},"provideLocationStrategy":{"__symbolic":"function","parameters":["platformLocationStrategy","baseHref","options"],"value":{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"useHash"},"thenExpression":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/common","name":"HashLocationStrategy"},"arguments":[{"__symbolic":"reference","name":"platformLocationStrategy"},{"__symbolic":"reference","name":"baseHref"}]},"elseExpression":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/common","name":"PathLocationStrategy"},"arguments":[{"__symbolic":"reference","name":"platformLocationStrategy"},{"__symbolic":"reference","name":"baseHref"}]}},"defaults":[null,null,{}]},"provideForRootGuard":{"__symbolic":"function"},"provideRoutes":{"__symbolic":"function","parameters":["routes"],"value":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"ANALYZE_FOR_ENTRY_COMPONENTS"},"multi":true,"useValue":{"__symbolic":"reference","name":"routes"}},{"provide":{"__symbolic":"reference","module":"./router_config_loader","name":"ROUTES"},"multi":true,"useValue":{"__symbolic":"reference","name":"routes"}}]},"setupRouter":{"__symbolic":"function"},"rootRoute":{"__symbolic":"function","parameters":["router"],"value":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"router"},"member":"routerState"},"member":"root"}},"initialRouterNavigation":{"__symbolic":"function","parameters":["router","ref","preloader","opts"],"value":{"__symbolic":"error","message":"Function call not supported","line":282,"character":9}},"ROUTER_INITIALIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["Router Initializer"]},"provideRouterInitializer":{"__symbolic":"function","parameters":[],"value":[{"provide":{"__symbolic":"reference","name":"ROUTER_INITIALIZER"},"useFactory":{"__symbolic":"reference","name":"initialRouterNavigation"},"deps":[{"__symbolic":"reference","module":"./router","name":"Router"},{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef"},{"__symbolic":"reference","module":"./router_preloader","name":"RouterPreloader"},{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"}]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_BOOTSTRAP_LISTENER"},"multi":true,"useExisting":{"__symbolic":"reference","name":"ROUTER_INITIALIZER"}}]}}},{"__symbolic":"module","version":1,"metadata":{"ROUTER_CONFIGURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["ROUTER_CONFIGURATION"]},"ROUTER_FORROOT_GUARD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["ROUTER_FORROOT_GUARD"]},"ROUTER_PROVIDERS":[{"__symbolic":"reference","module":"@angular/common","name":"Location"},{"provide":{"__symbolic":"reference","module":"./url_tree","name":"UrlSerializer"},"useClass":{"__symbolic":"reference","module":"./url_tree","name":"DefaultUrlSerializer"}},{"provide":{"__symbolic":"reference","module":"./router","name":"Router"},"useFactory":{"__symbolic":"reference","name":"setupRouter"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef"},{"__symbolic":"reference","module":"./url_tree","name":"UrlSerializer"},{"__symbolic":"reference","module":"./router_outlet_map","name":"RouterOutletMap"},{"__symbolic":"reference","module":"@angular/common","name":"Location"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/core","name":"NgModuleFactoryLoader"},{"__symbolic":"reference","module":"@angular/core","name":"Compiler"},{"__symbolic":"reference","module":"./router_config_loader","name":"ROUTES"},{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"},[{"__symbolic":"reference","module":"./url_handling_strategy","name":"UrlHandlingStrategy"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}],[{"__symbolic":"reference","module":"./route_reuse_strategy","name":"RouteReuseStrategy"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}]]},{"__symbolic":"reference","module":"./router_outlet_map","name":"RouterOutletMap"},{"provide":{"__symbolic":"reference","module":"./router_state","name":"ActivatedRoute"},"useFactory":{"__symbolic":"reference","name":"rootRoute"},"deps":[{"__symbolic":"reference","module":"./router","name":"Router"}]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"NgModuleFactoryLoader"},"useClass":{"__symbolic":"reference","module":"@angular/core","name":"SystemJsNgModuleLoader"}},{"__symbolic":"reference","module":"./router_preloader","name":"RouterPreloader"},{"__symbolic":"reference","module":"./router_preloader","name":"NoPreloading"},{"__symbolic":"reference","module":"./router_preloader","name":"PreloadAllModules"},{"provide":{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"},"useValue":{"enableTracing":false}}],"routerNgProbeToken":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgProbeToken"},"arguments":["Router",{"__symbolic":"reference","module":"./router","name":"Router"}]}},"RouterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./directives/router_outlet","name":"RouterOutlet"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLink"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLinkWithHref"},{"__symbolic":"reference","module":"./directives/router_link_active","name":"RouterLinkActive"}],"exports":[{"__symbolic":"reference","module":"./directives/router_outlet","name":"RouterOutlet"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLink"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLinkWithHref"},{"__symbolic":"reference","module":"./directives/router_link_active","name":"RouterLinkActive"}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"ROUTER_FORROOT_GUARD"}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}]},"statics":{"forRoot":{"__symbolic":"function","parameters":["routes","config"],"value":{"ngModule":{"__symbolic":"reference","name":"RouterModule"},"providers":[{"__symbolic":"reference","name":"ROUTER_PROVIDERS"},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"provideRoutes"},"arguments":[{"__symbolic":"reference","name":"routes"}]},{"provide":{"__symbolic":"reference","name":"ROUTER_FORROOT_GUARD"},"useFactory":{"__symbolic":"reference","name":"provideForRootGuard"},"deps":[[{"__symbolic":"reference","module":"./router","name":"Router"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf"}}]]},{"provide":{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"},"useValue":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"config"},"thenExpression":{"__symbolic":"reference","name":"config"},"elseExpression":{}}},{"provide":{"__symbolic":"reference","module":"@angular/common","name":"LocationStrategy"},"useFactory":{"__symbolic":"reference","name":"provideLocationStrategy"},"deps":[{"__symbolic":"reference","module":"@angular/common","name":"PlatformLocation"},[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"APP_BASE_HREF"}]},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}],{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"}]},{"provide":{"__symbolic":"reference","module":"./router_preloader","name":"PreloadingStrategy"},"useExisting":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"preloadingStrategy"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"preloadingStrategy"},"elseExpression":{"__symbolic":"reference","module":"./router_preloader","name":"NoPreloading"}}},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"NgProbeToken"},"multi":true,"useFactory":{"__symbolic":"reference","name":"routerNgProbeToken"}},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"provideRouterInitializer"}}]}},"forChild":{"__symbolic":"function","parameters":["routes"],"value":{"ngModule":{"__symbolic":"reference","name":"RouterModule"},"providers":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"provideRoutes"},"arguments":[{"__symbolic":"reference","name":"routes"}]}]}}}},"provideLocationStrategy":{"__symbolic":"function","parameters":["platformLocationStrategy","baseHref","options"],"value":{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"useHash"},"thenExpression":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/common","name":"HashLocationStrategy"},"arguments":[{"__symbolic":"reference","name":"platformLocationStrategy"},{"__symbolic":"reference","name":"baseHref"}]},"elseExpression":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/common","name":"PathLocationStrategy"},"arguments":[{"__symbolic":"reference","name":"platformLocationStrategy"},{"__symbolic":"reference","name":"baseHref"}]}},"defaults":[null,null,{}]},"provideForRootGuard":{"__symbolic":"function"},"provideRoutes":{"__symbolic":"function","parameters":["routes"],"value":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"ANALYZE_FOR_ENTRY_COMPONENTS"},"multi":true,"useValue":{"__symbolic":"reference","name":"routes"}},{"provide":{"__symbolic":"reference","module":"./router_config_loader","name":"ROUTES"},"multi":true,"useValue":{"__symbolic":"reference","name":"routes"}}]},"setupRouter":{"__symbolic":"function"},"rootRoute":{"__symbolic":"function","parameters":["router"],"value":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"router"},"member":"routerState"},"member":"root"}},"initialRouterNavigation":{"__symbolic":"function","parameters":["router","ref","preloader","opts"],"value":{"__symbolic":"error","message":"Function call not supported","line":282,"character":9}},"ROUTER_INITIALIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["Router Initializer"]},"provideRouterInitializer":{"__symbolic":"function","parameters":[],"value":[{"provide":{"__symbolic":"reference","name":"ROUTER_INITIALIZER"},"useFactory":{"__symbolic":"reference","name":"initialRouterNavigation"},"deps":[{"__symbolic":"reference","module":"./router","name":"Router"},{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef"},{"__symbolic":"reference","module":"./router_preloader","name":"RouterPreloader"},{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"}]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_BOOTSTRAP_LISTENER"},"multi":true,"useExisting":{"__symbolic":"reference","name":"ROUTER_INITIALIZER"}}]}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"ROUTER_CONFIGURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["ROUTER_CONFIGURATION"]},"ROUTER_FORROOT_GUARD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["ROUTER_FORROOT_GUARD"]},"ROUTER_PROVIDERS":[{"__symbolic":"reference","module":"@angular/common","name":"Location"},{"provide":{"__symbolic":"reference","module":"./url_tree","name":"UrlSerializer"},"useClass":{"__symbolic":"reference","module":"./url_tree","name":"DefaultUrlSerializer"}},{"provide":{"__symbolic":"reference","module":"./router","name":"Router"},"useFactory":{"__symbolic":"reference","name":"setupRouter"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef"},{"__symbolic":"reference","module":"./url_tree","name":"UrlSerializer"},{"__symbolic":"reference","module":"./router_outlet_map","name":"RouterOutletMap"},{"__symbolic":"reference","module":"@angular/common","name":"Location"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/core","name":"NgModuleFactoryLoader"},{"__symbolic":"reference","module":"@angular/core","name":"Compiler"},{"__symbolic":"reference","module":"./router_config_loader","name":"ROUTES"},{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"},[{"__symbolic":"reference","module":"./url_handling_strategy","name":"UrlHandlingStrategy"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}],[{"__symbolic":"reference","module":"./route_reuse_strategy","name":"RouteReuseStrategy"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}]]},{"__symbolic":"reference","module":"./router_outlet_map","name":"RouterOutletMap"},{"provide":{"__symbolic":"reference","module":"./router_state","name":"ActivatedRoute"},"useFactory":{"__symbolic":"reference","name":"rootRoute"},"deps":[{"__symbolic":"reference","module":"./router","name":"Router"}]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"NgModuleFactoryLoader"},"useClass":{"__symbolic":"reference","module":"@angular/core","name":"SystemJsNgModuleLoader"}},{"__symbolic":"reference","module":"./router_preloader","name":"RouterPreloader"},{"__symbolic":"reference","module":"./router_preloader","name":"NoPreloading"},{"__symbolic":"reference","module":"./router_preloader","name":"PreloadAllModules"},{"provide":{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"},"useValue":{"enableTracing":false}}],"routerNgProbeToken":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgProbeToken"},"arguments":["Router",{"__symbolic":"reference","module":"./router","name":"Router"}]}},"RouterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./directives/router_outlet","name":"RouterOutlet"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLink"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLinkWithHref"},{"__symbolic":"reference","module":"./directives/router_link_active","name":"RouterLinkActive"}],"exports":[{"__symbolic":"reference","module":"./directives/router_outlet","name":"RouterOutlet"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLink"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLinkWithHref"},{"__symbolic":"reference","module":"./directives/router_link_active","name":"RouterLinkActive"}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"ROUTER_FORROOT_GUARD"}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}]},"statics":{"forRoot":{"__symbolic":"function","parameters":["routes","config"],"value":{"ngModule":{"__symbolic":"reference","name":"RouterModule"},"providers":[{"__symbolic":"reference","name":"ROUTER_PROVIDERS"},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"provideRoutes"},"arguments":[{"__symbolic":"reference","name":"routes"}]},{"provide":{"__symbolic":"reference","name":"ROUTER_FORROOT_GUARD"},"useFactory":{"__symbolic":"reference","name":"provideForRootGuard"},"deps":[[{"__symbolic":"reference","module":"./router","name":"Router"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf"}}]]},{"provide":{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"},"useValue":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"config"},"thenExpression":{"__symbolic":"reference","name":"config"},"elseExpression":{}}},{"provide":{"__symbolic":"reference","module":"@angular/common","name":"LocationStrategy"},"useFactory":{"__symbolic":"reference","name":"provideLocationStrategy"},"deps":[{"__symbolic":"reference","module":"@angular/common","name":"PlatformLocation"},[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"APP_BASE_HREF"}]},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}],{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"}]},{"provide":{"__symbolic":"reference","module":"./router_preloader","name":"PreloadingStrategy"},"useExisting":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"preloadingStrategy"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"preloadingStrategy"},"elseExpression":{"__symbolic":"reference","module":"./router_preloader","name":"NoPreloading"}}},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"NgProbeToken"},"multi":true,"useFactory":{"__symbolic":"reference","name":"routerNgProbeToken"}},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"provideRouterInitializer"}}]}},"forChild":{"__symbolic":"function","parameters":["routes"],"value":{"ngModule":{"__symbolic":"reference","name":"RouterModule"},"providers":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"provideRoutes"},"arguments":[{"__symbolic":"reference","name":"routes"}]}]}}}},"provideLocationStrategy":{"__symbolic":"function","parameters":["platformLocationStrategy","baseHref","options"],"value":{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"useHash"},"thenExpression":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/common","name":"HashLocationStrategy"},"arguments":[{"__symbolic":"reference","name":"platformLocationStrategy"},{"__symbolic":"reference","name":"baseHref"}]},"elseExpression":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/common","name":"PathLocationStrategy"},"arguments":[{"__symbolic":"reference","name":"platformLocationStrategy"},{"__symbolic":"reference","name":"baseHref"}]}},"defaults":[null,null,{}]},"provideForRootGuard":{"__symbolic":"function"},"provideRoutes":{"__symbolic":"function","parameters":["routes"],"value":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"ANALYZE_FOR_ENTRY_COMPONENTS"},"multi":true,"useValue":{"__symbolic":"reference","name":"routes"}},{"provide":{"__symbolic":"reference","module":"./router_config_loader","name":"ROUTES"},"multi":true,"useValue":{"__symbolic":"reference","name":"routes"}}]},"setupRouter":{"__symbolic":"function"},"rootRoute":{"__symbolic":"function","parameters":["router"],"value":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"router"},"member":"routerState"},"member":"root"}},"RouterInitializer":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"}]}],"appInitializer":[{"__symbolic":"method"}],"bootstrapListener":[{"__symbolic":"method"}]}},"getAppInitializer":{"__symbolic":"function","parameters":["r"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"r"},"member":"appInitializer"},"member":"bind"},"arguments":[{"__symbolic":"reference","name":"r"}]}},"getBootstrapListener":{"__symbolic":"function","parameters":["r"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"r"},"member":"bootstrapListener"},"member":"bind"},"arguments":[{"__symbolic":"reference","name":"r"}]}},"ROUTER_INITIALIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["Router Initializer"]},"provideRouterInitializer":{"__symbolic":"function","parameters":[],"value":[{"__symbolic":"reference","name":"RouterInitializer"},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER"},"multi":true,"useFactory":{"__symbolic":"reference","name":"getAppInitializer"},"deps":[{"__symbolic":"reference","name":"RouterInitializer"}]},{"provide":{"__symbolic":"reference","name":"ROUTER_INITIALIZER"},"useFactory":{"__symbolic":"reference","name":"getBootstrapListener"},"deps":[{"__symbolic":"reference","name":"RouterInitializer"}]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_BOOTSTRAP_LISTENER"},"multi":true,"useExisting":{"__symbolic":"reference","name":"ROUTER_INITIALIZER"}}]}}},{"__symbolic":"module","version":1,"metadata":{"ROUTER_CONFIGURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["ROUTER_CONFIGURATION"]},"ROUTER_FORROOT_GUARD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["ROUTER_FORROOT_GUARD"]},"ROUTER_PROVIDERS":[{"__symbolic":"reference","module":"@angular/common","name":"Location"},{"provide":{"__symbolic":"reference","module":"./url_tree","name":"UrlSerializer"},"useClass":{"__symbolic":"reference","module":"./url_tree","name":"DefaultUrlSerializer"}},{"provide":{"__symbolic":"reference","module":"./router","name":"Router"},"useFactory":{"__symbolic":"reference","name":"setupRouter"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef"},{"__symbolic":"reference","module":"./url_tree","name":"UrlSerializer"},{"__symbolic":"reference","module":"./router_outlet_map","name":"RouterOutletMap"},{"__symbolic":"reference","module":"@angular/common","name":"Location"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/core","name":"NgModuleFactoryLoader"},{"__symbolic":"reference","module":"@angular/core","name":"Compiler"},{"__symbolic":"reference","module":"./router_config_loader","name":"ROUTES"},{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"},[{"__symbolic":"reference","module":"./url_handling_strategy","name":"UrlHandlingStrategy"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}],[{"__symbolic":"reference","module":"./route_reuse_strategy","name":"RouteReuseStrategy"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}]]},{"__symbolic":"reference","module":"./router_outlet_map","name":"RouterOutletMap"},{"provide":{"__symbolic":"reference","module":"./router_state","name":"ActivatedRoute"},"useFactory":{"__symbolic":"reference","name":"rootRoute"},"deps":[{"__symbolic":"reference","module":"./router","name":"Router"}]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"NgModuleFactoryLoader"},"useClass":{"__symbolic":"reference","module":"@angular/core","name":"SystemJsNgModuleLoader"}},{"__symbolic":"reference","module":"./router_preloader","name":"RouterPreloader"},{"__symbolic":"reference","module":"./router_preloader","name":"NoPreloading"},{"__symbolic":"reference","module":"./router_preloader","name":"PreloadAllModules"},{"provide":{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"},"useValue":{"enableTracing":false}}],"routerNgProbeToken":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgProbeToken"},"arguments":["Router",{"__symbolic":"reference","module":"./router","name":"Router"}]}},"RouterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./directives/router_outlet","name":"RouterOutlet"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLink"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLinkWithHref"},{"__symbolic":"reference","module":"./directives/router_link_active","name":"RouterLinkActive"}],"exports":[{"__symbolic":"reference","module":"./directives/router_outlet","name":"RouterOutlet"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLink"},{"__symbolic":"reference","module":"./directives/router_link","name":"RouterLinkWithHref"},{"__symbolic":"reference","module":"./directives/router_link_active","name":"RouterLinkActive"}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"ROUTER_FORROOT_GUARD"}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}]},"statics":{"forRoot":{"__symbolic":"function","parameters":["routes","config"],"value":{"ngModule":{"__symbolic":"reference","name":"RouterModule"},"providers":[{"__symbolic":"reference","name":"ROUTER_PROVIDERS"},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"provideRoutes"},"arguments":[{"__symbolic":"reference","name":"routes"}]},{"provide":{"__symbolic":"reference","name":"ROUTER_FORROOT_GUARD"},"useFactory":{"__symbolic":"reference","name":"provideForRootGuard"},"deps":[[{"__symbolic":"reference","module":"./router","name":"Router"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf"}}]]},{"provide":{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"},"useValue":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"config"},"thenExpression":{"__symbolic":"reference","name":"config"},"elseExpression":{}}},{"provide":{"__symbolic":"reference","module":"@angular/common","name":"LocationStrategy"},"useFactory":{"__symbolic":"reference","name":"provideLocationStrategy"},"deps":[{"__symbolic":"reference","module":"@angular/common","name":"PlatformLocation"},[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"APP_BASE_HREF"}]},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}],{"__symbolic":"reference","name":"ROUTER_CONFIGURATION"}]},{"provide":{"__symbolic":"reference","module":"./router_preloader","name":"PreloadingStrategy"},"useExisting":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"preloadingStrategy"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"preloadingStrategy"},"elseExpression":{"__symbolic":"reference","module":"./router_preloader","name":"NoPreloading"}}},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"NgProbeToken"},"multi":true,"useFactory":{"__symbolic":"reference","name":"routerNgProbeToken"}},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"provideRouterInitializer"}}]}},"forChild":{"__symbolic":"function","parameters":["routes"],"value":{"ngModule":{"__symbolic":"reference","name":"RouterModule"},"providers":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"provideRoutes"},"arguments":[{"__symbolic":"reference","name":"routes"}]}]}}}},"provideLocationStrategy":{"__symbolic":"function","parameters":["platformLocationStrategy","baseHref","options"],"value":{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"useHash"},"thenExpression":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/common","name":"HashLocationStrategy"},"arguments":[{"__symbolic":"reference","name":"platformLocationStrategy"},{"__symbolic":"reference","name":"baseHref"}]},"elseExpression":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/common","name":"PathLocationStrategy"},"arguments":[{"__symbolic":"reference","name":"platformLocationStrategy"},{"__symbolic":"reference","name":"baseHref"}]}},"defaults":[null,null,{}]},"provideForRootGuard":{"__symbolic":"function"},"provideRoutes":{"__symbolic":"function","parameters":["routes"],"value":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"ANALYZE_FOR_ENTRY_COMPONENTS"},"multi":true,"useValue":{"__symbolic":"reference","name":"routes"}},{"provide":{"__symbolic":"reference","module":"./router_config_loader","name":"ROUTES"},"multi":true,"useValue":{"__symbolic":"reference","name":"routes"}}]},"setupRouter":{"__symbolic":"function"},"rootRoute":{"__symbolic":"function","parameters":["router"],"value":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"router"},"member":"routerState"},"member":"root"}},"RouterInitializer":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"}]}],"appInitializer":[{"__symbolic":"method"}],"bootstrapListener":[{"__symbolic":"method"}]}},"getAppInitializer":{"__symbolic":"function","parameters":["r"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"r"},"member":"appInitializer"},"member":"bind"},"arguments":[{"__symbolic":"reference","name":"r"}]}},"getBootstrapListener":{"__symbolic":"function","parameters":["r"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"r"},"member":"bootstrapListener"},"member":"bind"},"arguments":[{"__symbolic":"reference","name":"r"}]}},"ROUTER_INITIALIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["Router Initializer"]},"provideRouterInitializer":{"__symbolic":"function","parameters":[],"value":[{"__symbolic":"reference","name":"RouterInitializer"},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER"},"multi":true,"useFactory":{"__symbolic":"reference","name":"getAppInitializer"},"deps":[{"__symbolic":"reference","name":"RouterInitializer"}]},{"provide":{"__symbolic":"reference","name":"ROUTER_INITIALIZER"},"useFactory":{"__symbolic":"reference","name":"getBootstrapListener"},"deps":[{"__symbolic":"reference","name":"RouterInitializer"}]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_BOOTSTRAP_LISTENER"},"multi":true,"useExisting":{"__symbolic":"reference","name":"ROUTER_INITIALIZER"}}]}}}] |
@@ -245,2 +245,10 @@ /** | ||
/** | ||
* \@internal | ||
* @param {?} snapshot | ||
* @return {?} | ||
*/ | ||
function defaultRouterHook(snapshot) { | ||
return of(null); | ||
} | ||
/** | ||
* Does not detach any subtrees. Reuses routes as long as their route config is the same. | ||
@@ -323,2 +331,11 @@ */ | ||
/** | ||
* Used by RouterModule. This allows us to | ||
* pause the navigation either before preactivation or after it. | ||
* @internal | ||
*/ | ||
this.hooks = { | ||
beforePreactivation: defaultRouterHook, | ||
afterPreactivation: defaultRouterHook | ||
}; | ||
/** | ||
* Extracts and merges URLs. Used for Angular 1 to Angular 2 migrations. | ||
@@ -701,5 +718,8 @@ */ | ||
} | ||
var /** @type {?} */ beforePreactivationDone$ = mergeMap.call(urlAndSnapshot$, function (p) { | ||
return map.call(_this.hooks.beforePreactivation(p.snapshot), function () { return p; }); | ||
}); | ||
// run preactivation: guards and data resolvers | ||
var /** @type {?} */ preActivation; | ||
var /** @type {?} */ preactivationTraverse$ = map.call(urlAndSnapshot$, function (_a) { | ||
var /** @type {?} */ preactivationTraverse$ = map.call(beforePreactivationDone$, function (_a) { | ||
var appliedUrl = _a.appliedUrl, snapshot = _a.snapshot; | ||
@@ -711,3 +731,3 @@ preActivation = | ||
}); | ||
var /** @type {?} */ preactivationCheckGuards = mergeMap.call(preactivationTraverse$, function (_a) { | ||
var /** @type {?} */ preactivationCheckGuards$ = mergeMap.call(preactivationTraverse$, function (_a) { | ||
var appliedUrl = _a.appliedUrl, snapshot = _a.snapshot; | ||
@@ -720,3 +740,3 @@ if (_this.navigationId !== id) | ||
}); | ||
var /** @type {?} */ preactivationResolveData$ = mergeMap.call(preactivationCheckGuards, function (p) { | ||
var /** @type {?} */ preactivationResolveData$ = mergeMap.call(preactivationCheckGuards$, function (p) { | ||
if (_this.navigationId !== id) | ||
@@ -731,5 +751,8 @@ return of(false); | ||
}); | ||
var /** @type {?} */ preactivationDone$ = mergeMap.call(preactivationResolveData$, function (p) { | ||
return map.call(_this.hooks.afterPreactivation(p.snapshot), function () { return p; }); | ||
}); | ||
// create router state | ||
// this operation has side effects => route state is being affected | ||
var /** @type {?} */ routerState$ = map.call(preactivationResolveData$, function (_a) { | ||
var /** @type {?} */ routerState$ = map.call(preactivationDone$, function (_a) { | ||
var appliedUrl = _a.appliedUrl, snapshot = _a.snapshot, shouldActivate = _a.shouldActivate; | ||
@@ -845,2 +868,9 @@ if (shouldActivate) { | ||
/** | ||
* Used by RouterModule. This allows us to | ||
* pause the navigation either before preactivation or after it. | ||
* \@internal | ||
* @type {?} | ||
*/ | ||
Router.prototype.hooks; | ||
/** | ||
* Extracts and merges URLs. Used for Angular 1 to Angular 2 migrations. | ||
@@ -847,0 +877,0 @@ * @type {?} |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
export var /** @type {?} */ VERSION = new Version('3.4.7'); | ||
export var /** @type {?} */ VERSION = new Version('3.4.8'); | ||
//# sourceMappingURL=version.js.map |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["3.4.7"]}}},{"__symbolic":"module","version":1,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["3.4.7"]}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["3.4.8"]}}},{"__symbolic":"module","version":1,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["3.4.8"]}}}] |
@@ -8,7 +8,6 @@ /** | ||
*/ | ||
import { ApplicationRef, OpaqueToken } from '@angular/core'; | ||
import { ExtraOptions, RouterPreloader } from '@angular/router'; | ||
import { OpaqueToken } from '@angular/core'; | ||
import { UpgradeModule } from '@angular/upgrade/static'; | ||
/** | ||
* @whatItDoes Creates an initializer that in addition to setting up the Angular 2 | ||
* @whatItDoes Creates an initializer that in addition to setting up the Angular | ||
* router sets up the ngRoute integration. | ||
@@ -37,4 +36,5 @@ * | ||
provide: OpaqueToken; | ||
useFactory: (ngUpgrade: UpgradeModule, ref: ApplicationRef, preloader: RouterPreloader, opts: ExtraOptions) => Function; | ||
deps: (OpaqueToken | typeof UpgradeModule | typeof ApplicationRef | typeof RouterPreloader)[]; | ||
multi: boolean; | ||
useFactory: (ngUpgrade: UpgradeModule) => () => void; | ||
deps: typeof UpgradeModule[]; | ||
}; | ||
@@ -41,0 +41,0 @@ /** |
@@ -1,13 +0,6 @@ | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
import { ApplicationRef } from '@angular/core'; | ||
import { ROUTER_CONFIGURATION, ROUTER_INITIALIZER, Router, RouterPreloader } from '@angular/router'; | ||
import { APP_BOOTSTRAP_LISTENER } from '@angular/core'; | ||
import { Router } from '@angular/router'; | ||
import { UpgradeModule } from '@angular/upgrade/static'; | ||
/** | ||
* @whatItDoes Creates an initializer that in addition to setting up the Angular 2 | ||
* @whatItDoes Creates an initializer that in addition to setting up the Angular | ||
* router sets up the ngRoute integration. | ||
@@ -35,5 +28,6 @@ * | ||
export var RouterUpgradeInitializer = { | ||
provide: ROUTER_INITIALIZER, | ||
useFactory: initialRouterNavigation, | ||
deps: [UpgradeModule, ApplicationRef, RouterPreloader, ROUTER_CONFIGURATION] | ||
provide: APP_BOOTSTRAP_LISTENER, | ||
multi: true, | ||
useFactory: locationSyncBootstrapListener, | ||
deps: [UpgradeModule] | ||
}; | ||
@@ -43,19 +37,4 @@ /** | ||
*/ | ||
export function initialRouterNavigation(ngUpgrade, ref, preloader, opts) { | ||
return function () { | ||
if (!ngUpgrade.$injector) { | ||
throw new Error("\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n "); | ||
} | ||
var router = ngUpgrade.injector.get(Router); | ||
var ref = ngUpgrade.injector.get(ApplicationRef); | ||
router.resetRootComponentType(ref.componentTypes[0]); | ||
preloader.setUpPreloading(); | ||
if (opts.initialNavigation === false) { | ||
router.setUpLocationChangeListener(); | ||
} | ||
else { | ||
router.initialNavigation(); | ||
} | ||
setUpLocationSync(ngUpgrade); | ||
}; | ||
export function locationSyncBootstrapListener(ngUpgrade) { | ||
return function () { setUpLocationSync(ngUpgrade); }; | ||
} | ||
@@ -71,2 +50,5 @@ /** | ||
export function setUpLocationSync(ngUpgrade) { | ||
if (!ngUpgrade.$injector) { | ||
throw new Error("\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n "); | ||
} | ||
var router = ngUpgrade.injector.get(Router); | ||
@@ -73,0 +55,0 @@ var url = document.createElement('a'); |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"RouterUpgradeInitializer":{"provide":{"__symbolic":"reference","module":"@angular/router","name":"ROUTER_INITIALIZER"},"useFactory":{"__symbolic":"reference","name":"initialRouterNavigation"},"deps":[{"__symbolic":"reference","module":"@angular/upgrade/static","name":"UpgradeModule"},{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef"},{"__symbolic":"reference","module":"@angular/router","name":"RouterPreloader"},{"__symbolic":"reference","module":"@angular/router","name":"ROUTER_CONFIGURATION"}]},"initialRouterNavigation":{"__symbolic":"function","parameters":["ngUpgrade","ref","preloader","opts"],"value":{"__symbolic":"error","message":"Function call not supported","line":48,"character":9}},"setUpLocationSync":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"RouterUpgradeInitializer":{"provide":{"__symbolic":"reference","module":"@angular/router","name":"ROUTER_INITIALIZER"},"useFactory":{"__symbolic":"reference","name":"initialRouterNavigation"},"deps":[{"__symbolic":"reference","module":"@angular/upgrade/static","name":"UpgradeModule"},{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef"},{"__symbolic":"reference","module":"@angular/router","name":"RouterPreloader"},{"__symbolic":"reference","module":"@angular/router","name":"ROUTER_CONFIGURATION"}]},"initialRouterNavigation":{"__symbolic":"function","parameters":["ngUpgrade","ref","preloader","opts"],"value":{"__symbolic":"error","message":"Function call not supported","line":48,"character":9}},"setUpLocationSync":{"__symbolic":"function"}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"RouterUpgradeInitializer":{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_BOOTSTRAP_LISTENER"},"multi":true,"useFactory":{"__symbolic":"reference","name":"locationSyncBootstrapListener"},"deps":[{"__symbolic":"reference","module":"@angular/upgrade/static","name":"UpgradeModule"}]},"locationSyncBootstrapListener":{"__symbolic":"function","parameters":["ngUpgrade"],"value":{"__symbolic":"error","message":"Function call not supported","line":47,"character":9}},"setUpLocationSync":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"RouterUpgradeInitializer":{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_BOOTSTRAP_LISTENER"},"multi":true,"useFactory":{"__symbolic":"reference","name":"locationSyncBootstrapListener"},"deps":[{"__symbolic":"reference","module":"@angular/upgrade/static","name":"UpgradeModule"}]},"locationSyncBootstrapListener":{"__symbolic":"function","parameters":["ngUpgrade"],"value":{"__symbolic":"error","message":"Function call not supported","line":47,"character":9}},"setUpLocationSync":{"__symbolic":"function"}}}] |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1143972
15568