Commit Graph

7169 Commits

Author SHA1 Message Date
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
de9286db6a Use defineAsyncComponent to define sub-components 2023-02-05 05:36:24 +08:00
timongh
6419eec9b3 Change the order of v-bind because of migrating vue3 2023-02-05 05:11:05 +08:00
timongh
3b3937975e Remove key from v-if elements because of vue3 2023-02-05 04:56:20 +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
14b320637d Change eslint rules to adapt to vue3 2023-02-04 17:58:32 +08:00
timongh
d2bfb2a6e1 Change the way Vue instances are created. 2023-02-04 17:45:03 +08:00
timongh
bbaaec92b4 Add export {} to src/core/settings/write.ts 2023-02-04 01:21:36 +08:00
timongh
fa6001eb7a All Vue components are defined using defineComponent instead 2023-02-04 01:15:38 +08:00
timongh
e61aab874a Update tools to vue3 compat 2023-02-04 00:04:24 +08:00
timongh
ddefdecef9 Fix the remaining issues after the merge 2023-02-03 22:24:14 +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
975951cee2 Remove marked type maybe wrong: DocSourceItem 2023-02-03 15:25:12 +08:00
timongh
06b3f74262 Fix a problem with the this loop definition in NavbarHistory.vue 2023-02-03 14:50:38 +08:00
timongh
76fb194773 fixup! Mark more specific types for Object, Array and Function in the props option 2023-02-03 14:39:04 +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
36e070808b Fix the return types in computed in DpiImage.vue
Signed-off-by: timongh <46739861+timongh@users.noreply.github.com>
2023-02-03 13:46:19 +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
946f8527f4 Extend @vue/tsconfig 2023-01-30 00:51:41 +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
the1812
e0b7d96066 Fix style for gift panel (fix #3243) 2023-01-23 21:40:45 +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
the1812
58512315d6 Merge branch 'preview-fixes' into preview-features 2023-01-22 14:12:25 +08:00
the1812
e51cb269e5 Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-Evolved into preview-fixes 2023-01-19 21:16:21 +08:00
the1812
3d6a3aac04 Allow downloadSubtitle in bangumi 2023-01-19 21:16:09 +08:00
Grant Howard
ccb8fb2c82
Merge pull request #3936 from Ethkuil/preview-fixes
Update default empty content (fix #3932)
2023-01-18 21:52:51 +08:00
Grant Howard
1906f687fe
Merge pull request #3915 from swhoro/preview-features
fix bug #3902
2023-01-18 21:52:35 +08:00
Ethkuil
300c1a0292 Replace mark with theme color for a 2023-01-18 15:29:05 +08:00
Ethkuil
44be1d577a Update default empty content (fix #3932) 2023-01-18 00:28:23 +08:00
the1812
f3a3ea034c Update bug report template 2023-01-15 16:02:08 +08:00
the1812
ada3f00d70 Update license 2023-01-15 16:00:40 +08:00
the1812
fdc1bae2a0 Add release notes dialog 2023-01-14 15:28:03 +08:00
the1812
6f1a57f5f9 Add Dialog API 2023-01-14 15:28:01 +08:00
aiden
49dc3f92db optimize 2023-01-06 11:54:13 +08:00