三咲智子 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 |
FireBushtree
|
3d10925c53
|
feat(runtime-vapor): support patch style (#126)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
|
2024-02-10 21:31:44 +08:00 |
三咲智子 Kevin Deng
|
184d72e747
|
feat(runtime-vapor): implement vModelRadio
Fully supported v-model for native elements.
|
2024-02-10 16:15:23 +08:00 |
三咲智子 Kevin Deng
|
3550765147
|
refactor: add isVaporReservedProp
|
2024-02-10 14:41:51 +08:00 |
ubugeeei
|
52311fa7ae
|
feat(runtime-vapor): component attrs (#124)
|
2024-02-10 13:07:13 +08:00 |
三咲智子 Kevin Deng
|
5019aac6ca
|
fix: vapor major version
|
2024-02-10 01:23:48 +08:00 |
三咲智子 Kevin Deng
|
d16359c45b
|
feat(runtime-vapor): add no side effects annotation
|
2024-02-08 23:22:03 +08:00 |
三咲智子 Kevin Deng
|
985d4c7422
|
refactor: return only one node from children helper
|
2024-02-08 23:03:42 +08:00 |
三咲智子 Kevin Deng
|
55a956e87d
|
chore: remove unused imports
|
2024-02-08 17:34:43 +08:00 |
Rizumu Ayaka
|
ccdc634c24
|
fix(runtime-vapor): v-for move list items are not always effective (#121)
|
2024-02-07 22:01:22 +08:00 |
Rizumu Ayaka
|
a15f609044
|
test(runtime-vapor): refactor duplicate compoent test code (#120)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
|
2024-02-07 21:03:46 +08:00 |
三咲智子 Kevin Deng
|
75c8ff5cb7
|
fix(runtime-vapor): update old value even if no beforeUpdate hook
|
2024-02-07 20:38:26 +08:00 |
三咲智子 Kevin Deng
|
4be349ebc4
|
feat(runtime-vapor): implement vModelCheckbox & vModelDynamic
|
2024-02-07 20:14:50 +08:00 |
三咲智子 Kevin Deng
|
f4f467811a
|
fix(runtime-vapor): only update oldValue in beforeUpdate hook
|
2024-02-07 19:47:56 +08:00 |
三咲智子 Kevin Deng
|
94272c6163
|
fix(runtime-vapor): retrieve prop value from element
|
2024-02-07 19:24:06 +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
|
38865c7ca1
|
refactor: simplify event handler
|
2024-02-07 01:37:07 +08:00 |
三咲智子 Kevin Deng
|
77743006b8
|
refactor(runtime-vapor): update selected option
|
2024-02-06 20:24:59 +08:00 |
FireBushtree
|
7c881f853c
|
test(runtime-vapor): dom/patchProp.ts special check (#117)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
|
2024-02-06 12:35:31 +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 |
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
|
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 |
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
|
261b7d40a4
|
feat(runtime-vapor): add defineComponent
|
2024-01-31 18:08:07 +08:00 |
三咲智子 Kevin Deng
|
46e83e9681
|
refactor(compiler-vapor): symbol for newline (#104)
|
2024-01-31 17:26:07 +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
|
e02725665d
|
fix(compiler-vapor): import helper with type check
|
2024-01-30 22:21:59 +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
|
63aacf6194
|
style: respect root prettier config
|
2024-01-29 03:11:30 +08:00 |
三咲智子 Kevin Deng
|
17af64c0c1
|
feat(runtime-vapor): createFor
|
2024-01-28 20:16:35 +08:00 |
Rizumu Ayaka
|
ede6c29434
|
feat(compiler-vapor): `v-if` (#96)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
|
2024-01-28 01:31:20 +08:00 |
三咲智子 Kevin Deng
|
359a5dab19
|
refactor: get oldVal from metadata
|
2024-01-25 17:00:19 +08:00 |
三咲智子 Kevin Deng
|
1f134ae43a
|
feat(runtime-vapor): expose vapor mode flag
|
2024-01-24 22:11:46 +08:00 |
三咲智子 Kevin Deng
|
32604cf91c
|
refactor(runtime-vapor): template refs
|
2024-01-21 13:59:56 +08:00 |
三咲智子 Kevin Deng
|
31e8fa35c0
|
feat: v-model for input & textarea
|
2024-01-21 02:16:53 +08:00 |
三咲智子 Kevin Deng
|
782d60475d
|
feat: basic template ref
|
2024-01-20 23:48:10 +08:00 |
三咲智子 Kevin Deng
|
6a26db2adc
|
refactor(runtime-vapor): remove ref wrapper for mounted state
|
2024-01-20 20:46:41 +08:00 |
三咲智子 Kevin Deng
|
9d071e7c31
|
fix(runtime-vapor): set setupState
|
2024-01-20 20:22:06 +08:00 |