Zhicheng WANG
8744f17f5d
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/cli/index.md
# aio/content/file-not-found.md
# aio/content/guide/architecture-modules.md
# aio/content/guide/architecture-services.md
# aio/content/guide/build.md
# aio/content/guide/deployment.md
# aio/content/guide/elements.md
# aio/content/guide/feature-modules.md
# aio/content/guide/file-structure.md
# aio/content/guide/forms-overview.md
# aio/content/guide/glossary.md
# aio/content/guide/i18n.md
# aio/content/guide/npm-packages.md
# aio/content/guide/releases.md
# aio/content/guide/router.md
# aio/content/guide/service-worker-config.md
# aio/content/guide/service-worker-intro.md
# aio/content/guide/testing.md
# aio/content/guide/upgrade-performance.md
# aio/content/navigation.json
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/package.json
# aio/src/app/custom-elements/api/api-list.component.ts
# aio/src/app/documents/document.service.ts
# aio/src/app/layout/top-menu/top-menu.component.ts
# aio/src/index.html
# aio/src/styles/2-modules/_api-pages.scss
# aio/tools/transforms/templates/api/base.template.html
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/tools/transforms/templates/cli/cli-container.template.html
# aio/tools/transforms/templates/lib/githubLinks.html
# aio/yarn.lock
# packages/animations/src/animation_metadata.ts
# packages/common/http/src/backend.ts
# packages/common/http/src/client.ts
# packages/common/http/src/headers.ts
# packages/common/http/src/interceptor.ts
# packages/common/http/src/module.ts
# packages/common/http/src/params.ts
# packages/common/http/src/request.ts
# packages/common/http/src/response.ts
# packages/common/src/common_module.ts
# packages/common/src/directives/ng_class.ts
# packages/common/src/directives/ng_style.ts
# packages/common/src/directives/ng_switch.ts
# packages/common/src/i18n/format_date.ts
# packages/common/src/pipes/number_pipe.ts
# packages/core/src/change_detection/change_detection_util.ts
# packages/core/src/change_detection/pipe_transform.ts
# packages/core/src/di/injectable.ts
# packages/core/src/linker/element_ref.ts
# packages/core/src/linker/template_ref.ts
# packages/core/src/metadata/di.ts
# packages/core/src/metadata/directives.ts
# packages/core/src/metadata/lifecycle_hooks.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_builder.ts
# packages/forms/src/form_providers.ts
# packages/forms/src/model.ts
# packages/forms/src/validators.ts
# packages/platform-browser/src/browser.ts
# packages/platform-browser/src/security/dom_sanitization_service.ts
# packages/router/src/config.ts
# packages/router/src/events.ts
# packages/router/src/router.ts
# packages/router/src/router_module.ts
# packages/router/src/shared.ts
2018-12-29 16:04:37 +08:00
jnizet
bba5e2632e
docs(forms): clarify the pattern validator behavior ( #27560 )
...
PR Close #27560
2018-12-21 15:12:31 -05:00
Brandon Roberts
a433baf99a
docs(forms): update API reference for validator directives ( #26926 )
...
PR Close #26926
2018-12-17 16:45:35 -08:00
Alex Eagle
d32939d51a
build: restrict visibility of npm_package targets ( #27611 )
...
dependencies on these cause very long rebuilds which have to re-package angular.
Such tests belong in the integration/ folder
PR Close #27611
2018-12-14 10:20:40 -08:00
Zhicheng WANG
7c9c67f3ac
fix: typo #353
2018-12-10 14:15:37 +08:00
cexbrayat
b0c75611d6
fix(forms): typed argument for FormBuilder group ( #26985 )
...
PR Close #26985
2018-12-07 09:30:07 -08:00
Igor Minar
1b84b11cf5
Revert "fix(forms): apply unicode flag to pattern attribute when supported ( #20819 )" ( #27375 )
...
This reverts commit 3c34b8b4f1ad32aef1b2e5213b6236c54ad93416.
breaks google3 see http://cl/223526995
PR Close #27375
2018-11-30 10:49:27 -08:00
Igor Minar
63e125986c
Revert "test(forms): add test on applying unicode flag ( #20819 )" ( #27375 )
...
This reverts commit 619b8ab8220a7bc87a512d597c19a063d0ca5fa2.
breaks google3 see http://cl/223526995
PR Close #27375
2018-11-30 10:49:27 -08:00
Igor Minar
1439071b7e
Revert "docs(forms): take words suggestion ( #20819 )" ( #27375 )
...
This reverts commit e024f2f8b76a2a4eb6511807a7bf3091899e9a46.
breaks google3 see http://cl/223526995
PR Close #27375
2018-11-30 10:49:27 -08:00
Brandon Roberts
c331fc6f0c
docs(forms): update API reference for common APIs and template-driven directives ( #27033 )
...
PR Close #27033
2018-11-29 21:33:07 -08:00
Igor Minar
e024f2f8b7
docs(forms): take words suggestion ( #20819 )
...
Co-Authored-By: JLHwung <JLHwung@users.noreply.github.com>
PR Close #20819
2018-11-29 21:19:37 -08:00
Huáng Jùnliàng
619b8ab822
test(forms): add test on applying unicode flag ( #20819 )
...
PR Close #20819
2018-11-29 21:19:37 -08:00
Huáng Jùnliàng
3c34b8b4f1
fix(forms): apply unicode flag to pattern attribute when supported ( #20819 )
...
Both Firefox and Chrome have applied unicode flag to the `pattern` content attribute of INPUT element.
See https://www.chromestatus.com/feature/4753420745441280
PR Close #20819
2018-11-29 21:19:37 -08:00
Miško Hevery
ca40565f9a
fix(ivy): hack implementation of host styles ( #27180 )
...
PR Close #27180
2018-11-20 11:43:29 -08:00
Nick Tobolski
975c269752
docs(forms): language correction ( #27177 )
...
Word missing from docs
PR Close #27177
2018-11-20 10:46:34 -08:00
Huáng Jùnliàng
34306c356e
docs(forms): close markdown backticks ( #27189 )
...
PR Close #27189
2018-11-20 10:45:16 -08:00
Kara Erickson
1810cdf2c3
fix(ivy): compiler should generate restoreView() for local refs in listeners ( #27034 )
...
PR Close #27034
2018-11-12 12:50:58 -08:00
Brandon Roberts
99c5db1fb1
docs(forms): update API reference for value accessors ( #26946 )
...
PR Close #26946
2018-11-12 12:48:33 -08:00
Kara Erickson
78b6f88cb3
fix(ivy): TestBed should use an NgZone ( #27015 )
...
PR Close #27015
2018-11-09 09:56:36 -08:00
Kara Erickson
552836ebf0
fix(ivy): merged host bindings functions should take superclass hostVars into account ( #27013 )
...
PR Close #27013
2018-11-09 09:55:47 -08:00
Kara Erickson
9e26216c40
fix(ivy): compiler should generate bindings to host attrs properly ( #26973 )
...
PR Close #26973
2018-11-07 11:09:31 -08:00
Kara Erickson
a4398aa17f
docs(forms): update description for FormBuilder.group ( #26970 )
...
PR Close #26970
2018-11-07 10:39:12 -08:00
Kara Erickson
3ca1a57f81
test(ivy): run forms tests with ivy on ci ( #26968 )
...
PR Close #26968
2018-11-06 15:09:35 -08:00
Brandon Roberts
099d1a67a0
docs(forms): update reactive form directives API reference ( #26823 )
...
PR Close #26823
2018-11-05 15:11:42 -08:00
Misko Hevery
7d2a746090
build: remove ivy JIT mode ( #26863 )
...
PR Close #26863
2018-11-02 15:44:05 -07:00
Lars Gyrup Brink Nielsen
e9e804fb02
feat(forms): add updateOn option to FormBuilder ( #24599 )
...
PR Close #24599
2018-11-01 15:31:11 -07:00
Igor Minar
ee0b857172
build: rename the ivy compile mode 'local' to 'aot' ( #26686 )
...
PR Close #26686
2018-10-23 14:14:49 -07:00
Igor Minar
4237c34c78
test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags ( #26471 )
...
We are close enough to blacklist a few test targets, rather than whitelist targets to run...
Because bazel rules can be composed of other rules that don't inherit tags automatically,
I had to explicitly mark all of our ts_library and ng_module targes with "ivy-local" and
"ivy-jit" tags so that we can create a query that excludes all fixme- tagged targets even
if those targets are composed of other targets that don't inherit this tag.
This is the updated overview of ivy related bazel tags:
- ivy-only: target that builds or runs only under ivy
- fixme-ivy-jit: target that doesn't yet build or run under ivy with --compile=jit
- fixme-ivy-local: target that doesn't yet build or run under ivy with --compile=local
- no-ivy-jit: target that is not intended to build or run under ivy with --compile=jit
- no-ivy-local: target that is not intended to build or run under ivy with --compile=local
PR Close #26471
2018-10-23 08:57:42 -07: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
Pete Bacon Darwin
982bc7f2aa
docs: update forms 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
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