Commit Graph

75 Commits

Author SHA1 Message Date
timongh
6a33d760d3 Replace () => import(./TheComponent.vue) to defineAsyncComponent 2023-02-09 17:41:14 +08:00
timongh
cd1410f9bb Use type Component as vue component in FreshLayoutItem 2023-02-09 13:38:47 +08:00
timongh
cd61a1b85c Use type Component as vue component in TabMappings 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
046957478d Remove mixins in registry/lib/components/style/home-redesign/mixin.ts 2023-02-08 16:26:31 +08:00
timongh
f3f7e34a41 Change beforeDestroy to beforeUnmount 2023-02-07 12:07:51 +08:00
timongh
125a0c6595 Removes all uses of the variable Vue in vue2 2023-02-07 11:56:38 +08:00
timongh
88263c9fe4 Add deep: true for array handler in vue watch option 2023-02-07 02:07:48 +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
c07abaaa05 Document all vue events with the emits option. 2023-02-05 02:18:43 +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
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
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
Colerar
b9dfeedd74
fix: home rank thirdItem data
(cherry picked from commit f85d90cfac75f009cc1733a88613a063174fb315)
2023-01-04 01:11:55 +08:00
the1812
491ac815d2 Fix default tab settings (fix #3817) 2022-11-18 20:34:00 +08:00
the1812
56d1f0b0d6 Format registry folder 2022-10-12 23:27:58 +08:00
the1812
3ff1731ef7 Merge branch 'preview-fixes' into preview-features 2022-08-25 23:15:37 +08:00
the1812
e54d5ae3b8 Fix trending video API (fix #3625) 2022-08-25 22:05:11 +08:00
the1812
fb81b76e66 Merge branch 'component-option-types' into preview-features 2022-08-22 22:48:08 +08:00
the1812
974310837c Fix follow status & url (fix #3552) 2022-08-17 08:46:19 +08:00
the1812
169725de9f Update timeline API (fix #3552) 2022-08-16 23:33:50 +08:00
the1812
10815492d3 Fix header styles (fix #3565) 2022-08-15 23:33:53 +08:00
the1812
83ef2bb30b Improve styles of minimal home 2022-08-13 17:16:18 +08:00
timongh
f574d635ad Change style components to define api 2022-07-30 23:59:09 +08:00
the1812
5b6e53c4d0 Fix UI bugs 2022-06-25 17:43:46 +08:00
the1812
a3704d2564 Refactor codes 2022-06-25 17:06:33 +08:00
the1812
156991e213 Add minimal home trendings 2022-06-25 17:02:58 +08:00
the1812
7cdb236754 Add fixed operations 2022-06-25 16:35:20 +08:00
the1812
2a82a24720 Add minimal home feeds 2022-06-25 15:59:40 +08:00
the1812
feed979058 Add minimal home files 2022-06-21 09:08:46 +08:00
the1812
4121b8cc93 Add danmaku count 2022-06-11 22:04:34 +08:00
the1812
f083039f4f Upgrade packages 2022-05-08 11:01:01 +08:00
the1812
2283a8fcfa Improve blackboard timer 2022-04-09 16:35:33 +08:00
the1812
4a3e80fc7b Fix season link (#3166) 2022-04-09 16:27:49 +08:00
the1812
ba312452f7 Add number validator API 2022-03-12 17:24:26 +08:00
the1812
767edadfaa Support content filters 2022-03-12 16:57:07 +08:00
the1812
2b338cb2f5 Support horizontal scroll 2022-03-12 15:14:31 +08:00
the1812
7b1a2f6ddb Fix scroll when no published item 2022-03-10 09:07:04 +08:00
the1812
0f37c670ab Add timeline animation 2022-03-08 23:37:24 +08:00
the1812
37696aed23 Refactor scroll mask 2022-03-06 22:02:29 +08:00
the1812
aa3012f5bb Fix memory leak 2022-03-06 20:50:17 +08:00
the1812
dd5dac51d4 Add scroll mask 2022-03-06 20:45:31 +08:00