-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
types(defineComponent): DefineComponent refactor #4465
Closed
pikax
wants to merge
53
commits into
vuejs:main
from
pikax:types/Merge_DefineComponent_and_Component
Closed
Changes from 51 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
75e447e
feat(types): string type inferrences
pikax 55c6c2c
chore: add h defineComponent
pikax b99a543
chore: v-model emit update:${props}
pikax 83e9abd
types(defineComponent): Support emit when using functionalComponent
pikax e0a1656
types(slots): Add typed slots
pikax b4dc05f
chore: fix tests
pikax 8809f5b
Merge branch 'master-upstream' into types/string_type_inference
pikax 3cb7f02
chore: rename `capitalize` to Capitalize<T>
pikax 341b350
chore: rollback package and typescript dep
pikax 8089a6a
chore: fix build
pikax 415460a
chore: trying to fix tests
pikax f24b161
chore: defineComponent working as expected with `h`
pikax 8e07103
chore: kinda working but not really
pikax 47de099
chore: ...
pikax eb87718
Merge branch 'master-upstream' into types/string_type_inference
pikax 748550c
chore: fix test
pikax e2cac07
types(defineComponent): support for expose component types
pikax 3ccdc0b
chore: add directive typing test
pikax e140b07
chore: exposed type suppor
pikax 5f49e9c
chore: add global directive type
pikax fbb62bc
chore: fix tests
pikax b10bc77
chore: clean dup code
pikax d0b13fa
chore: add GlobalComponents and GlobalDirectives
pikax 057bad9
chore: add Suspense, KeepAlive, Teleport to GlobalComponents
pikax 9970b45
chore: add Transition and TransitionGroup to globalComponents
pikax 2498929
chore: add BaseTransition ass globalComponent
pikax b792c6c
chore: add VShow as a globalDirective
pikax 980dbf3
chore: add BaseTransition
pikax 53379a1
Merge branch 'upstream' into feat/typed_slots
pikax d729fba
chore: added support for `h`
pikax 200838d
chore: correct interface with file name
pikax dffd7c9
Merge branch 'master' into types/refactor_defineComponent
pikax 08c1217
chore: wrap component to get the type
pikax ca63ffa
chore: typed directives + VModel directive
pikax 16352ca
chore: move arg after modifiers and add tests
pikax 7754d7e
chore: improve tests
pikax 6558afd
chore: add vOn directive as global
pikax 99741b8
chore: vmodel WIP
pikax a54a692
Merge branch 'master-upstream' into types/string_type_inference
pikax 0cf01a5
minor: fix test
pikax 675a642
Merge branch 'master-upstream' into types/refactor_defineComponent
pikax 5573d90
chore: remove bad import and fix compat render type
pikax a3408d7
chore: remove type
pikax 7583477
chore: improve test
pikax 5300104
chore: Merge branch 'master-upstream' into feat/typed_slots
pikax 8a73d1e
chore: Merge branch 'feat/typed_slots' into types/Merge_DefineCompone…
pikax 6fe8330
chore: Merge branch 'types/string_type_inference' into types/Merge_De…
pikax b3d2b05
chore: Merge branch 'types/definecomponent_functional_emit' into type…
pikax 18a78af
chore: Merge branch 'types/refactor_defineComponent' into types/Merge…
pikax 372eeb2
wip: not properly working
pikax 847d67d
wip: improve mixin emits
pikax 1c4ddad
chore: duplicated must Component types
pikax e201d2f
chore: defineComponent changes
pikax File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should suggest using camelCase or kebab-case version of directive (without the v prefix); similar to local registration in component options.