12972 Commits

Author SHA1 Message Date
Zhicheng Wang
719650b41f docs(API): 翻译完了 CommonModule 2018-09-04 14:56:11 +08:00
Zhicheng Wang
a510ed5312 docs(API): 翻译完了 JsonPipe 2018-09-04 14:54:23 +08:00
Zhicheng Wang
adb6be6a02 docs(API): 翻译完了 SlicePipe 2018-09-04 14:50:06 +08:00
Zhicheng Wang
a033f25b13 docs(API): 翻译完了大部分路由器事件 2018-09-04 14:36:53 +08:00
Zhicheng Wang
0d7988992b docs(API): 翻译完了所有路由守卫 2018-09-04 14:04:10 +08:00
Zhicheng Wang
06368682ef docs(API): 翻译完了 HttpRequest 2018-09-04 13:55:45 +08:00
Zhicheng Wang
785aecb6dd docs(API): 翻译完了 HttpInterceptor 2018-09-04 13:33:50 +08:00
Zhicheng Wang
c3ec312159 docs(API): 翻译完了 FormControlName 2018-09-04 13:21:25 +08:00
Zhicheng Wang
201976fd31 docs(API): 翻译完了各个生命周期钩子 2018-09-04 12:32:48 +08:00
Zhicheng Wang
d1985fc7d1 docs(API): 翻译完了 HttpParams 2018-09-04 11:05:45 +08:00
Zhicheng Wang
82ba447ca0 docs(API): 翻译完了 FormBuilder 2018-09-04 10:47:31 +08:00
Zhicheng Wang
986872ecbd docs(API): 翻译完了 TemplateRef 2018-09-04 10:39:27 +08:00
Zhicheng Wang
46a2608476 docs(API): 翻译完了 RouterLinkActive 2018-09-04 10:25:36 +08:00
Zhicheng Wang
e8d4f26644 docs(API): 翻译完了 DecimalPipe 和 CurrencyPipe 2018-09-04 10:12:28 +08:00
Zhicheng Wang
ec886a90ef docs(API): 翻译完了 BrowserModule 2018-09-04 09:31:32 +08:00
Zhicheng Wang
391aed864a docs(API): 翻译完了 Location 2018-09-04 09:19:39 +08:00
Zhicheng Wang
eb075b665f docs(API): 翻译完了 NgTemplateOutlet 2018-09-04 08:43:00 +08:00
Zhicheng Wang
6292866c98 docs(API): 翻译完了 ViewContainerRef 2018-09-03 08:54:32 +08:00
Zhicheng Wang
3fc7bb2ab4 docs(API): 翻译完了 AsyncPipe 2018-09-02 22:33:49 +08:00
Zhicheng Wang
78248db322 docs(API): 翻译完了 NgForm 2018-09-02 22:28:11 +08:00
Zhicheng Wang
fe5c6d0a11 docs(API): 翻译完了 NgSwitch 2018-09-02 22:09:03 +08:00
Zhicheng Wang
6312e38a63 docs(API): 翻译完了 HttpHeaders 2018-09-02 19:31:59 +08:00
Zhicheng Wang
8cea4a3646 docs(API): 翻译完了 Validators 2018-09-02 19:23:29 +08:00
Zhicheng Wang
de47500c53 docs(API): 翻译完了 RouterOutlet 2018-09-02 11:53:17 +08:00
Zhicheng Wang
63127dd0c0 docs(API): 翻译完了 NgStyle 2018-09-02 11:31:35 +08:00
Zhicheng Wang
c448443c70 docs(API): 翻译完了 XxxCasePipe 2018-09-02 11:28:43 +08:00
Zhicheng Wang
81b322a2fc docs(API): 翻译完了 OnInit 2018-09-02 11:20:28 +08:00
Zhicheng Wang
3bfa4e5daa docs(API): 翻译完了 ElementRef 2018-09-02 11:11:49 +08:00
Zhicheng Wang
59425a1e5e docs(API): 翻译完了 HttpClientModule 2018-09-01 21:44:38 +08:00
Zhicheng Wang
10ddb2449f docs(API): 翻译完了 RouterModule 2018-09-01 20:55:38 +08:00
Zhicheng Wang
ea796c6952 docs(API): 翻译完了 ViewChild 2018-09-01 14:19:20 +08:00
Zhicheng Wang
cfd6494ade docs(API): 翻译完了 Routes 2018-09-01 13:07:46 +08:00
Zhicheng Wang
a6d7c47763 docs(API): 翻译完了 RouterLink 2018-09-01 10:16:58 +08:00
Zhicheng Wang
f224ca6265 docs(API): 翻译完了 ActivatedRoute 2018-09-01 09:57:03 +08:00
Zhicheng Wang
e436d6972b docs(API): 翻译完了几个表单控件类 2018-09-01 09:19:36 +08:00
Brandon Roberts
abd29f5049 docs(forms): update API reference for reactive and template-driven forms modules (#25687)
PR Close #25687
2018-08-31 13:37:40 -07:00
Pawel Kozlowski
6def18a95e fix(ivy): support directive outputs on ng-template (#25717)
Compiler part of #25698
Fixes #25697

PR Close #25717
2018-08-31 13:37:16 -07:00
Pawel Kozlowski
34be51898d fix(ivy): support host bindings on dynamically created components (#25765)
PR Close #25765
2018-08-31 13:36:53 -07:00
Pawel Kozlowski
1e3460be0b refactor(ivy): remove obsolete types (#25767)
In the past factories could return an array with content queries
but we no longer manage queries in factory functions.

PR Close #25767
2018-08-31 13:36:22 -07:00
Greg Magolan
31349fde90 build(bazel): make resolveTypeReferenceDirectives override work with both ts 2.9 & ts 3.0 (#25581)
PR Close #25581
2018-08-31 11:12:03 -07:00
Greg Magolan
910381ddbd build(bazel): fix bazel types reference directive resolves (#25581)
PR Close #25581
2018-08-31 11:12:03 -07:00
Pete Bacon Darwin
20b9c61d4c perf(ivy): speed up ngcc ivy switch processing (#25534)
Only parse the AST for ngcc ivy switch constants
if the marker is not found in the module text.

PR Close #25534
2018-08-31 09:47:50 -07:00
Pete Bacon Darwin
e964319fe9 test(ivy): test Esm5Renderer.getSwitchableDeclarations (#25534)
Also incorporates a refactoring of the tests to make them less fragile.

PR Close #25534
2018-08-31 09:47:50 -07:00
Pete Bacon Darwin
26cd9f5433 feat(ivy): implement Renderer.getSwitchableDeclarations (#25534)
This supports the "ngcc ivy switch" specified in #25238.

PR Close #25534
2018-08-31 09:47:50 -07:00
Pete Bacon Darwin
e73e864f87 test(ivy): refactor Esm5Renderer tests to make them less fragile (#25534)
PR Close #25534
2018-08-31 09:47:50 -07:00
Pete Bacon Darwin
73047483a1 test(ivy): refactor Esm2015Renderer tests to make them less fragile (#25534)
PR Close #25534
2018-08-31 09:47:50 -07:00
Pete Bacon Darwin
6f168b7a0f feat(ivy): implement NgccReflectionHost.getSwitchableDeclarations() (#25534)
This method will be used to find all the places where the "ivy switch"
will occur. See #25238

PR Close #25534
2018-08-31 09:47:49 -07:00
Alex Rickabaugh
a469c2c412 feat(ivy): produce contextual diagnostics in ngtsc mode (#25647)
TypeScript has a more modern diagnostic emit function which produces
contextually annotated error information, using colors in the console
to indicate where in the code the error occurs.

This commit swiches ngtsc to use this format for diagnostics when
emitting them after a failed compilation.

PR Close #25647
2018-08-31 09:43:31 -07:00
Alex Rickabaugh
38f624d7e3 feat(ivy): output diagnostics for many errors in ngtsc (#25647)
This commit takes the first steps towards ngtsc producing real
TypeScript diagnostics instead of simply throwing errors when
encountering incorrect code.

A new class is introduced, FatalDiagnosticError, which can be thrown by
handlers whenever a condition in the code is encountered which by
necessity prevents the class from being compiled. This error type is
convertable to a ts.Diagnostic which represents the type and source of
the error.

Error codes are introduced for Angular errors, and are prefixed with -99
(so error code 1001 becomes -991001) to distinguish them from other TS
errors.

A function is provided which will read TS diagnostic output and convert
the TS errors to NG errors if they match this negative error code
format.

PR Close #25647
2018-08-31 09:43:30 -07:00
Kara Erickson
b424b3187e fix(compiler): add hostVars and support pure functions in host bindings (#25626)
PR Close #25626
2018-08-31 09:42:58 -07:00