Kara Erickson
910a16a1ff
refactor(ivy): remove directive references from template ( #22986 )
...
PR Close #22986
2018-03-26 22:33:23 -04:00
Kara Erickson
49396ca2ae
refactor(ivy): move directives into separate array ( #22918 )
...
PR Close #22918
2018-03-22 21:23:02 -04:00
Kara Erickson
e44f69c387
refactor(ivy): move dir flags to tnode ( #22901 )
...
PR Close #22901
2018-03-22 19:19:40 -04:00
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Victor Berchet
5a14e2238f
refactor(ivy): split the memory
instruction into store
and load
( #22268 )
...
PR Close #22268
2018-02-18 18:48:41 -08:00
Victor Berchet
a1d86daa71
refactor(ivy): assertion ( #22189 )
...
Encourage the use of message to explain the assertion
PR Close #22189
2018-02-15 09:53:05 -08:00
Matias Niemelä
f628797d91
Revert "refactor(ivy): assertion ( #22189 )"
...
This reverts commit 0b683123d280f45e4fb904c1552292f50de6bfc7.
2018-02-14 22:56:11 -05:00
Victor Berchet
0b683123d2
refactor(ivy): assertion ( #22189 )
...
Encourage the use of message to explain the assertion
PR Close #22189
2018-02-14 18:42:04 -05:00
Kara Erickson
81306c1f61
feat(ivy): add support for content query ( #21912 )
...
PR Close #21912
2018-01-31 10:19:15 -08:00
Pawel Kozlowski
407b5cf408
refactor(ivy): re-introduce QueryPredicate with more focused role ( #21857 ) ( #21857 )
...
PR Close #21857
PR Close #21857
2018-01-30 11:52:35 -08:00
Pawel Kozlowski
4c1743cce3
refactor(ivy): rename QueryPredicate to LQuery ( #21857 )
...
PR Close #21857
2018-01-30 11:52:35 -08:00
Pawel Kozlowski
7305e8b45e
refactor(ivy): rename LQuery to LQueries and associated renames ( #21857 )
...
PR Close #21857
2018-01-30 11:52:32 -08:00
Pawel Kozlowski
285dd6be34
feat(ivy): observable QueryList ( #21859 )
...
PR Close #21859
2018-01-30 11:43:38 -08:00
Pawel Kozlowski
6245637e81
fix(ivy): correct query read logic after merges ( #21749 )
...
PR Close #21749
2018-01-27 10:49:09 -08:00
Pawel Kozlowski
f9381e42de
feat(ivy): implement QueryList array-related methods ( #21778 )
...
PR Close #21778
2018-01-25 22:19:43 -08:00
Pawel Kozlowski
5269ce287e
feat(ivy): support deep queries through view boundaries ( #21700 )
...
PR Close #21700
2018-01-24 22:18:38 -08:00
Kara Erickson
98174758ad
refactor(ivy): add type and hooks to directive def ( #21650 )
...
PR Close #21650
2018-01-24 22:14:32 -08:00
Alex Rickabaugh
6472661ae8
refactor(ivy): avoid circular dep with query/di/instructions ( #21430 )
...
To prepare for pending ngForOf work, the dep from instructions -> query
should be broken. This will enable a dep from di -> instructions while
avoiding a di -> instructions -> query -> di cycle.
Analyzing this cycle also uncovered another problem: the implementation
of query() breaks tree-shaking through a hard dependency on DI concepts
of TemplateRef, ElementRef, ViewContainerRef. This is fundamentally due
to how query() can query for those values without any configuration.
Instead, this fix introduces the concept by employing the strategy
pattern, and redefining QueryReadType to pass a function which will
return one of the above values. This strategy is then used for 'read'
instead of an enum in cases where special values should be read from
the DI system.
PR Close #21430
2018-01-23 12:54:39 -08:00
Kara Erickson
efe545a878
refactor(ivy): add TView and TContainer ( #21463 )
...
PR Close #21463
2018-01-16 10:51:55 -08:00
Alex Eagle
6af3672185
fix(ivy): Add workaround for AJD in google3 ( #21488 )
...
PR Close #21488
2018-01-11 13:57:55 -08:00
Miško Hevery
5eaaac35a8
refactor(ivy): remove type
from DirectiveDef
( #21374 )
...
This change makes the code cleaner for the user. It does mean
a little bit more work for us since we have to patch the `type` back
into the `DirectiveDef`. However since the patching happens only once
on startup it should not be significant.
PR Close #21374
2018-01-11 07:02:18 -08:00
Kara Erickson
6be9c0466c
refactor(core): split up interface files in render3 ( #21433 )
...
PR Close #21433
2018-01-10 16:13:44 -08:00
Kara Erickson
fc3e7e0381
refactor(core): create consistent naming scheme across classes ( #21403 )
...
PR Close #21403
2018-01-10 11:15:48 -08:00
Pawel Kozlowski
3750ea9dff
feat(core): final adjustements to ngIvy read option for queries ( #21187 )
...
PR Close #21187
2017-12-27 16:46:56 -06:00
Pawel Kozlowski
afd89ed8d9
fix(core): support read option when querying for types ( #21187 )
...
PR Close #21187
2017-12-27 16:46:56 -06:00
Pawel Kozlowski
a62371c0eb
feat(core): more read options for ngIvy queries ( #21187 )
...
PR Close #21187
2017-12-27 16:46:56 -06:00
Miško Hevery
5a7bf36723
build: fix circular dep between interface and l_node by merging ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Pawel Kozlowski
4f05d022c1
feat(core): support 'read' option for ngIvy queries ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
5df343169e
docs(core): add missing docs to component and fix formatting ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Pawel Kozlowski
bbdea96a66
refactor: remove import circular dependencies ( #20855 )
...
This PR fixes a circular dependency among those files in Renderer3:
`query` -> `di` -> `instructions` -> `query` -> ...
Looking at the above dependencies the `di` -> `instructions` import is
a problematic one. Previously `di` had an import from `instructions`
since we can known about "current node" only in `instructions`
(and we need "current node" to create node injector instances).
This commit refactors the code in the way that functions in the
`di` file don't depend on any info stored module-global variables
in `instructions`.
PR Close #20855
2017-12-21 21:40:58 -08:00
Marc Laval
d1de587ce0
feat(core): add renderer factory in render3 ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Pawel Kozlowski
147aec43bd
feat: support queries for elements with local names ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
19eeba2281
refactor(core): rename instructions for consistency ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Miško Hevery
83b27bac17
style: fix formatting errors ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
b462f49ce7
refactor(core): renamed and split out interfaces ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
8fdb1e09c1
refactor(core): store directive defs in static data ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Miško Hevery
93b00cceb6
refactor(core): store locals in main array in rederer3 ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Miško Hevery
0fa818b318
feat(core): Moving Renderer3 into @angular/core ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00