Commit Graph

95 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
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
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
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
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
the1812
3c5a2bea89 Fix launch bar styles in navbar 2022-11-10 08:21:01 +08:00
the1812
ff8c574fe7 Improve focus detection (#3756) 2022-11-06 15:35:12 +08:00
the1812
91823adb70 Merge branch 'preview-fixes' into preview-features 2022-10-19 22:56:02 +08:00
the1812
9613a4d9c5 Fix styles in search page (fix #3731) 2022-10-19 09:07:52 +08:00
the1812
56d1f0b0d6 Format registry folder 2022-10-12 23:27:58 +08:00
the1812
8c7523f74c Fix message z-index (fix #3702) 2022-10-05 17:30:12 +08:00
the1812
6362f953b9 Use semi bold fonts 2022-10-05 17:11:06 +08:00
the1812
7c924fe1e7 Add focus-within for popups (fix #3703) 2022-10-05 16:39:49 +08:00
the1812
9d35def653 Fix user face url (fix #3679) 2022-09-17 15:15:43 +08:00
the1812
d35617dcf4 Support toggle history state (#3303) 2022-08-28 15:38:08 +08:00
the1812
33d71dd06f Fix transparent fill 2022-08-28 15:13:48 +08:00
the1812
3ff1731ef7 Merge branch 'preview-fixes' into preview-features 2022-08-25 23:15:37 +08:00
the1812
54eb5a04bc Use markdown file for description 2022-08-25 21:59:12 +08:00