Doctor Wu
|
38e167ceb8
|
feat: implement inheritAttrs (#153)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
|
2024-03-19 00:24:58 +08:00 |
Kevin Deng 三咲智子
|
463b47e83d
|
feat: create component & component lifecycle/props/attrs (#151)
|
2024-03-16 18:54:36 +08:00 |
Jevon
|
9412c20531
|
feat: support v-on="obj" (#149)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
|
2024-03-14 14:15:45 +08:00 |
Rizumu Ayaka
|
c79629f0ef
|
fix(compiler-vapor): member expression with assignment (#146)
|
2024-03-12 15:46:30 +08:00 |
三咲智子 Kevin Deng
|
280b8cbdab
|
refactor: remove getCurrentEffect, add effect flag for on
Use the effect flag to distinguish whether it is in the effect of a v-for block.
|
2024-03-07 17:41:07 +08:00 |
三咲智子 Kevin Deng
|
03d1d0a956
|
refactor: delegate set modelValue event
|
2024-03-06 00:48:34 +08:00 |
三咲智子 Kevin Deng
|
4af8e87953
|
feat: support more source types for v-for
closes #139
Co-authored-by: wangjie36 <826036140@qq.com>
|
2024-03-01 06:37:53 +08:00 |
三咲智子 Kevin Deng
|
2c15171dcf
|
feat: add next helper for sibilings
|
2024-02-26 22:37:08 +08:00 |
三咲智子 Kevin Deng
|
2075042956
|
refactor: remove append helper
replace `append` with `insertBefore`
|
2024-02-26 21:38:04 +08:00 |
三咲智子 Kevin Deng
|
e5c1f8d1a2
|
refactor: split delegate & register event
|
2024-02-26 15:18:16 +08:00 |
三咲智子 Kevin Deng
|
fb3e8ee8c0
|
refactor: merge delegate & modifier options of event
|
2024-02-25 15:11:25 +08:00 |
三咲智子 Kevin Deng
|
669fec8dad
|
feat: delegate event for vapor
closes #136
|
2024-02-25 02:07:20 +08:00 |
三咲智子 Kevin Deng
|
e91dde5d22
|
refactor(compiler-vapor): don't reference root element
|
2024-02-23 14:03:21 +08:00 |
三咲智子 Kevin Deng
|
88123e56d0
|
fix(compiler-vapor): register event for v-model
|
2024-02-23 13:31:32 +08:00 |
三咲智子 Kevin Deng
|
d7bd6c99da
|
refactor(compiler-vapor): generate fragment for only one element
closes #133
|
2024-02-23 00:52:02 +08:00 |
三咲智子 Kevin Deng
|
004edd3bac
|
refactor(compiler-vapor): move `templateIndex` to dynamic
|
2024-02-22 11:46:40 +08:00 |
三咲智子 Kevin Deng
|
0e0ee5b85e
|
refactor(compiler-vapor): split block & root ir node
|
2024-02-22 11:30:29 +08:00 |
三咲智子 Kevin Deng
|
fa0ca8a5af
|
refactor(compiler-vapor): required returns
|
2024-02-22 00:18:19 +08:00 |
三咲智子 Kevin Deng
|
66c0e82d4b
|
refactor(compiler-vapor): remove template ir node
|
2024-02-21 17:43:52 +08:00 |
FireBushtree
|
ba29b4c89a
|
test(compiler-vapor): v-model (#132)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
|
2024-02-21 17:08:20 +08:00 |
FireBushtree
|
1710bfdd21
|
test(compiler-vapor): v-show directive (#130)
* test(compiler-vapor): v-show
* fix(compiler-vapor): use DOMErrorCodes in vShow test
|
2024-02-19 16:52:21 +08:00 |
三咲智子 Kevin Deng
|
66cea4b325
|
revert: "refactor: remove update function from compiler"
Bad for performance, so revert it temporarily
This reverts commit be65b98a33 .
|
2024-02-12 22:01:42 +08:00 |
三咲智子 Kevin Deng
|
985d4c7422
|
refactor: return only one node from children helper
|
2024-02-08 23:03:42 +08:00 |
三咲智子 Kevin Deng
|
c70661c8a3
|
refactor(compiler-vapor): don't convert event name
|
2024-02-08 21:56:57 +08:00 |
三咲智子 Kevin Deng
|
126796edb9
|
fix(compiler-vapor): add newline after effect body
|
2024-02-08 21:56:30 +08:00 |
三咲智子 Kevin Deng
|
6e80e34e6b
|
perf(compiler-vapor): register as operations if no dynamic expressions
|
2024-02-08 20:50:34 +08:00 |
三咲智子 Kevin Deng
|
35b78920c4
|
feat(compiler-vapor): add getKey function for v-for
|
2024-02-08 20:31:56 +08:00 |
三咲智子 Kevin Deng
|
8fb01504da
|
refactor(compiler-vapor): remove ir expression
|
2024-02-08 20:30:51 +08:00 |
三咲智子 Kevin Deng
|
6001fe8976
|
refactor(compiler-vapor): simplify generate prop modifier
|
2024-02-08 03:49:52 +08:00 |
三咲智子 Kevin Deng
|
ce570751c6
|
refactor(compiler-vapor): remove vnode-related, adjust key override
|
2024-02-08 03:49:06 +08:00 |
三咲智子 Kevin Deng
|
3957dabb8c
|
fix(compiler-vapor): handle same-name shorthand edge case for in-DOM templates
fix https://github.com/vuejs/core/issues/10280
|
2024-02-08 03:24:50 +08:00 |
三咲智子 Kevin Deng
|
b7e6e1eceb
|
fix(compiler-vapor): hoist template with inline option
|
2024-02-07 17:56:32 +08:00 |
三咲智子 Kevin Deng
|
99da2e5abe
|
refactor(compiler-vapor): remove runtime fragment
returns array directly
|
2024-02-07 17:29:04 +08:00 |
三咲智子 Kevin Deng
|
68b0caf495
|
fix(compiler-vapor): convert to display string for each text
|
2024-02-07 04:40:49 +08:00 |
三咲智子 Kevin Deng
|
14813cec1e
|
refactor(compiler-vapor): combine interpolation & text
|
2024-02-07 04:29:53 +08:00 |
三咲智子 Kevin Deng
|
38865c7ca1
|
refactor: simplify event handler
|
2024-02-07 01:37:07 +08:00 |
三咲智子 Kevin Deng
|
9ffd4b6c75
|
refactor(compiler-vapor): simplify renderEffect with a single statement
|
2024-02-06 20:46:12 +08:00 |
三咲智子 Kevin Deng
|
d10a1a3c08
|
refactor(compiler-vapor): hoist template generator
|
2024-02-06 20:34:06 +08:00 |
ygj6
|
c4a567b93d
|
test(compiler-vapor): v-bind="obj" (#119)
|
2024-02-06 20:26:55 +08:00 |
Rizumu Ayaka
|
ba3ca6a304
|
feat(compiler-vapor): props merging (#118)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
|
2024-02-06 02:35:52 +08:00 |
Rizumu Ayaka
|
75b0937d31
|
feat(compiler-vapor): complex identifier rewriting with vOn (#113)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
|
2024-02-05 22:37:09 +08:00 |
三咲智子 Kevin Deng
|
2229d3ce20
|
fix(compiler-vapor): treat attribute as dynamic if has dynamic key prop
|
2024-02-05 03:28:32 +08:00 |
ygj6
|
d573a3d2f2
|
feat: support v-bind="{}" (#106)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
|
2024-02-05 02:44:30 +08:00 |
三咲智子 Kevin Deng
|
be65b98a33
|
refactor: remove update function from compiler
|
2024-02-03 05:02:07 +08:00 |
三咲智子 Kevin Deng
|
e7e3b1c73e
|
revert: "refactor: id rewrite of vapor v-for"
This reverts commit 31f497b1d1 .
|
2024-02-01 19:12:29 +08:00 |
三咲智子 Kevin Deng
|
31f497b1d1
|
refactor: id rewrite of vapor v-for
|
2024-02-01 17:42:46 +08:00 |
三咲智子 Kevin Deng
|
21bec835f0
|
refactor(compiler-vapor): extract imports & unify context name
|
2024-01-31 18:00:16 +08:00 |
三咲智子 Kevin Deng
|
681dc5d954
|
feat(compiler-vapor): v-for (#101)
|
2024-01-31 17:00:19 +08:00 |
三咲智子 Kevin Deng
|
f7642ab77c
|
refactor(compiler-vapor): remove createTextNode argument
|
2024-01-31 13:16:03 +08:00 |
三咲智子 Kevin Deng
|
38a06394f7
|
refactor(compiler-vapor): rename dynamicFlags to flags
|
2024-01-30 22:52:42 +08:00 |