Evan You
|
1c0be5c744
|
feat(compiler-sfc): support project references when resolving types
close #8140
|
2023-04-25 16:30:11 +08:00 |
Evan You
|
a370e8006a
|
perf(compiler-sfc): infer ref binding type for more built-in methods
|
2023-04-25 09:29:30 +08:00 |
Evan You
|
433a58ccb6
|
fix(compiler-sfc): props bindings should not override user declared bindings
fix #8148
|
2023-04-25 09:21:14 +08:00 |
Evan You
|
2d9f6f9264
|
fix(compiler-sfc): avoid all hard errors when inferring runtime type
|
2023-04-21 16:48:21 +08:00 |
edison
|
1d1d728949
|
feat(compiler-sfc): improve utility type Partial and Required (#8103)
|
2023-04-20 21:17:10 +08:00 |
Evan You
|
50c0bbe522
|
feat(compiler-sfc): support ExtractPropTypes when resolving types
close #8104
|
2023-04-20 21:02:50 +08:00 |
Evan You
|
4496456d7d
|
feat(compiler-sfc): support dynamic imports when resolving types
|
2023-04-20 16:18:35 +08:00 |
Evan You
|
7c3ca3cc3e
|
feat(compiler-sfc): support export * when resolving types
|
2023-04-20 15:56:24 +08:00 |
Evan You
|
d53e157805
|
fix(compiler-sfc): handle type merging + fix namespace access when inferring type
close #8102
|
2023-04-20 14:13:08 +08:00 |
Evan You
|
0f77a2b1d1
|
fix(compiler): fix expression codegen for literal const bindings in non-inline mode
|
2023-04-18 11:39:53 +08:00 |
Evan You
|
4e028b9669
|
feat(compiler-sfc): support specifying global types for sfc macros
ref: https://github.com/vuejs/core/pull/8083#issuecomment-1508468713
|
2023-04-16 15:49:41 +08:00 |
Evan You
|
6b13e04b4c
|
feat(compiler-sfc): mark props destructure as experimental and require explicit opt-in
|
2023-04-15 22:09:08 +08:00 |
Evan You
|
760755f4f8
|
feat(compiler-sfc): support string/number indexed types in macros
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
8d8ddd686c
|
feat(compiler-sfc): expose type import deps on compiled script block
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
075498c959
|
refactor: avoid hard error when inferring runtime type
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
34a007d00d
|
test: refactor resolveType test
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
3982bef533
|
feat(compiler-sfc): support resolving type imports from modules
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
8451b92a7a
|
wip: cache fileToScope + improve vue file offset
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
c93c11710e
|
refactor: improve type resolve error output
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
8aa4ea81d6
|
feat(compiler-sfc): support relative imported types in macros
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
5ff40bb0dc
|
feat(compiler-sfc): support namespace members type in macros
|
2023-04-13 12:32:52 +08:00 |
Evan You
|
3f779ddbf8
|
feat(compiler-sfc): support string indexed type in macros
|
2023-04-13 11:21:09 +08:00 |
Evan You
|
51773d5d1d
|
refactor: adjust ResolvedElements shape
|
2023-04-13 10:42:15 +08:00 |
Evan You
|
1cfab4c695
|
feat(compiler-sfc): support limited built-in utility types in macros
|
2023-04-13 10:28:22 +08:00 |
Evan You
|
fb8ecc803e
|
feat(compiler-sfc): support mapped types, string types & template type in macros
|
2023-04-13 09:59:54 +08:00 |
Evan You
|
d1f973bff8
|
feat(compiler-sfc): support intersection and union types in macros
close #7553
|
2023-04-12 21:34:13 +08:00 |
Evan You
|
a6dedc33ba
|
test: split compileScript macro tests
|
2023-04-12 16:46:26 +08:00 |
Evan You
|
fe9760188d
|
refactor(compiler-sfc): remove useless type generation
we are no longer type-checking generated code
|
2023-04-11 16:05:00 +08:00 |
Evan You
|
19e17a951c
|
perf(compiler): use source-map-js
|
2023-04-09 16:50:20 +08:00 |
三咲智子 Kevin Deng
|
14f3d747a3
|
feat(sfc): introduce `defineModel` macro and `useModel` helper (#8018)
|
2023-04-08 12:13:05 +08:00 |
三咲智子 Kevin Deng
|
f7f4624191
|
fix(compiler-sfc): fix binding type for constants when hoistStatic is disabled (#8029)
|
2023-04-06 17:19:00 +08:00 |
-isum
|
3ccbea08e0
|
fix(compiler-sfc): accept `StringLiteral` node in `defineEmit` tuple syntax (#8041)
close #8040
|
2023-04-06 17:13:34 +08:00 |
三咲智子 Kevin Deng
|
955752951e
|
fix(compiler-sfc): skip empty `defineOptions` and support TypeScript type assertions (#8028)
|
2023-04-05 17:33:29 +08:00 |
Evan You
|
b2c874e3b9
|
refactor(compiler-sfc): move related files into separate directories
|
2023-04-05 16:35:10 +08:00 |
Evan You
|
f3145a915a
|
fix(compiler-sfc): check binding is prop before erroring
fix #8017
|
2023-04-04 18:10:13 +08:00 |
三咲智子 Kevin Deng
|
5a2f5d59cf
|
feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option (#7982)
|
2023-04-03 16:49:16 +08:00 |
Evan You
|
59e828448e
|
feat(reactivity): improve support of getter usage in reactivity APIs (#7997)
|
2023-04-02 10:17:51 +08:00 |
Evan You
|
482f2e3434
|
fix(compiler-sfc): use dynamic defaults merging for methods with computed keys
ref #7113
|
2023-03-31 09:08:23 +08:00 |
Evan You
|
fe619443d2
|
feat(compiler-sfc): support arbitrary expression as withDefaults argument
ref #6459
|
2023-03-31 09:04:27 +08:00 |
Evan You
|
f5971468e5
|
refactor(compiler-sfc): remove unnecessary emits type codegen
This is no longer necessary as we no longer recommend type checking generated code
|
2023-03-30 20:06:11 +08:00 |
Evan You
|
ef73ea53ea
|
feat(compiler-sfc): codegen support for defineEmits() short syntax (followup of #7992)
|
2023-03-30 19:59:07 +08:00 |
Evan You
|
71635be68d
|
feat(compiler-sfc): support generating variable instead of default export in compileScript
|
2023-03-30 16:58:41 +08:00 |
Evan You
|
ba9c2ae247
|
feat(compiler-sfc): enable reactive props destructure by default and deprecate withDefaults() (#7986)
|
2023-03-30 11:58:16 +08:00 |
Evan You
|
e10a89e608
|
fix(compiler-sfc): fix function default value handling w/ props destructure
|
2023-03-29 22:21:27 +08:00 |
Evan You
|
a94072dd2c
|
fix(compiler-sfc): fix defineExpose() codegen regression from #7949
|
2023-03-29 20:31:25 +08:00 |
三咲智子 Kevin Deng
|
63ad77f6f6
|
feat(runtime-core): add skipCheck for prop (#7548)
|
2023-03-28 22:29:54 +08:00 |
白雾三语
|
ddba46ae6d
|
chore: update snapshots by #7766 (#7970)
|
2023-03-28 12:27:09 +02:00 |
白雾三语
|
139104ba26
|
fix(compiler-sfc): use prependLeft to handle CSSVars (#7760)
|
2023-03-28 17:47:10 +08:00 |
Evan You
|
b9dc1adefb
|
chore: update snapshots
|
2023-03-28 17:35:42 +08:00 |
三咲智子 Kevin Deng
|
c839129ab9
|
fix(compiler-sfc): avoid codegen conflict with user variable named `expose` (#7949)
rename `expose` to `__expose` to avoid duplicate identifier
relate #7890
|
2023-03-28 17:34:23 +08:00 |