From cfcc40c9cdbf0cc87cbd71c45cae0076283a8d9e Mon Sep 17 00:00:00 2001 From: Rob Eisenberg Date: Wed, 26 Sep 2018 21:41:09 -0700 Subject: [PATCH] chore(all): prepare release 1.6.3 --- bower.json | 2 +- dist/amd/aurelia-router.js | 12 +- dist/aurelia-router.d.ts | 223 ++++++++++++++------------ dist/aurelia-router.js | 30 ++-- dist/commonjs/aurelia-router.js | 12 +- dist/es2015/aurelia-router.js | 14 +- dist/native-modules/aurelia-router.js | 12 +- dist/system/aurelia-router.js | 12 +- doc/CHANGELOG.md | 11 ++ doc/api.json | 2 +- package.json | 2 +- 11 files changed, 204 insertions(+), 128 deletions(-) diff --git a/bower.json b/bower.json index 7845e567..164df228 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-router", - "version": "1.6.2", + "version": "1.6.3", "description": "A powerful client-side router.", "keywords": [ "aurelia", diff --git a/dist/amd/aurelia-router.js b/dist/amd/aurelia-router.js index ccf11205..86c8867b 100644 --- a/dist/amd/aurelia-router.js +++ b/dist/amd/aurelia-router.js @@ -859,6 +859,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen this.isNavigatingRefresh = false; this.isNavigatingForward = false; this.isNavigatingBack = false; + this.couldDeactivate = false; this.navigation = []; this.currentInstruction = null; this.viewPortDefaults = {}; @@ -1322,6 +1323,8 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } } + navigationInstruction.router.couldDeactivate = true; + return next(); } @@ -1678,9 +1681,13 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen PipelineProvider.prototype.createPipeline = function createPipeline() { var _this9 = this; + var useCanDeactivateStep = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + var pipeline = new Pipeline(); this.steps.forEach(function (step) { - return pipeline.addStep(_this9.container.get(step)); + if (useCanDeactivateStep || step !== CanDeactivatePreviousStep) { + pipeline.addStep(_this9.container.get(step)); + } }); return pipeline; }; @@ -1875,7 +1882,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen throw new Error('Maximum navigation attempts exceeded. Giving up.'); } - var pipeline = _this14.pipelineProvider.createPipeline(); + var pipeline = _this14.pipelineProvider.createPipeline(!_this14.couldDeactivate); return pipeline.run(instruction).then(function (result) { return processResult(instruction, result, instructionCount, _this14); @@ -1953,6 +1960,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen router.isNavigatingRefresh = false; router.isNavigatingForward = false; router.isNavigatingBack = false; + router.couldDeactivate = false; var eventName = void 0; diff --git a/dist/aurelia-router.d.ts b/dist/aurelia-router.d.ts index 68225f59..fe59b4fa 100644 --- a/dist/aurelia-router.d.ts +++ b/dist/aurelia-router.d.ts @@ -6,69 +6,12 @@ import { Container } from 'aurelia-dependency-injection'; import { - History + History, + NavigationOptions } from 'aurelia-history'; import { EventAggregator } from 'aurelia-event-aggregator'; - -/** -* A callback to indicate when pipeline processing should advance to the next step -* or be aborted. -*/ -export declare interface Next { - - /** - * Indicates the successful completion of the entire pipeline. - */ - complete(result?: any): Promise; - - /** - * Indicates that the pipeline should cancel processing. - */ - cancel(result?: any): Promise; - - /** - * Indicates that pipeline processing has failed and should be stopped. - */ - reject(result?: any): Promise; - - /** - * Indicates the successful completion of the pipeline step. - */ - (): Promise; -} - -/** -* A step to be run during processing of the pipeline. -*/ -/** -* A step to be run during processing of the pipeline. -*/ -export declare interface PipelineStep { - - /** - * Execute the pipeline step. The step should invoke next(), next.complete(), - * next.cancel(), or next.reject() to allow the pipeline to continue. - * - * @param instruction The navigation instruction. - * @param next The next step in the pipeline. - */ - run(instruction: NavigationInstruction, next: Next): Promise; -} - -/** -* The result of a pipeline run. -*/ -/** -* The result of a pipeline run. -*/ -export declare interface PipelineResult { - status: string; - instruction: NavigationInstruction; - output: any; - completed: boolean; -} export declare interface NavigationInstructionInit { fragment: string; queryString: string; @@ -302,6 +245,37 @@ export declare interface ActivationStrategy { replace: 'replace'; } +/** +* A step to be run during processing of the pipeline. +*/ +/** +* A step to be run during processing of the pipeline. +*/ +export declare interface PipelineStep { + + /** + * Execute the pipeline step. The step should invoke next(), next.complete(), + * next.cancel(), or next.reject() to allow the pipeline to continue. + * + * @param instruction The navigation instruction. + * @param next The next step in the pipeline. + */ + run(instruction: NavigationInstruction, next: Next): Promise; +} + +/** +* The result of a pipeline run. +*/ +/** +* The result of a pipeline run. +*/ +export declare interface PipelineResult { + status: string; + instruction: NavigationInstruction; + output: any; + completed: boolean; +} + /** * When a navigation command is encountered, the current navigation * will be cancelled and control will be passed to the navigation @@ -316,6 +290,33 @@ export declare interface NavigationCommand { navigate(router: Router): void; } +/** +* A callback to indicate when pipeline processing should advance to the next step +* or be aborted. +*/ +export declare interface Next { + + /** + * Indicates the successful completion of the entire pipeline. + */ + complete(result?: any): Promise; + + /** + * Indicates that the pipeline should cancel processing. + */ + cancel(result?: any): Promise; + + /** + * Indicates that pipeline processing has failed and should be stopped. + */ + reject(result?: any): Promise; + + /** + * Indicates the successful completion of the pipeline step. + */ + (): Promise; +} + /** * A basic interface for an Observable type */ @@ -332,39 +333,6 @@ export declare interface IObservable { export declare interface ISubscription { unsubscribe(): void; } - -/** -* The status of a Pipeline. -*/ -export declare const pipelineStatus: any; - -/** -* The class responsible for managing and processing the navigation pipeline. -*/ -/** -* The class responsible for managing and processing the navigation pipeline. -*/ -export declare class Pipeline { - - /** - * The pipeline steps. - */ - steps: Array; - - /** - * Adds a step to the pipeline. - * - * @param step The pipeline step. - */ - addStep(step: PipelineStep): Pipeline; - - /** - * Runs the pipeline. - * - * @param instruction The navigation instruction to process. - */ - run(instruction: NavigationInstruction): Promise; -} export declare class CommitChangesStep { run(navigationInstruction: NavigationInstruction, next: Function): any; } @@ -573,18 +541,52 @@ export declare class RedirectToRoute { navigate(appRouter: Router): void; } +/** +* The status of a Pipeline. +*/ +export declare const pipelineStatus: any; + +/** +* The class responsible for managing and processing the navigation pipeline. +*/ +/** +* The class responsible for managing and processing the navigation pipeline. +*/ +export declare class Pipeline { + + /** + * The pipeline steps. + */ + steps: Array; + + /** + * Adds a step to the pipeline. + * + * @param step The pipeline step. + */ + addStep(step: PipelineStep): Pipeline; + + /** + * Runs the pipeline. + * + * @param instruction The navigation instruction to process. + */ + run(instruction: NavigationInstruction): Promise; +} + /** * Class used to configure a [[Router]] instance. * * @constructor */ export declare class RouterConfiguration { - instructions: any; - options: any; - pipelineSteps: Array; + instructions: Array<((router: Router) => void)>; + options: { compareQueryParams: boolean, root: string, pushState: boolean, hashChange: boolean, silent: boolean, [key: string]: any }; + pipelineSteps: Array<{ name: string, step: Function | PipelineStep }>; title: string; - unknownRouteConfig: any; - viewPortDefaults: any; + titleSeparator: string; + unknownRouteConfig: string | RouteConfig | ((instruction: NavigationInstruction) => string | RouteConfig | Promise); + viewPortDefaults: { [name: string]: { moduleId: string | void, [key: string]: any } }; /** * Adds a step to be run during the [[Router]]'s navigation pipeline. @@ -650,7 +652,7 @@ export declare class RouterConfiguration { * default, of the form { viewPortName: { moduleId } }. * @chainable */ - useViewPortDefaults(viewPortConfig: any): any; + useViewPortDefaults(viewPortConfig: { [name: string]: { moduleId: string, [key: string]: any } }): RouterConfiguration; /** * Maps a single route to be registered with the router. @@ -702,6 +704,16 @@ export declare class Router { */ baseUrl: string; + /** + * If defined, used in generation of document title for [[Router]]'s routes. + */ + title: string | undefined; + + /** + * The separator used in the document title between [[Router]]'s routes. + */ + titleSeparator: string | undefined; + /** * True if the [[Router]] has been configured. */ @@ -747,6 +759,11 @@ export declare class Router { */ isNavigatingRefresh: boolean; + /** + * True if the previous instruction successfully completed the CanDeactivatePreviousStep in the current navigation. + */ + couldDeactivate: boolean; + /** * The currently active navigation tracker. */ @@ -821,9 +838,9 @@ export declare class Router { * Navigates to a new location. * * @param fragment The URL fragment to use as the navigation destination. - * @param options The navigation options. See [[History.NavigationOptions]] for all available options. + * @param options The navigation options. */ - navigate(fragment: string, options?: any): boolean; + navigate(fragment: string, options?: NavigationOptions): Promise; /** * Navigates to a new location corresponding to the route and params specified. Equivallent to [[Router.generate]] followed @@ -831,9 +848,9 @@ export declare class Router { * * @param route The name of the route to use when generating the navigation location. * @param params The route parameters to be used when populating the route pattern. - * @param options The navigation options. See [[History.NavigationOptions]] for all available options. + * @param options The navigation options. */ - navigateToRoute(route: string, params?: any, options?: any): boolean; + navigateToRoute(route: string, params?: any, options?: NavigationOptions): Promise; /** * Navigates back to the most recent location in history. @@ -943,7 +960,7 @@ export declare class PipelineProvider { /** * Create the navigation pipeline. */ - createPipeline(): Pipeline; + createPipeline(useCanDeactivateStep?: boolean): Pipeline; /** * Adds a step into the pipeline at a known slot location. diff --git a/dist/aurelia-router.js b/dist/aurelia-router.js index 4c62870e..aa985942 100644 --- a/dist/aurelia-router.js +++ b/dist/aurelia-router.js @@ -625,11 +625,6 @@ interface PipelineResult { completed: boolean; } -/** -* The result of a router navigation. -*/ -export type NavigationResult = Promise; - /** * When a navigation command is encountered, the current navigation * will be cancelled and control will be passed to the navigation @@ -1273,6 +1268,11 @@ export class Router { */ isNavigatingRefresh: boolean; + /** + * True if the previous instruction successfully completed the CanDeactivatePreviousStep in the current navigation. + */ + couldDeactivate: boolean; + /** * The currently active navigation tracker. */ @@ -1339,6 +1339,7 @@ export class Router { this.isNavigatingRefresh = false; this.isNavigatingForward = false; this.isNavigatingBack = false; + this.couldDeactivate = false; this.navigation = []; this.currentInstruction = null; this.viewPortDefaults = {}; @@ -1407,7 +1408,7 @@ export class Router { * @param fragment The URL fragment to use as the navigation destination. * @param options The navigation options. */ - navigate(fragment: string, options?: NavigationOptions): NavigationResult { + navigate(fragment: string, options?: NavigationOptions): Promise { if (!this.isConfigured && this.parent) { return this.parent.navigate(fragment, options); } @@ -1424,7 +1425,7 @@ export class Router { * @param params The route parameters to be used when populating the route pattern. * @param options The navigation options. */ - navigateToRoute(route: string, params?: any, options?: NavigationOptions): NavigationResult { + navigateToRoute(route: string, params?: any, options?: NavigationOptions): Promise { let path = this.generate(route, params); return this.navigate(path, options); } @@ -1826,7 +1827,7 @@ export class ActivateNextStep { } } -function processDeactivatable(navigationInstruction: NavigationInstruction, callbackName: string, next: Funcion, ignoreResult: boolean) { +function processDeactivatable(navigationInstruction: NavigationInstruction, callbackName: string, next: Function, ignoreResult: boolean) { const plan = navigationInstruction.plan; let infos = findDeactivatable(plan, callbackName); let i = infos.length; //query from inside out @@ -1850,6 +1851,8 @@ function processDeactivatable(navigationInstruction: NavigationInstruction, call } } + navigationInstruction.router.couldDeactivate = true; + return next(); } @@ -2215,9 +2218,13 @@ export class PipelineProvider { /** * Create the navigation pipeline. */ - createPipeline(): Pipeline { + createPipeline(useCanDeactivateStep: boolean = true): Pipeline { let pipeline = new Pipeline(); - this.steps.forEach(step => pipeline.addStep(this.container.get(step))); + this.steps.forEach(step => { + if (useCanDeactivateStep || step !== CanDeactivatePreviousStep) { + pipeline.addStep(this.container.get(step)); + } + }); return pipeline; } @@ -2424,7 +2431,7 @@ export class AppRouter extends Router { throw new Error('Maximum navigation attempts exceeded. Giving up.'); } - let pipeline = this.pipelineProvider.createPipeline(); + let pipeline = this.pipelineProvider.createPipeline(!this.couldDeactivate); return pipeline .run(instruction) @@ -2498,6 +2505,7 @@ function resolveInstruction(instruction, result, isInnerInstruction, router) { router.isNavigatingRefresh = false; router.isNavigatingForward = false; router.isNavigatingBack = false; + router.couldDeactivate = false; let eventName; diff --git a/dist/commonjs/aurelia-router.js b/dist/commonjs/aurelia-router.js index 4c74e0b6..ac890a54 100644 --- a/dist/commonjs/aurelia-router.js +++ b/dist/commonjs/aurelia-router.js @@ -814,6 +814,7 @@ var Router = exports.Router = function () { this.isNavigatingRefresh = false; this.isNavigatingForward = false; this.isNavigatingBack = false; + this.couldDeactivate = false; this.navigation = []; this.currentInstruction = null; this.viewPortDefaults = {}; @@ -1277,6 +1278,8 @@ function processDeactivatable(navigationInstruction, callbackName, next, ignoreR } } + navigationInstruction.router.couldDeactivate = true; + return next(); } @@ -1633,9 +1636,13 @@ var PipelineProvider = exports.PipelineProvider = function () { PipelineProvider.prototype.createPipeline = function createPipeline() { var _this9 = this; + var useCanDeactivateStep = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + var pipeline = new Pipeline(); this.steps.forEach(function (step) { - return pipeline.addStep(_this9.container.get(step)); + if (useCanDeactivateStep || step !== CanDeactivatePreviousStep) { + pipeline.addStep(_this9.container.get(step)); + } }); return pipeline; }; @@ -1830,7 +1837,7 @@ var AppRouter = exports.AppRouter = function (_Router) { throw new Error('Maximum navigation attempts exceeded. Giving up.'); } - var pipeline = _this14.pipelineProvider.createPipeline(); + var pipeline = _this14.pipelineProvider.createPipeline(!_this14.couldDeactivate); return pipeline.run(instruction).then(function (result) { return processResult(instruction, result, instructionCount, _this14); @@ -1908,6 +1915,7 @@ function resolveInstruction(instruction, result, isInnerInstruction, router) { router.isNavigatingRefresh = false; router.isNavigatingForward = false; router.isNavigatingBack = false; + router.couldDeactivate = false; var eventName = void 0; diff --git a/dist/es2015/aurelia-router.js b/dist/es2015/aurelia-router.js index f4039af5..f25f4f38 100644 --- a/dist/es2015/aurelia-router.js +++ b/dist/es2015/aurelia-router.js @@ -706,6 +706,7 @@ export let Router = class Router { this.isNavigatingRefresh = false; this.isNavigatingForward = false; this.isNavigatingBack = false; + this.couldDeactivate = false; this.navigation = []; this.currentInstruction = null; this.viewPortDefaults = {}; @@ -1125,6 +1126,8 @@ function processDeactivatable(navigationInstruction, callbackName, next, ignoreR } } + navigationInstruction.router.couldDeactivate = true; + return next(); } @@ -1432,9 +1435,13 @@ export let PipelineProvider = class PipelineProvider { this.steps = [BuildNavigationPlanStep, CanDeactivatePreviousStep, LoadRouteStep, this._createPipelineSlot('authorize'), CanActivateNextStep, this._createPipelineSlot('preActivate', 'modelbind'), DeactivatePreviousStep, ActivateNextStep, this._createPipelineSlot('preRender', 'precommit'), CommitChangesStep, this._createPipelineSlot('postRender', 'postcomplete')]; } - createPipeline() { + createPipeline(useCanDeactivateStep = true) { let pipeline = new Pipeline(); - this.steps.forEach(step => pipeline.addStep(this.container.get(step))); + this.steps.forEach(step => { + if (useCanDeactivateStep || step !== CanDeactivatePreviousStep) { + pipeline.addStep(this.container.get(step)); + } + }); return pipeline; } @@ -1602,7 +1609,7 @@ export let AppRouter = class AppRouter extends Router { throw new Error('Maximum navigation attempts exceeded. Giving up.'); } - let pipeline = this.pipelineProvider.createPipeline(); + let pipeline = this.pipelineProvider.createPipeline(!this.couldDeactivate); return pipeline.run(instruction).then(result => processResult(instruction, result, instructionCount, this)).catch(error => { return { output: error instanceof Error ? error : new Error(error) }; @@ -1670,6 +1677,7 @@ function resolveInstruction(instruction, result, isInnerInstruction, router) { router.isNavigatingRefresh = false; router.isNavigatingForward = false; router.isNavigatingBack = false; + router.couldDeactivate = false; let eventName; diff --git a/dist/native-modules/aurelia-router.js b/dist/native-modules/aurelia-router.js index 9899a053..10bacd60 100644 --- a/dist/native-modules/aurelia-router.js +++ b/dist/native-modules/aurelia-router.js @@ -792,6 +792,7 @@ export var Router = function () { this.isNavigatingRefresh = false; this.isNavigatingForward = false; this.isNavigatingBack = false; + this.couldDeactivate = false; this.navigation = []; this.currentInstruction = null; this.viewPortDefaults = {}; @@ -1255,6 +1256,8 @@ function processDeactivatable(navigationInstruction, callbackName, next, ignoreR } } + navigationInstruction.router.couldDeactivate = true; + return next(); } @@ -1611,9 +1614,13 @@ export var PipelineProvider = function () { PipelineProvider.prototype.createPipeline = function createPipeline() { var _this9 = this; + var useCanDeactivateStep = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + var pipeline = new Pipeline(); this.steps.forEach(function (step) { - return pipeline.addStep(_this9.container.get(step)); + if (useCanDeactivateStep || step !== CanDeactivatePreviousStep) { + pipeline.addStep(_this9.container.get(step)); + } }); return pipeline; }; @@ -1808,7 +1815,7 @@ export var AppRouter = function (_Router) { throw new Error('Maximum navigation attempts exceeded. Giving up.'); } - var pipeline = _this14.pipelineProvider.createPipeline(); + var pipeline = _this14.pipelineProvider.createPipeline(!_this14.couldDeactivate); return pipeline.run(instruction).then(function (result) { return processResult(instruction, result, instructionCount, _this14); @@ -1886,6 +1893,7 @@ function resolveInstruction(instruction, result, isInnerInstruction, router) { router.isNavigatingRefresh = false; router.isNavigatingForward = false; router.isNavigatingBack = false; + router.couldDeactivate = false; var eventName = void 0; diff --git a/dist/system/aurelia-router.js b/dist/system/aurelia-router.js index f7c7176a..f213d9fd 100644 --- a/dist/system/aurelia-router.js +++ b/dist/system/aurelia-router.js @@ -329,6 +329,8 @@ System.register(['aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depende } } + navigationInstruction.router.couldDeactivate = true; + return next(); } @@ -634,6 +636,7 @@ System.register(['aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depende router.isNavigatingRefresh = false; router.isNavigatingForward = false; router.isNavigatingBack = false; + router.couldDeactivate = false; var eventName = void 0; @@ -1273,6 +1276,7 @@ System.register(['aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depende this.isNavigatingRefresh = false; this.isNavigatingForward = false; this.isNavigatingBack = false; + this.couldDeactivate = false; this.navigation = []; this.currentInstruction = null; this.viewPortDefaults = {}; @@ -1786,9 +1790,13 @@ System.register(['aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depende PipelineProvider.prototype.createPipeline = function createPipeline() { var _this9 = this; + var useCanDeactivateStep = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + var pipeline = new Pipeline(); this.steps.forEach(function (step) { - return pipeline.addStep(_this9.container.get(step)); + if (useCanDeactivateStep || step !== CanDeactivatePreviousStep) { + pipeline.addStep(_this9.container.get(step)); + } }); return pipeline; }; @@ -1985,7 +1993,7 @@ System.register(['aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depende throw new Error('Maximum navigation attempts exceeded. Giving up.'); } - var pipeline = _this14.pipelineProvider.createPipeline(); + var pipeline = _this14.pipelineProvider.createPipeline(!_this14.couldDeactivate); return pipeline.run(instruction).then(function (result) { return processResult(instruction, result, instructionCount, _this14); diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index a8fc2fb5..9efc5167 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,14 @@ + +## [1.6.3](https://github.com/aurelia/router/compare/1.6.2...1.6.3) (2018-09-27) + + +### Bug Fixes + +* **typings:** Revert aliasing interface ([59e4cf2](https://github.com/aurelia/router/commit/59e4cf2)) +* Prevent running CanDeactivatePreviousStep twice in same navigation ([54b3654](https://github.com/aurelia/router/commit/54b3654)), closes [#45](https://github.com/aurelia/router/issues/45) + + + ## [1.6.2](https://github.com/aurelia/router/compare/1.6.1...1.6.2) (2018-07-17) diff --git a/doc/api.json b/doc/api.json index 9198fd44..908a192a 100644 --- a/doc/api.json +++ b/doc/api.json @@ -1 +1 @@ -{"name":"aurelia-router","children":[{"id":331,"name":"ActivateNextStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":332,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":333,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":334,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":335,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":925,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[332]}],"sources":[{"fileName":"aurelia-router.d.ts","line":924,"character":37}]},{"id":370,"name":"AppRouter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"The main application router."},"children":[{"id":373,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":374,"name":"new AppRouter","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":375,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}},{"id":376,"name":"history","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"History"}},{"id":377,"name":"pipelineProvider","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"PipelineProvider","id":352}},{"id":378,"name":"events","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"EventAggregator"}}],"type":{"type":"reference","name":"AppRouter","id":370},"overwrites":{"type":"reference","name":"Router.__constructor","id":255}}],"sources":[{"fileName":"aurelia-router.d.ts","line":968,"character":23}],"overwrites":{"type":"reference","name":"Router.__constructor","id":255}},{"id":397,"name":"baseUrl","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The [[Router]]'s current base URL, typically based on the [[Router.currentInstruction]]."},"sources":[{"fileName":"aurelia-router.d.ts","line":703,"character":9}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","name":"Router.baseUrl","id":235}},{"id":393,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":695,"character":11}],"type":{"type":"reference","name":"Container"},"inheritedFrom":{"type":"reference","name":"Router.container","id":231}},{"id":409,"name":"currentInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The currently active navigation instruction."},"sources":[{"fileName":"aurelia-router.d.ts","line":763,"character":20}],"type":{"type":"reference","name":"NavigationInstruction","id":112},"inheritedFrom":{"type":"reference","name":"Router.currentInstruction","id":247}},{"id":407,"name":"currentNavigationTracker","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The currently active navigation tracker."},"sources":[{"fileName":"aurelia-router.d.ts","line":753,"character":26}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","name":"Router.currentNavigationTracker","id":245}},{"id":394,"name":"history","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":696,"character":9}],"type":{"type":"reference","name":"History"},"inheritedFrom":{"type":"reference","name":"Router.history","id":232}},{"id":398,"name":"isConfigured","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] has been configured."},"sources":[{"fileName":"aurelia-router.d.ts","line":708,"character":14}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isConfigured","id":236}},{"id":400,"name":"isExplicitNavigation","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating due to explicit call to navigate function(s)."},"sources":[{"fileName":"aurelia-router.d.ts","line":718,"character":22}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isExplicitNavigation","id":238}},{"id":401,"name":"isExplicitNavigationBack","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating due to explicit call to navigateBack function."},"sources":[{"fileName":"aurelia-router.d.ts","line":723,"character":26}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isExplicitNavigationBack","id":239}},{"id":399,"name":"isNavigating","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is currently processing a navigation."},"sources":[{"fileName":"aurelia-router.d.ts","line":713,"character":14}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isNavigating","id":237}},{"id":405,"name":"isNavigatingBack","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating back in the browser session history."},"sources":[{"fileName":"aurelia-router.d.ts","line":743,"character":18}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isNavigatingBack","id":243}},{"id":402,"name":"isNavigatingFirst","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating into the app for the first time in the browser session."},"sources":[{"fileName":"aurelia-router.d.ts","line":728,"character":19}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isNavigatingFirst","id":240}},{"id":404,"name":"isNavigatingForward","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating forward in the browser session history."},"sources":[{"fileName":"aurelia-router.d.ts","line":738,"character":21}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isNavigatingForward","id":242}},{"id":403,"name":"isNavigatingNew","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating to a page instance not in the browser session history."},"sources":[{"fileName":"aurelia-router.d.ts","line":733,"character":17}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isNavigatingNew","id":241}},{"id":406,"name":"isNavigatingRefresh","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating due to a browser refresh."},"sources":[{"fileName":"aurelia-router.d.ts","line":748,"character":21}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isNavigatingRefresh","id":244}},{"id":417,"name":"isRoot","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Gets a value indicating whether or not this [[Router]] is the root in the router tree. I.e., it has no parent."},"sources":[{"fileName":"aurelia-router.d.ts","line":798,"character":8}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isRoot","id":261}},{"id":408,"name":"navigation","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The navigation models for routes that specified [[RouteConfig.nav]]."},"sources":[{"fileName":"aurelia-router.d.ts","line":758,"character":12}],"type":{"type":"array","elementType":{"type":"reference","name":"NavModel","id":143}},"inheritedFrom":{"type":"reference","name":"Router.navigation","id":246}},{"id":411,"name":"options","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":769,"character":9}],"type":{"type":"intrinsic","name":"any"},"inheritedFrom":{"type":"reference","name":"Router.options","id":249}},{"id":410,"name":"parent","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent router, or null if this instance is not a child router."},"sources":[{"fileName":"aurelia-router.d.ts","line":768,"character":8}],"type":{"type":"reference","name":"Router","id":230},"inheritedFrom":{"type":"reference","name":"Router.parent","id":248}},{"id":396,"name":"routes","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":698,"character":8}],"type":{"type":"array","elementType":{"type":"reference","name":"RouteConfig","id":33}},"inheritedFrom":{"type":"reference","name":"Router.routes","id":234}},{"id":413,"name":"transformTitle","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Extension point to transform the document title before it is built and displayed.\nBy default, child routers delegate to the parent router, and the app router\nreturns the title unchanged."},"sources":[{"fileName":"aurelia-router.d.ts","line":781,"character":16}],"type":{"type":"reflection","declaration":{"id":414,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":415,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":416,"name":"title","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":781,"character":17}]}},"inheritedFrom":{"type":"reference","name":"Router.transformTitle","id":251}},{"id":412,"name":"viewPortDefaults","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The defaults used when a viewport lacks specified content"},"sources":[{"fileName":"aurelia-router.d.ts","line":774,"character":18}],"type":{"type":"intrinsic","name":"any"},"inheritedFrom":{"type":"reference","name":"Router.viewPortDefaults","id":250}},{"id":395,"name":"viewPorts","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":697,"character":11}],"type":{"type":"reference","name":"Object"},"inheritedFrom":{"type":"reference","name":"Router.viewPorts","id":233}},{"id":388,"name":"activate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":389,"name":"activate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Activates the router. This instructs the router to begin listening for history changes and processing instructions.","tags":[{"tag":"params","text":"options The set of options to activate the router with.\n"}]},"parameters":[{"id":390,"name":"options","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":997,"character":10}]},{"id":448,"name":"addRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":449,"name":"addRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a new route with the router."},"parameters":[{"id":450,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The [[RouteConfig]]."},"type":{"type":"reference","name":"RouteConfig","id":33}},{"id":451,"name":"navModel","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The [[NavModel]] to use for the route. May be omitted for single-pattern routes.\n"},"type":{"type":"reference","name":"NavModel","id":143}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"Router.addRoute","id":296}}],"sources":[{"fileName":"aurelia-router.d.ts","line":874,"character":10}],"inheritedFrom":{"type":"reference","name":"Router.addRoute","id":296}},{"id":420,"name":"configure","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":421,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the router."},"parameters":[{"id":422,"name":"callbackOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The [[RouterConfiguration]] or a callback that takes a [[RouterConfiguration]].\n"},"type":{"type":"union","types":[{"type":"reference","name":"RouterConfiguration","id":181},{"type":"reflection","declaration":{"id":423,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":424,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":425,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":818,"character":51}]}}]}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},"inheritedFrom":{"type":"reference","name":"Router.configure","id":268}}],"sources":[{"fileName":"aurelia-router.d.ts","line":818,"character":11}],"inheritedFrom":{"type":"reference","name":"Router.configure","id":268}},{"id":437,"name":"createChild","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":438,"name":"createChild","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a child router of the current router.","returns":"The new child Router.\n"},"parameters":[{"id":439,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The [[Container]] to provide to the child router. Uses the current [[Router]]'s [[Container]] if unspecified."},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"Router","id":230},"inheritedFrom":{"type":"reference","name":"Router.createChild","id":285}}],"sources":[{"fileName":"aurelia-router.d.ts","line":849,"character":13}],"inheritedFrom":{"type":"reference","name":"Router.createChild","id":285}},{"id":445,"name":"createNavModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":446,"name":"createNavModel","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a [[NavModel]] for the specified route config."},"parameters":[{"id":447,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The route config.\n"},"type":{"type":"reference","name":"RouteConfig","id":33}}],"type":{"type":"reference","name":"NavModel","id":143},"inheritedFrom":{"type":"reference","name":"Router.createNavModel","id":293}}],"sources":[{"fileName":"aurelia-router.d.ts","line":866,"character":16}],"inheritedFrom":{"type":"reference","name":"Router.createNavModel","id":293}},{"id":391,"name":"deactivate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":392,"name":"deactivate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Deactivates the router."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":1002,"character":12}]},{"id":418,"name":"ensureConfigured","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":419,"name":"ensureConfigured","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a Promise that resolves when the router is configured."},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},"inheritedFrom":{"type":"reference","name":"Router.ensureConfigured","id":266}}],"sources":[{"fileName":"aurelia-router.d.ts","line":811,"character":18}],"inheritedFrom":{"type":"reference","name":"Router.ensureConfigured","id":266}},{"id":440,"name":"generate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":441,"name":"generate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Generates a URL fragment matching the specified route pattern.","returns":"A string containing the generated URL fragment.\n"},"parameters":[{"id":442,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route whose pattern should be used to generate the fragment."},"type":{"type":"intrinsic","name":"string"}},{"id":443,"name":"params","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The route params to be used to populate the route pattern."},"type":{"type":"intrinsic","name":"any"}},{"id":444,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"If options.absolute = true, then absolute url will be generated; otherwise, it will be relative url."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","name":"Router.generate","id":288}}],"sources":[{"fileName":"aurelia-router.d.ts","line":859,"character":10}],"inheritedFrom":{"type":"reference","name":"Router.generate","id":288}},{"id":458,"name":"handleUnknownRoutes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":459,"name":"handleUnknownRoutes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Register a handler to use when the incoming URL fragment doesn't match any registered routes."},"parameters":[{"id":460,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The moduleId, or a function that selects the moduleId, or a [[RouteConfig]].\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"RouteConfig","id":33}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"Router.handleUnknownRoutes","id":306}}],"sources":[{"fileName":"aurelia-router.d.ts","line":895,"character":21}],"inheritedFrom":{"type":"reference","name":"Router.handleUnknownRoutes","id":306}},{"id":455,"name":"hasOwnRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":456,"name":"hasOwnRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value indicating whether or not this [[Router]] has a route registered with the specified name."},"parameters":[{"id":457,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route to check.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.hasOwnRoute","id":303}}],"sources":[{"fileName":"aurelia-router.d.ts","line":888,"character":13}],"inheritedFrom":{"type":"reference","name":"Router.hasOwnRoute","id":303}},{"id":452,"name":"hasRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":453,"name":"hasRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value indicating whether or not this [[Router]] or one of its ancestors has a route registered with the specified name."},"parameters":[{"id":454,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route to check.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.hasRoute","id":300}}],"sources":[{"fileName":"aurelia-router.d.ts","line":881,"character":10}],"inheritedFrom":{"type":"reference","name":"Router.hasRoute","id":300}},{"id":381,"name":"loadUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":382,"name":"loadUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads the specified URL."},"parameters":[{"id":383,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The URL fragment to load.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"NavigationInstruction","id":112}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":982,"character":9}]},{"id":426,"name":"navigate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":427,"name":"navigate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Navigates to a new location."},"parameters":[{"id":428,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The URL fragment to use as the navigation destination."},"type":{"type":"intrinsic","name":"string"}},{"id":429,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The navigation options. See [[History.NavigationOptions]] for all available options.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.navigate","id":274}}],"sources":[{"fileName":"aurelia-router.d.ts","line":826,"character":10}],"inheritedFrom":{"type":"reference","name":"Router.navigate","id":274}},{"id":435,"name":"navigateBack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":436,"name":"navigateBack","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Navigates back to the most recent location in history."},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"Router.navigateBack","id":283}}],"sources":[{"fileName":"aurelia-router.d.ts","line":841,"character":14}],"inheritedFrom":{"type":"reference","name":"Router.navigateBack","id":283}},{"id":430,"name":"navigateToRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":431,"name":"navigateToRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Navigates to a new location corresponding to the route and params specified. Equivallent to [[Router.generate]] followed\nby [[Router.navigate]]."},"parameters":[{"id":432,"name":"route","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route to use when generating the navigation location."},"type":{"type":"intrinsic","name":"string"}},{"id":433,"name":"params","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The route parameters to be used when populating the route pattern."},"type":{"type":"intrinsic","name":"any"}},{"id":434,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The navigation options. See [[History.NavigationOptions]] for all available options.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.navigateToRoute","id":278}}],"sources":[{"fileName":"aurelia-router.d.ts","line":836,"character":17}],"inheritedFrom":{"type":"reference","name":"Router.navigateToRoute","id":278}},{"id":463,"name":"refreshNavigation","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":464,"name":"refreshNavigation","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Updates the navigation routes with hrefs relative to the current location.\nNote: This method will likely move to a plugin in a future release."},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"Router.refreshNavigation","id":311}}],"sources":[{"fileName":"aurelia-router.d.ts","line":906,"character":19}],"inheritedFrom":{"type":"reference","name":"Router.refreshNavigation","id":311}},{"id":384,"name":"registerViewPort","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":385,"name":"registerViewPort","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a viewPort to be used as a rendering target for activated routes."},"parameters":[{"id":386,"name":"viewPort","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The viewPort."},"type":{"type":"intrinsic","name":"any"}},{"id":387,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the viewPort. 'default' if unspecified.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]},"overwrites":{"type":"reference","name":"Router.registerViewPort","id":262}}],"sources":[{"fileName":"aurelia-router.d.ts","line":990,"character":18}],"overwrites":{"type":"reference","name":"Router.registerViewPort","id":262}},{"id":379,"name":"reset","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":380,"name":"reset","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Fully resets the router's internal state. Primarily used internally by the framework when multiple calls to setRoot are made.\nUse with caution (actually, avoid using this). Do not use this to simply change your navigation model."},"type":{"type":"intrinsic","name":"any"},"overwrites":{"type":"reference","name":"Router.reset","id":259}}],"sources":[{"fileName":"aurelia-router.d.ts","line":975,"character":7}],"overwrites":{"type":"reference","name":"Router.reset","id":259}},{"id":461,"name":"updateTitle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":462,"name":"updateTitle","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Updates the document title using the current navigation instruction."},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"Router.updateTitle","id":309}}],"sources":[{"fileName":"aurelia-router.d.ts","line":900,"character":13}],"inheritedFrom":{"type":"reference","name":"Router.updateTitle","id":309}},{"id":465,"name":"useViewPortDefaults","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":466,"name":"useViewPortDefaults","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the default configuration for the view ports. This specifies how to\n populate a view port for which no module is specified. The default is\n an empty view/view-model pair."},"parameters":[{"id":467,"name":"viewPortDefaults","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"},"inheritedFrom":{"type":"reference","name":"Router.useViewPortDefaults","id":313}}],"sources":[{"fileName":"aurelia-router.d.ts","line":913,"character":21}],"inheritedFrom":{"type":"reference","name":"Router.useViewPortDefaults","id":313}},{"id":371,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":372,"name":"inject","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":968,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[373]},{"title":"Properties","kind":1024,"children":[397,393,409,407,394,398,400,401,399,405,402,404,403,406,417,408,411,410,396,413,412,395]},{"title":"Methods","kind":2048,"children":[388,448,420,437,445,391,418,440,458,455,452,381,426,435,430,463,384,379,461,465,371]}],"sources":[{"fileName":"aurelia-router.d.ts","line":967,"character":30}],"extendedTypes":[{"type":"reference","name":"Router","id":230}]},{"id":225,"name":"BuildNavigationPlanStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":226,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":227,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":228,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":229,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":685,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[226]}],"sources":[{"fileName":"aurelia-router.d.ts","line":684,"character":44}]},{"id":321,"name":"CanActivateNextStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":322,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":323,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":324,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":325,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":919,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[322]}],"sources":[{"fileName":"aurelia-router.d.ts","line":918,"character":40}]},{"id":316,"name":"CanDeactivatePreviousStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":317,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":318,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":319,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":320,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":916,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[317]}],"sources":[{"fileName":"aurelia-router.d.ts","line":915,"character":46}]},{"id":107,"name":"CommitChangesStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":108,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":109,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":110,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":111,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":369,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[108]}],"sources":[{"fileName":"aurelia-router.d.ts","line":368,"character":38}]},{"id":326,"name":"DeactivatePreviousStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":327,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":328,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":329,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":330,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":922,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[327]}],"sources":[{"fileName":"aurelia-router.d.ts","line":921,"character":43}]},{"id":342,"name":"LoadRouteStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":345,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":346,"name":"new LoadRouteStep","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":347,"name":"routeLoader","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouteLoader","id":336}}],"type":{"type":"reference","name":"LoadRouteStep","id":342}}],"sources":[{"fileName":"aurelia-router.d.ts","line":931,"character":23}]},{"id":348,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":349,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":350,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":351,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":933,"character":5}]},{"id":343,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":344,"name":"inject","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":931,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[345]},{"title":"Methods","kind":2048,"children":[348,343]}],"sources":[{"fileName":"aurelia-router.d.ts","line":930,"character":34}]},{"id":143,"name":"NavModel","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Class for storing and interacting with a route's navigation settings."},"children":[{"id":151,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":152,"name":"new NavModel","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":153,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Router","id":230}},{"id":154,"name":"relativeHref","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"NavModel","id":143}}],"sources":[{"fileName":"aurelia-router.d.ts","line":496,"character":17}]},{"id":149,"name":"config","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The route config."},"sources":[{"fileName":"aurelia-router.d.ts","line":491,"character":8}],"type":{"type":"reference","name":"RouteConfig","id":33}},{"id":146,"name":"href","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"This nav item's absolute href."},"sources":[{"fileName":"aurelia-router.d.ts","line":476,"character":6}],"type":{"type":"intrinsic","name":"string"}},{"id":144,"name":"isActive","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if this nav item is currently active."},"sources":[{"fileName":"aurelia-router.d.ts","line":466,"character":10}],"type":{"type":"intrinsic","name":"boolean"}},{"id":147,"name":"relativeHref","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"This nav item's relative href."},"sources":[{"fileName":"aurelia-router.d.ts","line":481,"character":14}],"type":{"type":"intrinsic","name":"string"}},{"id":150,"name":"router","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The router associated with this navigation model."},"sources":[{"fileName":"aurelia-router.d.ts","line":496,"character":8}],"type":{"type":"reference","name":"Router","id":230}},{"id":148,"name":"settings","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Data attached to the route at configuration time."},"sources":[{"fileName":"aurelia-router.d.ts","line":486,"character":10}],"type":{"type":"intrinsic","name":"any"}},{"id":145,"name":"title","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The title."},"sources":[{"fileName":"aurelia-router.d.ts","line":471,"character":7}],"type":{"type":"intrinsic","name":"string"}},{"id":155,"name":"setTitle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":156,"name":"setTitle","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the route's title and updates document.title.\n If the a navigation is in progress, the change will be applied\n to document.title when the navigation completes."},"parameters":[{"id":157,"name":"title","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new title.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":506,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[151]},{"title":"Properties","kind":1024,"children":[149,146,144,147,150,148,145]},{"title":"Methods","kind":2048,"children":[155]}],"sources":[{"fileName":"aurelia-router.d.ts","line":461,"character":29}]},{"id":112,"name":"NavigationInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Class used to represent an instruction during a navigation."},"children":[{"id":124,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":125,"name":"new NavigationInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":126,"name":"init","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstructionInit","id":23}}],"type":{"type":"reference","name":"NavigationInstruction","id":112}}],"sources":[{"fileName":"aurelia-router.d.ts","line":422,"character":18}]},{"id":117,"name":"config","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The route config for the route matching this instruction."},"sources":[{"fileName":"aurelia-router.d.ts","line":400,"character":8}],"type":{"type":"reference","name":"RouteConfig","id":33}},{"id":113,"name":"fragment","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The URL fragment."},"sources":[{"fileName":"aurelia-router.d.ts","line":380,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":123,"name":"options","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":422,"character":9}],"type":{"type":"reference","name":"Object"}},{"id":115,"name":"params","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Parameters extracted from the route pattern."},"sources":[{"fileName":"aurelia-router.d.ts","line":390,"character":8}],"type":{"type":"intrinsic","name":"any"}},{"id":118,"name":"parentInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent instruction, if this instruction was created by a child router."},"sources":[{"fileName":"aurelia-router.d.ts","line":405,"character":19}],"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":122,"name":"plan","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":421,"character":6}],"type":{"type":"reference","name":"Object"}},{"id":119,"name":"previousInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instruction being replaced by this instruction in the current router."},"sources":[{"fileName":"aurelia-router.d.ts","line":410,"character":21}],"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":116,"name":"queryParams","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Parameters extracted from the query string."},"sources":[{"fileName":"aurelia-router.d.ts","line":395,"character":13}],"type":{"type":"intrinsic","name":"any"}},{"id":114,"name":"queryString","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The query string."},"sources":[{"fileName":"aurelia-router.d.ts","line":385,"character":13}],"type":{"type":"intrinsic","name":"string"}},{"id":121,"name":"router","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The router instance."},"sources":[{"fileName":"aurelia-router.d.ts","line":420,"character":8}],"type":{"type":"reference","name":"Router","id":230}},{"id":120,"name":"viewPortInstructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"viewPort instructions to used activation."},"sources":[{"fileName":"aurelia-router.d.ts","line":415,"character":22}],"type":{"type":"intrinsic","name":"any"}},{"id":131,"name":"addViewPortInstruction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":132,"name":"addViewPortInstruction","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a viewPort instruction."},"parameters":[{"id":133,"name":"viewPortName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":134,"name":"strategy","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":135,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":136,"name":"component","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":439,"character":24}]},{"id":127,"name":"getAllInstructions","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":128,"name":"getAllInstructions","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an array containing this instruction and all child instructions for the current navigation."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"NavigationInstruction","id":112}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":428,"character":20}]},{"id":129,"name":"getAllPreviousInstructions","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":130,"name":"getAllPreviousInstructions","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an array containing the instruction and all child instructions for the previous navigation.\nPrevious instructions are no longer available after navigation completes."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"NavigationInstruction","id":112}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":434,"character":28}]},{"id":141,"name":"getBaseUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":142,"name":"getBaseUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the instruction's base URL, accounting for wildcard route parameters."},"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":455,"character":12}]},{"id":137,"name":"getWildCardName","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":138,"name":"getWildCardName","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the name of the route pattern's wildcard parameter, if applicable."},"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":444,"character":17}]},{"id":139,"name":"getWildcardPath","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":140,"name":"getWildcardPath","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the path and query string created by filling the route\npattern's wildcard parameter with the matching param."},"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":450,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[124]},{"title":"Properties","kind":1024,"children":[117,113,123,115,118,122,119,116,114,121,120]},{"title":"Methods","kind":2048,"children":[131,127,129,141,137,139]}],"sources":[{"fileName":"aurelia-router.d.ts","line":375,"character":42}]},{"id":99,"name":"Pipeline","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"The class responsible for managing and processing the navigation pipeline."},"children":[{"id":100,"name":"steps","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The pipeline steps."},"sources":[{"fileName":"aurelia-router.d.ts","line":352,"character":7}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":13}]}]}},{"id":101,"name":"addStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":102,"name":"addStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step to the pipeline."},"parameters":[{"id":103,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The pipeline step.\n"},"type":{"type":"reference","name":"PipelineStep","id":13}}],"type":{"type":"reference","name":"Pipeline","id":99}}],"sources":[{"fileName":"aurelia-router.d.ts","line":359,"character":9}]},{"id":104,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":105,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Runs the pipeline."},"parameters":[{"id":106,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The navigation instruction to process.\n"},"type":{"type":"reference","name":"NavigationInstruction","id":112}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"PipelineResult","id":18}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":366,"character":5}]}],"groups":[{"title":"Properties","kind":1024,"children":[100]},{"title":"Methods","kind":2048,"children":[101,104]}],"sources":[{"fileName":"aurelia-router.d.ts","line":347,"character":29}]},{"id":352,"name":"PipelineProvider","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Class responsible for creating the navigation pipeline."},"children":[{"id":355,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":356,"name":"new PipelineProvider","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":357,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"PipelineProvider","id":352}}],"sources":[{"fileName":"aurelia-router.d.ts","line":940,"character":23}]},{"id":360,"name":"addStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":361,"name":"addStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step into the pipeline at a known slot location."},"parameters":[{"id":362,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":363,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"PipelineStep","id":13}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":951,"character":9}]},{"id":358,"name":"createPipeline","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":359,"name":"createPipeline","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Create the navigation pipeline."},"type":{"type":"reference","name":"Pipeline","id":99}}],"sources":[{"fileName":"aurelia-router.d.ts","line":946,"character":16}]},{"id":364,"name":"removeStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":365,"name":"removeStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a step from a slot in the pipeline"},"parameters":[{"id":366,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":367,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"PipelineStep","id":13}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":956,"character":12}]},{"id":368,"name":"reset","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":369,"name":"reset","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Resets all pipeline slots"},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":961,"character":7}]},{"id":353,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":354,"name":"inject","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":940,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[355]},{"title":"Methods","kind":2048,"children":[360,358,364,368,353]}],"sources":[{"fileName":"aurelia-router.d.ts","line":939,"character":37}]},{"id":158,"name":"Redirect","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used during the activation lifecycle to cause a redirect."},"children":[{"id":159,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":160,"name":"new Redirect","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{},"parameters":[{"id":161,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The URL fragment to use as the navigation destination."},"type":{"type":"intrinsic","name":"string"}},{"id":162,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The navigation options.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Redirect","id":158}}],"sources":[{"fileName":"aurelia-router.d.ts","line":526,"character":31}]},{"id":166,"name":"navigate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":167,"name":"navigate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Called by the navigation pipeline to navigate."},"parameters":[{"id":168,"name":"appRouter","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The router to be redirected.\n"},"type":{"type":"reference","name":"Router","id":230}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":546,"character":10}]},{"id":163,"name":"setRouter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":164,"name":"setRouter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Called by the activation system to set the child router."},"parameters":[{"id":165,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The router.\n"},"type":{"type":"reference","name":"Router","id":230}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":539,"character":11}]}],"groups":[{"title":"Constructors","kind":512,"children":[159]},{"title":"Methods","kind":2048,"children":[166,163]}],"sources":[{"fileName":"aurelia-router.d.ts","line":526,"character":29}]},{"id":169,"name":"RedirectToRoute","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used during the activation lifecycle to cause a redirect to a named route."},"children":[{"id":170,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":171,"name":"new RedirectToRoute","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{},"parameters":[{"id":172,"name":"route","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the route."},"type":{"type":"intrinsic","name":"string"}},{"id":173,"name":"params","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The parameters to be sent to the activation method."},"type":{"type":"intrinsic","name":"any"}},{"id":174,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The options to use for navigation.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"RedirectToRoute","id":169}}],"sources":[{"fileName":"aurelia-router.d.ts","line":552,"character":38}]},{"id":178,"name":"navigate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":179,"name":"navigate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Called by the navigation pipeline to navigate."},"parameters":[{"id":180,"name":"appRouter","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The router to be redirected.\n"},"type":{"type":"reference","name":"Router","id":230}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":573,"character":10}]},{"id":175,"name":"setRouter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":176,"name":"setRouter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Called by the activation system to set the child router."},"parameters":[{"id":177,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The router.\n"},"type":{"type":"reference","name":"Router","id":230}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":566,"character":11}]}],"groups":[{"title":"Constructors","kind":512,"children":[170]},{"title":"Methods","kind":2048,"children":[178,175]}],"sources":[{"fileName":"aurelia-router.d.ts","line":552,"character":36}]},{"id":336,"name":"RouteLoader","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":337,"name":"loadRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":338,"name":"loadRoute","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":339,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":340,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":341,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":928,"character":11}]}],"groups":[{"title":"Methods","kind":2048,"children":[337]}],"sources":[{"fileName":"aurelia-router.d.ts","line":927,"character":32}]},{"id":230,"name":"Router","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"The primary class responsible for handling routing and navigation.","tags":[{"tag":"class","text":"Router"},{"tag":"constructor","text":"\n"}]},"children":[{"id":255,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":256,"name":"new Router","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{},"parameters":[{"id":257,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The [[Container]] to use when child routers."},"type":{"type":"reference","name":"Container"}},{"id":258,"name":"history","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The [[History]] implementation to delegate navigation requests to.\n"},"type":{"type":"reference","name":"History"}}],"type":{"type":"reference","name":"Router","id":230}}],"sources":[{"fileName":"aurelia-router.d.ts","line":781,"character":46}]},{"id":235,"name":"baseUrl","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The [[Router]]'s current base URL, typically based on the [[Router.currentInstruction]]."},"sources":[{"fileName":"aurelia-router.d.ts","line":703,"character":9}],"type":{"type":"intrinsic","name":"string"}},{"id":231,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":695,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":247,"name":"currentInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The currently active navigation instruction."},"sources":[{"fileName":"aurelia-router.d.ts","line":763,"character":20}],"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":245,"name":"currentNavigationTracker","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The currently active navigation tracker."},"sources":[{"fileName":"aurelia-router.d.ts","line":753,"character":26}],"type":{"type":"intrinsic","name":"number"}},{"id":232,"name":"history","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":696,"character":9}],"type":{"type":"reference","name":"History"}},{"id":236,"name":"isConfigured","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] has been configured."},"sources":[{"fileName":"aurelia-router.d.ts","line":708,"character":14}],"type":{"type":"intrinsic","name":"boolean"}},{"id":238,"name":"isExplicitNavigation","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating due to explicit call to navigate function(s)."},"sources":[{"fileName":"aurelia-router.d.ts","line":718,"character":22}],"type":{"type":"intrinsic","name":"boolean"}},{"id":239,"name":"isExplicitNavigationBack","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating due to explicit call to navigateBack function."},"sources":[{"fileName":"aurelia-router.d.ts","line":723,"character":26}],"type":{"type":"intrinsic","name":"boolean"}},{"id":237,"name":"isNavigating","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is currently processing a navigation."},"sources":[{"fileName":"aurelia-router.d.ts","line":713,"character":14}],"type":{"type":"intrinsic","name":"boolean"}},{"id":243,"name":"isNavigatingBack","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating back in the browser session history."},"sources":[{"fileName":"aurelia-router.d.ts","line":743,"character":18}],"type":{"type":"intrinsic","name":"boolean"}},{"id":240,"name":"isNavigatingFirst","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating into the app for the first time in the browser session."},"sources":[{"fileName":"aurelia-router.d.ts","line":728,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":242,"name":"isNavigatingForward","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating forward in the browser session history."},"sources":[{"fileName":"aurelia-router.d.ts","line":738,"character":21}],"type":{"type":"intrinsic","name":"boolean"}},{"id":241,"name":"isNavigatingNew","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating to a page instance not in the browser session history."},"sources":[{"fileName":"aurelia-router.d.ts","line":733,"character":17}],"type":{"type":"intrinsic","name":"boolean"}},{"id":244,"name":"isNavigatingRefresh","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating due to a browser refresh."},"sources":[{"fileName":"aurelia-router.d.ts","line":748,"character":21}],"type":{"type":"intrinsic","name":"boolean"}},{"id":261,"name":"isRoot","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Gets a value indicating whether or not this [[Router]] is the root in the router tree. I.e., it has no parent."},"sources":[{"fileName":"aurelia-router.d.ts","line":798,"character":8}],"type":{"type":"intrinsic","name":"boolean"}},{"id":246,"name":"navigation","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The navigation models for routes that specified [[RouteConfig.nav]]."},"sources":[{"fileName":"aurelia-router.d.ts","line":758,"character":12}],"type":{"type":"array","elementType":{"type":"reference","name":"NavModel","id":143}}},{"id":249,"name":"options","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":769,"character":9}],"type":{"type":"intrinsic","name":"any"}},{"id":248,"name":"parent","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent router, or null if this instance is not a child router."},"sources":[{"fileName":"aurelia-router.d.ts","line":768,"character":8}],"type":{"type":"reference","name":"Router","id":230}},{"id":234,"name":"routes","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":698,"character":8}],"type":{"type":"array","elementType":{"type":"reference","name":"RouteConfig","id":33}}},{"id":251,"name":"transformTitle","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Extension point to transform the document title before it is built and displayed.\nBy default, child routers delegate to the parent router, and the app router\nreturns the title unchanged."},"sources":[{"fileName":"aurelia-router.d.ts","line":781,"character":16}],"type":{"type":"reflection","declaration":{"id":252,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":253,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":254,"name":"title","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":781,"character":17}]}}},{"id":250,"name":"viewPortDefaults","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The defaults used when a viewport lacks specified content"},"sources":[{"fileName":"aurelia-router.d.ts","line":774,"character":18}],"type":{"type":"intrinsic","name":"any"}},{"id":233,"name":"viewPorts","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":697,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":296,"name":"addRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":297,"name":"addRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a new route with the router."},"parameters":[{"id":298,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The [[RouteConfig]]."},"type":{"type":"reference","name":"RouteConfig","id":33}},{"id":299,"name":"navModel","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The [[NavModel]] to use for the route. May be omitted for single-pattern routes.\n"},"type":{"type":"reference","name":"NavModel","id":143}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":874,"character":10}]},{"id":268,"name":"configure","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":269,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the router."},"parameters":[{"id":270,"name":"callbackOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The [[RouterConfiguration]] or a callback that takes a [[RouterConfiguration]].\n"},"type":{"type":"union","types":[{"type":"reference","name":"RouterConfiguration","id":181},{"type":"reflection","declaration":{"id":271,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":272,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":273,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":818,"character":51}]}}]}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":818,"character":11}]},{"id":285,"name":"createChild","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":286,"name":"createChild","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a child router of the current router.","returns":"The new child Router.\n"},"parameters":[{"id":287,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The [[Container]] to provide to the child router. Uses the current [[Router]]'s [[Container]] if unspecified."},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"Router","id":230}}],"sources":[{"fileName":"aurelia-router.d.ts","line":849,"character":13}]},{"id":293,"name":"createNavModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":294,"name":"createNavModel","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a [[NavModel]] for the specified route config."},"parameters":[{"id":295,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The route config.\n"},"type":{"type":"reference","name":"RouteConfig","id":33}}],"type":{"type":"reference","name":"NavModel","id":143}}],"sources":[{"fileName":"aurelia-router.d.ts","line":866,"character":16}]},{"id":266,"name":"ensureConfigured","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":267,"name":"ensureConfigured","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a Promise that resolves when the router is configured."},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":811,"character":18}]},{"id":288,"name":"generate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":289,"name":"generate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Generates a URL fragment matching the specified route pattern.","returns":"A string containing the generated URL fragment.\n"},"parameters":[{"id":290,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route whose pattern should be used to generate the fragment."},"type":{"type":"intrinsic","name":"string"}},{"id":291,"name":"params","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The route params to be used to populate the route pattern."},"type":{"type":"intrinsic","name":"any"}},{"id":292,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"If options.absolute = true, then absolute url will be generated; otherwise, it will be relative url."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":859,"character":10}]},{"id":306,"name":"handleUnknownRoutes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":307,"name":"handleUnknownRoutes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Register a handler to use when the incoming URL fragment doesn't match any registered routes."},"parameters":[{"id":308,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The moduleId, or a function that selects the moduleId, or a [[RouteConfig]].\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"RouteConfig","id":33}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":895,"character":21}]},{"id":303,"name":"hasOwnRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":304,"name":"hasOwnRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value indicating whether or not this [[Router]] has a route registered with the specified name."},"parameters":[{"id":305,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route to check.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":888,"character":13}]},{"id":300,"name":"hasRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":301,"name":"hasRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value indicating whether or not this [[Router]] or one of its ancestors has a route registered with the specified name."},"parameters":[{"id":302,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route to check.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":881,"character":10}]},{"id":274,"name":"navigate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":275,"name":"navigate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Navigates to a new location."},"parameters":[{"id":276,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The URL fragment to use as the navigation destination."},"type":{"type":"intrinsic","name":"string"}},{"id":277,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The navigation options. See [[History.NavigationOptions]] for all available options.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":826,"character":10}]},{"id":283,"name":"navigateBack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":284,"name":"navigateBack","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Navigates back to the most recent location in history."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":841,"character":14}]},{"id":278,"name":"navigateToRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":279,"name":"navigateToRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Navigates to a new location corresponding to the route and params specified. Equivallent to [[Router.generate]] followed\nby [[Router.navigate]]."},"parameters":[{"id":280,"name":"route","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route to use when generating the navigation location."},"type":{"type":"intrinsic","name":"string"}},{"id":281,"name":"params","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The route parameters to be used when populating the route pattern."},"type":{"type":"intrinsic","name":"any"}},{"id":282,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The navigation options. See [[History.NavigationOptions]] for all available options.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":836,"character":17}]},{"id":311,"name":"refreshNavigation","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":312,"name":"refreshNavigation","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Updates the navigation routes with hrefs relative to the current location.\nNote: This method will likely move to a plugin in a future release."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":906,"character":19}]},{"id":262,"name":"registerViewPort","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":263,"name":"registerViewPort","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a viewPort to be used as a rendering target for activated routes."},"parameters":[{"id":264,"name":"viewPort","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The viewPort."},"type":{"type":"intrinsic","name":"any"}},{"id":265,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name of the viewPort. 'default' if unspecified.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":806,"character":18}]},{"id":259,"name":"reset","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":260,"name":"reset","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Fully resets the router's internal state. Primarily used internally by the framework when multiple calls to setRoot are made.\nUse with caution (actually, avoid using this). Do not use this to simply change your navigation model."},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":793,"character":7}]},{"id":309,"name":"updateTitle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":310,"name":"updateTitle","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Updates the document title using the current navigation instruction."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":900,"character":13}]},{"id":313,"name":"useViewPortDefaults","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":314,"name":"useViewPortDefaults","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the default configuration for the view ports. This specifies how to\n populate a view port for which no module is specified. The default is\n an empty view/view-model pair."},"parameters":[{"id":315,"name":"viewPortDefaults","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":913,"character":21}]}],"groups":[{"title":"Constructors","kind":512,"children":[255]},{"title":"Properties","kind":1024,"children":[235,231,247,245,232,236,238,239,237,243,240,242,241,244,261,246,249,248,234,251,250,233]},{"title":"Methods","kind":2048,"children":[296,268,285,293,266,288,306,303,300,274,283,278,311,262,259,309,313]}],"sources":[{"fileName":"aurelia-router.d.ts","line":694,"character":27}],"extendedBy":[{"type":"reference","name":"AppRouter","id":370}]},{"id":181,"name":"RouterConfiguration","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Class used to configure a [[Router]] instance.","tags":[{"tag":"constructor","text":"\n"}]},"children":[{"id":182,"name":"instructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":582,"character":14}],"type":{"type":"intrinsic","name":"any"}},{"id":183,"name":"options","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":583,"character":9}],"type":{"type":"intrinsic","name":"any"}},{"id":184,"name":"pipelineSteps","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":584,"character":15}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":13}]}]}},{"id":185,"name":"title","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":585,"character":7}],"type":{"type":"intrinsic","name":"string"}},{"id":186,"name":"unknownRouteConfig","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":586,"character":20}],"type":{"type":"intrinsic","name":"any"}},{"id":187,"name":"viewPortDefaults","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":587,"character":18}],"type":{"type":"intrinsic","name":"any"}},{"id":192,"name":"addAuthorizeStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":193,"name":"addAuthorizeStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step to be run during the [[Router]]'s authorize pipeline slot.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":194,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The pipeline step."},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":13}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":604,"character":18}]},{"id":188,"name":"addPipelineStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":189,"name":"addPipelineStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step to be run during the [[Router]]'s navigation pipeline.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":190,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the pipeline slot to insert the step into."},"type":{"type":"intrinsic","name":"string"}},{"id":191,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The pipeline step."},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":13}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":596,"character":17}]},{"id":201,"name":"addPostRenderStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":202,"name":"addPostRenderStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step to be run during the [[Router]]'s postRender pipeline slot.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":203,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The pipeline step."},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":13}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":628,"character":19}]},{"id":195,"name":"addPreActivateStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":196,"name":"addPreActivateStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step to be run during the [[Router]]'s preActivate pipeline slot.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":197,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The pipeline step."},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":13}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":612,"character":20}]},{"id":198,"name":"addPreRenderStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":199,"name":"addPreRenderStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step to be run during the [[Router]]'s preRender pipeline slot.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":200,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The pipeline step."},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":13}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":620,"character":18}]},{"id":222,"name":"exportToRouter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":223,"name":"exportToRouter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the current configuration to the specified [[Router]]."},"parameters":[{"id":224,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The [[Router]] to apply the configuration to.\n"},"type":{"type":"reference","name":"Router","id":230}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":677,"character":16}]},{"id":204,"name":"fallbackRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":205,"name":"fallbackRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures a route that will be used if there is no previous location available on navigation cancellation.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":206,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The URL fragment to use as the navigation destination."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":636,"character":15}]},{"id":207,"name":"map","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":208,"name":"map","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Maps one or more routes to be registered with the router.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":209,"name":"route","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The [[RouteConfig]] to map, or an array of [[RouteConfig]] to map."},"type":{"type":"union","types":[{"type":"reference","name":"RouteConfig","id":33},{"type":"array","elementType":{"type":"reference","name":"RouteConfig","id":33}}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":644,"character":5}]},{"id":213,"name":"mapRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":214,"name":"mapRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Maps a single route to be registered with the router.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":215,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouteConfig","id":33}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":661,"character":10}]},{"id":216,"name":"mapUnknownRoutes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":217,"name":"mapUnknownRoutes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an unknown route handler to be run when the URL fragment doesn't match any registered routes.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":218,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string containing a moduleId to load, or a [[RouteConfig]], or a function that takes the\n [[NavigationInstruction]] and selects a moduleId to load."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"RouteConfig","id":33},{"type":"reflection","declaration":{"id":219,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":220,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":221,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":112}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"RouteConfig","id":33},{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"RouteConfig","id":33}]}]}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":670,"character":49}]}}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":670,"character":18}]},{"id":210,"name":"useViewPortDefaults","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":211,"name":"useViewPortDefaults","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures defaults to use for any view ports.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":212,"name":"viewPortConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"a view port configuration object to use as a\n default, of the form { viewPortName: { moduleId } }."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":653,"character":21}]}],"groups":[{"title":"Properties","kind":1024,"children":[182,183,184,185,186,187]},{"title":"Methods","kind":2048,"children":[192,188,201,195,198,222,204,207,213,216,210]}],"sources":[{"fileName":"aurelia-router.d.ts","line":581,"character":40}]},{"id":85,"name":"ActivationStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the available activation strategies."},"children":[{"id":87,"name":"invokeLifecycle","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Reuse the existing view model, invoking Router lifecycle hooks."},"sources":[{"fileName":"aurelia-router.d.ts","line":297,"character":17}],"type":{"type":"stringLiteral","value":"invoke-lifecycle"}},{"id":86,"name":"noChange","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Reuse the existing view model, without invoking Router lifecycle hooks."},"sources":[{"fileName":"aurelia-router.d.ts","line":292,"character":10}],"type":{"type":"stringLiteral","value":"no-change"}},{"id":88,"name":"replace","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Replace the existing view model, invoking Router lifecycle hooks."},"sources":[{"fileName":"aurelia-router.d.ts","line":302,"character":9}],"type":{"type":"stringLiteral","value":"replace"}}],"groups":[{"title":"Properties","kind":1024,"children":[87,86,88]}],"sources":[{"fileName":"aurelia-router.d.ts","line":287,"character":43}]},{"id":80,"name":"ConfiguresRouter","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the router configuration convention."},"children":[{"id":81,"name":"configureRouter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":82,"name":"configureRouter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to configure a router."},"parameters":[{"id":83,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouterConfiguration","id":181}},{"id":84,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Router","id":230}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"reference","name":"PromiseLike","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":278,"character":17}]}],"groups":[{"title":"Methods","kind":2048,"children":[81]}],"sources":[{"fileName":"aurelia-router.d.ts","line":273,"character":41}]},{"id":93,"name":"IObservable","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A basic interface for an Observable type"},"children":[{"id":94,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":95,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"ISubscription","id":96}}],"sources":[{"fileName":"aurelia-router.d.ts","line":323,"character":11}]}],"groups":[{"title":"Methods","kind":2048,"children":[94]}],"sources":[{"fileName":"aurelia-router.d.ts","line":322,"character":36}]},{"id":96,"name":"ISubscription","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A basic interface for a Subscription to an Observable"},"children":[{"id":97,"name":"unsubscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":98,"name":"unsubscribe","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":333,"character":13}]}],"groups":[{"title":"Methods","kind":2048,"children":[97]}],"sources":[{"fileName":"aurelia-router.d.ts","line":332,"character":38}]},{"id":89,"name":"NavigationCommand","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"When a navigation command is encountered, the current navigation\nwill be cancelled and control will be passed to the navigation\ncommand so it can determine the correct action."},"children":[{"id":90,"name":"navigate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":91,"name":"navigate","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":92,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Router","id":230}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":316,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[90]}],"sources":[{"fileName":"aurelia-router.d.ts","line":315,"character":42}]},{"id":23,"name":"NavigationInstructionInit","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":28,"name":"config","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":77,"character":8}],"type":{"type":"reference","name":"RouteConfig","id":33}},{"id":24,"name":"fragment","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":73,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":32,"name":"options","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":81,"character":9}],"type":{"type":"reference","name":"Object"}},{"id":26,"name":"params","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":75,"character":8}],"type":{"type":"reference","name":"Object"}},{"id":29,"name":"parentInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":78,"character":19}],"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":30,"name":"previousInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":79,"character":21}],"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":27,"name":"queryParams","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":76,"character":13}],"type":{"type":"reference","name":"Object"}},{"id":25,"name":"queryString","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":74,"character":13}],"type":{"type":"intrinsic","name":"string"}},{"id":31,"name":"router","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":80,"character":8}],"type":{"type":"reference","name":"Router","id":230}}],"groups":[{"title":"Properties","kind":1024,"children":[28,24,32,26,29,30,27,25,31]}],"sources":[{"fileName":"aurelia-router.d.ts","line":72,"character":50}]},{"id":2,"name":"Next","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A callback to indicate when pipeline processing should advance to the next step\nor be aborted."},"signatures":[{"id":12,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Indicates the successful completion of the pipeline step."},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}}],"children":[{"id":6,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":7,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Indicates that the pipeline should cancel processing."},"parameters":[{"id":8,"name":"result","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":29,"character":8}]},{"id":3,"name":"complete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4,"name":"complete","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Indicates the successful completion of the entire pipeline."},"parameters":[{"id":5,"name":"result","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":24,"character":10}]},{"id":9,"name":"reject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":10,"name":"reject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Indicates that pipeline processing has failed and should be stopped."},"parameters":[{"id":11,"name":"result","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":34,"character":8}]}],"groups":[{"title":"Methods","kind":2048,"children":[6,3,9]}],"sources":[{"fileName":"aurelia-router.d.ts","line":19,"character":29}]},{"id":18,"name":"PipelineResult","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"The result of a pipeline run."},"children":[{"id":22,"name":"completed","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":70,"character":11}],"type":{"type":"intrinsic","name":"boolean"}},{"id":20,"name":"instruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":68,"character":13}],"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":21,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":69,"character":8}],"type":{"type":"intrinsic","name":"any"}},{"id":19,"name":"status","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":67,"character":8}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","kind":1024,"children":[22,20,21,19]}],"sources":[{"fileName":"aurelia-router.d.ts","line":66,"character":39}]},{"id":13,"name":"PipelineStep","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A step to be run during processing of the pipeline."},"children":[{"id":14,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":15,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute the pipeline step. The step should invoke next(), next.complete(),\nnext.cancel(), or next.reject() to allow the pipeline to continue."},"parameters":[{"id":16,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The navigation instruction."},"type":{"type":"reference","name":"NavigationInstruction","id":112}},{"id":17,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The next step in the pipeline.\n"},"type":{"type":"reference","name":"Next","id":2}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":57,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[14]}],"sources":[{"fileName":"aurelia-router.d.ts","line":48,"character":37}]},{"id":62,"name":"RoutableComponentActivate","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the activate convention."},"children":[{"id":63,"name":"activate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":64,"name":"activate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic just before your view-model is displayed.\nYou can optionally return a promise to tell the router to wait to bind and attach the view until\nafter you finish your work."},"parameters":[{"id":65,"name":"params","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":66,"name":"routeConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouteConfig","id":33}},{"id":67,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":112}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"reference","name":"PromiseLike","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"reference","name":"IObservable","id":93},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":217,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[63]}],"sources":[{"fileName":"aurelia-router.d.ts","line":210,"character":50}]},{"id":56,"name":"RoutableComponentCanActivate","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the canActivate convention."},"children":[{"id":57,"name":"canActivate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":58,"name":"canActivate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to control whether or not your view-model can be navigated to.\nReturn a boolean value, a promise for a boolean value, or a navigation command."},"parameters":[{"id":59,"name":"params","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":60,"name":"routeConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouteConfig","id":33}},{"id":61,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":112}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]},{"type":"reference","name":"PromiseLike","typeArguments":[{"type":"intrinsic","name":"boolean"}]},{"type":"reference","name":"NavigationCommand","id":89},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"NavigationCommand","id":89}]},{"type":"reference","name":"PromiseLike","typeArguments":[{"type":"reference","name":"NavigationCommand","id":89}]}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":201,"character":13}]}],"groups":[{"title":"Methods","kind":2048,"children":[57]}],"sources":[{"fileName":"aurelia-router.d.ts","line":195,"character":53}]},{"id":68,"name":"RoutableComponentCanDeactivate","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the canDeactivate convention."},"children":[{"id":69,"name":"canDeactivate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":70,"name":"canDeactivate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to control whether or not the router can navigate away from your\nview-model when moving to a new route. Return a boolean value, a promise for a boolean value,\nor a navigation command."},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]},{"type":"reference","name":"PromiseLike","typeArguments":[{"type":"intrinsic","name":"boolean"}]},{"type":"reference","name":"NavigationCommand","id":89}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":233,"character":15}]}],"groups":[{"title":"Methods","kind":2048,"children":[69]}],"sources":[{"fileName":"aurelia-router.d.ts","line":226,"character":55}]},{"id":71,"name":"RoutableComponentDeactivate","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the deactivate convention."},"children":[{"id":72,"name":"deactivate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":73,"name":"deactivate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic when your view-model is being\nnavigated away from. You can optionally return a promise to tell the router to wait until\nafter you finish your work."},"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"reference","name":"PromiseLike","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"reference","name":"IObservable","id":93},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":249,"character":12}]}],"groups":[{"title":"Methods","kind":2048,"children":[72]}],"sources":[{"fileName":"aurelia-router.d.ts","line":242,"character":52}]},{"id":74,"name":"RoutableComponentDetermineActivationStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the determineActivationStrategy convention."},"children":[{"id":75,"name":"determineActivationStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":76,"name":"determineActivationStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to give hints to the router about the activation strategy, when reusing\na view model for different routes. Available values are 'replace' and 'invoke-lifecycle'."},"parameters":[{"id":77,"name":"params","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":78,"name":"routeConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouteConfig","id":33}},{"id":79,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":112}}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"no-change"},{"type":"stringLiteral","value":"invoke-lifecycle"},{"type":"stringLiteral","value":"replace"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":264,"character":29}]}],"groups":[{"title":"Methods","kind":2048,"children":[75]}],"sources":[{"fileName":"aurelia-router.d.ts","line":258,"character":69}]},{"id":33,"name":"RouteConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A configuration object that describes a route."},"indexSignature":[{"id":54,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"comment":{"shortText":"A configuration object that describes a route."},"parameters":[{"id":55,"name":"x","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"children":[{"id":50,"name":"activationStrategy","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Add to specify an activation strategy if it is always the same and you do not want that\nto be in your view-model code. Available values are 'replace' and 'invoke-lifecycle'."},"sources":[{"fileName":"aurelia-router.d.ts","line":170,"character":20}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"no-change"},{"type":"stringLiteral","value":"invoke-lifecycle"},{"type":"stringLiteral","value":"replace"}]}},{"id":49,"name":"caseSensitive","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"When true is specified, this route will be case sensitive."},"sources":[{"fileName":"aurelia-router.d.ts","line":164,"character":15}],"type":{"type":"intrinsic","name":"boolean"}},{"id":45,"name":"generationUsesHref","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Indicates that when route generation is done for this route, it should just take the literal value of the href property."},"sources":[{"fileName":"aurelia-router.d.ts","line":143,"character":20}],"type":{"type":"intrinsic","name":"boolean"}},{"id":44,"name":"href","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The URL fragment to use in nav models. If unspecified, the [[RouteConfig.route]] will be used.\nHowever, if the [[RouteConfig.route]] contains dynamic segments, this property must be specified."},"sources":[{"fileName":"aurelia-router.d.ts","line":138,"character":6}],"type":{"type":"intrinsic","name":"string"}},{"id":53,"name":"layoutModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"specifies the model parameter to pass to the layout view model's `activate` function."},"sources":[{"fileName":"aurelia-router.d.ts","line":185,"character":13}],"type":{"type":"intrinsic","name":"any"}},{"id":51,"name":"layoutView","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"specifies the file name of a layout view to use."},"sources":[{"fileName":"aurelia-router.d.ts","line":175,"character":12}],"type":{"type":"intrinsic","name":"string"}},{"id":52,"name":"layoutViewModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"specifies the moduleId of the view model to use with the layout view."},"sources":[{"fileName":"aurelia-router.d.ts","line":180,"character":17}],"type":{"type":"intrinsic","name":"string"}},{"id":36,"name":"moduleId","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The moduleId of the view model that should be activated for this route."},"sources":[{"fileName":"aurelia-router.d.ts","line":104,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":35,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A unique name for the route that may be used to identify the route when generating URL fragments.\nRequired when this route should support URL generation, such as with [[Router.generate]] or\nthe route-href custom attribute."},"sources":[{"fileName":"aurelia-router.d.ts","line":99,"character":6}],"type":{"type":"intrinsic","name":"string"}},{"id":43,"name":"nav","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"When specified, this route will be included in the [[Router.navigation]] nav model. Useful for\ndynamically generating menus or other navigation elements. When a number is specified, that value\nwill be used as a sort order."},"sources":[{"fileName":"aurelia-router.d.ts","line":132,"character":5}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"intrinsic","name":"number"}]}},{"id":48,"name":"navModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The navigation model for storing and interacting with the route's navigation settings."},"sources":[{"fileName":"aurelia-router.d.ts","line":159,"character":10}],"type":{"type":"reference","name":"NavModel","id":143}},{"id":38,"name":"navigationStrategy","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A function that can be used to dynamically select the module or modules to activate.\nThe function is passed the current [[NavigationInstruction]], and should configure\ninstruction.config with the desired moduleId, viewPorts, or redirect."},"sources":[{"fileName":"aurelia-router.d.ts","line":116,"character":20}],"type":{"type":"reflection","declaration":{"id":39,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":40,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":41,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":112}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":116,"character":22}]}}},{"id":37,"name":"redirect","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A URL fragment to redirect to when this route is matched."},"sources":[{"fileName":"aurelia-router.d.ts","line":109,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":34,"name":"route","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The route pattern to match against incoming URL fragments, or an array of patterns."},"sources":[{"fileName":"aurelia-router.d.ts","line":92,"character":7}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"intrinsic","name":"string"}}]}},{"id":47,"name":"settings","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Arbitrary data to attach to the route. This can be used to attached custom data needed by components\nlike pipeline steps and activated modules."},"sources":[{"fileName":"aurelia-router.d.ts","line":154,"character":10}],"type":{"type":"intrinsic","name":"any"}},{"id":46,"name":"title","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The document title to set when this route is active."},"sources":[{"fileName":"aurelia-router.d.ts","line":148,"character":7}],"type":{"type":"intrinsic","name":"string"}},{"id":42,"name":"viewPorts","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view ports to target when activating this route. If unspecified, the target moduleId is loaded\ninto the default viewPort (the viewPort with name 'default'). The viewPorts object should have keys\nwhose property names correspond to names used by elements. The values should be objects\nspecifying the moduleId to load into that viewPort. The values may optionally include properties related to layout:\n`layoutView`, `layoutViewModel` and `layoutModel`."},"sources":[{"fileName":"aurelia-router.d.ts","line":125,"character":11}],"type":{"type":"intrinsic","name":"any"}}],"groups":[{"title":"Properties","kind":1024,"children":[50,49,45,44,53,51,52,36,35,43,48,38,37,34,47,46,42]}],"sources":[{"fileName":"aurelia-router.d.ts","line":87,"character":36}]},{"id":472,"name":"activationStrategy","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The strategy to use when activating modules during navigation."},"sources":[{"fileName":"aurelia-router.d.ts","line":683,"character":39}],"type":{"type":"reference","name":"ActivationStrategy","id":85}},{"id":468,"name":"pipelineStatus","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The status of a Pipeline."},"sources":[{"fileName":"aurelia-router.d.ts","line":339,"character":35}],"type":{"type":"intrinsic","name":"any"}},{"id":469,"name":"isNavigationCommand","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":470,"name":"isNavigationCommand","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Determines if the provided object is a navigation command.\nA navigation command is anything with a navigate method."},"parameters":[{"id":471,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to check.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":521,"character":43}]}],"groups":[{"title":"Classes","kind":128,"children":[331,370,225,321,316,107,326,342,143,112,99,352,158,169,336,230,181]},{"title":"Interfaces","kind":256,"children":[85,80,93,96,89,23,2,18,13,62,56,68,71,74,33]},{"title":"Variables","kind":32,"children":[472,468]},{"title":"Functions","kind":64,"children":[469]}]} \ No newline at end of file +{"name":"aurelia-router","children":[{"id":366,"name":"ActivateNextStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":367,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":368,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":369,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":370,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":942,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[367]}],"sources":[{"fileName":"aurelia-router.d.ts","line":941,"character":37}]},{"id":406,"name":"AppRouter","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"The main application router."},"children":[{"id":409,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":410,"name":"new AppRouter","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":411,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}},{"id":412,"name":"history","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"History"}},{"id":413,"name":"pipelineProvider","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"PipelineProvider","id":387}},{"id":414,"name":"events","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"EventAggregator"}}],"type":{"type":"reference","name":"AppRouter","id":406},"overwrites":{"type":"reference","name":"Router.__constructor","id":290}}],"sources":[{"fileName":"aurelia-router.d.ts","line":985,"character":23}],"overwrites":{"type":"reference","name":"Router.__constructor","id":290}},{"id":433,"name":"baseUrl","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The [[Router]]'s current base URL, typically based on the [[Router.currentInstruction]]."},"sources":[{"fileName":"aurelia-router.d.ts","line":705,"character":9}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","name":"Router.baseUrl","id":267}},{"id":429,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":697,"character":11}],"type":{"type":"reference","name":"Container"},"inheritedFrom":{"type":"reference","name":"Router.container","id":263}},{"id":445,"name":"couldDeactivate","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the previous instruction successfully completed the CanDeactivatePreviousStep in the current navigation."},"sources":[{"fileName":"aurelia-router.d.ts","line":765,"character":17}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.couldDeactivate","id":279}},{"id":448,"name":"currentInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The currently active navigation instruction."},"sources":[{"fileName":"aurelia-router.d.ts","line":780,"character":20}],"type":{"type":"reference","name":"NavigationInstruction","id":104},"inheritedFrom":{"type":"reference","name":"Router.currentInstruction","id":282}},{"id":446,"name":"currentNavigationTracker","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The currently active navigation tracker."},"sources":[{"fileName":"aurelia-router.d.ts","line":770,"character":26}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","name":"Router.currentNavigationTracker","id":280}},{"id":430,"name":"history","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":698,"character":9}],"type":{"type":"reference","name":"History"},"inheritedFrom":{"type":"reference","name":"Router.history","id":264}},{"id":436,"name":"isConfigured","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] has been configured."},"sources":[{"fileName":"aurelia-router.d.ts","line":720,"character":14}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isConfigured","id":270}},{"id":438,"name":"isExplicitNavigation","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating due to explicit call to navigate function(s)."},"sources":[{"fileName":"aurelia-router.d.ts","line":730,"character":22}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isExplicitNavigation","id":272}},{"id":439,"name":"isExplicitNavigationBack","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating due to explicit call to navigateBack function."},"sources":[{"fileName":"aurelia-router.d.ts","line":735,"character":26}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isExplicitNavigationBack","id":273}},{"id":437,"name":"isNavigating","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is currently processing a navigation."},"sources":[{"fileName":"aurelia-router.d.ts","line":725,"character":14}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isNavigating","id":271}},{"id":443,"name":"isNavigatingBack","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating back in the browser session history."},"sources":[{"fileName":"aurelia-router.d.ts","line":755,"character":18}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isNavigatingBack","id":277}},{"id":440,"name":"isNavigatingFirst","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating into the app for the first time in the browser session."},"sources":[{"fileName":"aurelia-router.d.ts","line":740,"character":19}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isNavigatingFirst","id":274}},{"id":442,"name":"isNavigatingForward","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating forward in the browser session history."},"sources":[{"fileName":"aurelia-router.d.ts","line":750,"character":21}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isNavigatingForward","id":276}},{"id":441,"name":"isNavigatingNew","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating to a page instance not in the browser session history."},"sources":[{"fileName":"aurelia-router.d.ts","line":745,"character":17}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isNavigatingNew","id":275}},{"id":444,"name":"isNavigatingRefresh","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating due to a browser refresh."},"sources":[{"fileName":"aurelia-router.d.ts","line":760,"character":21}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isNavigatingRefresh","id":278}},{"id":456,"name":"isRoot","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Gets a value indicating whether or not this [[Router]] is the root in the router tree. I.e., it has no parent."},"sources":[{"fileName":"aurelia-router.d.ts","line":815,"character":8}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.isRoot","id":296}},{"id":447,"name":"navigation","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The navigation models for routes that specified [[RouteConfig.nav]]."},"sources":[{"fileName":"aurelia-router.d.ts","line":775,"character":12}],"type":{"type":"array","elementType":{"type":"reference","name":"NavModel","id":135}},"inheritedFrom":{"type":"reference","name":"Router.navigation","id":281}},{"id":450,"name":"options","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":786,"character":9}],"type":{"type":"intrinsic","name":"any"},"inheritedFrom":{"type":"reference","name":"Router.options","id":284}},{"id":449,"name":"parent","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent router, or null if this instance is not a child router."},"sources":[{"fileName":"aurelia-router.d.ts","line":785,"character":8}],"type":{"type":"reference","name":"Router","id":262},"inheritedFrom":{"type":"reference","name":"Router.parent","id":283}},{"id":432,"name":"routes","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":700,"character":8}],"type":{"type":"array","elementType":{"type":"reference","name":"RouteConfig","id":12}},"inheritedFrom":{"type":"reference","name":"Router.routes","id":266}},{"id":434,"name":"title","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"If defined, used in generation of document title for [[Router]]'s routes."},"sources":[{"fileName":"aurelia-router.d.ts","line":710,"character":7}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"undefined"}]},"inheritedFrom":{"type":"reference","name":"Router.title","id":268}},{"id":435,"name":"titleSeparator","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The separator used in the document title between [[Router]]'s routes."},"sources":[{"fileName":"aurelia-router.d.ts","line":715,"character":16}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"undefined"}]},"inheritedFrom":{"type":"reference","name":"Router.titleSeparator","id":269}},{"id":452,"name":"transformTitle","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Extension point to transform the document title before it is built and displayed.\nBy default, child routers delegate to the parent router, and the app router\nreturns the title unchanged."},"sources":[{"fileName":"aurelia-router.d.ts","line":798,"character":16}],"type":{"type":"reflection","declaration":{"id":453,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":454,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":455,"name":"title","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":798,"character":17}]}},"inheritedFrom":{"type":"reference","name":"Router.transformTitle","id":286}},{"id":451,"name":"viewPortDefaults","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The defaults used when a viewport lacks specified content"},"sources":[{"fileName":"aurelia-router.d.ts","line":791,"character":18}],"type":{"type":"intrinsic","name":"any"},"inheritedFrom":{"type":"reference","name":"Router.viewPortDefaults","id":285}},{"id":431,"name":"viewPorts","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":699,"character":11}],"type":{"type":"reference","name":"Object"},"inheritedFrom":{"type":"reference","name":"Router.viewPorts","id":265}},{"id":424,"name":"activate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":425,"name":"activate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Activates the router. This instructs the router to begin listening for history changes and processing instructions.","tags":[{"tag":"params","text":"options The set of options to activate the router with.\n"}]},"parameters":[{"id":426,"name":"options","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":1014,"character":10}]},{"id":487,"name":"addRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":488,"name":"addRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a new route with the router."},"parameters":[{"id":489,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The [[RouteConfig]]."},"type":{"type":"reference","name":"RouteConfig","id":12}},{"id":490,"name":"navModel","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The [[NavModel]] to use for the route. May be omitted for single-pattern routes.\n"},"type":{"type":"reference","name":"NavModel","id":135}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"Router.addRoute","id":331}}],"sources":[{"fileName":"aurelia-router.d.ts","line":891,"character":10}],"inheritedFrom":{"type":"reference","name":"Router.addRoute","id":331}},{"id":459,"name":"configure","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":460,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the router."},"parameters":[{"id":461,"name":"callbackOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The [[RouterConfiguration]] or a callback that takes a [[RouterConfiguration]].\n"},"type":{"type":"union","types":[{"type":"reference","name":"RouterConfiguration","id":181},{"type":"reflection","declaration":{"id":462,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":463,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":464,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":835,"character":51}]}}]}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},"inheritedFrom":{"type":"reference","name":"Router.configure","id":303}}],"sources":[{"fileName":"aurelia-router.d.ts","line":835,"character":11}],"inheritedFrom":{"type":"reference","name":"Router.configure","id":303}},{"id":476,"name":"createChild","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":477,"name":"createChild","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a child router of the current router.","returns":"The new child Router.\n"},"parameters":[{"id":478,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The [[Container]] to provide to the child router. Uses the current [[Router]]'s [[Container]] if unspecified."},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"Router","id":262},"inheritedFrom":{"type":"reference","name":"Router.createChild","id":320}}],"sources":[{"fileName":"aurelia-router.d.ts","line":866,"character":13}],"inheritedFrom":{"type":"reference","name":"Router.createChild","id":320}},{"id":484,"name":"createNavModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":485,"name":"createNavModel","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a [[NavModel]] for the specified route config."},"parameters":[{"id":486,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The route config.\n"},"type":{"type":"reference","name":"RouteConfig","id":12}}],"type":{"type":"reference","name":"NavModel","id":135},"inheritedFrom":{"type":"reference","name":"Router.createNavModel","id":328}}],"sources":[{"fileName":"aurelia-router.d.ts","line":883,"character":16}],"inheritedFrom":{"type":"reference","name":"Router.createNavModel","id":328}},{"id":427,"name":"deactivate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":428,"name":"deactivate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Deactivates the router."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":1019,"character":12}]},{"id":457,"name":"ensureConfigured","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":458,"name":"ensureConfigured","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a Promise that resolves when the router is configured."},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},"inheritedFrom":{"type":"reference","name":"Router.ensureConfigured","id":301}}],"sources":[{"fileName":"aurelia-router.d.ts","line":828,"character":18}],"inheritedFrom":{"type":"reference","name":"Router.ensureConfigured","id":301}},{"id":479,"name":"generate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":480,"name":"generate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Generates a URL fragment matching the specified route pattern.","returns":"A string containing the generated URL fragment.\n"},"parameters":[{"id":481,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route whose pattern should be used to generate the fragment."},"type":{"type":"intrinsic","name":"string"}},{"id":482,"name":"params","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The route params to be used to populate the route pattern."},"type":{"type":"intrinsic","name":"any"}},{"id":483,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"If options.absolute = true, then absolute url will be generated; otherwise, it will be relative url."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","name":"Router.generate","id":323}}],"sources":[{"fileName":"aurelia-router.d.ts","line":876,"character":10}],"inheritedFrom":{"type":"reference","name":"Router.generate","id":323}},{"id":497,"name":"handleUnknownRoutes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":498,"name":"handleUnknownRoutes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Register a handler to use when the incoming URL fragment doesn't match any registered routes."},"parameters":[{"id":499,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The moduleId, or a function that selects the moduleId, or a [[RouteConfig]].\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"RouteConfig","id":12}]}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"Router.handleUnknownRoutes","id":341}}],"sources":[{"fileName":"aurelia-router.d.ts","line":912,"character":21}],"inheritedFrom":{"type":"reference","name":"Router.handleUnknownRoutes","id":341}},{"id":494,"name":"hasOwnRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":495,"name":"hasOwnRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value indicating whether or not this [[Router]] has a route registered with the specified name."},"parameters":[{"id":496,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route to check.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.hasOwnRoute","id":338}}],"sources":[{"fileName":"aurelia-router.d.ts","line":905,"character":13}],"inheritedFrom":{"type":"reference","name":"Router.hasOwnRoute","id":338}},{"id":491,"name":"hasRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":492,"name":"hasRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value indicating whether or not this [[Router]] or one of its ancestors has a route registered with the specified name."},"parameters":[{"id":493,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route to check.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"},"inheritedFrom":{"type":"reference","name":"Router.hasRoute","id":335}}],"sources":[{"fileName":"aurelia-router.d.ts","line":898,"character":10}],"inheritedFrom":{"type":"reference","name":"Router.hasRoute","id":335}},{"id":417,"name":"loadUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":418,"name":"loadUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads the specified URL."},"parameters":[{"id":419,"name":"url","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The URL fragment to load.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"NavigationInstruction","id":104}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":999,"character":9}]},{"id":465,"name":"navigate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":466,"name":"navigate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Navigates to a new location."},"parameters":[{"id":467,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The URL fragment to use as the navigation destination."},"type":{"type":"intrinsic","name":"string"}},{"id":468,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The navigation options.\n"},"type":{"type":"reference","name":"NavigationOptions"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"PipelineResult","id":73},{"type":"intrinsic","name":"boolean"}]}]},"inheritedFrom":{"type":"reference","name":"Router.navigate","id":309}}],"sources":[{"fileName":"aurelia-router.d.ts","line":843,"character":10}],"inheritedFrom":{"type":"reference","name":"Router.navigate","id":309}},{"id":474,"name":"navigateBack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":475,"name":"navigateBack","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Navigates back to the most recent location in history."},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"Router.navigateBack","id":318}}],"sources":[{"fileName":"aurelia-router.d.ts","line":858,"character":14}],"inheritedFrom":{"type":"reference","name":"Router.navigateBack","id":318}},{"id":469,"name":"navigateToRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":470,"name":"navigateToRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Navigates to a new location corresponding to the route and params specified. Equivallent to [[Router.generate]] followed\nby [[Router.navigate]]."},"parameters":[{"id":471,"name":"route","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route to use when generating the navigation location."},"type":{"type":"intrinsic","name":"string"}},{"id":472,"name":"params","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The route parameters to be used when populating the route pattern."},"type":{"type":"intrinsic","name":"any"}},{"id":473,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The navigation options.\n"},"type":{"type":"reference","name":"NavigationOptions"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"PipelineResult","id":73},{"type":"intrinsic","name":"boolean"}]}]},"inheritedFrom":{"type":"reference","name":"Router.navigateToRoute","id":313}}],"sources":[{"fileName":"aurelia-router.d.ts","line":853,"character":17}],"inheritedFrom":{"type":"reference","name":"Router.navigateToRoute","id":313}},{"id":502,"name":"refreshNavigation","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":503,"name":"refreshNavigation","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Updates the navigation routes with hrefs relative to the current location.\nNote: This method will likely move to a plugin in a future release."},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"Router.refreshNavigation","id":346}}],"sources":[{"fileName":"aurelia-router.d.ts","line":923,"character":19}],"inheritedFrom":{"type":"reference","name":"Router.refreshNavigation","id":346}},{"id":420,"name":"registerViewPort","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":421,"name":"registerViewPort","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a viewPort to be used as a rendering target for activated routes."},"parameters":[{"id":422,"name":"viewPort","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The viewPort."},"type":{"type":"intrinsic","name":"any"}},{"id":423,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the viewPort. 'default' if unspecified.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]},"overwrites":{"type":"reference","name":"Router.registerViewPort","id":297}}],"sources":[{"fileName":"aurelia-router.d.ts","line":1007,"character":18}],"overwrites":{"type":"reference","name":"Router.registerViewPort","id":297}},{"id":415,"name":"reset","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":416,"name":"reset","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Fully resets the router's internal state. Primarily used internally by the framework when multiple calls to setRoot are made.\nUse with caution (actually, avoid using this). Do not use this to simply change your navigation model."},"type":{"type":"intrinsic","name":"any"},"overwrites":{"type":"reference","name":"Router.reset","id":294}}],"sources":[{"fileName":"aurelia-router.d.ts","line":992,"character":7}],"overwrites":{"type":"reference","name":"Router.reset","id":294}},{"id":500,"name":"updateTitle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":501,"name":"updateTitle","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Updates the document title using the current navigation instruction."},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"Router.updateTitle","id":344}}],"sources":[{"fileName":"aurelia-router.d.ts","line":917,"character":13}],"inheritedFrom":{"type":"reference","name":"Router.updateTitle","id":344}},{"id":504,"name":"useViewPortDefaults","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":505,"name":"useViewPortDefaults","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the default configuration for the view ports. This specifies how to\n populate a view port for which no module is specified. The default is\n an empty view/view-model pair."},"parameters":[{"id":506,"name":"viewPortDefaults","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"},"inheritedFrom":{"type":"reference","name":"Router.useViewPortDefaults","id":348}}],"sources":[{"fileName":"aurelia-router.d.ts","line":930,"character":21}],"inheritedFrom":{"type":"reference","name":"Router.useViewPortDefaults","id":348}},{"id":407,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":408,"name":"inject","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":985,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[409]},{"title":"Properties","kind":1024,"children":[433,429,445,448,446,430,436,438,439,437,443,440,442,441,444,456,447,450,449,432,434,435,452,451,431]},{"title":"Methods","kind":2048,"children":[424,487,459,476,484,427,457,479,497,494,491,417,465,474,469,502,420,415,500,504,407]}],"sources":[{"fileName":"aurelia-router.d.ts","line":984,"character":30}],"extendedTypes":[{"type":"reference","name":"Router","id":262}]},{"id":257,"name":"BuildNavigationPlanStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":258,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":259,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":260,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":261,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":687,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[258]}],"sources":[{"fileName":"aurelia-router.d.ts","line":686,"character":44}]},{"id":356,"name":"CanActivateNextStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":357,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":358,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":359,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":360,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":936,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[357]}],"sources":[{"fileName":"aurelia-router.d.ts","line":935,"character":40}]},{"id":351,"name":"CanDeactivatePreviousStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":352,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":353,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":354,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":355,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":933,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[352]}],"sources":[{"fileName":"aurelia-router.d.ts","line":932,"character":46}]},{"id":99,"name":"CommitChangesStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":100,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":101,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":102,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":103,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":337,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[100]}],"sources":[{"fileName":"aurelia-router.d.ts","line":336,"character":38}]},{"id":361,"name":"DeactivatePreviousStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":362,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":363,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":364,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":365,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":939,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[362]}],"sources":[{"fileName":"aurelia-router.d.ts","line":938,"character":43}]},{"id":377,"name":"LoadRouteStep","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":380,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":381,"name":"new LoadRouteStep","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":382,"name":"routeLoader","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouteLoader","id":371}}],"type":{"type":"reference","name":"LoadRouteStep","id":377}}],"sources":[{"fileName":"aurelia-router.d.ts","line":948,"character":23}]},{"id":383,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":384,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":385,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":386,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Function"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":950,"character":5}]},{"id":378,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":379,"name":"inject","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":948,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[380]},{"title":"Methods","kind":2048,"children":[383,378]}],"sources":[{"fileName":"aurelia-router.d.ts","line":947,"character":34}]},{"id":135,"name":"NavModel","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Class for storing and interacting with a route's navigation settings."},"children":[{"id":143,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":144,"name":"new NavModel","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":145,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Router","id":262}},{"id":146,"name":"relativeHref","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"NavModel","id":135}}],"sources":[{"fileName":"aurelia-router.d.ts","line":464,"character":17}]},{"id":141,"name":"config","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The route config."},"sources":[{"fileName":"aurelia-router.d.ts","line":459,"character":8}],"type":{"type":"reference","name":"RouteConfig","id":12}},{"id":138,"name":"href","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"This nav item's absolute href."},"sources":[{"fileName":"aurelia-router.d.ts","line":444,"character":6}],"type":{"type":"intrinsic","name":"string"}},{"id":136,"name":"isActive","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if this nav item is currently active."},"sources":[{"fileName":"aurelia-router.d.ts","line":434,"character":10}],"type":{"type":"intrinsic","name":"boolean"}},{"id":139,"name":"relativeHref","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"This nav item's relative href."},"sources":[{"fileName":"aurelia-router.d.ts","line":449,"character":14}],"type":{"type":"intrinsic","name":"string"}},{"id":142,"name":"router","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The router associated with this navigation model."},"sources":[{"fileName":"aurelia-router.d.ts","line":464,"character":8}],"type":{"type":"reference","name":"Router","id":262}},{"id":140,"name":"settings","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Data attached to the route at configuration time."},"sources":[{"fileName":"aurelia-router.d.ts","line":454,"character":10}],"type":{"type":"intrinsic","name":"any"}},{"id":137,"name":"title","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The title."},"sources":[{"fileName":"aurelia-router.d.ts","line":439,"character":7}],"type":{"type":"intrinsic","name":"string"}},{"id":147,"name":"setTitle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":148,"name":"setTitle","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the route's title and updates document.title.\n If the a navigation is in progress, the change will be applied\n to document.title when the navigation completes."},"parameters":[{"id":149,"name":"title","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new title.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":474,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[143]},{"title":"Properties","kind":1024,"children":[141,138,136,139,142,140,137]},{"title":"Methods","kind":2048,"children":[147]}],"sources":[{"fileName":"aurelia-router.d.ts","line":429,"character":29}]},{"id":104,"name":"NavigationInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Class used to represent an instruction during a navigation."},"children":[{"id":116,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":117,"name":"new NavigationInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":118,"name":"init","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstructionInit","id":2}}],"type":{"type":"reference","name":"NavigationInstruction","id":104}}],"sources":[{"fileName":"aurelia-router.d.ts","line":390,"character":18}]},{"id":109,"name":"config","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The route config for the route matching this instruction."},"sources":[{"fileName":"aurelia-router.d.ts","line":368,"character":8}],"type":{"type":"reference","name":"RouteConfig","id":12}},{"id":105,"name":"fragment","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The URL fragment."},"sources":[{"fileName":"aurelia-router.d.ts","line":348,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":115,"name":"options","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":390,"character":9}],"type":{"type":"reference","name":"Object"}},{"id":107,"name":"params","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Parameters extracted from the route pattern."},"sources":[{"fileName":"aurelia-router.d.ts","line":358,"character":8}],"type":{"type":"intrinsic","name":"any"}},{"id":110,"name":"parentInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent instruction, if this instruction was created by a child router."},"sources":[{"fileName":"aurelia-router.d.ts","line":373,"character":19}],"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":114,"name":"plan","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":389,"character":6}],"type":{"type":"reference","name":"Object"}},{"id":111,"name":"previousInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instruction being replaced by this instruction in the current router."},"sources":[{"fileName":"aurelia-router.d.ts","line":378,"character":21}],"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":108,"name":"queryParams","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Parameters extracted from the query string."},"sources":[{"fileName":"aurelia-router.d.ts","line":363,"character":13}],"type":{"type":"intrinsic","name":"any"}},{"id":106,"name":"queryString","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The query string."},"sources":[{"fileName":"aurelia-router.d.ts","line":353,"character":13}],"type":{"type":"intrinsic","name":"string"}},{"id":113,"name":"router","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The router instance."},"sources":[{"fileName":"aurelia-router.d.ts","line":388,"character":8}],"type":{"type":"reference","name":"Router","id":262}},{"id":112,"name":"viewPortInstructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"viewPort instructions to used activation."},"sources":[{"fileName":"aurelia-router.d.ts","line":383,"character":22}],"type":{"type":"intrinsic","name":"any"}},{"id":123,"name":"addViewPortInstruction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":124,"name":"addViewPortInstruction","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a viewPort instruction."},"parameters":[{"id":125,"name":"viewPortName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":126,"name":"strategy","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":127,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":128,"name":"component","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":407,"character":24}]},{"id":119,"name":"getAllInstructions","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":120,"name":"getAllInstructions","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an array containing this instruction and all child instructions for the current navigation."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"NavigationInstruction","id":104}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":396,"character":20}]},{"id":121,"name":"getAllPreviousInstructions","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":122,"name":"getAllPreviousInstructions","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets an array containing the instruction and all child instructions for the previous navigation.\nPrevious instructions are no longer available after navigation completes."},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"NavigationInstruction","id":104}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":402,"character":28}]},{"id":133,"name":"getBaseUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":134,"name":"getBaseUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the instruction's base URL, accounting for wildcard route parameters."},"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":423,"character":12}]},{"id":129,"name":"getWildCardName","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":130,"name":"getWildCardName","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the name of the route pattern's wildcard parameter, if applicable."},"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":412,"character":17}]},{"id":131,"name":"getWildcardPath","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":132,"name":"getWildcardPath","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the path and query string created by filling the route\npattern's wildcard parameter with the matching param."},"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":418,"character":17}]}],"groups":[{"title":"Constructors","kind":512,"children":[116]},{"title":"Properties","kind":1024,"children":[109,105,115,107,110,114,111,108,106,113,112]},{"title":"Methods","kind":2048,"children":[123,119,121,133,129,131]}],"sources":[{"fileName":"aurelia-router.d.ts","line":343,"character":42}]},{"id":173,"name":"Pipeline","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"The class responsible for managing and processing the navigation pipeline."},"children":[{"id":174,"name":"steps","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The pipeline steps."},"sources":[{"fileName":"aurelia-router.d.ts","line":560,"character":7}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":68}]}]}},{"id":175,"name":"addStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":176,"name":"addStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step to the pipeline."},"parameters":[{"id":177,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The pipeline step.\n"},"type":{"type":"reference","name":"PipelineStep","id":68}}],"type":{"type":"reference","name":"Pipeline","id":173}}],"sources":[{"fileName":"aurelia-router.d.ts","line":567,"character":9}]},{"id":178,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":179,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Runs the pipeline."},"parameters":[{"id":180,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The navigation instruction to process.\n"},"type":{"type":"reference","name":"NavigationInstruction","id":104}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"PipelineResult","id":73}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":574,"character":5}]}],"groups":[{"title":"Properties","kind":1024,"children":[174]},{"title":"Methods","kind":2048,"children":[175,178]}],"sources":[{"fileName":"aurelia-router.d.ts","line":555,"character":29}]},{"id":387,"name":"PipelineProvider","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Class responsible for creating the navigation pipeline."},"children":[{"id":390,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":391,"name":"new PipelineProvider","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":392,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"PipelineProvider","id":387}}],"sources":[{"fileName":"aurelia-router.d.ts","line":957,"character":23}]},{"id":396,"name":"addStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":397,"name":"addStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step into the pipeline at a known slot location."},"parameters":[{"id":398,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":399,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"PipelineStep","id":68}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":968,"character":9}]},{"id":393,"name":"createPipeline","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":394,"name":"createPipeline","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Create the navigation pipeline."},"parameters":[{"id":395,"name":"useCanDeactivateStep","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","name":"Pipeline","id":173}}],"sources":[{"fileName":"aurelia-router.d.ts","line":963,"character":16}]},{"id":400,"name":"removeStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":401,"name":"removeStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a step from a slot in the pipeline"},"parameters":[{"id":402,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":403,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"PipelineStep","id":68}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":973,"character":12}]},{"id":404,"name":"reset","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":405,"name":"reset","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Resets all pipeline slots"},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":978,"character":7}]},{"id":388,"name":"inject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":389,"name":"inject","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":957,"character":15}]}],"groups":[{"title":"Constructors","kind":512,"children":[390]},{"title":"Methods","kind":2048,"children":[396,393,400,404,388]}],"sources":[{"fileName":"aurelia-router.d.ts","line":956,"character":37}]},{"id":150,"name":"Redirect","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used during the activation lifecycle to cause a redirect."},"children":[{"id":151,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":152,"name":"new Redirect","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{},"parameters":[{"id":153,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The URL fragment to use as the navigation destination."},"type":{"type":"intrinsic","name":"string"}},{"id":154,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The navigation options.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Redirect","id":150}}],"sources":[{"fileName":"aurelia-router.d.ts","line":494,"character":31}]},{"id":158,"name":"navigate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":159,"name":"navigate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Called by the navigation pipeline to navigate."},"parameters":[{"id":160,"name":"appRouter","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The router to be redirected.\n"},"type":{"type":"reference","name":"Router","id":262}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":514,"character":10}]},{"id":155,"name":"setRouter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":156,"name":"setRouter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Called by the activation system to set the child router."},"parameters":[{"id":157,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The router.\n"},"type":{"type":"reference","name":"Router","id":262}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":507,"character":11}]}],"groups":[{"title":"Constructors","kind":512,"children":[151]},{"title":"Methods","kind":2048,"children":[158,155]}],"sources":[{"fileName":"aurelia-router.d.ts","line":494,"character":29}]},{"id":161,"name":"RedirectToRoute","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used during the activation lifecycle to cause a redirect to a named route."},"children":[{"id":162,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":163,"name":"new RedirectToRoute","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{},"parameters":[{"id":164,"name":"route","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the route."},"type":{"type":"intrinsic","name":"string"}},{"id":165,"name":"params","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The parameters to be sent to the activation method."},"type":{"type":"intrinsic","name":"any"}},{"id":166,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The options to use for navigation.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"RedirectToRoute","id":161}}],"sources":[{"fileName":"aurelia-router.d.ts","line":520,"character":38}]},{"id":170,"name":"navigate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":171,"name":"navigate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Called by the navigation pipeline to navigate."},"parameters":[{"id":172,"name":"appRouter","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The router to be redirected.\n"},"type":{"type":"reference","name":"Router","id":262}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":541,"character":10}]},{"id":167,"name":"setRouter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":168,"name":"setRouter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Called by the activation system to set the child router."},"parameters":[{"id":169,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The router.\n"},"type":{"type":"reference","name":"Router","id":262}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":534,"character":11}]}],"groups":[{"title":"Constructors","kind":512,"children":[162]},{"title":"Methods","kind":2048,"children":[170,167]}],"sources":[{"fileName":"aurelia-router.d.ts","line":520,"character":36}]},{"id":371,"name":"RouteLoader","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":372,"name":"loadRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":373,"name":"loadRoute","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":374,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":375,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":376,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":945,"character":11}]}],"groups":[{"title":"Methods","kind":2048,"children":[372]}],"sources":[{"fileName":"aurelia-router.d.ts","line":944,"character":32}]},{"id":262,"name":"Router","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"The primary class responsible for handling routing and navigation.","tags":[{"tag":"class","text":"Router"},{"tag":"constructor","text":"\n"}]},"children":[{"id":290,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":291,"name":"new Router","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{},"parameters":[{"id":292,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The [[Container]] to use when child routers."},"type":{"type":"reference","name":"Container"}},{"id":293,"name":"history","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The [[History]] implementation to delegate navigation requests to.\n"},"type":{"type":"reference","name":"History"}}],"type":{"type":"reference","name":"Router","id":262}}],"sources":[{"fileName":"aurelia-router.d.ts","line":798,"character":46}]},{"id":267,"name":"baseUrl","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The [[Router]]'s current base URL, typically based on the [[Router.currentInstruction]]."},"sources":[{"fileName":"aurelia-router.d.ts","line":705,"character":9}],"type":{"type":"intrinsic","name":"string"}},{"id":263,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":697,"character":11}],"type":{"type":"reference","name":"Container"}},{"id":279,"name":"couldDeactivate","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the previous instruction successfully completed the CanDeactivatePreviousStep in the current navigation."},"sources":[{"fileName":"aurelia-router.d.ts","line":765,"character":17}],"type":{"type":"intrinsic","name":"boolean"}},{"id":282,"name":"currentInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The currently active navigation instruction."},"sources":[{"fileName":"aurelia-router.d.ts","line":780,"character":20}],"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":280,"name":"currentNavigationTracker","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The currently active navigation tracker."},"sources":[{"fileName":"aurelia-router.d.ts","line":770,"character":26}],"type":{"type":"intrinsic","name":"number"}},{"id":264,"name":"history","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":698,"character":9}],"type":{"type":"reference","name":"History"}},{"id":270,"name":"isConfigured","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] has been configured."},"sources":[{"fileName":"aurelia-router.d.ts","line":720,"character":14}],"type":{"type":"intrinsic","name":"boolean"}},{"id":272,"name":"isExplicitNavigation","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating due to explicit call to navigate function(s)."},"sources":[{"fileName":"aurelia-router.d.ts","line":730,"character":22}],"type":{"type":"intrinsic","name":"boolean"}},{"id":273,"name":"isExplicitNavigationBack","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating due to explicit call to navigateBack function."},"sources":[{"fileName":"aurelia-router.d.ts","line":735,"character":26}],"type":{"type":"intrinsic","name":"boolean"}},{"id":271,"name":"isNavigating","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is currently processing a navigation."},"sources":[{"fileName":"aurelia-router.d.ts","line":725,"character":14}],"type":{"type":"intrinsic","name":"boolean"}},{"id":277,"name":"isNavigatingBack","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating back in the browser session history."},"sources":[{"fileName":"aurelia-router.d.ts","line":755,"character":18}],"type":{"type":"intrinsic","name":"boolean"}},{"id":274,"name":"isNavigatingFirst","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating into the app for the first time in the browser session."},"sources":[{"fileName":"aurelia-router.d.ts","line":740,"character":19}],"type":{"type":"intrinsic","name":"boolean"}},{"id":276,"name":"isNavigatingForward","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating forward in the browser session history."},"sources":[{"fileName":"aurelia-router.d.ts","line":750,"character":21}],"type":{"type":"intrinsic","name":"boolean"}},{"id":275,"name":"isNavigatingNew","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating to a page instance not in the browser session history."},"sources":[{"fileName":"aurelia-router.d.ts","line":745,"character":17}],"type":{"type":"intrinsic","name":"boolean"}},{"id":278,"name":"isNavigatingRefresh","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"True if the [[Router]] is navigating due to a browser refresh."},"sources":[{"fileName":"aurelia-router.d.ts","line":760,"character":21}],"type":{"type":"intrinsic","name":"boolean"}},{"id":296,"name":"isRoot","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Gets a value indicating whether or not this [[Router]] is the root in the router tree. I.e., it has no parent."},"sources":[{"fileName":"aurelia-router.d.ts","line":815,"character":8}],"type":{"type":"intrinsic","name":"boolean"}},{"id":281,"name":"navigation","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The navigation models for routes that specified [[RouteConfig.nav]]."},"sources":[{"fileName":"aurelia-router.d.ts","line":775,"character":12}],"type":{"type":"array","elementType":{"type":"reference","name":"NavModel","id":135}}},{"id":284,"name":"options","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":786,"character":9}],"type":{"type":"intrinsic","name":"any"}},{"id":283,"name":"parent","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The parent router, or null if this instance is not a child router."},"sources":[{"fileName":"aurelia-router.d.ts","line":785,"character":8}],"type":{"type":"reference","name":"Router","id":262}},{"id":266,"name":"routes","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":700,"character":8}],"type":{"type":"array","elementType":{"type":"reference","name":"RouteConfig","id":12}}},{"id":268,"name":"title","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"If defined, used in generation of document title for [[Router]]'s routes."},"sources":[{"fileName":"aurelia-router.d.ts","line":710,"character":7}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"undefined"}]}},{"id":269,"name":"titleSeparator","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The separator used in the document title between [[Router]]'s routes."},"sources":[{"fileName":"aurelia-router.d.ts","line":715,"character":16}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"undefined"}]}},{"id":286,"name":"transformTitle","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Extension point to transform the document title before it is built and displayed.\nBy default, child routers delegate to the parent router, and the app router\nreturns the title unchanged."},"sources":[{"fileName":"aurelia-router.d.ts","line":798,"character":16}],"type":{"type":"reflection","declaration":{"id":287,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":288,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":289,"name":"title","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":798,"character":17}]}}},{"id":285,"name":"viewPortDefaults","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The defaults used when a viewport lacks specified content"},"sources":[{"fileName":"aurelia-router.d.ts","line":791,"character":18}],"type":{"type":"intrinsic","name":"any"}},{"id":265,"name":"viewPorts","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":699,"character":11}],"type":{"type":"reference","name":"Object"}},{"id":331,"name":"addRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":332,"name":"addRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a new route with the router."},"parameters":[{"id":333,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The [[RouteConfig]]."},"type":{"type":"reference","name":"RouteConfig","id":12}},{"id":334,"name":"navModel","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The [[NavModel]] to use for the route. May be omitted for single-pattern routes.\n"},"type":{"type":"reference","name":"NavModel","id":135}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":891,"character":10}]},{"id":303,"name":"configure","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":304,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the router."},"parameters":[{"id":305,"name":"callbackOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The [[RouterConfiguration]] or a callback that takes a [[RouterConfiguration]].\n"},"type":{"type":"union","types":[{"type":"reference","name":"RouterConfiguration","id":181},{"type":"reflection","declaration":{"id":306,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":307,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":308,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":835,"character":51}]}}]}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":835,"character":11}]},{"id":320,"name":"createChild","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":321,"name":"createChild","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a child router of the current router.","returns":"The new child Router.\n"},"parameters":[{"id":322,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The [[Container]] to provide to the child router. Uses the current [[Router]]'s [[Container]] if unspecified."},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"Router","id":262}}],"sources":[{"fileName":"aurelia-router.d.ts","line":866,"character":13}]},{"id":328,"name":"createNavModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":329,"name":"createNavModel","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a [[NavModel]] for the specified route config."},"parameters":[{"id":330,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The route config.\n"},"type":{"type":"reference","name":"RouteConfig","id":12}}],"type":{"type":"reference","name":"NavModel","id":135}}],"sources":[{"fileName":"aurelia-router.d.ts","line":883,"character":16}]},{"id":301,"name":"ensureConfigured","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":302,"name":"ensureConfigured","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a Promise that resolves when the router is configured."},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":828,"character":18}]},{"id":323,"name":"generate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":324,"name":"generate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Generates a URL fragment matching the specified route pattern.","returns":"A string containing the generated URL fragment.\n"},"parameters":[{"id":325,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route whose pattern should be used to generate the fragment."},"type":{"type":"intrinsic","name":"string"}},{"id":326,"name":"params","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The route params to be used to populate the route pattern."},"type":{"type":"intrinsic","name":"any"}},{"id":327,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"If options.absolute = true, then absolute url will be generated; otherwise, it will be relative url."},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":876,"character":10}]},{"id":341,"name":"handleUnknownRoutes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":342,"name":"handleUnknownRoutes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Register a handler to use when the incoming URL fragment doesn't match any registered routes."},"parameters":[{"id":343,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The moduleId, or a function that selects the moduleId, or a [[RouteConfig]].\n"},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"Function"},{"type":"reference","name":"RouteConfig","id":12}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":912,"character":21}]},{"id":338,"name":"hasOwnRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":339,"name":"hasOwnRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value indicating whether or not this [[Router]] has a route registered with the specified name."},"parameters":[{"id":340,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route to check.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":905,"character":13}]},{"id":335,"name":"hasRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":336,"name":"hasRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a value indicating whether or not this [[Router]] or one of its ancestors has a route registered with the specified name."},"parameters":[{"id":337,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route to check.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":898,"character":10}]},{"id":309,"name":"navigate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":310,"name":"navigate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Navigates to a new location."},"parameters":[{"id":311,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The URL fragment to use as the navigation destination."},"type":{"type":"intrinsic","name":"string"}},{"id":312,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The navigation options.\n"},"type":{"type":"reference","name":"NavigationOptions"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"PipelineResult","id":73},{"type":"intrinsic","name":"boolean"}]}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":843,"character":10}]},{"id":318,"name":"navigateBack","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":319,"name":"navigateBack","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Navigates back to the most recent location in history."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":858,"character":14}]},{"id":313,"name":"navigateToRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":314,"name":"navigateToRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Navigates to a new location corresponding to the route and params specified. Equivallent to [[Router.generate]] followed\nby [[Router.navigate]]."},"parameters":[{"id":315,"name":"route","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the route to use when generating the navigation location."},"type":{"type":"intrinsic","name":"string"}},{"id":316,"name":"params","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The route parameters to be used when populating the route pattern."},"type":{"type":"intrinsic","name":"any"}},{"id":317,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The navigation options.\n"},"type":{"type":"reference","name":"NavigationOptions"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"PipelineResult","id":73},{"type":"intrinsic","name":"boolean"}]}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":853,"character":17}]},{"id":346,"name":"refreshNavigation","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":347,"name":"refreshNavigation","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Updates the navigation routes with hrefs relative to the current location.\nNote: This method will likely move to a plugin in a future release."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":923,"character":19}]},{"id":297,"name":"registerViewPort","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":298,"name":"registerViewPort","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a viewPort to be used as a rendering target for activated routes."},"parameters":[{"id":299,"name":"viewPort","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The viewPort."},"type":{"type":"intrinsic","name":"any"}},{"id":300,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name of the viewPort. 'default' if unspecified.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":823,"character":18}]},{"id":294,"name":"reset","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":295,"name":"reset","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Fully resets the router's internal state. Primarily used internally by the framework when multiple calls to setRoot are made.\nUse with caution (actually, avoid using this). Do not use this to simply change your navigation model."},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":810,"character":7}]},{"id":344,"name":"updateTitle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":345,"name":"updateTitle","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Updates the document title using the current navigation instruction."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":917,"character":13}]},{"id":348,"name":"useViewPortDefaults","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":349,"name":"useViewPortDefaults","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the default configuration for the view ports. This specifies how to\n populate a view port for which no module is specified. The default is\n an empty view/view-model pair."},"parameters":[{"id":350,"name":"viewPortDefaults","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":930,"character":21}]}],"groups":[{"title":"Constructors","kind":512,"children":[290]},{"title":"Properties","kind":1024,"children":[267,263,279,282,280,264,270,272,273,271,277,274,276,275,278,296,281,284,283,266,268,269,286,285,265]},{"title":"Methods","kind":2048,"children":[331,303,320,328,301,323,341,338,335,309,318,313,346,297,294,344,348]}],"sources":[{"fileName":"aurelia-router.d.ts","line":696,"character":27}],"extendedBy":[{"type":"reference","name":"AppRouter","id":406}]},{"id":181,"name":"RouterConfiguration","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Class used to configure a [[Router]] instance.","tags":[{"tag":"constructor","text":"\n"}]},"children":[{"id":182,"name":"instructions","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":583,"character":14}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reflection","declaration":{"id":183,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":184,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":185,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Router","id":262}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":583,"character":22}]}}]}},{"id":186,"name":"options","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":584,"character":9}],"type":{"type":"reflection","declaration":{"id":187,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"indexSignature":[{"id":193,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":194,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"children":[{"id":188,"name":"compareQueryParams","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-router.d.ts","line":584,"character":31}],"type":{"type":"intrinsic","name":"boolean"}},{"id":191,"name":"hashChange","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-router.d.ts","line":584,"character":86}],"type":{"type":"intrinsic","name":"boolean"}},{"id":190,"name":"pushState","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-router.d.ts","line":584,"character":65}],"type":{"type":"intrinsic","name":"boolean"}},{"id":189,"name":"root","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-router.d.ts","line":584,"character":46}],"type":{"type":"intrinsic","name":"string"}},{"id":192,"name":"silent","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-router.d.ts","line":584,"character":103}],"type":{"type":"intrinsic","name":"boolean"}}],"groups":[{"title":"Variables","kind":32,"children":[188,191,190,189,192]}],"sources":[{"fileName":"aurelia-router.d.ts","line":584,"character":10}]}}},{"id":195,"name":"pipelineSteps","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":585,"character":15}],"type":{"type":"reference","name":"Array","typeArguments":[{"type":"reflection","declaration":{"id":196,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":197,"name":"name","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-router.d.ts","line":585,"character":29}],"type":{"type":"intrinsic","name":"string"}},{"id":198,"name":"step","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-router.d.ts","line":585,"character":43}],"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":68}]}}],"groups":[{"title":"Variables","kind":32,"children":[197,198]}],"sources":[{"fileName":"aurelia-router.d.ts","line":585,"character":23}]}}]}},{"id":199,"name":"title","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":586,"character":7}],"type":{"type":"intrinsic","name":"string"}},{"id":200,"name":"titleSeparator","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":587,"character":16}],"type":{"type":"intrinsic","name":"string"}},{"id":201,"name":"unknownRouteConfig","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":588,"character":20}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"RouteConfig","id":12},{"type":"reflection","declaration":{"id":202,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":203,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":204,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"RouteConfig","id":12},{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"RouteConfig","id":12}]}]}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":588,"character":44}]}}]}},{"id":205,"name":"viewPortDefaults","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":589,"character":18}],"type":{"type":"reflection","declaration":{"id":206,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"indexSignature":[{"id":207,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":208,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reflection","declaration":{"id":209,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"indexSignature":[{"id":211,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":212,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"children":[{"id":210,"name":"moduleId","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-router.d.ts","line":589,"character":48}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"void"}]}}],"groups":[{"title":"Variables","kind":32,"children":[210]}],"sources":[{"fileName":"aurelia-router.d.ts","line":589,"character":37}]}}}],"sources":[{"fileName":"aurelia-router.d.ts","line":589,"character":19}]}}},{"id":217,"name":"addAuthorizeStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":218,"name":"addAuthorizeStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step to be run during the [[Router]]'s authorize pipeline slot.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":219,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The pipeline step."},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":68}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":606,"character":18}]},{"id":213,"name":"addPipelineStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":214,"name":"addPipelineStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step to be run during the [[Router]]'s navigation pipeline.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":215,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the pipeline slot to insert the step into."},"type":{"type":"intrinsic","name":"string"}},{"id":216,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The pipeline step."},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":68}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":598,"character":17}]},{"id":226,"name":"addPostRenderStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":227,"name":"addPostRenderStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step to be run during the [[Router]]'s postRender pipeline slot.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":228,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The pipeline step."},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":68}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":630,"character":19}]},{"id":220,"name":"addPreActivateStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":221,"name":"addPreActivateStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step to be run during the [[Router]]'s preActivate pipeline slot.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":222,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The pipeline step."},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":68}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":614,"character":20}]},{"id":223,"name":"addPreRenderStep","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":224,"name":"addPreRenderStep","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a step to be run during the [[Router]]'s preRender pipeline slot.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":225,"name":"step","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The pipeline step."},"type":{"type":"union","types":[{"type":"reference","name":"Function"},{"type":"reference","name":"PipelineStep","id":68}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":622,"character":18}]},{"id":254,"name":"exportToRouter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":255,"name":"exportToRouter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the current configuration to the specified [[Router]]."},"parameters":[{"id":256,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The [[Router]] to apply the configuration to.\n"},"type":{"type":"reference","name":"Router","id":262}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":679,"character":16}]},{"id":229,"name":"fallbackRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":230,"name":"fallbackRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures a route that will be used if there is no previous location available on navigation cancellation.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":231,"name":"fragment","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The URL fragment to use as the navigation destination."},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":638,"character":15}]},{"id":232,"name":"map","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":233,"name":"map","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Maps one or more routes to be registered with the router.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":234,"name":"route","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The [[RouteConfig]] to map, or an array of [[RouteConfig]] to map."},"type":{"type":"union","types":[{"type":"reference","name":"RouteConfig","id":12},{"type":"array","elementType":{"type":"reference","name":"RouteConfig","id":12}}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":646,"character":5}]},{"id":245,"name":"mapRoute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":246,"name":"mapRoute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Maps a single route to be registered with the router.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":247,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouteConfig","id":12}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":663,"character":10}]},{"id":248,"name":"mapUnknownRoutes","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":249,"name":"mapUnknownRoutes","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers an unknown route handler to be run when the URL fragment doesn't match any registered routes.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":250,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string containing a moduleId to load, or a [[RouteConfig]], or a function that takes the\n [[NavigationInstruction]] and selects a moduleId to load."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"RouteConfig","id":12},{"type":"reflection","declaration":{"id":251,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":252,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":253,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"RouteConfig","id":12},{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"RouteConfig","id":12}]}]}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":672,"character":49}]}}]}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":672,"character":18}]},{"id":235,"name":"useViewPortDefaults","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":236,"name":"useViewPortDefaults","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures defaults to use for any view ports.","tags":[{"tag":"chainable","text":"\n"}]},"parameters":[{"id":237,"name":"viewPortConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"a view port configuration object to use as a\n default, of the form { viewPortName: { moduleId } }."},"type":{"type":"reflection","declaration":{"id":238,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"indexSignature":[{"id":239,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":240,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reflection","declaration":{"id":241,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"indexSignature":[{"id":243,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":244,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"children":[{"id":242,"name":"moduleId","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-router.d.ts","line":655,"character":66}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Variables","kind":32,"children":[242]}],"sources":[{"fileName":"aurelia-router.d.ts","line":655,"character":55}]}}}],"sources":[{"fileName":"aurelia-router.d.ts","line":655,"character":37}]}}}],"type":{"type":"reference","name":"RouterConfiguration","id":181}}],"sources":[{"fileName":"aurelia-router.d.ts","line":655,"character":21}]}],"groups":[{"title":"Properties","kind":1024,"children":[182,186,195,199,200,201,205]},{"title":"Methods","kind":2048,"children":[217,213,226,220,223,254,229,232,245,248,235]}],"sources":[{"fileName":"aurelia-router.d.ts","line":582,"character":40}]},{"id":64,"name":"ActivationStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the available activation strategies."},"children":[{"id":66,"name":"invokeLifecycle","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Reuse the existing view model, invoking Router lifecycle hooks."},"sources":[{"fileName":"aurelia-router.d.ts","line":240,"character":17}],"type":{"type":"stringLiteral","value":"invoke-lifecycle"}},{"id":65,"name":"noChange","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Reuse the existing view model, without invoking Router lifecycle hooks."},"sources":[{"fileName":"aurelia-router.d.ts","line":235,"character":10}],"type":{"type":"stringLiteral","value":"no-change"}},{"id":67,"name":"replace","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Replace the existing view model, invoking Router lifecycle hooks."},"sources":[{"fileName":"aurelia-router.d.ts","line":245,"character":9}],"type":{"type":"stringLiteral","value":"replace"}}],"groups":[{"title":"Properties","kind":1024,"children":[66,65,67]}],"sources":[{"fileName":"aurelia-router.d.ts","line":230,"character":43}]},{"id":59,"name":"ConfiguresRouter","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the router configuration convention."},"children":[{"id":60,"name":"configureRouter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":61,"name":"configureRouter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to configure a router."},"parameters":[{"id":62,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouterConfiguration","id":181}},{"id":63,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Router","id":262}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"reference","name":"PromiseLike","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":221,"character":17}]}],"groups":[{"title":"Methods","kind":2048,"children":[60]}],"sources":[{"fileName":"aurelia-router.d.ts","line":216,"character":41}]},{"id":93,"name":"IObservable","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A basic interface for an Observable type"},"children":[{"id":94,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":95,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"ISubscription","id":96}}],"sources":[{"fileName":"aurelia-router.d.ts","line":324,"character":11}]}],"groups":[{"title":"Methods","kind":2048,"children":[94]}],"sources":[{"fileName":"aurelia-router.d.ts","line":323,"character":36}]},{"id":96,"name":"ISubscription","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A basic interface for a Subscription to an Observable"},"children":[{"id":97,"name":"unsubscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":98,"name":"unsubscribe","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":334,"character":13}]}],"groups":[{"title":"Methods","kind":2048,"children":[97]}],"sources":[{"fileName":"aurelia-router.d.ts","line":333,"character":38}]},{"id":78,"name":"NavigationCommand","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"When a navigation command is encountered, the current navigation\nwill be cancelled and control will be passed to the navigation\ncommand so it can determine the correct action."},"children":[{"id":79,"name":"navigate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":80,"name":"navigate","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":81,"name":"router","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Router","id":262}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":290,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[79]}],"sources":[{"fileName":"aurelia-router.d.ts","line":289,"character":42}]},{"id":2,"name":"NavigationInstructionInit","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":7,"name":"config","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":20,"character":8}],"type":{"type":"reference","name":"RouteConfig","id":12}},{"id":3,"name":"fragment","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":16,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":11,"name":"options","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":24,"character":9}],"type":{"type":"reference","name":"Object"}},{"id":5,"name":"params","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":18,"character":8}],"type":{"type":"reference","name":"Object"}},{"id":8,"name":"parentInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":21,"character":19}],"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":9,"name":"previousInstruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":22,"character":21}],"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":6,"name":"queryParams","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":19,"character":13}],"type":{"type":"reference","name":"Object"}},{"id":4,"name":"queryString","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":17,"character":13}],"type":{"type":"intrinsic","name":"string"}},{"id":10,"name":"router","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":23,"character":8}],"type":{"type":"reference","name":"Router","id":262}}],"groups":[{"title":"Properties","kind":1024,"children":[7,3,11,5,8,9,6,4,10]}],"sources":[{"fileName":"aurelia-router.d.ts","line":15,"character":50}]},{"id":82,"name":"Next","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A callback to indicate when pipeline processing should advance to the next step\nor be aborted."},"signatures":[{"id":92,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Indicates the successful completion of the pipeline step."},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}}],"children":[{"id":86,"name":"cancel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":87,"name":"cancel","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Indicates that the pipeline should cancel processing."},"parameters":[{"id":88,"name":"result","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":307,"character":8}]},{"id":83,"name":"complete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":84,"name":"complete","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Indicates the successful completion of the entire pipeline."},"parameters":[{"id":85,"name":"result","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":302,"character":10}]},{"id":89,"name":"reject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":90,"name":"reject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Indicates that pipeline processing has failed and should be stopped."},"parameters":[{"id":91,"name":"result","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":312,"character":8}]}],"groups":[{"title":"Methods","kind":2048,"children":[86,83,89]}],"sources":[{"fileName":"aurelia-router.d.ts","line":297,"character":29}]},{"id":73,"name":"PipelineResult","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"The result of a pipeline run."},"children":[{"id":77,"name":"completed","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":276,"character":11}],"type":{"type":"intrinsic","name":"boolean"}},{"id":75,"name":"instruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":274,"character":13}],"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":76,"name":"output","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":275,"character":8}],"type":{"type":"intrinsic","name":"any"}},{"id":74,"name":"status","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-router.d.ts","line":273,"character":8}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","kind":1024,"children":[77,75,76,74]}],"sources":[{"fileName":"aurelia-router.d.ts","line":272,"character":39}]},{"id":68,"name":"PipelineStep","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A step to be run during processing of the pipeline."},"children":[{"id":69,"name":"run","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":70,"name":"run","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute the pipeline step. The step should invoke next(), next.complete(),\nnext.cancel(), or next.reject() to allow the pipeline to continue."},"parameters":[{"id":71,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The navigation instruction."},"type":{"type":"reference","name":"NavigationInstruction","id":104}},{"id":72,"name":"next","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The next step in the pipeline.\n"},"type":{"type":"reference","name":"Next","id":82}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":263,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[69]}],"sources":[{"fileName":"aurelia-router.d.ts","line":254,"character":37}]},{"id":41,"name":"RoutableComponentActivate","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the activate convention."},"children":[{"id":42,"name":"activate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":43,"name":"activate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic just before your view-model is displayed.\nYou can optionally return a promise to tell the router to wait to bind and attach the view until\nafter you finish your work."},"parameters":[{"id":44,"name":"params","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":45,"name":"routeConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouteConfig","id":12}},{"id":46,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"reference","name":"PromiseLike","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"reference","name":"IObservable","id":93},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":160,"character":10}]}],"groups":[{"title":"Methods","kind":2048,"children":[42]}],"sources":[{"fileName":"aurelia-router.d.ts","line":153,"character":50}]},{"id":35,"name":"RoutableComponentCanActivate","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the canActivate convention."},"children":[{"id":36,"name":"canActivate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":37,"name":"canActivate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to control whether or not your view-model can be navigated to.\nReturn a boolean value, a promise for a boolean value, or a navigation command."},"parameters":[{"id":38,"name":"params","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":39,"name":"routeConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouteConfig","id":12}},{"id":40,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]},{"type":"reference","name":"PromiseLike","typeArguments":[{"type":"intrinsic","name":"boolean"}]},{"type":"reference","name":"NavigationCommand","id":78},{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"NavigationCommand","id":78}]},{"type":"reference","name":"PromiseLike","typeArguments":[{"type":"reference","name":"NavigationCommand","id":78}]}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":144,"character":13}]}],"groups":[{"title":"Methods","kind":2048,"children":[36]}],"sources":[{"fileName":"aurelia-router.d.ts","line":138,"character":53}]},{"id":47,"name":"RoutableComponentCanDeactivate","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the canDeactivate convention."},"children":[{"id":48,"name":"canDeactivate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":49,"name":"canDeactivate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to control whether or not the router can navigate away from your\nview-model when moving to a new route. Return a boolean value, a promise for a boolean value,\nor a navigation command."},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]},{"type":"reference","name":"PromiseLike","typeArguments":[{"type":"intrinsic","name":"boolean"}]},{"type":"reference","name":"NavigationCommand","id":78}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":176,"character":15}]}],"groups":[{"title":"Methods","kind":2048,"children":[48]}],"sources":[{"fileName":"aurelia-router.d.ts","line":169,"character":55}]},{"id":50,"name":"RoutableComponentDeactivate","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the deactivate convention."},"children":[{"id":51,"name":"deactivate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":52,"name":"deactivate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to perform custom logic when your view-model is being\nnavigated away from. You can optionally return a promise to tell the router to wait until\nafter you finish your work."},"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"reference","name":"PromiseLike","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"reference","name":"IObservable","id":93},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":192,"character":12}]}],"groups":[{"title":"Methods","kind":2048,"children":[51]}],"sources":[{"fileName":"aurelia-router.d.ts","line":185,"character":52}]},{"id":53,"name":"RoutableComponentDetermineActivationStrategy","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"An optional interface describing the determineActivationStrategy convention."},"children":[{"id":54,"name":"determineActivationStrategy","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":55,"name":"determineActivationStrategy","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Implement this hook if you want to give hints to the router about the activation strategy, when reusing\na view model for different routes. Available values are 'replace' and 'invoke-lifecycle'."},"parameters":[{"id":56,"name":"params","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":57,"name":"routeConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RouteConfig","id":12}},{"id":58,"name":"navigationInstruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"no-change"},{"type":"stringLiteral","value":"invoke-lifecycle"},{"type":"stringLiteral","value":"replace"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":207,"character":29}]}],"groups":[{"title":"Methods","kind":2048,"children":[54]}],"sources":[{"fileName":"aurelia-router.d.ts","line":201,"character":69}]},{"id":12,"name":"RouteConfig","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A configuration object that describes a route."},"indexSignature":[{"id":33,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"comment":{"shortText":"A configuration object that describes a route."},"parameters":[{"id":34,"name":"x","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}],"children":[{"id":29,"name":"activationStrategy","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Add to specify an activation strategy if it is always the same and you do not want that\nto be in your view-model code. Available values are 'replace' and 'invoke-lifecycle'."},"sources":[{"fileName":"aurelia-router.d.ts","line":113,"character":20}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"no-change"},{"type":"stringLiteral","value":"invoke-lifecycle"},{"type":"stringLiteral","value":"replace"}]}},{"id":28,"name":"caseSensitive","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"When true is specified, this route will be case sensitive."},"sources":[{"fileName":"aurelia-router.d.ts","line":107,"character":15}],"type":{"type":"intrinsic","name":"boolean"}},{"id":24,"name":"generationUsesHref","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Indicates that when route generation is done for this route, it should just take the literal value of the href property."},"sources":[{"fileName":"aurelia-router.d.ts","line":86,"character":20}],"type":{"type":"intrinsic","name":"boolean"}},{"id":23,"name":"href","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The URL fragment to use in nav models. If unspecified, the [[RouteConfig.route]] will be used.\nHowever, if the [[RouteConfig.route]] contains dynamic segments, this property must be specified."},"sources":[{"fileName":"aurelia-router.d.ts","line":81,"character":6}],"type":{"type":"intrinsic","name":"string"}},{"id":32,"name":"layoutModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"specifies the model parameter to pass to the layout view model's `activate` function."},"sources":[{"fileName":"aurelia-router.d.ts","line":128,"character":13}],"type":{"type":"intrinsic","name":"any"}},{"id":30,"name":"layoutView","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"specifies the file name of a layout view to use."},"sources":[{"fileName":"aurelia-router.d.ts","line":118,"character":12}],"type":{"type":"intrinsic","name":"string"}},{"id":31,"name":"layoutViewModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"specifies the moduleId of the view model to use with the layout view."},"sources":[{"fileName":"aurelia-router.d.ts","line":123,"character":17}],"type":{"type":"intrinsic","name":"string"}},{"id":15,"name":"moduleId","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The moduleId of the view model that should be activated for this route."},"sources":[{"fileName":"aurelia-router.d.ts","line":47,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":14,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A unique name for the route that may be used to identify the route when generating URL fragments.\nRequired when this route should support URL generation, such as with [[Router.generate]] or\nthe route-href custom attribute."},"sources":[{"fileName":"aurelia-router.d.ts","line":42,"character":6}],"type":{"type":"intrinsic","name":"string"}},{"id":22,"name":"nav","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"When specified, this route will be included in the [[Router.navigation]] nav model. Useful for\ndynamically generating menus or other navigation elements. When a number is specified, that value\nwill be used as a sort order."},"sources":[{"fileName":"aurelia-router.d.ts","line":75,"character":5}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"intrinsic","name":"number"}]}},{"id":27,"name":"navModel","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The navigation model for storing and interacting with the route's navigation settings."},"sources":[{"fileName":"aurelia-router.d.ts","line":102,"character":10}],"type":{"type":"reference","name":"NavModel","id":135}},{"id":17,"name":"navigationStrategy","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A function that can be used to dynamically select the module or modules to activate.\nThe function is passed the current [[NavigationInstruction]], and should configure\ninstruction.config with the desired moduleId, viewPorts, or redirect."},"sources":[{"fileName":"aurelia-router.d.ts","line":59,"character":20}],"type":{"type":"reflection","declaration":{"id":18,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":19,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":20,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"NavigationInstruction","id":104}}],"type":{"type":"union","types":[{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"void"}]},{"type":"intrinsic","name":"void"}]}}],"sources":[{"fileName":"aurelia-router.d.ts","line":59,"character":22}]}}},{"id":16,"name":"redirect","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"A URL fragment to redirect to when this route is matched."},"sources":[{"fileName":"aurelia-router.d.ts","line":52,"character":10}],"type":{"type":"intrinsic","name":"string"}},{"id":13,"name":"route","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The route pattern to match against incoming URL fragments, or an array of patterns."},"sources":[{"fileName":"aurelia-router.d.ts","line":35,"character":7}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"intrinsic","name":"string"}}]}},{"id":26,"name":"settings","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Arbitrary data to attach to the route. This can be used to attached custom data needed by components\nlike pipeline steps and activated modules."},"sources":[{"fileName":"aurelia-router.d.ts","line":97,"character":10}],"type":{"type":"intrinsic","name":"any"}},{"id":25,"name":"title","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The document title to set when this route is active."},"sources":[{"fileName":"aurelia-router.d.ts","line":91,"character":7}],"type":{"type":"intrinsic","name":"string"}},{"id":21,"name":"viewPorts","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The view ports to target when activating this route. If unspecified, the target moduleId is loaded\ninto the default viewPort (the viewPort with name 'default'). The viewPorts object should have keys\nwhose property names correspond to names used by elements. The values should be objects\nspecifying the moduleId to load into that viewPort. The values may optionally include properties related to layout:\n`layoutView`, `layoutViewModel` and `layoutModel`."},"sources":[{"fileName":"aurelia-router.d.ts","line":68,"character":11}],"type":{"type":"intrinsic","name":"any"}}],"groups":[{"title":"Properties","kind":1024,"children":[29,28,24,23,32,30,31,15,14,22,27,17,16,13,26,25,21]}],"sources":[{"fileName":"aurelia-router.d.ts","line":30,"character":36}]},{"id":511,"name":"activationStrategy","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The strategy to use when activating modules during navigation."},"sources":[{"fileName":"aurelia-router.d.ts","line":685,"character":39}],"type":{"type":"reference","name":"ActivationStrategy","id":64}},{"id":510,"name":"pipelineStatus","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The status of a Pipeline."},"sources":[{"fileName":"aurelia-router.d.ts","line":547,"character":35}],"type":{"type":"intrinsic","name":"any"}},{"id":507,"name":"isNavigationCommand","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":508,"name":"isNavigationCommand","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Determines if the provided object is a navigation command.\nA navigation command is anything with a navigate method."},"parameters":[{"id":509,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to check.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-router.d.ts","line":489,"character":43}]}],"groups":[{"title":"Classes","kind":128,"children":[366,406,257,356,351,99,361,377,135,104,173,387,150,161,371,262,181]},{"title":"Interfaces","kind":256,"children":[64,59,93,96,78,2,82,73,68,41,35,47,50,53,12]},{"title":"Variables","kind":32,"children":[511,510]},{"title":"Functions","kind":64,"children":[507]}]} \ No newline at end of file diff --git a/package.json b/package.json index eac1e997..c71c0ea4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-router", - "version": "1.6.2", + "version": "1.6.3", "description": "A powerful client-side router.", "keywords": [ "aurelia",