Commit Graph

6038 Commits

Author SHA1 Message Date
renovate[bot] dbc4677161
chore(deps): update build (#10271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:37:25 +08:00
renovate[bot] 3d4e8e9278
chore(deps): update dependency puppeteer to ~21.11.0 (#10272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:37:07 +08:00
三咲智子 Kevin Deng 53eee72c3a
fix(runtime-core): avoid inlining isShallow (#10238) 2024-02-05 11:36:17 +08:00
三咲智子 Kevin Deng 718fc86f45
chore: remove missing reactivity transform file (#10255)
prev: https://github.com/vuejs/core/pull/9321
2024-02-05 11:35:29 +08:00
renovate[bot] 336bb65820
fix(deps): update compiler (#10269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:34:34 +08:00
renovate[bot] b0a669c1af
chore(deps): update all non-major dependencies (#10268)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:34:23 +08:00
ubugeeei e9e7fe414b
feat(runtime-vapor): component props validator (#114) 2024-02-05 03:29:59 +08:00
三咲智子 Kevin Deng 95782883b3
fix(runtime-vapor): special check for setDOMProp 2024-02-05 03:28:32 +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
三咲智子 Kevin Deng 6d098b6871
feat(compiler-vapor): add source mapping for object key 2024-02-05 03:03:23 +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 920b36490e
test(runtime-vapor): pass raw props 2024-02-04 22:51:08 +08:00
三咲智子 Kevin Deng ed954bcd33
feat(runtime-vapor): support v-model w/ select tag 2024-02-04 22:49:59 +08:00
ubugeeei cde91e4fb5
feat(runtime-vapor): component emits (#103)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-04 21:18:57 +08:00
ubugeeei ea5f7ec076
test(runtime-vapor): component props (#99)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-04 20:46:08 +08:00
三咲智子 Kevin Deng 8dec243dc1
fix(reactivity): keep previous effect scope 2024-02-03 06:15:51 +08:00
三咲智子 Kevin Deng be65b98a33
refactor: remove update function from compiler 2024-02-03 05:02:07 +08:00
三咲智子 Kevin Deng 5630a583c4
chore: update readme 2024-02-03 04:40:50 +08:00
三咲智子 Kevin Deng 5f2907b071
chore(template-explorer): update title 2024-02-03 04:27:16 +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
Rizumu Ayaka 757af933dc
test(runtime-vapor): `dom/patchProp.ts` (#102)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-01 14:35:52 +08:00
三咲智子 Kevin Deng bbf5e1dc0b
chore: update todo 2024-01-31 18:59:00 +08:00
三咲智子 Kevin Deng 261b7d40a4
feat(runtime-vapor): add defineComponent 2024-01-31 18:08:07 +08:00
三咲智子 Kevin Deng a972894721
refactor(sfc-playground): enable vapor by default 2024-01-31 18:04:28 +08:00
三咲智子 Kevin Deng 21bec835f0
refactor(compiler-vapor): extract imports & unify context name 2024-01-31 18:00:16 +08:00
三咲智子 Kevin Deng 4062c6805a
refactor(compiler-vapor): remove loc in IR 2024-01-31 17:37:54 +08:00
三咲智子 Kevin Deng 2bc107a7a7
refactor(compiler-vapor): missing check in genOperation 2024-01-31 17:32:01 +08:00
三咲智子 Kevin Deng 3817bbf134
refactor(compiler-vapor): remove source in codegen context 2024-01-31 17:28:19 +08:00
三咲智子 Kevin Deng 46e83e9681
refactor(compiler-vapor): symbol for newline (#104) 2024-01-31 17:26:07 +08:00
三咲智子 Kevin Deng c88c6d12aa
Merge remote-tracking branch 'upstream/main' 2024-01-31 17:01:56 +08:00
三咲智子 Kevin Deng 681dc5d954
feat(compiler-vapor): v-for (#101) 2024-01-31 17:00:19 +08:00
三咲智子 Kevin Deng 7b036fd4c0
fix(compiler-vapor): source map position 2024-01-31 15:43:37 +08:00
三咲智子 Kevin Deng f7642ab77c
refactor(compiler-vapor): remove createTextNode argument 2024-01-31 13:16:03 +08:00
三咲智子 Kevin Deng ccfadc1fb4
refactor(compiler-vapor): re-organize 2024-01-30 23:02:16 +08:00
三咲智子 Kevin Deng 38a06394f7
refactor(compiler-vapor): rename dynamicFlags to flags 2024-01-30 22:52:42 +08:00
三咲智子 Kevin Deng b8806f0954
refactor(compiler-vapor): class-based CodegenContext 2024-01-30 22:46:56 +08:00
三咲智子 Kevin Deng e02725665d
fix(compiler-vapor): import helper with type check 2024-01-30 22:21:59 +08:00
三咲智子 Kevin Deng 7f8a94b48e
refactor(compiler-vapor): fast path for string 2024-01-30 22:17:34 +08:00
三咲智子 Kevin Deng c0b7515369
refactor(compiler-vapor): CodeFragment for codegen 2024-01-30 22:08:28 +08:00
三咲智子 Kevin Deng d942be14f2
refactor(compiler-vapor): simplify codegen context 2024-01-30 19:35:29 +08:00
三咲智子 Kevin Deng d7ab873f1e
refactor(compiler-vapor): remove unnecessary DynamicFlag.INSERT 2024-01-30 06:12:01 +08:00
三咲智子 Kevin Deng 74f7e56fb8
refactor(runtime-vapor): throw errors when node is not found 2024-01-30 05:39:53 +08:00
三咲智子 Kevin Deng cd0e3273d2
test: add normalizeBlock 2024-01-30 05:39:53 +08:00
Rizumu Ayaka 489f11a1f9
refactor(runtime-vapor): template fragment (#100)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-01-30 04:15:52 +08:00
三咲智子 Kevin Deng 93db0a70eb
test: simplify 2024-01-30 03:16:33 +08:00
三咲智子 Kevin Deng 48d2aa3bcb
fix(compiler-vapor): handle no template 2024-01-29 23:06:21 +08:00
三咲智子 Kevin Deng ed9368c06c
refactor(compiler-vapor): make dynamic.children an array 2024-01-29 22:28:40 +08:00
三咲智子 Kevin Deng 22436ea341
refactor(compiler-vapor): decoupe insert and non-template 2024-01-29 22:15:34 +08:00
三咲智子 Kevin Deng 79636ddc5b
refactor(compiler-vapor): dynamicFlag 2024-01-29 22:08:57 +08:00