Commit Graph

2602 Commits

Author SHA1 Message Date
Wenlu Wang
c0d516c283 feat(types): extract VueConfiguration type for easy expansion (#7273) (#7274)
fix #7273
2017-12-19 09:34:35 -05:00
Evan You
01c07503bf revert: revert prop object validation
close #7279
2017-12-19 09:29:48 -05:00
Evan You
2e0f6d5d81 refactor: reuse v-for parsing logic 2017-12-19 09:26:47 -05:00
Evan You
1dd6b6f046 refactor: adjust weex branch coverage and build for merging into dev 2017-12-18 21:51:38 -05:00
Hanks
661bfe552e feat(weex): partially support lifecycles of virtual component (#7242)
Update the `_init` and `_update` logic to partially support lifecycles.
Add test cases for testing the lifecycle hooks and data update.
2017-12-18 20:58:53 -05:00
Hanks
d544d052a9 fix(weex): append as tree by default for recycle-list and cell-slot (#7216) 2017-12-18 20:57:43 -05:00
Hanks
b8d33ecd9a feat(weex): WIP implement virtual component (#7165) 2017-12-18 20:57:43 -05:00
Evan You
70b97ac2f4 feat(weex): recycle-list support stateful child component 2017-12-18 20:57:19 -05:00
Evan You
452a65c98a feat(weex): pass stateless component test case 2017-12-18 20:57:19 -05:00
Evan You
62e47c9eb4 feat(weex): WIP adjust component transform stage 2017-12-18 20:57:19 -05:00
Evan You
88f3889f19 feat(weex): WIP mark recycle list child component root 2017-12-18 20:57:19 -05:00
Evan You
b06d09f274 types: adjust weex flow types 2017-12-18 20:57:18 -05:00
Evan You
5c2ce0017f feat(weex): WIP fix flow + handle errors in recycle-list template render 2017-12-18 20:57:18 -05:00
Evan You
801f793625 feat(weex): WIP invoke recycle-list child component with backing instance 2017-12-18 20:57:18 -05:00
Evan You
c1743a9dd7 test(weex): use done.fail for reporting errors 2017-12-18 20:57:18 -05:00
Evan You
0ee81b24b5 fix(weex): update recycle-list v-for transform 2017-12-18 20:57:18 -05:00
Hanks
3b32652aa6 feat(weex): update weex utils (#7115)
Add flow type annotations. Add the "registerComponentHook" and the "updateComponentData" api.
2017-12-18 20:57:18 -05:00
Evan You
e5da1daeec test(weex): avoid v-else warning for recycle-list tests 2017-12-18 20:57:18 -05:00
Evan You
bb8e8f44a9 test(weex): avoid @binding key warnings 2017-12-18 20:57:18 -05:00
Evan You
813409593e refactor(weex): declare __WEEX__ in flow typings 2017-12-18 20:57:18 -05:00
Hanks
46c8016562 test(weex): add more test cases for recycle-list (#7104) 2017-12-18 20:56:41 -05:00
Hanks
0bf0cbef76 revert(weex): remove the "receiveTasks" api and support component hook (#7053) 2017-12-18 20:56:41 -05:00
Hanks
0c11aa8add feat(weex): generate "@render" function for weex recycle-list (#6987)
* feat($compiler): support to generate @render function for weex recycle-list

Compile the template twice with different options for weex platform if
the “recyclable” flag is passed. Generate both normal render function
and “@render” function for recycle-list.

Adjust function names and arguments in recycle-list compiler.

* test(weex): add test cases for <recycle-list>
2017-12-18 20:55:58 -05:00
Evan You
305ef28574 chore: update package-lock.json 2017-12-18 20:55:58 -05:00
Hanks
2cb8ea3fee feat(weex): support compiling v-on in the weex native directive (#6892)
* refactor(compiler): move postTransforms to after children are processed

* feat(weex): recycle-list support WIP

* refactor: fix types

* feat(weex): split text into separate module

* feat($compiler): supports compiling v-bind to the weex native directive in recycle-list

* feat(compile): supports compiling v-if to the weex native directive

* feat($compiler): supports compiling v-for to the weex native directive

* feat($compiler): compile weex native directives in preTransformNode

* feat($compiler): supports compiling v-else-if and v-else to the weex native directive

* feat($event): support binding parameters on event handler within weex recycle-list

* refactor: mark weex-specific block

* feat(wip): recycle list template inline expand

* build: add weex factory dev script

* feat($compiler): support to compile "v-on" into weex native directive

* feat($compiler): adjust handler params to fit the weex native renderer

+ Filter the non-expression params and the `$event`.
+ Use `$event` as the last argument of handler.
2017-12-18 20:55:58 -05:00
Evan You
ac999573ea feat(wip): recycle list template inline expand 2017-12-18 20:55:58 -05:00
Evan You
b3cb9d9dd2 refactor: mark weex-specific block 2017-12-18 20:55:58 -05:00
Hanks
acdc3c46e9 feat($event): support binding parameters on event handler within weex recycle-list 2017-12-18 20:55:57 -05:00
Hanks
2a1ce0d92c feat($compiler): supports compiling v-else-if and v-else to the weex native directive 2017-12-18 20:55:57 -05:00
Hanks
2d09ee3b8c feat($compiler): compile weex native directives in preTransformNode 2017-12-18 20:55:57 -05:00
Hanks
9bd1483803 feat($compiler): supports compiling v-for to the weex native directive 2017-12-18 20:55:57 -05:00
Hanks
7ad368ebb6 feat(compile): supports compiling v-if to the weex native directive 2017-12-18 20:55:57 -05:00
Hanks
8b893c13d6 feat($compiler): supports compiling v-bind to the weex native directive in recycle-list 2017-12-18 20:55:57 -05:00
Evan You
c104cc582d feat(weex): split text into separate module 2017-12-18 20:55:57 -05:00
Evan You
08660e876d refactor: fix types 2017-12-18 20:55:57 -05:00
Evan You
5254ee31c4 feat(weex): recycle-list support WIP 2017-12-18 20:55:57 -05:00
Evan You
248803146c refactor(compiler): move postTransforms to after children are processed 2017-12-18 20:55:57 -05:00
Evan You
996eb00a0a feat: auto cache inline prop literals to avoid child re-render 2017-12-18 12:55:02 -05:00
Evan You
f493715f39 chore: update sponsors/backers 2017-12-18 12:03:27 -05:00
toBeTheLight
8be29e2f19 refactor: return is better when inject has no value (#7258) 2017-12-16 15:47:44 -05:00
Evan You
3b7c05d0cc chore: update sponsor logo 2017-12-14 21:31:52 -05:00
Evan You
d3c30a2e60 chore: update sponsor logo 2017-12-14 14:13:27 -05:00
Evan You
9c01684762 build: release 2.5.11 2017-12-14 11:56:02 -05:00
Evan You
36efc76256 build: build 2.5.11 2017-12-14 11:56:00 -05:00
Evan You
3f0c628e2c fix: avoid unnecessary lowercase coersion in component name validation
close #7237
2017-12-14 11:52:37 -05:00
Evan You
90ed48224e refactor: move prop rule validation to util/options.js 2017-12-14 11:50:20 -05:00
Alexander Sokolov
d02bb37efb feat: warn misspelled keys on prop validation object (#7198) 2017-12-14 11:39:32 -05:00
Evan You
14f7015578 test: fix ssr test due to webpack asset emit order change 2017-12-12 19:16:17 -05:00
Evan You
531371b818 types: upgrade flow 2017-12-12 19:06:47 -05:00
Evan You
4e00688e4a build: update dev dependencies 2017-12-12 18:42:44 -05:00