Evan You
|
8da5b007b1
|
types: improve typing
|
2019-10-08 12:43:13 -04:00 |
|
Evan You
|
b68eb229c7
|
types: move scopeIds into PrefixMeta
|
2019-10-08 12:09:22 -04:00 |
|
Evan You
|
b4d375b0b8
|
fix(compiler): should not prefix reserved literals (close #142)
|
2019-10-08 11:25:38 -04:00 |
|
Evan You
|
16da9ae89f
|
fix(compiler): handle block nodes with custom directives + improve ast types
|
2019-10-08 10:50:10 -04:00 |
|
Evan You
|
57a5c61320
|
test: tests for hoistStatic
|
2019-10-07 17:12:22 -04:00 |
|
Evan You
|
3146e6b942
|
fix(compiler/v-if): avoid incorrect transform application on v-else/else-if branch children
|
2019-10-07 12:48:43 -04:00 |
|
Evan You
|
82bd9eb1db
|
refactor(compiler): refine codegen node types
|
2019-10-05 22:48:13 -04:00 |
|
Evan You
|
bfecf2cdce
|
refactor(compiler): use symbols for runtime helpers
|
2019-10-05 22:48:13 -04:00 |
|
Carlos Rodrigues
|
fbabae0c0a
|
chore: replace some type casts and fix variable and filename typos (#93)
|
2019-10-05 10:38:02 -04:00 |
|
Carlos Rodrigues
|
23ff681418
|
chore: fix comment typos (#94)
|
2019-10-05 10:35:19 -04:00 |
|
taiyop
|
a84a2b252d
|
chore: fix typo in vBind.ts (#91)
|
2019-10-05 10:26:32 -04:00 |
|
Reed Jones
|
ca70aff860
|
chore: fix docs typo in vOn.ts (#86)
|
2019-10-04 23:12:49 -04:00 |
|
Evan You
|
21666243e9
|
fix(compiler): props hoist should also work on elements w/ TEXT flag
|
2019-10-04 22:51:51 -04:00 |
|
Evan You
|
9c9ef609d8
|
fix: import patchFlags from @vue/shared in compiler instead
Otherwise this imports unnecessary stuff from the runtime.
|
2019-10-04 22:47:09 -04:00 |
|
Martin Rojo
|
ea4a352ee6
|
fix(typo): transformSlotOutlet name correction (#83)
|
2019-10-04 22:12:51 -04:00 |
|
Evan You
|
0873254c6c
|
workflow: improve template explorer
|
2019-10-04 17:43:20 -04:00 |
|
Evan You
|
277651ce89
|
fix(compiler): avoid hoisting components and directive calls
|
2019-10-04 14:34:26 -04:00 |
|
Evan You
|
b61d9652dd
|
chore: shorten option name
|
2019-10-04 09:03:00 -04:00 |
|
Evan You
|
6059fe69e8
|
fix(compiler): patchFlag analysis should factor in props returned by directive transforms
|
2019-10-04 08:37:10 -04:00 |
|
Evan You
|
095f5edf8d
|
feat(compiler): hoist static trees
|
2019-10-03 23:30:25 -04:00 |
|
Evan You
|
2e2b6924da
|
feat(compiler): v-on inline statement handling
|
2019-10-03 17:47:00 -04:00 |
|
Evan You
|
3354837ce1
|
refactor: move transformStyle to compiler-dom
|
2019-10-03 16:55:14 -04:00 |
|
Evan You
|
c2fc7e3347
|
feat(compiler): force dynamicSlots flag when inside v-for or v-slot
|
2019-10-03 16:27:46 -04:00 |
|
Evan You
|
4dea23f79e
|
fix(compiler): exclude BAIL flag in annotations
|
2019-10-03 15:17:45 -04:00 |
|
Evan You
|
05db2a9c6c
|
wip(compiler): adjust renderSlot() signature
|
2019-10-03 14:29:12 -04:00 |
|
Evan You
|
306c22efe1
|
feat(compiler): mark compiler-generated slots for runtime
|
2019-10-03 14:08:14 -04:00 |
|
Evan You
|
aa9245d55c
|
feat(compiler): render <slot/> as block fragments
|
2019-10-03 12:03:14 -04:00 |
|
Evan You
|
fc47029ed3
|
feat(compiler): support v-for on named slots
|
2019-10-02 23:10:41 -04:00 |
|
Evan You
|
f401ac6b88
|
refactor: improve vSlot.ts readability
|
2019-10-02 18:03:42 -04:00 |
|
Evan You
|
3d14265102
|
feat(compiler): handle conditional v-slot
|
2019-10-02 17:18:11 -04:00 |
|
Evan You
|
24bd6c27e0
|
feat(compiler): block optimization codegen for RootNode
|
2019-10-02 13:11:07 -04:00 |
|
Evan You
|
bec01c93bd
|
fix(compiler): v-for fragments should be blocks
|
2019-10-02 10:47:01 -04:00 |
|
Evan You
|
191db785bd
|
refactor: use global whitelist for render proxy has check
|
2019-10-02 10:37:06 -04:00 |
|
Evan You
|
fe36555d9e
|
feat(compiler): generate TEXT patchFlag
|
2019-10-02 00:19:23 -04:00 |
|
Evan You
|
3a95a2f148
|
fix(compiler): generate correct fragment children when it contains single text node or slot outlet
|
2019-10-01 23:53:52 -04:00 |
|
Evan You
|
a477594d65
|
feat(compiler): v-for codegen w/ correct blocks optimization + key flags
|
2019-10-01 23:19:48 -04:00 |
|
Evan You
|
07955e6c96
|
test(compiler): tests for v-for codegen w/ block optimization
|
2019-10-01 21:00:55 -04:00 |
|
Evan You
|
4fc963bc5a
|
feat(compiler): annotate patchFlags in generated code
|
2019-10-01 17:53:57 -04:00 |
|
Evan You
|
e5bc17967d
|
wip(compiler): codegen node w/ block optimization for v-for
|
2019-10-01 16:48:20 -04:00 |
|
Evan You
|
ed111cd37b
|
test(compiler): tests for vIf codegen w/ blocks optimization
|
2019-10-01 15:05:08 -04:00 |
|
Evan You
|
5de744d4e1
|
wip(compiler): generate blocks for v-if
|
2019-10-01 12:25:29 -04:00 |
|
Evan You
|
e31fb3c172
|
wip: Sequence & Conditional expressions for AST
|
2019-10-01 12:25:29 -04:00 |
|
Evan You
|
d67418002f
|
feat(compiler): generate patchFlags for runtime
|
2019-09-30 21:17:12 -04:00 |
|
Evan You
|
e5e40e1e38
|
feat(compiler): optimize text by merging adjacent nodes
|
2019-09-30 14:52:10 -04:00 |
|
Evan You
|
7ee07447c5
|
wip: drop class opt for now + move lazy requires to utils
|
2019-09-30 14:52:10 -04:00 |
|
Evan You
|
389a07835c
|
feat(compiler): handle complex destructure expressions in v-for
|
2019-09-28 16:02:08 -04:00 |
|
Evan You
|
1c410205de
|
test(compiler): test v-slot transform
|
2019-09-28 14:05:10 -04:00 |
|
Evan You
|
a792d697a3
|
refactor: simplify slot extraneous child check
|
2019-09-28 01:35:49 -04:00 |
|
Evan You
|
6461b3853e
|
refactor(compiler): split slot / slot outlet / slot scope handling into separate transforms
|
2019-09-28 00:19:24 -04:00 |
|
Evan You
|
6377af483b
|
fix(compiler): improve auto prefixing cases
|
2019-09-27 23:20:26 -04:00 |
|