Commit Graph

117 Commits

Author SHA1 Message Date
timongh
759aa38196 Fix some type errors in registry/lib/components/utils 2023-02-12 17:35:42 +08:00
timongh
6a33d760d3 Replace () => import(./TheComponent.vue) to defineAsyncComponent 2023-02-09 17:41:14 +08:00
timongh
8f4f393c87 Use type Component as vue component in src/components/types.ts 2023-02-09 16:55:10 +08:00
timongh
4e875aaffd Use type Component as vue component in component-actions.ts 2023-02-09 13:28:23 +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
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
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
6cf93d9175 Fix the issue where prop was being modified in the code. 2023-02-05 01:45:50 +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
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
1c9e0d0aac
Merge branch 'preview-features' into consistent-type-imports 2023-01-29 01:32:02 +08:00
timongh
7a248529bb Add ts config: importsNotUsedAsValues with corresponding eslint rule 2023-01-29 00:49:17 +08:00
the1812
9503efe2ca Fix link color in dark mode 2023-01-22 22:03:35 +08:00
the1812
0dec14efc4 Add disableCommentsSearchLink (#3648) 2023-01-22 14:47:16 +08:00
aiden
49dc3f92db optimize 2023-01-06 11:54:13 +08:00
aiden
f7af330f28 fix bug 2023-01-05 17:37:34 +08:00
the1812
79a411b815 Format code 2022-12-30 12:29:31 +08:00
the1812
307d26caa1 Merge branch 'preview-features' into component-option-types 2022-12-30 12:26:54 +08:00
the1812
4ce69b640b Merge branch 'preview-fixes' into preview-features 2022-12-29 23:21:59 +08:00
the1812
e2084715f4 Update clean params (#3896) 2022-12-29 22:19:29 +08:00
aiden
8e3fe7cae3 replace vue with builtin toast 2022-12-19 16:30:17 +08:00
aiden
76d53cdaac remove dev-only words 2022-12-19 14:53:14 +08:00
aiden
9c75c40a52 add support for collection, add transition, fix bugs 2022-12-19 14:48:36 +08:00
aiden
172efb861b fix 2022-12-19 00:56:22 +08:00
aiden
aa5bc1b1f0 add import-series 2022-12-18 20:07:04 +08:00
the1812
71792bf3b7 Merge branch 'preview-fixes' into preview-features 2022-12-12 23:44:58 +08:00
the1812
93f1b80094 Block ads in search page (fix #3863) 2022-12-12 23:43:25 +08:00
the1812
6a0ecc3506 Refactor player agent files 2022-12-12 23:19:19 +08:00
the1812
3718cbb789 Support V2 comment area (#3807) 2022-11-15 22:52:17 +08:00
the1812
a53da38610 Support V2 comment area (#3807) 2022-11-14 23:43:29 +08:00
the1812
993ff743f8 Merge branch 'preview-fixes' into preview-features 2022-11-13 12:30:40 +08:00
the1812
1cda5c9300 Add preserveFeedGoods option (#3778) 2022-11-12 16:50:12 +08:00
the1812
2c3b01deca Update description (fix #3787) 2022-11-06 16:14:39 +08:00
the1812
56d1f0b0d6 Format registry folder 2022-10-12 23:27:58 +08:00
timongh
1d653143ec Add type annotation to imageExporter 2022-10-02 03:08:58 +08:00
timongh
1dbbc36d22 Perfect the type of styled-components 2022-10-02 01:07:17 +08:00
timongh
691ed33188 Change the type of UnknownOptions from any to unknown 2022-10-02 01:05:15 +08:00
the1812
5185d470e1 Merge remote-tracking branch 'origin/component-option-types' into preview-features 2022-09-18 21:34:09 +08:00
the1812
5732f46846 Fix category not loading 2022-09-18 21:06:34 +08:00
the1812
d7c8cd50b1 Update for new home promotions (fix #3585) 2022-09-18 18:44:51 +08:00
timongh
d802cc8e61 Change components in folder utils to define api 2022-09-14 01:45:56 +08:00
the1812
8ea37edfba Merge branch 'preview-fixes' into preview-features 2022-09-03 10:11:59 +08:00
the1812
2c4dea0a97 Add 3.x player support (#3187)
- keymap (MixedPlayerAgent)
- outerWatchlater
- quickFavorite
2022-09-02 23:54:10 +08:00
the1812
99cb09c657 Support original username (fix #1208) 2022-08-28 14:39:18 +08:00