Kara Erickson
6e5fb99304
refactor(ivy): flatten css selectors ( #23074 )
...
PR Close #23074
2018-03-30 15:27:50 -07:00
Kara Erickson
e2e80ec61c
refactor(ivy): remove pipe references from the template ( #23032 )
...
PR Close #23032
2018-03-28 09:17:27 -07:00
Kara Erickson
5a86f7144f
fix(ivy): store local variables in data instead of calling loadDirective ( #23029 )
...
PR Close #23029
2018-03-28 09:17:05 -07:00
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
Miško Hevery
c84817970e
fix(ivy): remove custom tsconfig from render3 ( #22913 )
...
PR Close #22913
2018-03-22 18:02:48 -04:00
Kara Erickson
4f21d373b7
refactor(ivy): move hostBindings calls out of template ( #22833 )
...
PR Close #22833
2018-03-18 11:41:39 -07:00
Alex Rickabaugh
6ef9f2278f
feat(ivy): @NgModule -> ngInjectorDef compilation ( #22458 )
...
This adds compilation of @NgModule providers and imports into
ngInjectorDef statements in generated code. All @NgModule annotations
will be compiled and the @NgModule decorators removed from the
resultant js output.
All @Injectables will also be compiled in Ivy mode, and the decorator
removed.
PR Close #22458
2018-03-16 12:57:11 -07:00
Miško Hevery
112431db69
test(ivy): add canonical compiler spec for class/style ( #22719 )
...
Adds a stub for `elementStyle` and `elementClass` instruction
with a canonical spec for the compiler. The spec shows the the
compiler should be using `elementStyle` and `elementClass` instruction
in place of `[class]` and `[style]` bindings respectively.
PR Close #22719
2018-03-14 12:59:52 -07:00
Miško Hevery
a0a01f1e1e
refactor(ivy): rename class/style to make space for new instruction ( #22719 )
...
Rename:
- `elementClass` (short: `k`) => `elementClassNamed` (short: `kn`)
- `elementStyle` (short: `s`) => `elementStyleNamed` (short: `sn`)
Currently `[class.name]` is `elementClass(0, ‘name’, value)`. We would
like to introduce new binding `[class]` which needs a new instruction
ideally `elementClass(0, value)`. Doing the rename creates space
to create such an instruction in subsequent change.
PR Close #22719
2018-03-14 12:59:52 -07:00
Kara Erickson
b1365d1fa8
refactor(ivy): remove directiveRefresh instruction ( #22745 )
...
PR Close #22745
2018-03-13 23:29:21 -07:00
Kara Erickson
bd9d4df735
refactor(ivy): remove inputsPropertyName ( #22716 )
...
Closes #22591
PR Close #22716
2018-03-13 13:26:15 -07:00
Alex Rickabaugh
db56836425
feat: tree-shakeable providers API updates ( #22655 )
...
Rename @Injectable({scope -> providedIn}).
Instead of {providedIn: APP_ROOT_SCOPE}, accept {providedIn: 'root'}.
Also, {providedIn: null} implies the injectable should not be added
to any scope.
PR Close #22655
2018-03-13 09:28:05 -07:00
Marc Laval
f95730b8e2
fix(ivy): elements properties should not be stringified ( #22683 )
...
PR Close #22683
2018-03-12 13:16:05 -07:00
Misko Hevery
2fee5cc095
test(ivy): add injection canonical specs ( #22595 )
...
PR Close #22595
2018-03-08 12:09:39 -08:00
Marc Laval
f64ee15487
feat(ivy): implement pipes ( #22254 )
...
PR Close #22254
2018-03-07 20:58:48 -08:00
Marc Laval
5d4fa7f0c8
test(ivy): add canonical examples of bindings on elements ( #22403 )
...
PR Close #22403
2018-03-07 20:55:49 -08:00
Miško Hevery
6d1367d297
feat(ivy): provide sanitization methods which can be tree shaken ( #22540 )
...
By providing a top level sanitization methods (rather than service) the
compiler can generate calls into the methods only when needed. This makes
the methods tree shakable.
PR Close #22540
2018-03-07 18:24:07 -08:00
Miško Hevery
363dfa5437
test(ivy): Back patch example ( #22235 )
...
PR Close #22235
2018-03-06 15:02:02 -08:00
Pawel Kozlowski
2c75acc5b3
feat(ivy): add support for the ngProjectAs attribute ( #22498 )
...
PR Close #22498
2018-03-06 06:55:51 -08:00
Kara Erickson
2c2b62f45f
fix(ivy): preventDefault when listener returns false ( #22529 )
...
Closes #22495
PR Close #22529
2018-03-05 12:15:17 -08:00
Misko Hevery
51ca643c27
test(ivy): add injectAttribute spec ( #22510 )
...
PR Close #22510
2018-03-05 10:10:32 -08:00
Misko Hevery
69d359bb51
refactor(ivy): break compiler canonical test into smaller files ( #22510 )
...
PR Close #22510
2018-03-05 10:10:32 -08:00
Kara Erickson
9eaf1bbe67
feat(ivy): support injecting ChangeDetectorRef ( #22469 )
...
PR Close #22469
2018-02-28 13:35:48 -08:00
Kara Erickson
8c358844dd
feat(ivy): support OnPush change detection ( #22417 )
...
PR Close #22417
2018-02-28 10:42:11 -08:00
Marc Laval
7effb0016c
fix(ivy): ngOnChanges to receive SimpleChanges with non minified property names as keys ( #22352 )
...
PR Close #22352
2018-02-22 17:48:52 -08:00
Victor Berchet
a8b5465e24
fix(ivy): update master with renamings ( #22268 )
...
PR Close #22268
2018-02-18 18:48:41 -08: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
c30d329faa
fix(ivy): fix merge errors (master is broken) ( #22291 )
...
PR Close #22291
2018-02-18 15:03:39 -08:00
Kara Erickson
49082d7ab2
feat(ivy): support host attributes ( #22213 )
...
PR Close #22213
2018-02-18 13:22:38 -08:00
Kara Erickson
6b627f67db
test(ivy): add missing host listener and host attribute binding tests ( #22213 )
...
PR Close #22213
2018-02-18 13:22:38 -08:00
Kara Erickson
5c320b4c2a
test(ivy): add missing host binding and query tests ( #22213 )
...
PR Close #22213
2018-02-18 13:22:34 -08:00
Misko Hevery
ac2b04a5ab
test(ivy): Add small_app spec for sprint #3 ( #22018 )
...
PR Close #22018
2018-02-18 13:18:54 -08:00
Misko Hevery
a63b764b54
test(ivy): move compiler canonical specs into a single directory ( #22018 )
...
PR Close #22018
2018-02-18 13:18:54 -08:00