UNPKG

2.56 kBSource Map (JSON)View Raw
1{"version":3,"file":"router.js","sourceRoot":"","sources":["../../../../modules/@angular/router-deprecated/router.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,SAAQ,UAAU,QAAO,8BAA8B,CAAC;AACxD,SAAQ,YAAY,QAAO,gCAAgC,CAAC;AAC5D,SAAQ,SAAS,EAAE,WAAW,QAAO,mBAAmB,CAAC;AACzD,SAAQ,wBAAwB,EAAE,aAAa,QAAO,sBAAsB,CAAC;AAC7E,SAAQ,UAAU,EAAE,MAAM,QAAO,cAAc,CAAC;AAEhD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wBAAwB,CAAC;AAEvC,SAAQ,WAAW,QAAO,uCAAuC,CAAC;AAClE,SAAQ,WAAW,EAAE,oBAAoB,QAAO,mBAAmB,CAAC;AACpE,SAAQ,WAAW,QAAO,eAAe,CAAC;AAC1C,SAAQ,uBAAuB,QAAO,+BAA+B,CAAC;AACtE,SAAQ,gBAAgB,EAAE,eAAe,QAAO,wBAAwB,CAAC;OAElE,EAAC,YAAY,EAAC,MAAM,gCAAgC;OACpD,EAAC,UAAU,EAAC,MAAM,8BAA8B;AAEvD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,MAAM,iBAAiB,GAA4B,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC","sourcesContent":["/**\n * @module\n * @description\n * Maps application URLs into application states, to support deep-linking and navigation.\n */\n\nexport {RouterLink} from './src/directives/router_link';\nexport {RouterOutlet} from './src/directives/router_outlet';\nexport {RouteData, RouteParams} from './src/instruction';\nexport {ROUTER_PRIMARY_COMPONENT, RouteRegistry} from './src/route_registry';\nexport {RootRouter, Router} from './src/router';\n\nexport * from './src/route_config/route_config_decorator';\nexport * from './src/route_definition';\nexport {OnActivate, OnDeactivate, OnReuse, CanDeactivate, CanReuse} from './src/interfaces';\nexport {CanActivate} from './src/lifecycle/lifecycle_annotations';\nexport {Instruction, ComponentInstruction} from './src/instruction';\nexport {OpaqueToken} from '@angular/core';\nexport {ROUTER_PROVIDERS_COMMON} from './src/router_providers_common';\nexport {ROUTER_PROVIDERS, ROUTER_BINDINGS} from './src/router_providers';\n\nimport {RouterOutlet} from './src/directives/router_outlet';\nimport {RouterLink} from './src/directives/router_link';\n\n/**\n * A list of directives. To use the router directives like {@link RouterOutlet} and\n * {@link RouterLink}, add this to your `directives` array in the {@link View} decorator of your\n * component.\n *\n * ### Example ([live demo](http://plnkr.co/edit/iRUP8B5OUbxCWQ3AcIDm))\n *\n * ```\n * import {Component} from '@angular/core';\n * import {ROUTER_DIRECTIVES, ROUTER_PROVIDERS, RouteConfig} from '@angular/router-deprecated';\n *\n * @Component({directives: [ROUTER_DIRECTIVES]})\n * @RouteConfig([\n * {...},\n * ])\n * class AppCmp {\n * // ...\n * }\n *\n * bootstrap(AppCmp, [ROUTER_PROVIDERS]);\n * ```\n */\nexport const ROUTER_DIRECTIVES: any[] = /*@ts2dart_const*/[RouterOutlet, RouterLink];\n"]}
\No newline at end of file