Commit Graph

108 Commits

Author SHA1 Message Date
timongh
6a41538292 Expose popupShow in IframePopup.vue 2023-03-11 21:54:04 +08:00
timongh
07618206ad Fix type errors about VDropdown.vue 2023-03-11 21:49:52 +08:00
timongh
da48523257 Merge remote-tracking branch 'main/preview-features' into update-to-vue3 2023-03-11 21:19:43 +08:00
timongh
3ea86bccaa Change '@vue/runtime-dom' to 'vue' 2023-03-11 04:25:12 +08:00
timongh
d659a18c4a Revert "Use markRaw when using dynamic component"
This reverts commit 218cc06b08.
2023-03-11 00:55:54 +08:00
timongh
218cc06b08 Use markRaw when using dynamic component 2023-03-10 01:23:44 +08:00
timongh
720e8ff924 Fix types in custom-navbar-item.ts 2023-03-10 00:15:42 +08:00
the1812
ce201a0c04 Fix undefined properties (fix #3992) 2023-02-20 09:04:34 +08:00
timongh
ec5bcdc908 Fix type errors of IframePopup.vue 2023-02-20 05:26:39 +08:00
timongh
30a335d0a8 Fix some type errors in registry/lib/components/style 2023-02-12 17:19:50 +08:00
timongh
bcbac0853e Fix some type errors in lib/components/style/custom-navbar 2023-02-09 20:16:16 +08:00
timongh
4789110236 Fix type errors when lodash.debounce used in vue component definition 2023-02-09 19:52:02 +08:00
timongh
1ca7edb29e Remove Component's generic parameters 2023-02-09 17:55:20 +08:00
timongh
8f4f393c87 Use type Component as vue component in src/components/types.ts 2023-02-09 16:55:10 +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
the1812
74cf834296 Remove unused data (fix #3949) 2023-02-09 08:56:56 +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
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
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
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
6cf93d9175 Fix the issue where prop was being modified in the code. 2023-02-05 01:45:50 +08:00
the1812
2ee2ae364c Merge branch 'preview-features' into preview-fixes 2023-02-04 21:41:15 +08:00
timongh
d2bfb2a6e1 Change the way Vue instances are created. 2023-02-04 17:45:03 +08:00
the1812
b8e2d6d3ea Fix loading condition (fix #3940) 2023-02-04 16:54:56 +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
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
fadc39fc5c add ts config: noImplicitThis 2023-01-29 18:06:00 +08:00
timongh
7a248529bb Add ts config: importsNotUsedAsValues with corresponding eslint rule 2023-01-29 00:49:17 +08:00
the1812
eb4beedf2d Merge branch 'preview-fixes' into preview-features 2022-12-10 22:32:13 +08:00
the1812
9dc2ad58f4 Refactor navbar history filters (fix #3676, #2729) 2022-12-10 22:10:56 +08:00
the1812
5a5b47bc42 Merge branch 'preview-fixes' into preview-features 2022-11-27 19:16:33 +08:00
the1812
6eb16e8b26 Fix header height (fix #3833) 2022-11-23 08:21:12 +08:00
the1812
868ac40d47 Fix inputWithin not reset 2022-11-16 09:01:48 +08:00
the1812
377a805d8e Merge branch 'preview-fixes' into preview-features 2022-11-14 08:30:45 +08:00
the1812
df726decac Fix original navbar height 2022-11-14 08:30:31 +08:00
the1812
993ff743f8 Merge branch 'preview-fixes' into preview-features 2022-11-13 12:30:40 +08:00