feat(router): export all public api tokens via index
This commit is contained in:
parent
5bdc6ecec8
commit
8aef86f4a0
|
@ -1,7 +1,10 @@
|
||||||
export { Router } from './router';
|
export { Router } from './router';
|
||||||
export { UrlSerializer, DefaultUrlSerializer } from './url_serializer';
|
export { UrlSerializer, DefaultUrlSerializer } from './url_serializer';
|
||||||
export { RouterState, ActivatedRoute } from './router_state';
|
export { RouterState, ActivatedRoute } from './router_state';
|
||||||
|
export { UrlTree, UrlSegment } from './url_tree';
|
||||||
export { RouterOutletMap } from './router_outlet_map';
|
export { RouterOutletMap } from './router_outlet_map';
|
||||||
|
export { RouterConfig, Route } from './config';
|
||||||
|
export { Params, PRIMARY_OUTLET } from './shared';
|
||||||
import { RouterOutlet } from './directives/router_outlet';
|
import { RouterOutlet } from './directives/router_outlet';
|
||||||
import { RouterLink } from './directives/router_link';
|
import { RouterLink } from './directives/router_link';
|
||||||
export declare const ROUTER_DIRECTIVES: (typeof RouterOutlet | typeof RouterLink)[];
|
export declare const ROUTER_DIRECTIVES: (typeof RouterOutlet | typeof RouterLink)[];
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
export { Router } from './router';
|
export { Router } from './router';
|
||||||
export { UrlSerializer, DefaultUrlSerializer } from './url_serializer';
|
export { UrlSerializer, DefaultUrlSerializer } from './url_serializer';
|
||||||
export { RouterState, ActivatedRoute } from './router_state';
|
export { RouterState, ActivatedRoute } from './router_state';
|
||||||
|
export { UrlTree, UrlSegment } from './url_tree';
|
||||||
export { RouterOutletMap } from './router_outlet_map';
|
export { RouterOutletMap } from './router_outlet_map';
|
||||||
|
export { PRIMARY_OUTLET } from './shared';
|
||||||
import { RouterOutlet } from './directives/router_outlet';
|
import { RouterOutlet } from './directives/router_outlet';
|
||||||
import { RouterLink } from './directives/router_link';
|
import { RouterLink } from './directives/router_link';
|
||||||
export const ROUTER_DIRECTIVES = [RouterOutlet, RouterLink];
|
export const ROUTER_DIRECTIVES = [RouterOutlet, RouterLink];
|
||||||
//# sourceMappingUR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0bGV0X21hcCc7XG5leHBvcnQgeyBSb3V0ZXJDb25maWcsIFJvdXRlIH0gZnJvbSAnLi9jb25maWcnO1xuZXhwb3J0IHsgUGFyYW1zLCBQUklNQVJZX09VVExFVCB9IGZyb20gJy4vc2hhcmVkJztcblxuaW1wb3J0IHsgUm91dGVyT3V0bGV0IH0gZnJvbSAnLi9kaXJlY3RpdmVzL3JvdXRlcl9vdXRsZXQnO1xuaW1wb3J0IHsgUm91dGVyTGluayB9IGZyb20gJy4vZGlyZWN0aXZlcy9yb3V0ZXJfbGluayc7XG5cbmV4cG9ydCBjb25zdCBST1VURVJfRElSRUNUSVZFUyA9IFtSb3V0ZXJPdXRsZXQsIFJvdXRlckxpbmtdOyJdfQ==
|
|
@ -1,7 +1,10 @@
|
||||||
export { Router } from './router';
|
export { Router } from './router';
|
||||||
export { UrlSerializer, DefaultUrlSerializer } from './url_serializer';
|
export { UrlSerializer, DefaultUrlSerializer } from './url_serializer';
|
||||||
export { RouterState, ActivatedRoute } from './router_state';
|
export { RouterState, ActivatedRoute } from './router_state';
|
||||||
|
export { UrlTree, UrlSegment } from './url_tree';
|
||||||
export { RouterOutletMap } from './router_outlet_map';
|
export { RouterOutletMap } from './router_outlet_map';
|
||||||
|
export { RouterConfig, Route } from './config';
|
||||||
|
export { Params, PRIMARY_OUTLET } from './shared';
|
||||||
import { RouterOutlet } from './directives/router_outlet';
|
import { RouterOutlet } from './directives/router_outlet';
|
||||||
import { RouterLink } from './directives/router_link';
|
import { RouterLink } from './directives/router_link';
|
||||||
export declare const ROUTER_DIRECTIVES: (typeof RouterOutlet | typeof RouterLink)[];
|
export declare const ROUTER_DIRECTIVES: (typeof RouterOutlet | typeof RouterLink)[];
|
||||||
|
|
|
@ -7,9 +7,14 @@ exports.DefaultUrlSerializer = url_serializer_1.DefaultUrlSerializer;
|
||||||
var router_state_1 = require('./router_state');
|
var router_state_1 = require('./router_state');
|
||||||
exports.RouterState = router_state_1.RouterState;
|
exports.RouterState = router_state_1.RouterState;
|
||||||
exports.ActivatedRoute = router_state_1.ActivatedRoute;
|
exports.ActivatedRoute = router_state_1.ActivatedRoute;
|
||||||
|
var url_tree_1 = require('./url_tree');
|
||||||
|
exports.UrlTree = url_tree_1.UrlTree;
|
||||||
|
exports.UrlSegment = url_tree_1.UrlSegment;
|
||||||
var router_outlet_map_1 = require('./router_outlet_map');
|
var router_outlet_map_1 = require('./router_outlet_map');
|
||||||
exports.RouterOutletMap = router_outlet_map_1.RouterOutletMap;
|
exports.RouterOutletMap = router_outlet_map_1.RouterOutletMap;
|
||||||
|
var shared_1 = require('./shared');
|
||||||
|
exports.PRIMARY_OUTLET = shared_1.PRIMARY_OUTLET;
|
||||||
var router_outlet_1 = require('./directives/router_outlet');
|
var router_outlet_1 = require('./directives/router_outlet');
|
||||||
var router_link_1 = require('./directives/router_link');
|
var router_link_1 = require('./directives/router_link');
|
||||||
exports.ROUTER_DIRECTIVES = [router_outlet_1.RouterOutlet, router_link_1.RouterLink];
|
exports.ROUTER_DIRECTIVES = [router_outlet_1.RouterOutlet, router_link_1.RouterLink];
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHVCQUF1QixVQUFVLENBQUM7QUFBekIsaUNBQXlCO0FBQ2xDLCtCQUFvRCxrQkFBa0IsQ0FBQztBQUE5RCx1REFBYTtBQUFFLHFFQUErQztBQUN2RSw2QkFBNEMsZ0JBQWdCLENBQUM7QUFBcEQsaURBQVc7QUFBRSx1REFBdUM7QUFDN0Qsa0NBQWdDLHFCQUFxQixDQUFDO0FBQTdDLDhEQUE2QztBQUV0RCw4QkFBNkIsNEJBQTRCLENBQUMsQ0FBQTtBQUMxRCw0QkFBMkIsMEJBQTBCLENBQUMsQ0FBQTtBQUV6Qyx5Qk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ERBQTZDO0FBRXRELHVCQUF1QyxVQUFVLENBQUM7QUFBakMsaURBQWlDO0FBRWxELDhCQUE2Qiw0QkFBNEIsQ0FBQyxDQUFBO0FBQzFELDRCQUEyQiwwQkFBMEIsQ0FBQyxDQUFBO0FBRXpDLHlCQUFpQixHQUFHLENBQUMsNEJBQVksRUFBRSx3QkFBVSxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBSb3V0ZXIgfSBmcm9tICcuL3JvdXRlcic7XG5leHBvcnQgeyBVcmxTZXJpYWxpemVyLCBEZWZhdWx0VXJsU2VyaWFsaXplciB9IGZyb20gJy4vdXJsX3NlcmlhbGl6ZXInO1xuZXhwb3J0IHsgUm91dGVyU3RhdGUsIEFjdGl2YXRlZFJvdXRlIH0gZnJvbSAnLi9yb3V0ZXJfc3RhdGUnO1xuZXhwb3J0IHsgVXJsVHJlZSwgVXJsU2VnbWVudH0gZnJvbSAnLi91cmxfdHJlZSc7XG5leHBvcnQgeyBSb3V0ZXJPdXRsZXRNYXAgfSBmcm9tICcuL3JvdXRlcl9vdXRsZXRfbWFwJztcbmV4cG9ydCB7IFJvdXRlckNvbmZpZywgUm91dGUgfSBmcm9tICcuL2NvbmZpZyc7XG5leHBvcnQgeyBQYXJhbXMsIFBSSU1BUllfT1VUTEVUIH0gZnJvbSAnLi9zaGFyZWQnO1xuXG5pbXBvcnQgeyBSb3V0ZXJPdXRsZXQgfSBmcm9tICcuL2RpcmVjdGl2ZXMvcm91dGVyX291dGxldCc7XG5pbXBvcnQgeyBSb3V0ZXJMaW5rIH0gZnJvbSAnLi9kaXJlY3RpdmVzL3JvdXRlcl9saW5rJztcblxuZXhwb3J0IGNvbnN0IFJPVVRFUl9ESVJFQ1RJVkVTID0gW1JvdXRlck91dGxldCwgUm91dGVyTGlua107Il19
|
|
@ -1,7 +1,10 @@
|
||||||
export { Router } from './router';
|
export { Router } from './router';
|
||||||
export { UrlSerializer, DefaultUrlSerializer } from './url_serializer';
|
export { UrlSerializer, DefaultUrlSerializer } from './url_serializer';
|
||||||
export { RouterState, ActivatedRoute } from './router_state';
|
export { RouterState, ActivatedRoute } from './router_state';
|
||||||
|
export { UrlTree, UrlSegment} from './url_tree';
|
||||||
export { RouterOutletMap } from './router_outlet_map';
|
export { RouterOutletMap } from './router_outlet_map';
|
||||||
|
export { RouterConfig, Route } from './config';
|
||||||
|
export { Params, PRIMARY_OUTLET } from './shared';
|
||||||
|
|
||||||
import { RouterOutlet } from './directives/router_outlet';
|
import { RouterOutlet } from './directives/router_outlet';
|
||||||
import { RouterLink } from './directives/router_link';
|
import { RouterLink } from './directives/router_link';
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
"src/router_state.ts",
|
"src/router_state.ts",
|
||||||
"src/url_serializer.ts",
|
"src/url_serializer.ts",
|
||||||
"src/url_tree.ts",
|
"src/url_tree.ts",
|
||||||
|
"src/shared.ts",
|
||||||
"src/create_url_tree.ts",
|
"src/create_url_tree.ts",
|
||||||
"src/directives/router_outlet.ts",
|
"src/directives/router_outlet.ts",
|
||||||
"src/directives/router_link.ts",
|
"src/directives/router_link.ts",
|
||||||
|
|
Loading…
Reference in New Issue