Evan You
|
97ce041910
fix(defineModel): support local mutation when only prop but no listener is passed
|
2 år sedan |
Evan You
|
9bc3c7e29c
fix(defineModel): always default modifiers to empty object
|
2 år sedan |
Evan You
|
a772031ea8
feat(defineModel): support modifiers and transformers
|
2 år sedan |
三咲智子 Kevin Deng
|
bfe6b459d3
style: update format & lint config (#9162)
|
2 år sedan |
edison
|
eb12f211b8
fix(defineModel): ensure trigger effect when prop changed (#9841)
|
2 år sedan |
三咲智子 Kevin Deng
|
ef688ba92b
feat(compiler-sfc): promote defineModel stable (#9598)
|
2 år sedan |
Evan You
|
74387929cd
chore: update defineModel comment docs [ci skip]
|
2 år sedan |
Evan You
|
f74785bc4a
feat(defineModel): support local mutation by default, remove local option
|
2 år sedan |
Evan You
|
7e60d1058f
perf: use sync watcher for defineModel local mode
|
2 år sedan |
Evan You
|
982a145d38
chore: Merge branch 'main' into minor
|
2 år sedan |
三咲智子 Kevin Deng
|
096ba81817
feat(types): expose `DefineProps` type
|
2 år sedan |
Evan You
|
b4ac0e6ac1
chore(dx): fix defineProps jsdoc + update defineEmits jsdoc example
|
2 år sedan |
zqran
|
f15debc01a
fix(types): return type of withDefaults should be readonly (#8601)
|
2 år sedan |
Carlos Rodrigues
|
94c049d930
fix(types): remove optional properties from defineProps return type (#6421)
|
2 år sedan |
zqran
|
f07cb18fed
fix(types): correct withDefaults return type for boolean prop with undefined default value (#8602)
|
2 år sedan |
Phentom
|
f0691e4581
chore: typo (#8345) [ci skip]
|
3 år sedan |
Carlos Rodrigues
|
216f26995b
fix(types): support generic usage with withDefaults + defineProps (#8335)
|
3 år sedan |
Cédric Exbrayat
|
ab9256a4bb
chore: fix typos in defineOptions (#8277)
|
3 år sedan |
Evan You
|
1279b17300
fix(types): remove short syntax support in defineSlots()
|
3 år sedan |
Himself65
|
c94ef02421
fix(runtime-core): properly merge props and emits options from mixins (#8052)
|
3 år sedan |
三咲智子 Kevin Deng
|
14f3d747a3
feat(sfc): introduce `defineModel` macro and `useModel` helper (#8018)
|
3 år sedan |
Evan You
|
91a931ae87
fix(types): improve defineProps return type with generic arguments
|
3 år sedan |
三咲智子 Kevin Deng
|
5a2f5d59cf
feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option (#7982)
|
3 år sedan |
Evan You
|
dfb21a5363
chore: add docs links for sfc macros
|
3 år sedan |
Evan You
|
4af5d1b075
feat(sfc): revert withDefaults() deprecation
|
3 år sedan |
Evan You
|
8876dccf42
feat(sfc): support more ergnomic defineEmits type syntax (#7992)
|
3 år sedan |
Evan You
|
ba9c2ae247
feat(compiler-sfc): enable reactive props destructure by default and deprecate withDefaults() (#7986)
|
3 år sedan |
Evan You
|
e10a89e608
fix(compiler-sfc): fix function default value handling w/ props destructure
|
3 år sedan |
三咲智子 Kevin Deng
|
93f77292c9
fix(compiler-sfc): disallow `expose` property in `defineOptions` (#7967)
|
3 år sedan |
三咲智子 Kevin Deng
|
bcf5841dde
feat(compiler-sfc): add defineOptions macro (#5738)
|
3 år sedan |