Pete Bacon Darwin
0918adf39d
docs: common with @publicApi
tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:53 -07:00
Pete Bacon Darwin
24521f549c
docs: convert all @experimental
tags to @publicApi
tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:52 -07:00
Ash Kyd
c9cfcfa728
docs: clarify CurrencyPipe display property ( #25852 )
...
Clarify how to suppress the currency/code in the CurrencyPipe by passing an empty string.
PR Close #25852
2018-10-05 15:42:57 -07:00
Judy Bogart
f543d71cc3
docs: add package doc files ( #26047 )
...
PR Close #26047
2018-10-05 15:42:14 -07:00
Alex Rickabaugh
36d6e6076e
feat(ivy): support template type check narrowing for *ngFor and *ngIf ( #26203 )
...
This commit adds an ngTemplateGuard_ngIf static method to the NgIf
directive and an ngTemplateContextGuard static method to NgFor. The
function of these two static methods is to enable type narrowing
within generated type checking code for consumers of the directives.
PR Close #26203
2018-10-04 10:11:17 -07:00
Pete Bacon Darwin
72dce34f42
docs(common): move KeyValuePipe
example to @usageNotes
( #26039 )
...
PR Close #26039
2018-09-24 09:11:02 -07:00
Pete Bacon Darwin
c08549ae38
docs(common): move KeyValuePipe
example to @usageNotes
( #26039 )
...
PR Close #26039
2018-09-24 09:11:02 -07:00
Pete Bacon Darwin
cf8ad24dcf
docs(common): remove legacy @whatItDoes
tag ( #26039 )
...
PR Close #26039
2018-09-24 09:11:02 -07:00
Pete Bacon Darwin
927323f24e
docs: add missing @ngModule
tags ( #25734 )
...
PR Close #25734
2018-09-19 16:18:24 -07:00
Judy Bogart
dd5e35ee67
docs: add ngmodule api doc ( #25618 )
...
PR Close #25618
2018-09-19 10:40:58 -07:00
Alex Eagle
cbbad1b791
refactor(ivy): pre-factor: set explicit type parameters for ModuleWithProviders ( #25970 )
...
Ivy depends on having the generic type token later when reading the ModuleWithProviders from a .d.ts file.
PR Close #25970
2018-09-18 13:28:44 -07:00
Greg Magolan
b99d7ed5bf
build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ( #25920 )
...
PR Close #25920
2018-09-18 13:05:38 -07:00
Vikram Subramanian
d83f9d432a
fix(common): register locale data for all equivalent closure locales ( #25867 )
...
This fix is for the issue below when compiling I18N Angular apps using closure.
For certain locales closure converts the input locale id to a different equivalent locale string. For example if the input locale is 'id'(for Indonesia) goog.LOCALE is set to 'in' and the closure locale data is registered only for 'in'. The Angular compiler uses the original input locale string, 'id' to set the LOCALE_ID token and there is a mismatch of locale used to register and locale used when requesting the locale data.
The fix is for the closure-locale.ts code to register the locale data for all equivalent locales names so that it doesn't matter what goog.LOCALE is actually set to.
PR Close #25867
2018-09-10 13:59:56 -07:00
Zhicheng Wang
d9a50a8452
docs(API): 翻译完了 HttpResponse
2018-09-04 16:37:03 +08:00
Zhicheng Wang
8dbe7ff025
docs(API): 翻译完了 formatDate
2018-09-04 15:48:34 +08:00
Zhicheng Wang
3819d7de3b
docs(API): 翻译完了 common/http
2018-09-04 15:04:47 +08:00
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
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
d1985fc7d1
docs(API): 翻译完了 HttpParams
2018-09-04 11:05:45 +08:00
Zhicheng Wang
e8d4f26644
docs(API): 翻译完了 DecimalPipe 和 CurrencyPipe
2018-09-04 10:12:28 +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
3fc7bb2ab4
docs(API): 翻译完了 AsyncPipe
2018-09-02 22:33:49 +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
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
59425a1e5e
docs(API): 翻译完了 HttpClientModule
2018-09-01 21:44:38 +08:00
Zhicheng Wang
b3991897d8
docs(API): 翻译 date_pipe
2018-08-31 18:18:05 +08:00
Zhicheng Wang
3961af4fea
docs(API): 翻译 NgClass
2018-08-31 16:28:42 +08:00
Zhicheng Wang
46e428659a
docs(API): 翻译了 ngIf
2018-08-31 10:35:36 +08:00
Zhicheng Wang
2cd125f40c
docs(API): 改进标题行翻译方式
...
docs(API): 翻译了 directive.ts 中的所有 tsdoc
2018-08-31 09:01:12 +08:00
Zhicheng Wang
9f34b155c4
docs(API): 翻译 ng-for-of
2018-08-30 12:56:38 +08:00
Zhicheng Wang
2dacd7f813
docs(API): 尝试对部分高频 API 进行翻译 - HttpClient
2018-08-30 12:22:02 +08:00
Alan Agius
5653fada32
feat: add TypeScript 3 support ( #25275 )
...
PR Close #25275
2018-08-27 21:07:53 -04:00
Pawel Kozlowski
3634575d89
test(common): fix double instantiation in NgSwitch test ( #25632 )
...
One of the tests was creating TestComponent instance _and_ using
global state making this test not predictable. Fixing the test
by making sure that TestComponent is instantiated only once.
PR Close #25632
2018-08-27 16:40:56 -04:00
Pete Bacon Darwin
15cc85c54a
style(common): fix short param names ( #23667 )
...
PR Close #23667
2018-08-03 14:09:27 -07:00
Pete Bacon Darwin
725bae1921
docs(common): fix content errors ( #23667 )
...
PR Close #23667
2018-08-03 14:09:27 -07:00
Drummond Dawson
5982425436
test(common): TokenExtractor should extend HttpXsrfTokenExtractor in xsrf spec ( #24649 )
...
PR Close #24649
2018-08-02 08:34:15 -07:00
Drummond Dawson
140248ade0
test(common): remove unused import in xsrf spec ( #24649 )
...
PR Close #24649
2018-08-02 08:34:14 -07:00
cexbrayat
270176bbe4
docs: more info on currency digits ( #24661 )
...
Adds an example of using the `currency` pipe with a currency that has no cents like CLP,
which will format the amount with no digits if `digitsInfo` is not provided:
<!-- outputs CA$14.00 -->
{{ 14 | currency:'CAD' }}
<!-- outputs CLP14 -->
{{ 14 | currency:'CLP' }}
Amends the docs, adds an example and fix an error with a current example.
PR Close #24661
2018-07-20 10:33:06 -07:00
Alex Rickabaugh
02b5087685
build(ivy): enable ngtsc AOT builds for a few packages ( #24738 )
...
Turn on AOT builds using ngtsc for:
* animations
* common
* compiler
* compiler-cli
* forms
* platform-browser
PR Close #24738
2018-07-12 16:36:35 -04:00
Alex Rickabaugh
d05d28629d
test(common): run common/http tests with Bazel ( #24738 )
...
@angular/common/http had tests which were not executed in Bazel. This
commit adds a BUILD.bazel file and ensures the tests pass.
PR Close #24738
2018-07-12 16:36:35 -04:00
Victor Berchet
0b4d85e9f1
fix(common): format fractional seconds ( #24844 )
...
fix a bug introduced in #24831
PR Close #24844
2018-07-11 14:32:32 -07:00
Victor Berchet
a527c695aa
fix(common): do not round factional seconds ( #24831 )
...
fixes #24384
PR Close #24831
2018-07-10 18:48:05 -07:00
Olivier Combe
dcabb05102
fix(common): use correct currency format for locale de-AT ( #24658 )
...
Fixes #24609
PR Close #24658
2018-07-09 15:10:06 -07:00
George Kalpakas
e01b539ee5
refactor: infer type for it()
assertion functions ( #19904 )
...
PR Close #19904
2018-07-06 13:48:02 -07:00