Commit Graph

755 Commits

Author SHA1 Message Date
timongh
bcbac0853e Fix some type errors in lib/components/style/custom-navbar 2023-02-09 20:16:16 +08:00
timongh
38d25fc3fa Fix type errors in registry/lib/components/touch/player-gestures/GesturePreview.vue 2023-02-09 19:55:43 +08:00
timongh
4789110236 Fix type errors when lodash.debounce used in vue component definition 2023-02-09 19:52:02 +08:00
timongh
99cb6c92c5 Fix type errors in registry/lib/components/feeds/filter/FeedsFilterCard.vue 2023-02-09 19:41:47 +08:00
timongh
495b52a095 Fix type of assetsOptions in DownloadVideo.vue 2023-02-09 18:06:03 +08:00
timongh
1ca7edb29e Remove Component's generic parameters 2023-02-09 17:55:20 +08:00
timongh
6a33d760d3 Replace () => import(./TheComponent.vue) to defineAsyncComponent 2023-02-09 17:41:14 +08:00
timongh
c5eeb6335c Use type Component as vue component in reimu/index.ts 2023-02-09 17:23:56 +08:00
timongh
8f4f393c87 Use type Component as vue component in src/components/types.ts 2023-02-09 16:55:10 +08:00
timongh
4388cdf186 Use type Component as vue component in lib/components/video/download/types.ts 2023-02-09 14:04:40 +08:00
timongh
cd1410f9bb Use type Component as vue component in FreshLayoutItem 2023-02-09 13:38:47 +08:00
timongh
4e875aaffd Use type Component as vue component in component-actions.ts 2023-02-09 13:28:23 +08:00
timongh
cd61a1b85c Use type Component as vue component in TabMappings 2023-02-09 13:28:23 +08:00
timongh
7ed9ced13d Use type Component as vue component in custom-navbar-item.ts 2023-02-09 13:28:22 +08:00
timongh
d24fbdd89a Removed all use of $refs. Instead, use ref() to define component references. 2023-02-09 03:10:06 +08:00
timongh
046957478d Remove mixins in registry/lib/components/style/home-redesign/mixin.ts 2023-02-08 16:26:31 +08:00
timongh
d49d7b8909 Replace nextPageMixin to vue composition style 2023-02-08 03:19:44 +08:00
timongh
366a623008 Replace popupMixin to vue setup 2023-02-07 15:32:00 +08:00
timongh
eb2eba2868 Fix the type of debounceSearchAllList in NavbarFavorites.vue 2023-02-07 14:56:41 +08:00
timongh
f3f7e34a41 Change beforeDestroy to beforeUnmount 2023-02-07 12:07:51 +08:00
timongh
5f0b395526 fixup! Remove $listeners and the redundant v-bind="$attrs" 2023-02-07 11:58:37 +08:00
timongh
125a0c6595 Removes all uses of the variable Vue in vue2 2023-02-07 11:56:38 +08:00
timongh
d19ec16a9a Modify two missing Vue component creation methods 2023-02-07 02:14:45 +08:00
timongh
88263c9fe4 Add deep: true for array handler in vue watch option 2023-02-07 02:07:48 +08:00
timongh
481ec887ae Replace class name for vue <Transition> component 2023-02-07 01:49:52 +08:00
timongh
6b7caafa95 Replace filters to methods in vue files 2023-02-07 01:14:21 +08:00
timongh
7a91728e29 Remove $listeners and the redundant v-bind="$attrs" 2023-02-07 00:51:23 +08:00
timongh
74267e5531 Change render method to vue3 style 2023-02-05 14:42:02 +08:00
timongh
ab9e5aacaf Update v-model definition to vue3 style 2023-02-05 04:39:29 +08:00
timongh
c07abaaa05 Document all vue events with the emits option. 2023-02-05 02:18:43 +08:00
timongh
0cc80b29ef Remove all vue .native modifier 2023-02-05 02:02:00 +08:00
timongh
6cf93d9175 Fix the issue where prop was being modified in the code. 2023-02-05 01:45:50 +08:00
timongh
cf1af64c06 remove vue-fragment 2023-02-04 18:02:52 +08:00
timongh
d2bfb2a6e1 Change the way Vue instances are created. 2023-02-04 17:45:03 +08:00
timongh
fa6001eb7a All Vue components are defined using defineComponent instead 2023-02-04 01:15:38 +08:00
timongh
185770030d Merge branch 'extend-vue-tsconfig' into update-to-vue3-compat
# Conflicts:
#	registry/lib/components/style/custom-navbar/favorites/FavoritesFolderSelect.vue
#	registry/lib/components/style/custom-navbar/feeds/tabs/next-page.ts
#	registry/lib/components/style/home-redesign/fresh/VideoList.vue
#	registry/lib/components/style/home-redesign/fresh/layouts/blackboard/Blackboard.vue
#	registry/lib/components/style/home-redesign/fresh/layouts/categories/Categories.vue
#	registry/lib/components/style/home-redesign/fresh/layouts/categories/categories.ts
#	registry/lib/components/style/home-redesign/fresh/layouts/categories/content/Default.vue
#	registry/lib/components/style/home-redesign/fresh/layouts/categories/content/RankList.vue
#	registry/lib/components/style/home-redesign/mixin.ts
#	registry/lib/components/utils/black-list/BlackListSettings.vue
#	registry/lib/components/utils/dev-client/Action.vue
#	registry/lib/components/utils/keymap/settings/KeymapSettingsRow.vue
#	registry/lib/components/video/download/inputs/EpisodesPicker.vue
#	registry/lib/components/video/download/inputs/episode-item.ts
#	src/components/SwitchOptions.vue
#	src/components/feeds/VideoCard.vue
#	src/components/settings-panel/ComponentDetail.vue
#	src/components/settings-panel/ComponentOption.vue
#	src/components/settings-panel/ComponentSettings.vue
#	src/components/settings-panel/sub-pages/manage-panel/ManagePanel.vue
#	src/components/settings-panel/sub-pages/online-registry/RegistryItem.vue
#	src/core/toast/ToastCard.vue
#	src/ui/ImagePicker.vue
#	src/ui/TabControl.vue
2023-02-03 22:20:15 +08:00
timongh
06b3f74262 Fix a problem with the this loop definition in NavbarHistory.vue 2023-02-03 14:50:38 +08:00
timongh
6e8f80973a Mark the type of this for search in NavbarHistory.vue
Signed-off-by: timongh <46739861+timongh@users.noreply.github.com>
2023-02-03 13:48:22 +08:00
timongh
f349c0e9cc Marking types for partially complex mixin
Signed-off-by: timongh <46739861+timongh@users.noreply.github.com>
2023-02-03 13:43:30 +08:00
timongh
4bb70030b8 Mark more specific types for Object, Array and Function in the props option
Signed-off-by: timongh <46739861+timongh@users.noreply.github.com>
2023-02-03 13:11:26 +08:00
timongh
accae5d047 Mark [] and {} in the data option with a more specific type
Signed-off-by: timongh <46739861+timongh@users.noreply.github.com>
2023-02-03 00:05:35 +08:00
timongh
f0d24bd652 Annotate return type of methods in computed option
Signed-off-by: timongh <46739861+timongh@users.noreply.github.com>
2023-02-02 22:51:08 +08:00
timongh
c2c0b7764b Annotate this type when use lodash.debounce
Signed-off-by: timongh <46739861+timongh@users.noreply.github.com>
2023-02-02 22:01:39 +08:00
timongh
a5cc1143b8 Add Vue.extend
Signed-off-by: timongh <46739861+timongh@users.noreply.github.com>
2023-02-02 21:03:31 +08:00
timongh
fadc39fc5c add ts config: noImplicitThis 2023-01-29 18:06:00 +08:00
timongh
1c9e0d0aac
Merge branch 'preview-features' into consistent-type-imports 2023-01-29 01:32:02 +08:00
timongh
9fd23d6507 Change for ts config: importsNotUsedAsValues 2023-01-29 01:03:51 +08:00
timongh
7a248529bb Add ts config: importsNotUsedAsValues with corresponding eslint rule 2023-01-29 00:49:17 +08:00
the1812
d5b40b04bc Fix comment styles 2023-01-26 19:48:59 +08:00
the1812
579eab05a3 Fix comment styles 2023-01-26 11:25:43 +08:00