@angular/router
Advanced tools
Comparing version 4.0.0-beta.5 to 4.0.0-beta.6
/** | ||
* @license Angular v4.0.0-beta.5 | ||
* (c) 2010-2016 Google, Inc. https://angular.io/ | ||
* @license Angular v4.0.0-beta.6 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
@@ -5,0 +5,0 @@ */(function (global, factory) { |
/** | ||
* @license Angular v4.0.0-beta.5 | ||
* (c) 2010-2016 Google, Inc. https://angular.io/ | ||
* @license Angular v4.0.0-beta.6 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
@@ -12,3 +12,3 @@ */(function (global, factory) { | ||
/** | ||
* @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. | ||
@@ -15,0 +15,0 @@ * |
/** | ||
* @license Angular v4.0.0-beta.5 | ||
* (c) 2010-2016 Google, Inc. https://angular.io/ | ||
* @license Angular v4.0.0-beta.6 | ||
* (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}); |
{ | ||
"name": "@angular/router", | ||
"version": "4.0.0-beta.5", | ||
"version": "4.0.0-beta.6", | ||
"description": "Angular - the routing library", | ||
@@ -9,3 +9,2 @@ "main": "bundles/router.umd.js", | ||
"keywords": [ | ||
"angular2", | ||
"angular", | ||
@@ -25,7 +24,7 @@ "router" | ||
"peerDependencies": { | ||
"@angular/core": "4.0.0-beta.5", | ||
"@angular/common": "4.0.0-beta.5", | ||
"@angular/platform-browser": "4.0.0-beta.5", | ||
"@angular/core": "4.0.0-beta.6", | ||
"@angular/common": "4.0.0-beta.6", | ||
"@angular/platform-browser": "4.0.0-beta.6", | ||
"rxjs": "^5.0.1" | ||
} | ||
} |
@@ -315,2 +315,8 @@ /** | ||
/** | ||
* @whatItDoes The type of `queryParamsHandling`. | ||
* See {@link RouterLink} for more details. | ||
* @stable | ||
*/ | ||
export declare type QueryParamsHandling = 'merge' | 'preserve' | ''; | ||
/** | ||
* See {@link Routes} for more details. | ||
@@ -317,0 +323,0 @@ * @stable |
@@ -69,3 +69,2 @@ /** | ||
* | ||
* @selector ':not(a)[routerLink]' | ||
* @ngModule RouterModule | ||
@@ -72,0 +71,0 @@ * |
@@ -69,3 +69,2 @@ /** | ||
* | ||
* \@selector ':not(a)[routerLink]' | ||
* \@ngModule RouterModule | ||
@@ -72,0 +71,0 @@ * |
@@ -10,2 +10,3 @@ /** | ||
import { ElementRef, OnChanges, OnDestroy, Renderer } from '@angular/core'; | ||
import { QueryParamsHandling } from '../config'; | ||
import { Router } from '../router'; | ||
@@ -57,3 +58,4 @@ import { ActivatedRoute } from '../router_state'; | ||
* | ||
* You can also tell the directive to preserve the current query params and fragment: | ||
* (Deprecated in v4.0.0 use `queryParamsHandling` instead) You can also tell the | ||
* directive to preserve the current query params and fragment: | ||
* | ||
@@ -66,2 +68,14 @@ * ``` | ||
* | ||
* You can tell the directive to how to handle queryParams, available options are: | ||
* - 'merge' merge the queryParams into the current queryParams | ||
* - 'preserve' prserve the current queryParams | ||
* - default / '' use the queryParams only | ||
* same options for {@link NavigationExtras.queryParamsHandling} | ||
* | ||
* ``` | ||
* <a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" queryParamsHandling="merge"> | ||
* link to user component | ||
* </a> | ||
* ``` | ||
* | ||
* The router link directive always treats the provided input as a delta to the current url. | ||
@@ -74,3 +88,2 @@ * | ||
* | ||
* @selector ':not(a)[routerLink]' | ||
* @ngModule RouterModule | ||
@@ -89,3 +102,3 @@ * | ||
fragment: string; | ||
preserveQueryParams: boolean; | ||
queryParamsHandling: QueryParamsHandling; | ||
preserveFragment: boolean; | ||
@@ -95,4 +108,9 @@ skipLocationChange: boolean; | ||
private commands; | ||
private preserve; | ||
constructor(router: Router, route: ActivatedRoute, tabIndex: string, renderer: Renderer, el: ElementRef); | ||
routerLink: any[] | string; | ||
/** | ||
* @deprecated 4.0.0 use `queryParamsHandling` instead. | ||
*/ | ||
preserveQueryParams: boolean; | ||
onClick(): boolean; | ||
@@ -106,3 +124,2 @@ urlTree: UrlTree; | ||
* | ||
* @selector 'a[routerLink]' | ||
* @ngModule RouterModule | ||
@@ -121,3 +138,3 @@ * | ||
fragment: string; | ||
preserveQueryParams: boolean; | ||
queryParamsHandling: QueryParamsHandling; | ||
preserveFragment: boolean; | ||
@@ -128,5 +145,7 @@ skipLocationChange: boolean; | ||
private subscription; | ||
private preserve; | ||
href: string; | ||
constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy); | ||
routerLink: any[] | string; | ||
preserveQueryParams: boolean; | ||
ngOnChanges(changes: {}): any; | ||
@@ -133,0 +152,0 @@ ngOnDestroy(): any; |
@@ -9,3 +9,3 @@ /** | ||
import { LocationStrategy } from '@angular/common'; | ||
import { Attribute, Directive, ElementRef, HostBinding, HostListener, Input, Renderer } from '@angular/core'; | ||
import { Attribute, Directive, ElementRef, HostBinding, HostListener, Input, Renderer, isDevMode } from '@angular/core'; | ||
import { NavigationEnd, Router } from '../router'; | ||
@@ -56,3 +56,4 @@ import { ActivatedRoute } from '../router_state'; | ||
* | ||
* You can also tell the directive to preserve the current query params and fragment: | ||
* (Deprecated in v4.0.0 use `queryParamsHandling` instead) You can also tell the | ||
* directive to preserve the current query params and fragment: | ||
* | ||
@@ -65,2 +66,14 @@ * ``` | ||
* | ||
* You can tell the directive to how to handle queryParams, available options are: | ||
* - 'merge' merge the queryParams into the current queryParams | ||
* - 'preserve' prserve the current queryParams | ||
* - default / '' use the queryParams only | ||
* same options for {\@link NavigationExtras.queryParamsHandling} | ||
* | ||
* ``` | ||
* <a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" queryParamsHandling="merge"> | ||
* link to user component | ||
* </a> | ||
* ``` | ||
* | ||
* The router link directive always treats the provided input as a delta to the current url. | ||
@@ -73,3 +86,2 @@ * | ||
* | ||
* \@selector ':not(a)[routerLink]' | ||
* \@ngModule RouterModule | ||
@@ -113,2 +125,17 @@ * | ||
}); | ||
Object.defineProperty(RouterLink.prototype, "preserveQueryParams", { | ||
/** | ||
* @deprecated 4.0.0 use `queryParamsHandling` instead. | ||
* @param {?} value | ||
* @return {?} | ||
*/ | ||
set: function (value) { | ||
if (isDevMode() && (console) && (console.warn)) { | ||
console.warn('preserveQueryParams is deprecated!, use queryParamsHandling instead.'); | ||
} | ||
this.preserve = value; | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
/** | ||
@@ -134,3 +161,4 @@ * @return {?} | ||
fragment: this.fragment, | ||
preserveQueryParams: attrBoolValue(this.preserveQueryParams), | ||
preserveQueryParams: attrBoolValue(this.preserve), | ||
queryParamsHandling: this.queryParamsHandling, | ||
preserveFragment: attrBoolValue(this.preserveFragment), | ||
@@ -156,3 +184,3 @@ }); | ||
'fragment': [{ type: Input },], | ||
'preserveQueryParams': [{ type: Input },], | ||
'queryParamsHandling': [{ type: Input },], | ||
'preserveFragment': [{ type: Input },], | ||
@@ -162,2 +190,3 @@ 'skipLocationChange': [{ type: Input },], | ||
'routerLink': [{ type: Input },], | ||
'preserveQueryParams': [{ type: Input },], | ||
'onClick': [{ type: HostListener, args: ['click',] },], | ||
@@ -182,3 +211,3 @@ }; | ||
/** @type {?} */ | ||
RouterLink.prototype.preserveQueryParams; | ||
RouterLink.prototype.queryParamsHandling; | ||
/** @type {?} */ | ||
@@ -193,2 +222,4 @@ RouterLink.prototype.preserveFragment; | ||
/** @type {?} */ | ||
RouterLink.prototype.preserve; | ||
/** @type {?} */ | ||
RouterLink.prototype.router; | ||
@@ -203,3 +234,2 @@ /** @type {?} */ | ||
* | ||
* \@selector 'a[routerLink]' | ||
* \@ngModule RouterModule | ||
@@ -243,2 +273,16 @@ * | ||
}); | ||
Object.defineProperty(RouterLinkWithHref.prototype, "preserveQueryParams", { | ||
/** | ||
* @param {?} value | ||
* @return {?} | ||
*/ | ||
set: function (value) { | ||
if (isDevMode() && (console) && (console.warn)) { | ||
console.warn('preserveQueryParams is deprecated, use queryParamsHandling instead.'); | ||
} | ||
this.preserve = value; | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
/** | ||
@@ -288,3 +332,4 @@ * @param {?} changes | ||
fragment: this.fragment, | ||
preserveQueryParams: attrBoolValue(this.preserveQueryParams), | ||
preserveQueryParams: attrBoolValue(this.preserve), | ||
queryParamsHandling: this.queryParamsHandling, | ||
preserveFragment: attrBoolValue(this.preserveFragment), | ||
@@ -309,3 +354,3 @@ }); | ||
'fragment': [{ type: Input },], | ||
'preserveQueryParams': [{ type: Input },], | ||
'queryParamsHandling': [{ type: Input },], | ||
'preserveFragment': [{ type: Input },], | ||
@@ -316,2 +361,3 @@ 'skipLocationChange': [{ type: Input },], | ||
'routerLink': [{ type: Input },], | ||
'preserveQueryParams': [{ type: Input },], | ||
'onClick': [{ type: HostListener, args: ['click', ['$event.button', '$event.ctrlKey', '$event.metaKey'],] },], | ||
@@ -338,3 +384,3 @@ }; | ||
/** @type {?} */ | ||
RouterLinkWithHref.prototype.preserveQueryParams; | ||
RouterLinkWithHref.prototype.queryParamsHandling; | ||
/** @type {?} */ | ||
@@ -351,2 +397,4 @@ RouterLinkWithHref.prototype.preserveFragment; | ||
/** @type {?} */ | ||
RouterLinkWithHref.prototype.preserve; | ||
/** @type {?} */ | ||
RouterLinkWithHref.prototype.href; | ||
@@ -353,0 +401,0 @@ /** @type {?} */ |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"RouterLink":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":":not(a)[routerLink]"}]}],"members":{"queryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"fragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveQueryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveFragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"skipLocationChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"replaceUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute"},"arguments":["tabindex"]}],null,null],"parameters":[{"__symbolic":"reference","module":"../router","name":"Router"},{"__symbolic":"reference","module":"../router_state","name":"ActivatedRoute"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"routerLink":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["click"]}]}]}},"RouterLinkWithHref":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"a[routerLink]"}]}],"members":{"target":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["attr.target"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"queryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"fragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveQueryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveFragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"skipLocationChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"replaceUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"href":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../router","name":"Router"},{"__symbolic":"reference","module":"../router_state","name":"ActivatedRoute"},{"__symbolic":"reference","module":"@angular/common","name":"LocationStrategy"}]}],"routerLink":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["click",["$event.button","$event.ctrlKey","$event.metaKey"]]}]}],"updateTargetUrlAndHref":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"RouterLink":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":":not(a)[routerLink]"}]}],"members":{"queryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"fragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveQueryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveFragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"skipLocationChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"replaceUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute"},"arguments":["tabindex"]}],null,null],"parameters":[{"__symbolic":"reference","module":"../router","name":"Router"},{"__symbolic":"reference","module":"../router_state","name":"ActivatedRoute"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"routerLink":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["click"]}]}]}},"RouterLinkWithHref":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"a[routerLink]"}]}],"members":{"target":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["attr.target"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"queryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"fragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveQueryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveFragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"skipLocationChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"replaceUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"href":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../router","name":"Router"},{"__symbolic":"reference","module":"../router_state","name":"ActivatedRoute"},{"__symbolic":"reference","module":"@angular/common","name":"LocationStrategy"}]}],"routerLink":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["click",["$event.button","$event.ctrlKey","$event.metaKey"]]}]}],"updateTargetUrlAndHref":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"RouterLink":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":":not(a)[routerLink]"}]}],"members":{"queryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"fragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"queryParamsHandling":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveFragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"skipLocationChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"replaceUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute"},"arguments":["tabindex"]}],null,null],"parameters":[{"__symbolic":"reference","module":"../router","name":"Router"},{"__symbolic":"reference","module":"../router_state","name":"ActivatedRoute"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"routerLink":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveQueryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["click"]}]}]}},"RouterLinkWithHref":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"a[routerLink]"}]}],"members":{"target":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["attr.target"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"queryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"fragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"queryParamsHandling":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveFragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"skipLocationChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"replaceUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"href":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../router","name":"Router"},{"__symbolic":"reference","module":"../router_state","name":"ActivatedRoute"},{"__symbolic":"reference","module":"@angular/common","name":"LocationStrategy"}]}],"routerLink":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveQueryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["click",["$event.button","$event.ctrlKey","$event.metaKey"]]}]}],"updateTargetUrlAndHref":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"RouterLink":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":":not(a)[routerLink]"}]}],"members":{"queryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"fragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"queryParamsHandling":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveFragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"skipLocationChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"replaceUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute"},"arguments":["tabindex"]}],null,null],"parameters":[{"__symbolic":"reference","module":"../router","name":"Router"},{"__symbolic":"reference","module":"../router_state","name":"ActivatedRoute"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"routerLink":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveQueryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["click"]}]}]}},"RouterLinkWithHref":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"a[routerLink]"}]}],"members":{"target":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["attr.target"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"queryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"fragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"queryParamsHandling":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveFragment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"skipLocationChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"replaceUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"href":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../router","name":"Router"},{"__symbolic":"reference","module":"../router_state","name":"ActivatedRoute"},{"__symbolic":"reference","module":"@angular/common","name":"LocationStrategy"}]}],"routerLink":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"preserveQueryParams":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["click",["$event.button","$event.ctrlKey","$event.metaKey"]]}]}],"updateTargetUrlAndHref":[{"__symbolic":"method"}]}}}}] |
@@ -31,3 +31,2 @@ /** | ||
* ``` | ||
* @selector 'a[routerLink]' | ||
* @ngModule RouterModule | ||
@@ -34,0 +33,0 @@ * |
@@ -31,3 +31,2 @@ /** | ||
* ``` | ||
* \@selector 'a[routerLink]' | ||
* \@ngModule RouterModule | ||
@@ -34,0 +33,0 @@ * |
@@ -71,3 +71,3 @@ /** | ||
* | ||
* 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 | ||
@@ -74,0 +74,0 @@ * demand. |
@@ -105,3 +105,3 @@ /** | ||
* | ||
* 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 | ||
@@ -108,0 +108,0 @@ * demand. |
@@ -11,3 +11,3 @@ /** | ||
import { Observable } from 'rxjs/Observable'; | ||
import { Routes } from './config'; | ||
import { QueryParamsHandling, Routes } from './config'; | ||
import { DetachedRouteHandle, RouteReuseStrategy } from './route_reuse_strategy'; | ||
@@ -80,2 +80,4 @@ import { RouterOutletMap } from './router_outlet_map'; | ||
* | ||
* deprecated, use `queryParamsHandling` instead | ||
* | ||
* ``` | ||
@@ -85,5 +87,16 @@ * // Preserve query params from /results?page=1 to /view?page=1 | ||
* ``` | ||
* | ||
* @deprecated | ||
*/ | ||
preserveQueryParams?: boolean; | ||
/** | ||
* config strategy to handle the query parameters for the next navigation. | ||
* | ||
* ``` | ||
* // from /results?page=1 to /view?page=1&page=2 | ||
* this.router.navigate(['/view'], { queryParams: { page: 2 }, queryParamsHandling: "merge" }); | ||
* ``` | ||
*/ | ||
queryParamsHandling?: QueryParamsHandling; | ||
/** | ||
* Preserves the fragment for the next navigation | ||
@@ -292,3 +305,3 @@ * | ||
/** | ||
* Extracts and merges URLs. Used for Angular 1 to Angular 2 migrations. | ||
* Extracts and merges URLs. Used for AngularJS to Angular migrations. | ||
*/ | ||
@@ -375,3 +388,3 @@ urlHandlingStrategy: UrlHandlingStrategy; | ||
*/ | ||
createUrlTree(commands: any[], {relativeTo, queryParams, fragment, preserveQueryParams, preserveFragment}?: NavigationExtras): UrlTree; | ||
createUrlTree(commands: any[], {relativeTo, queryParams, fragment, preserveQueryParams, queryParamsHandling, preserveFragment}?: NavigationExtras): UrlTree; | ||
/** | ||
@@ -378,0 +391,0 @@ * Navigate based on the provided url. This navigation is always absolute. |
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
import { ComponentFactoryResolver, ReflectiveInjector } from '@angular/core'; | ||
import { ComponentFactoryResolver, ReflectiveInjector, isDevMode } from '@angular/core'; | ||
import { BehaviorSubject } from 'rxjs/BehaviorSubject'; | ||
@@ -323,3 +323,3 @@ import { Subject } from 'rxjs/Subject'; | ||
/** | ||
* Extracts and merges URLs. Used for Angular 1 to Angular 2 migrations. | ||
* Extracts and merges URLs. Used for AngularJS to Angular migrations. | ||
*/ | ||
@@ -353,3 +353,5 @@ this.urlHandlingStrategy = new DefaultUrlHandlingStrategy(); | ||
this.setUpLocationChangeListener(); | ||
this.navigateByUrl(this.location.path(true), { replaceUrl: true }); | ||
if (this.navigationId === 0) { | ||
this.navigateByUrl(this.location.path(true), { replaceUrl: true }); | ||
} | ||
}; | ||
@@ -479,6 +481,24 @@ /** | ||
Router.prototype.createUrlTree = function (commands, _a) { | ||
var _b = _a === void 0 ? {} : _a, relativeTo = _b.relativeTo, queryParams = _b.queryParams, fragment = _b.fragment, preserveQueryParams = _b.preserveQueryParams, preserveFragment = _b.preserveFragment; | ||
var _b = _a === void 0 ? {} : _a, relativeTo = _b.relativeTo, queryParams = _b.queryParams, fragment = _b.fragment, preserveQueryParams = _b.preserveQueryParams, queryParamsHandling = _b.queryParamsHandling, preserveFragment = _b.preserveFragment; | ||
if (isDevMode() && preserveQueryParams && (console) && (console.warn)) { | ||
console.warn('preserveQueryParams is deprecated, use queryParamsHandling instead.'); | ||
} | ||
var /** @type {?} */ a = relativeTo || this.routerState.root; | ||
var /** @type {?} */ q = preserveQueryParams ? this.currentUrlTree.queryParams : queryParams; | ||
var /** @type {?} */ f = preserveFragment ? this.currentUrlTree.fragment : fragment; | ||
var /** @type {?} */ q = null; | ||
if (queryParamsHandling) { | ||
switch (queryParamsHandling) { | ||
case 'merge': | ||
q = merge(this.currentUrlTree.queryParams, queryParams); | ||
break; | ||
case 'preserve': | ||
q = this.currentUrlTree.queryParams; | ||
break; | ||
default: | ||
q = queryParams; | ||
} | ||
} | ||
else { | ||
q = preserveQueryParams ? this.currentUrlTree.queryParams : queryParams; | ||
} | ||
return createUrlTree(a, this.currentUrlTree, commands, q, f); | ||
@@ -769,4 +789,4 @@ }; | ||
.then(function () { | ||
_this.navigated = true; | ||
if (navigationIsSuccessful) { | ||
_this.navigated = true; | ||
_this.routerEvents.next(new NavigationEnd(id, _this.serializeUrl(url), _this.serializeUrl(_this.currentUrlTree))); | ||
@@ -842,3 +862,3 @@ resolvePromise(true); | ||
/** | ||
* Extracts and merges URLs. Used for Angular 1 to Angular 2 migrations. | ||
* Extracts and merges URLs. Used for AngularJS to Angular migrations. | ||
* @type {?} | ||
@@ -1086,3 +1106,3 @@ */ | ||
var /** @type {?} */ obs = map.call(from(d.guards), function (c) { | ||
var /** @type {?} */ guard = _this.getToken(c, c.node); | ||
var /** @type {?} */ guard = _this.getToken(c, d.node); | ||
var /** @type {?} */ observable; | ||
@@ -1089,0 +1109,0 @@ if (guard.canActivateChild) { |
@@ -10,3 +10,3 @@ /** | ||
/** | ||
* @whatItDoes Provides a way to migrate Angular 1 applications to Angular 2. | ||
* @whatItDoes Provides a way to migrate AngularJS applications to Angular. | ||
* | ||
@@ -13,0 +13,0 @@ * @experimental |
@@ -9,3 +9,3 @@ /** | ||
/** | ||
* \@whatItDoes Provides a way to migrate Angular 1 applications to Angular 2. | ||
* \@whatItDoes Provides a way to migrate AngularJS applications to Angular. | ||
* | ||
@@ -12,0 +12,0 @@ * \@experimental |
@@ -8,3 +8,2 @@ /** | ||
*/ | ||
import { Observable } from 'rxjs/Observable'; | ||
import { fromPromise } from 'rxjs/observable/fromPromise'; | ||
@@ -17,2 +16,3 @@ import { of } from 'rxjs/observable/of'; | ||
import { mergeAll } from 'rxjs/operator/mergeAll'; | ||
import { isObservable, isPromise } from '../private_import_core'; | ||
import { PRIMARY_OUTLET } from '../shared'; | ||
@@ -162,6 +162,6 @@ /** | ||
export function wrapIntoObservable(value) { | ||
if (value instanceof Observable) { | ||
if (isObservable(value)) { | ||
return value; | ||
} | ||
if (value instanceof Promise) { | ||
if (isPromise(value)) { | ||
return fromPromise(value); | ||
@@ -168,0 +168,0 @@ } |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"shallowEqualArrays":{"__symbolic":"function"},"shallowEqual":{"__symbolic":"function"},"flatten":{"__symbolic":"function"},"first":{"__symbolic":"function","parameters":["a"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":">","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"a"},"member":"length"},"right":0},"thenExpression":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"a"},"index":0},"elseExpression":null}},"last":{"__symbolic":"function","parameters":["a"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":">","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"a"},"member":"length"},"right":0},"thenExpression":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"a"},"index":{"__symbolic":"binop","operator":"-","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"a"},"member":"length"},"right":1}},"elseExpression":null}},"and":{"__symbolic":"function","parameters":["bools"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"error","message":"Function call not supported","line":63,"character":21}}},"merge":{"__symbolic":"function"},"forEach":{"__symbolic":"function"},"waitForMap":{"__symbolic":"function"},"andObservables":{"__symbolic":"function"},"wrapIntoObservable":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"shallowEqualArrays":{"__symbolic":"function"},"shallowEqual":{"__symbolic":"function"},"flatten":{"__symbolic":"function"},"first":{"__symbolic":"function","parameters":["a"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":">","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"a"},"member":"length"},"right":0},"thenExpression":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"a"},"index":0},"elseExpression":null}},"last":{"__symbolic":"function","parameters":["a"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":">","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"a"},"member":"length"},"right":0},"thenExpression":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"a"},"index":{"__symbolic":"binop","operator":"-","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"a"},"member":"length"},"right":1}},"elseExpression":null}},"and":{"__symbolic":"function","parameters":["bools"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"error","message":"Function call not supported","line":63,"character":21}}},"merge":{"__symbolic":"function"},"forEach":{"__symbolic":"function"},"waitForMap":{"__symbolic":"function"},"andObservables":{"__symbolic":"function"},"wrapIntoObservable":{"__symbolic":"function"}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"shallowEqualArrays":{"__symbolic":"function"},"shallowEqual":{"__symbolic":"function"},"flatten":{"__symbolic":"function"},"first":{"__symbolic":"function","parameters":["a"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":">","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"a"},"member":"length"},"right":0},"thenExpression":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"a"},"index":0},"elseExpression":null}},"last":{"__symbolic":"function","parameters":["a"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":">","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"a"},"member":"length"},"right":0},"thenExpression":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"a"},"index":{"__symbolic":"binop","operator":"-","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"a"},"member":"length"},"right":1}},"elseExpression":null}},"and":{"__symbolic":"function","parameters":["bools"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"error","message":"Function call not supported","line":64,"character":21}}},"merge":{"__symbolic":"function"},"forEach":{"__symbolic":"function"},"waitForMap":{"__symbolic":"function"},"andObservables":{"__symbolic":"function"},"wrapIntoObservable":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"shallowEqualArrays":{"__symbolic":"function"},"shallowEqual":{"__symbolic":"function"},"flatten":{"__symbolic":"function"},"first":{"__symbolic":"function","parameters":["a"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":">","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"a"},"member":"length"},"right":0},"thenExpression":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"a"},"index":0},"elseExpression":null}},"last":{"__symbolic":"function","parameters":["a"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":">","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"a"},"member":"length"},"right":0},"thenExpression":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"a"},"index":{"__symbolic":"binop","operator":"-","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"a"},"member":"length"},"right":1}},"elseExpression":null}},"and":{"__symbolic":"function","parameters":["bools"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"error","message":"Function call not supported","line":64,"character":21}}},"merge":{"__symbolic":"function"},"forEach":{"__symbolic":"function"},"waitForMap":{"__symbolic":"function"},"andObservables":{"__symbolic":"function"},"wrapIntoObservable":{"__symbolic":"function"}}}] |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"Tree":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TreeNode","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":80,"character":57,"context":{"typeName":"T"}}]}]}],"parent":[{"__symbolic":"method"}],"children":[{"__symbolic":"method"}],"firstChild":[{"__symbolic":"method"}],"siblings":[{"__symbolic":"method"}],"pathFromRoot":[{"__symbolic":"method"}]}},"TreeNode":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":80,"character":28,"context":{"typeName":"T"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"TreeNode","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":80,"character":57,"context":{"typeName":"T"}}]}]}]}],"toString":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"Tree":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TreeNode","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":80,"character":57,"context":{"typeName":"T"}}]}]}],"parent":[{"__symbolic":"method"}],"children":[{"__symbolic":"method"}],"firstChild":[{"__symbolic":"method"}],"siblings":[{"__symbolic":"method"}],"pathFromRoot":[{"__symbolic":"method"}]}},"TreeNode":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":80,"character":28,"context":{"typeName":"T"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"TreeNode","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":80,"character":57,"context":{"typeName":"T"}}]}]}]}],"toString":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"Tree":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TreeNode","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":80,"character":57,"context":{"typeName":"T"}}]}]}],"parent":[{"__symbolic":"method"}],"children":[{"__symbolic":"method"}],"firstChild":[{"__symbolic":"method"}],"siblings":[{"__symbolic":"method"}],"pathFromRoot":[{"__symbolic":"method"}]}},"TreeNode":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":80,"character":28,"context":{"typeName":"T"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"TreeNode","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":80,"character":57,"context":{"typeName":"T"}}]}]}]}],"toString":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"Tree":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TreeNode","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":80,"character":57,"context":{"typeName":"T"}}]}]}],"parent":[{"__symbolic":"method"}],"children":[{"__symbolic":"method"}],"firstChild":[{"__symbolic":"method"}],"siblings":[{"__symbolic":"method"}],"pathFromRoot":[{"__symbolic":"method"}]}},"TreeNode":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":80,"character":28,"context":{"typeName":"T"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"TreeNode","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":80,"character":57,"context":{"typeName":"T"}}]}]}]}],"toString":[{"__symbolic":"method"}]}}}}] |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
export var /** @type {?} */ VERSION = new Version('4.0.0-beta.5'); | ||
export var /** @type {?} */ VERSION = new Version('4.0.0-beta.6'); | ||
//# 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":["4.0.0-beta.5"]}}},{"__symbolic":"module","version":1,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["4.0.0-beta.5"]}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["4.0.0-beta.6"]}}},{"__symbolic":"module","version":1,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["4.0.0-beta.6"]}}}] |
@@ -12,3 +12,3 @@ /** | ||
/** | ||
* @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. | ||
@@ -15,0 +15,0 @@ * |
@@ -12,3 +12,3 @@ /** | ||
/** | ||
* @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. | ||
@@ -15,0 +15,0 @@ * |
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
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
1143784
132
15563