Evan You
01c07503bf
revert: revert prop object validation
close #7279
7 years ago
Evan You
2e0f6d5d81
refactor: reuse v-for parsing logic
7 years ago
Evan You
1dd6b6f046
refactor: adjust weex branch coverage and build for merging into dev
7 years ago
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.
7 years ago
Hanks
d544d052a9
fix(weex): append as tree by default for recycle-list and cell-slot ( #7216 )
7 years ago
Hanks
b8d33ecd9a
feat(weex): WIP implement virtual component ( #7165 )
7 years ago
Evan You
70b97ac2f4
feat(weex): recycle-list support stateful child component
7 years ago
Evan You
452a65c98a
feat(weex): pass stateless component test case
7 years ago
Evan You
62e47c9eb4
feat(weex): WIP adjust component transform stage
7 years ago
Evan You
88f3889f19
feat(weex): WIP mark recycle list child component root
7 years ago
Evan You
b06d09f274
types: adjust weex flow types
7 years ago
Evan You
5c2ce0017f
feat(weex): WIP fix flow + handle errors in recycle-list template render
7 years ago
Evan You
801f793625
feat(weex): WIP invoke recycle-list child component with backing instance
7 years ago
Evan You
c1743a9dd7
test(weex): use done.fail for reporting errors
7 years ago
Evan You
0ee81b24b5
fix(weex): update recycle-list v-for transform
7 years ago
Hanks
3b32652aa6
feat(weex): update weex utils ( #7115 )
Add flow type annotations. Add the "registerComponentHook" and the "updateComponentData" api.
7 years ago
Evan You
e5da1daeec
test(weex): avoid v-else warning for recycle-list tests
7 years ago
Evan You
bb8e8f44a9
test(weex): avoid @binding key warnings
7 years ago
Evan You
813409593e
refactor(weex): declare __WEEX__ in flow typings
7 years ago
Hanks
46c8016562
test(weex): add more test cases for recycle-list ( #7104 )
7 years ago
Hanks
0bf0cbef76
revert(weex): remove the "receiveTasks" api and support component hook ( #7053 )
7 years ago
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>
7 years ago
Evan You
305ef28574
chore: update package-lock.json
7 years ago
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.
7 years ago
Evan You
ac999573ea
feat(wip): recycle list template inline expand
7 years ago
Evan You
b3cb9d9dd2
refactor: mark weex-specific block
7 years ago
Hanks
acdc3c46e9
feat($event): support binding parameters on event handler within weex recycle-list
7 years ago
Hanks
2a1ce0d92c
feat($compiler): supports compiling v-else-if and v-else to the weex native directive
7 years ago
Hanks
2d09ee3b8c
feat($compiler): compile weex native directives in preTransformNode
7 years ago
Hanks
9bd1483803
feat($compiler): supports compiling v-for to the weex native directive
7 years ago
Hanks
7ad368ebb6
feat(compile): supports compiling v-if to the weex native directive
7 years ago
Hanks
8b893c13d6
feat($compiler): supports compiling v-bind to the weex native directive in recycle-list
7 years ago
Evan You
c104cc582d
feat(weex): split text into separate module
7 years ago
Evan You
08660e876d
refactor: fix types
7 years ago
Evan You
5254ee31c4
feat(weex): recycle-list support WIP
7 years ago
Evan You
248803146c
refactor(compiler): move postTransforms to after children are processed
7 years ago
Evan You
996eb00a0a
feat: auto cache inline prop literals to avoid child re-render
7 years ago
Evan You
f493715f39
chore: update sponsors/backers
7 years ago
toBeTheLight
8be29e2f19
refactor: return is better when inject has no value ( #7258 )
7 years ago
Evan You
3b7c05d0cc
chore: update sponsor logo
7 years ago
Evan You
d3c30a2e60
chore: update sponsor logo
7 years ago
Evan You
9c01684762
build: release 2.5.11
7 years ago
Evan You
36efc76256
build: build 2.5.11
7 years ago
Evan You
3f0c628e2c
fix: avoid unnecessary lowercase coersion in component name validation
close #7237
7 years ago
Evan You
90ed48224e
refactor: move prop rule validation to util/options.js
7 years ago
Alexander Sokolov
d02bb37efb
feat: warn misspelled keys on prop validation object ( #7198 )
7 years ago
Evan You
14f7015578
test: fix ssr test due to webpack asset emit order change
7 years ago
Evan You
531371b818
types: upgrade flow
7 years ago
Evan You
4e00688e4a
build: update dev dependencies
7 years ago
Evan You
a5924a5336
build: release 2.5.10
7 years ago