c2f30542e7
fix(ivy): should support components without selector ( #27169 )
...
PR Close #27169
2018-11-27 10:17:35 -08:00
d767e0b2c0
fix(ivy): consider providers for view/content queries ( #27156 )
...
In ViewEngine it is possible to query for a token that is provided by
a directive that is in scope. See StackBlitz for example:
https://stackblitz.com/edit/ng-viewengine-viewchild-providers
Material uses this pattern with its `MatFormFieldControl` setup, see
https://bit.ly/2zgCUxD for documentation.
PR Close #27156
2018-11-27 10:16:57 -08:00
3c9ad1d231
fix(ivy): inject null for missing attributes ( #27237 )
...
PR Close #27237
2018-11-26 09:23:56 -08:00
dc300c5c41
feat(ivy): render flags support in host bindings function (FW-649) ( #27204 )
...
PR Close #27204
2018-11-21 15:33:47 -08:00
e56c8bf8d1
fix(ivy): align discovery methods for consistency ( #27117 )
...
PR Close #27117
2018-11-20 11:44:14 -08:00
92e80af875
feat(ivy): ICU support for Ivy ( #26794 )
...
PR Close #26794
2018-11-16 16:09:30 -08:00
848f4148c0
fix(ivy): DI should work when no element injector on starting node ( #27133 )
...
PR Close #27133
2018-11-16 09:26:29 -08:00
ee12e725c0
fix(ivy): component ref injector should support change detector ref ( #27107 )
...
PR Close #27107
2018-11-15 21:18:24 -08:00
e22a302cad
feat(ivy): support for i18n & ICU expressions ( #27101 )
...
PR Close #27101
2018-11-14 16:22:01 -08:00
ce5242462b
fix(ivy): implement rootNodes getter on ViewRef ( #27095 )
...
PR Close #27095
2018-11-14 12:28:03 -08:00
1c9e526a83
fix(ivy): use the root view injector when resolving dependencies ( #27090 )
...
PR Close #27090
2018-11-14 12:26:36 -08:00
f8f1168fa6
Revert "feat(ivy): support for i18n & ICU expressions ( #26275 )"
...
This reverts commit a63fd2d0f5
.
2018-11-14 10:23:21 -08:00
a63fd2d0f5
feat(ivy): support for i18n & ICU expressions ( #26275 )
...
PR Close #26275
2018-11-13 14:50:30 -08:00
bc652a2943
fix(ivy): jit compilation should support content queries with type predicates ( #27068 )
...
PR Close #27068
2018-11-13 12:18:13 -08:00
e6e590479e
fix(ivy): support forward refs in @Inject annotations ( #27069 )
...
PR Close #27069
2018-11-13 12:17:18 -08:00
123da1a8c2
test(ivy): split out provider tests ( #27069 )
...
PR Close #27069
2018-11-13 12:17:18 -08:00
8b9249a670
fix(ivy): host bindings should support content children and content hooks ( #27065 )
...
PR Close #27065
2018-11-12 14:26:06 -08:00
1810cdf2c3
fix(ivy): compiler should generate restoreView() for local refs in listeners ( #27034 )
...
PR Close #27034
2018-11-12 12:50:58 -08:00
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
2f36a9591d
fix(ivy): providers should not be inherited ( #27013 )
...
PR Close #27013
2018-11-09 09:55:47 -08:00
499e303ea3
test(ivy): add global utils to the public_api_guard test ( #27008 )
...
This API is part of our public api surface and needs to be monitored by the public_api_guard.
I also had to go back and mark all of the exported functions with @publicApi jsdoc tag.
PR Close #27008
2018-11-08 15:37:11 -08:00
e618032d53
feat(ivy): introduce getPlayers()
to global utils ( #27008 )
...
PR Close #27008
2018-11-08 15:37:11 -08:00
3567e81175
fix(ivy): restore missing match operation in View and Content Queries ( #26847 )
...
PR Close #26847
2018-11-07 16:29:19 -08:00
9e26216c40
fix(ivy): compiler should generate bindings to host attrs properly ( #26973 )
...
PR Close #26973
2018-11-07 11:09:31 -08:00
7d2a746090
build: remove ivy JIT mode ( #26863 )
...
PR Close #26863
2018-11-02 15:44:05 -07:00
c13f46c7c5
fix(ivy): enable packages/core/test/render3 test for AoT ( #26863 )
...
PR Close #26863
2018-11-02 15:44:05 -07:00
ea0a99610d
fix(ivy): init hooks should be called before host bindings ( #26802 )
...
PR Close #26802
2018-11-01 14:49:01 -07:00
3b9bc73db4
fix(ivy): host bindings after dirs without host bindings should work ( #26801 )
...
PR Close #26801
2018-11-01 14:18:57 -07:00
a2929dfd57
fix(ivy): dynamically created components should run init hooks ( #26864 )
...
PR Close #26864
2018-11-01 13:44:10 -07:00
911bfef04c
fix(ivy): bindings should be checked in components created dynamically by root component' ( #26864 )
...
PR Close #26864
2018-11-01 13:44:10 -07:00
ca1e538752
feat(ivy): setClassMetadata() for assigning decorator metadata ( #26860 )
...
This commit introduces the setClassMetadata() private function, which
adds metadata to a type in a way that can be accessed via Angular's
ReflectionCapabilities. Currently, it writes to static fields as if
the metadata being added was downleveled from decorators by tsickle.
The plan is for ngtsc to emit code which calls this function, passing
metadata on to the runtime for testing purposes. Calls to this function
would then be tree-shaken away for production bundles.
Testing strategy: proper operation of this function will be an integral
part of TestBed metadata overriding. Angular core tests will fail if this
is broken.
PR Close #26860
2018-10-31 19:52:36 -04:00
d042c4afe0
fix(core): Remove static dependency from @angular/core to @angular/compiler ( #26734 )
...
PR Close #26734
2018-10-31 14:15:06 -04:00
68b2211e64
fix(ivy): ensure falsy styling is not applied during creation mode ( #26793 )
...
PR Close #26793
2018-10-30 19:41:56 -04:00
ede65dbede
fix(ivy): allow root components to inject ViewContainerRef ( #26682 )
...
PR Close #26682
2018-10-29 18:47:14 -04:00
578e4c7642
fix(ivy): compile queries in JIT mode ( #26816 )
...
PR Close #26816
2018-10-29 18:46:44 -04:00
96770e5c6b
fix(ivy): optional dependencies should not throw with module injector ( #26763 )
...
PR Close #26763
2018-10-29 14:12:36 -04:00
1130e48541
fix(ivy): host injection flag should not throw for embedded views ( #26795 )
...
PR Close #26795
2018-10-29 14:12:11 -04:00
2a869271f6
fix(ivy): move HostListeners generation to factory function ( #26480 )
...
PR Close #26480
2018-10-29 14:02:22 -04:00
d52d82d744
fix(ivy): injecting optional TemplateRef on element should not throw ( #26664 )
...
PR Close #26664
2018-10-26 18:11:27 -04:00
d50d400231
build: fix formatting issue in host_binding_spec file
2018-10-26 14:33:04 -07:00
19fcfc3d00
fix(compiler): generate inputs with aliases properly ( #26774 )
...
PR Close #26774
2018-10-26 17:23:45 -04:00
2fd4c372d5
fix(ivy): resolve forward refs in providers ( #26766 )
...
PR Close #26766
2018-10-26 15:50:11 -04:00
f76ce84ae1
fix(ivy): host bindings should work on nodes with providers ( #26771 )
...
PR Close #26771
2018-10-26 15:49:30 -04:00
40bbfbf961
test(ivy): fix or disable failing ivy tests ( #26735 )
...
These tests were previously not running on CI so they have always been broken,
or got broken just recently :-(.
test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags
PR Close #26735
2018-10-26 14:48:05 -04:00
2c7386c961
feat(ivy): support injecting the injector ( #26699 )
...
PR Close #26699
2018-10-25 18:47:56 -04:00
b0476f308b
feat(ivy): support providers and viewProviders ( #25803 )
...
PR Close #25803
2018-10-25 12:58:40 -04:00
9dc52d9d04
feat(ivy): expose a series of debug console tools ( #26705 )
...
PR Close #26705
2018-10-24 20:30:51 -04:00
297dc2bc02
fix(ivy): ensure ngClass
works with [class] bindings ( #26559 )
...
PR Close #26559
2018-10-24 20:27:12 -04:00
ee0b857172
build: rename the ivy compile mode 'local' to 'aot' ( #26686 )
...
PR Close #26686
2018-10-23 14:14:49 -07:00
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