vsavkin
ab958598d7
feat(router): implement CandDeactivate
2016-06-21 12:17:30 -07:00
vsavkin
1914847e72
cleanup(router): make strictNullChecks happy
2016-06-21 12:17:30 -07:00
vsavkin
d95f0fd83d
fix(router): fix index routes
2016-06-21 12:17:30 -07:00
vsavkin
243612e36d
refactor(router): rename candidate into snapshot
2016-06-21 12:17:30 -07:00
vsavkin
c5cca8e098
feat(router): add support for CanActivate guard
2016-06-21 12:17:30 -07:00
vsavkin
63c194b71f
feat(router): change recognize to return a router state candidate
2016-06-21 12:17:30 -07:00
vsavkin
46911117f1
feat(router): implement a function create router state out of a candidate
2016-06-21 12:17:30 -07:00
vsavkin
8407cfeac7
fix(router): fix router to take root component type instead of instance
2016-06-21 12:17:30 -07:00
vsavkin
c179b5033b
feat(router): implement relative navigation
2016-06-21 12:17:30 -07:00
vsavkin
86f47273bc
feat(router): changes router config not to use names
2016-06-21 12:17:30 -07:00
vsavkin
2e1bd46bb1
feat(router): add createUrlTree
2016-06-21 12:17:30 -07:00
vsavkin
a9e773b47b
feat(router): serialize outlet names into the url
2016-06-21 12:17:30 -07:00
vsavkin
a5371bfb8a
cleanup: cleanup tsconfig files
2016-06-21 12:17:30 -07:00
vsavkin
5b371736b2
feat: add RouterLink
2016-06-21 12:17:30 -07:00
vsavkin
c9b4bcf689
refactor: move all utility functions into the utils dir
2016-06-21 12:17:30 -07:00
vsavkin
013f9a2bbc
feat: add tree.siblings
2016-06-21 12:17:30 -07:00
vsavkin
4f6ec01932
feat: implement a simple version of the router service
2016-06-21 12:17:30 -07:00
vsavkin
f259a2204b
feat: implement recognizer
2016-06-21 12:17:30 -07:00
vsavkin
4b1db0e61c
feat: implement default url serializer
2016-06-21 12:17:30 -07:00
vsavkin
37c5320e33
feat: implement Tree
2016-06-21 12:17:30 -07:00
vsavkin
01111a1122
cleanup: removes a fake test
2016-06-21 12:17:30 -07:00
vsavkin
f57df3cf8a
chore: set up test and build infrastructure
2016-06-21 12:17:30 -07:00
vsavkin
af2f5c3d7d
cleanup(router): removes router
2016-06-20 08:47:54 -07:00
Alex Eagle
f39c9c9e75
style(lint): re-format modules/@angular
2016-06-09 17:00:15 -07:00
Victor Berchet
7ce0fc7d47
refactor: add types ( #9116 )
2016-06-09 11:04:15 -07:00
ScottSWu
86fbd50c3d
refactor(TypeScript): Add noImplicitAny
...
We automatically insert explicit 'any's where needed. These need to be
addressed as in #9100 .
Fixes #4924
2016-06-08 16:20:50 -07:00
Victor Berchet
a6ad61d83e
refactor: change provide(...) for {provide: ...}
...
- provide() is deprecated,
- {} syntax is required by the offline compiler
2016-06-03 15:03:49 -07:00
Dimitrios Loukadakis
b2a7fd05cb
fix(router): replace state when path is equal to current path ( #8766 )
...
Same as 2bf21e1747
but for new router.
This also fixes an issue where when application loads it clears forward history
because Router constructor calls navigateByUrl which was causing a push state to happen.
2016-05-26 12:02:24 -07:00
Dimitrios Loukadakis
fa2ce8100b
fix(router): openning links in new tab
...
Clicks on router-link should not prevent browser default action when
any mouse button other than left mouse button or ctrl/meta key is pressed.
router-link href should use location strategy external url.
Closes #5908
Closes #6806
Closes #7749
Closes #8806
Closes #8821
2016-05-26 10:26:57 -07:00
Dimitrios Loukadakis
595bcdd1ac
fix(router): browser back and forward buttons not working correctly.
...
Closes #8524
Closes #8532
2016-05-19 22:42:08 -07:00
vsavkin
b30ddfbfc5
chore(router): clang-format
2016-05-04 15:01:27 -07:00
vsavkin
abfb522f83
refactor(router): reuse existing segmentes when constructing new route trees
2016-05-04 14:51:04 -07:00
vsavkin
b8136cc26e
fix(router): provide a top-level route segment for injection
2016-05-04 14:51:04 -07:00
vsavkin
d00b26d941
refactor(router): update link to reuse url segments when possible
2016-05-04 14:51:04 -07:00
vsavkin
12637a761c
refactor(router): make names consistent
2016-05-04 14:50:00 -07:00
Tobias Bosch
0297398f5e
chore: clang-format master
2016-05-03 18:56:39 -07:00
vsavkin
b625f2471a
feat(router): make RouterLink accept single values
2016-05-03 10:25:44 -07:00
vsavkin
89704e0f93
fix(router): add support for ../
2016-05-03 10:25:44 -07:00
Misko Hevery
107016ec12
chore: router move import changes
2016-05-02 13:27:03 -07:00
Miško Hevery
d930ad1816
chore: router move-only
2016-05-02 13:27:03 -07:00
Misko Hevery
3e17c99f4e
chore: clang-reformat
2016-05-01 22:59:41 -07:00
Igor Minar
a66cdb469f
repackaging: all the repackaging changes squashed
2016-05-01 20:51:00 -07:00
Igor Minar
505da6c0a8
repackaging: all the file moves
2016-05-01 20:51:00 -07:00