Zhicheng WANG
7c9c67f3ac
fix: typo #353
2018-12-10 14:15:37 +08:00
Zhicheng Wang
9a0d3e9633
docs: 手动解决冲突
2018-10-22 18:16:47 +08:00
Zhicheng Wang
a9ac90d3df
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture-components.md
# aio/content/guide/architecture-modules.md
# aio/content/guide/architecture-next-steps.md
# aio/content/guide/architecture-services.md
# aio/content/guide/architecture.md
# aio/content/guide/attribute-directives.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/cheatsheet.md
# aio/content/guide/comparing-observables.md
# aio/content/guide/component-interaction.md
# aio/content/guide/component-styles.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/dependency-injection-pattern.md
# aio/content/guide/dependency-injection.md
# aio/content/guide/deployment.md
# aio/content/guide/displaying-data.md
# aio/content/guide/dynamic-component-loader.md
# aio/content/guide/elements.md
# aio/content/guide/feature-modules.md
# aio/content/guide/form-validation.md
# aio/content/guide/forms.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/i18n.md
# aio/content/guide/lazy-loading-ngmodules.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule-vs-jsmodule.md
# aio/content/guide/ngmodules.md
# aio/content/guide/npm-packages.md
# aio/content/guide/observables-in-angular.md
# aio/content/guide/observables.md
# aio/content/guide/pipes.md
# aio/content/guide/practical-observable-usage.md
# aio/content/guide/providers.md
# aio/content/guide/quickstart.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/router.md
# aio/content/guide/rx-library.md
# aio/content/guide/security.md
# aio/content/guide/service-worker-communications.md
# aio/content/guide/service-worker-getting-started.md
# aio/content/guide/service-worker-intro.md
# aio/content/guide/setup-systemjs-anatomy.md
# aio/content/guide/setup.md
# aio/content/guide/singleton-services.md
# aio/content/guide/structural-directives.md
# aio/content/guide/styleguide.md
# aio/content/guide/template-syntax.md
# aio/content/guide/testing.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/universal.md
# aio/content/guide/updating.md
# aio/content/guide/upgrade.md
# aio/content/guide/user-input.md
# aio/content/guide/visual-studio-2015.md
# aio/content/marketing/docs.md
# aio/content/navigation.json
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt1.md
# aio/content/tutorial/toh-pt2.md
# aio/content/tutorial/toh-pt3.md
# aio/content/tutorial/toh-pt4.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/ngsw-manifest.json
# aio/package.json
# aio/src/app/custom-elements/api/api-list.component.html
# aio/src/app/custom-elements/api/api-list.component.ts
# aio/src/index.html
# aio/tools/transforms/templates/api/base.template.html
# aio/tools/transforms/templates/api/class.template.html
# aio/tools/transforms/templates/api/directive.template.html
# aio/tools/transforms/templates/api/enum.template.html
# aio/tools/transforms/templates/api/includes/class-overview.html
# aio/tools/transforms/templates/api/includes/deprecation.html
# aio/tools/transforms/templates/api/includes/export-as.html
# aio/tools/transforms/templates/api/includes/info-bar.html
# aio/tools/transforms/templates/api/includes/interface-overview.html
# aio/tools/transforms/templates/api/includes/selectors.html
# aio/tools/transforms/templates/api/lib/directiveHelpers.html
# aio/tools/transforms/templates/api/lib/githubLinks.html
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/tools/transforms/templates/api/package.template.html
# aio/yarn.lock
# packages/common/http/src/module.ts
# packages/common/src/common_module.ts
# packages/common/src/directives/ng_for_of.ts
# packages/common/src/directives/ng_if.ts
# packages/common/src/directives/ng_template_outlet.ts
# packages/common/src/location/location.ts
# packages/common/src/pipes/async_pipe.ts
# packages/common/src/pipes/json_pipe.ts
# packages/common/src/pipes/number_pipe.ts
# packages/common/src/pipes/slice_pipe.ts
# packages/core/src/change_detection/change_detector_ref.ts
# packages/core/src/di/injectable.ts
# packages/core/src/linker/template_ref.ts
# packages/core/src/linker/view_container_ref.ts
# packages/core/src/metadata/di.ts
# packages/core/src/metadata/ng_module.ts
# packages/core/src/render/api.ts
# packages/forms/src/directives/form_interface.ts
# packages/forms/src/directives/ng_form.ts
# packages/forms/src/directives/ng_model.ts
# packages/forms/src/directives/reactive_directives/form_control_name.ts
# packages/forms/src/directives/select_control_value_accessor.ts
# packages/forms/src/directives/validators.ts
# packages/forms/src/form_providers.ts
# packages/forms/src/model.ts
# packages/forms/src/validators.ts
# packages/router/src/config.ts
# packages/router/src/router.ts
# packages/router/src/router_module.ts
# packages/router/src/router_state.ts
2018-10-21 17:43:29 +08:00
Brandon Roberts
ebd01e8e79
docs: more form overview edits ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
04dfca41f4
docs(forms): add package overview for forms ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Frederik Schlemmer
1e02cd9961
docs: Fixes typo in FormArray ( #26031 )
...
PR Close #26031
2018-09-24 09:14:07 -07:00
Pete Bacon Darwin
7d39bc68fb
docs(forms): move extended text to @usageNotes ( #26039 )
...
Headings are not allowed in the basic description block.
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
Brandon Roberts
a9a81f91cf
docs(forms): update form apis based on review feedback ( #25724 )
...
PR Close #25724
2018-09-19 16:09:00 -07:00
Brandon Roberts
07c10e2844
docs(forms): update API reference for forms interfaces and abstract classes ( #25724 )
...
PR Close #25724
2018-09-19 16:09:00 -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
George Wilde
ddd3bf83c7
docs(forms): change documentation of the FormGroup patchValue method ( #25901 )
...
Improve the grammar of the description to make it more readable.
PR Close #25901
2018-09-18 13:08:05 -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
Zhicheng Wang
9e40bf8e63
docs(API): 翻译完了 ValidatorFn
2018-09-05 10:08:10 +08:00
Zhicheng Wang
badf927f37
docs(API): 翻译完了 NgSelectOption
2018-09-05 09:46:21 +08:00
Zhicheng Wang
2a1fbec879
docs(API): 翻译完了 forms/Form
2018-09-04 16:00:05 +08:00
Zhicheng Wang
c3ec312159
docs(API): 翻译完了 FormControlName
2018-09-04 13:21:25 +08:00
Zhicheng Wang
82ba447ca0
docs(API): 翻译完了 FormBuilder
2018-09-04 10:47:31 +08:00
Zhicheng Wang
78248db322
docs(API): 翻译完了 NgForm
2018-09-02 22:28:11 +08:00
Zhicheng Wang
8cea4a3646
docs(API): 翻译完了 Validators
2018-09-02 19:23:29 +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
Zhicheng Wang
2cd125f40c
docs(API): 改进标题行翻译方式
...
docs(API): 翻译了 directive.ts 中的所有 tsdoc
2018-08-31 09:01:12 +08:00
Zhicheng Wang
fcfe9c581d
docs(API): 翻译 ng_model
2018-08-30 13:43:39 +08:00
Alan
3ba5220839
refactor(forms): ngForm
element selector has been deprecated in favor of ng-form
( #23721 )
...
This has been deprecated to keep selector consistent with other core Angular selectors. As element selectors are in kebab-case.
Now deprecated:
```
<ngForm #myForm="ngForm">
```
After:
```
<ng-form #myForm="ngForm">
```
You can also choose to supress this warnings by providing a config for `FormsModule` during import:
```ts
imports: [
FormsModule.withConfig({warnOnDeprecatedNgFormSelector: 'never'});
]
Closes : #23678
PR Close #23721
2018-08-02 08:34:43 -07:00
denjamal
3f6fc00d73
docs(forms): fix incorrect variables naming in the comments ( #25150 )
...
PR Close #25150
2018-07-31 11:42:15 -07:00
Alex Rickabaugh
60aeee7abf
feat(ivy): selector side of ModuleWithProviders via type metadata ( #24862 )
...
Within an @NgModule it's common to include in the imports a call to
a ModuleWithProviders function, for example RouterModule.forRoot().
The old ngc compiler was able to handle this pattern because it had
global knowledge of metadata of not only the input compilation unit
but also all dependencies.
The ngtsc compiler for Ivy doesn't have this knowledge, so the
pattern of ModuleWithProviders functions is more difficult. ngtsc
must be able to determine which module is imported via the function
in order to expand the selector scope and properly tree-shake
directives and pipes.
This commit implements a solution to this problem, by adding a type
parameter to ModuleWithProviders through which the actual module
type can be passed between compilation units.
The provider side isn't a problem because the imports are always
copied directly to the ngInjectorDef.
PR Close #24862
2018-07-20 11:48:35 -07:00
Brandon Roberts
80a74b450a
docs(forms): update form builder API reference ( #24693 )
...
PR Close #24693
2018-07-12 16:38:26 -04: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
Brandon Roberts
05e3e4d71e
docs(forms): update API reference for form validators ( #24734 )
...
PR Close #24734
2018-07-10 18:52:40 -07:00
Tyler Akins
81a9db2b0a
docs(forms): added missing backtick ( #24451 )
...
Fixed trivial markdown problem with a missing backtick.
PR Close #24451
2018-07-10 18:51:08 -07:00
George Kalpakas
787c54736c
test: run unit tests in random order ( #19904 )
...
PR Close #19904
2018-07-06 13:48:02 -07:00
George Kalpakas
00c110b055
build: upgrade jasmine (and related typings) to latest version ( #19904 )
...
With these changes, the types are a little stricter now and also not
compatible with Protractor's jasmine-like syntax. So, we have to also
use `@types/jasminewd2` for e2e tests (but not for non-e2e tests).
I also had to "augment" `@types/jasminewd2`, because the latest
typings from [DefinitelyTyped][1] do not reflect the fact that the
`jasminewd2` version (v2.1.0) currently used by Protractor supports
passing a `done` callback to a spec.
[1]: 566e039485/types/jasminewd2/index.d.ts (L9-L15)
Fixes #23952
Closes #24733
PR Close #19904
2018-07-06 13:48:02 -07:00
Rado Kirov
c95437f15d
build(bazel): Turning on strictPropertyInitialization for Angular. ( #24572 )
...
All errors for existing fields have been detected and suppressed with a
`!` assertion.
Issue/24571 is tracking proper clean up of those instances.
One-line change required in ivy/compilation.ts, because it appears that
the new syntax causes tsickle emitted node to no longer track their
original sourceFiles.
PR Close #24572
2018-06-25 07:57:13 -07:00
Brandon Roberts
5b76f04b7f
docs: More edits ( #24255 )
...
PR Close #24255
2018-06-19 10:53:13 -07:00
Brandon Roberts
a57825acf3
docs: More form control API edits ( #24255 )
...
PR Close #24255
2018-06-19 10:53:13 -07:00
Brandon Roberts
efc7639352
docs: Added multicast to observable descriptions ( #24255 )
...
PR Close #24255
2018-06-19 10:53:13 -07:00
Brandon Roberts
3e26cabe02
docs: formatting ( #24255 )
...
PR Close #24255
2018-06-19 10:53:13 -07:00
Brandon Roberts
9d114c052a
docs: More form control API references fixes ( #24255 )
...
PR Close #24255
2018-06-19 10:53:13 -07:00
Brandon Roberts
43e61c25e1
docs(docs-infra): Update with review changes ( #24255 )
...
PR Close #24255
2018-06-19 10:53:13 -07:00
Brandon Roberts
4e1493a1d6
docs(forms): update API reference for FormControl ( #24255 )
...
PR Close #24255
2018-06-19 10:53:13 -07:00
Alex Rickabaugh
7983f0a69b
ci(ivy): configure CI environments for Ivy JIT and AOT ( #24309 )
...
Two new CircleCI environments are created: test_ivy_jit and test_ivy_aot.
Both run a subset of the tests that have been marked with Bazel tags as
being appropriate for that environment.
Once all the tests pass, builds are published to the *-builds repo both
for the legacy View Engine compiled code as well as for ivy-jit and ivy-aot.
PR Close #24309
2018-06-08 13:34:27 -07:00
Trotyl
9367e91402
fix(forms): properly handle special properties in FormGroup.get ( #22249 )
...
closes #17195
PR Close #22249
2018-06-05 18:28:13 -07:00
Johnson Lin
b86d4dee4d
docs(forms): fix API doc ( #24210 )
...
closes #24090
PR Close #24210
2018-05-30 17:06:12 -07:00
Alex Eagle
017d67cdf8
test: switch to ts_web_test_suite ( #23859 )
...
Unit tests now run on Firefox too
PR Close #23859
2018-05-15 11:40:56 -07:00
swseverance
fe3679a356
style: remove empty comments ( #23404 )
...
PR Close #23404
2018-05-10 15:48:13 -07:00
Igor Minar
6601d0f7ba
build: update to rxjs@6.0.0 ( #23679 )
...
PR Close #23679
2018-05-03 10:53:39 -07:00
Pete Bacon Darwin
4b96a58c5a
docs: remove all deprecated @stable
jsdoc tags ( #23210 )
...
These are no longer needed as stable docs are computed as those that
do not have `@experimental` or `@deprecated` tags.
PR Close #23210
2018-04-10 21:49:32 -07:00
Pete Bacon Darwin
92821e338b
docs(forms): remove unnecessary {@link Injector}
jsdoc tags ( #23186 )
...
Inline code blocks are automatically linked, if possible, to their API
page.
PR Close #23186
2018-04-05 09:27:29 -07:00