diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts index 913b102e..550850fd 100644 --- a/src/auto-imports.d.ts +++ b/src/auto-imports.d.ts @@ -134,6 +134,7 @@ declare global { const unrefElement: typeof import('@vueuse/core')['unrefElement'] const until: typeof import('@vueuse/core')['until'] const useActiveElement: typeof import('@vueuse/core')['useActiveElement'] + const useApi: typeof import('./hooks/useApi')['useApi'] const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue'] const useAsyncState: typeof import('@vueuse/core')['useAsyncState'] const useAttrs: typeof import('vue')['useAttrs'] diff --git a/src/components.d.ts b/src/components.d.ts index efbf232c..ba6641ab 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,34 +9,34 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { - AbAdd: typeof import('./basic/ab-add.vue')['default'] + AbAdd: typeof import('./components/basic/ab-add.vue')['default'] AbAddBangumi: typeof import('./components/ab-add-bangumi.vue')['default'] AbBangumiCard: typeof import('./components/ab-bangumi-card.vue')['default'] - AbButton: typeof import('./basic/ab-button.vue')['default'] + AbButton: typeof import('./components/basic/ab-button.vue')['default'] AbChangeAccount: typeof import('./components/ab-change-account.vue')['default'] - AbCheckbox: typeof import('./basic/ab-checkbox.vue')['default'] + AbCheckbox: typeof import('./components/basic/ab-checkbox.vue')['default'] AbContainer: typeof import('./components/ab-container.vue')['default'] AbEditRule: typeof import('./components/ab-edit-rule.vue')['default'] AbFoldPanel: typeof import('./components/ab-fold-panel.vue')['default'] AbLabel: typeof import('./components/ab-label.vue')['default'] - AbPageTitle: typeof import('./basic/ab-page-title.vue')['default'] + AbPageTitle: typeof import('./components/basic/ab-page-title.vue')['default'] AbPopup: typeof import('./components/ab-popup.vue')['default'] AbRule: typeof import('./components/ab-rule.vue')['default'] - AbSearch: typeof import('./basic/ab-search.vue')['default'] - AbSelect: typeof import('./basic/ab-select.vue')['default'] + AbSearch: typeof import('./components/basic/ab-search.vue')['default'] + AbSelect: typeof import('./components/basic/ab-select.vue')['default'] AbSetting: typeof import('./components/ab-setting.vue')['default'] - AbSidebar: typeof import('./views/ab-sidebar.vue')['default'] - AbStatus: typeof import('./basic/ab-status.vue')['default'] + AbSidebar: typeof import('./components/layout/ab-sidebar.vue')['default'] + AbStatus: typeof import('./components/basic/ab-status.vue')['default'] AbStatusBar: typeof import('./components/ab-status-bar.vue')['default'] - AbSwitch: typeof import('./basic/ab-switch.vue')['default'] - AbTopbar: typeof import('./views/ab-topbar.vue')['default'] - ConfigDownload: typeof import('./views/config-download.vue')['default'] - ConfigManage: typeof import('./views/config-manage.vue')['default'] - ConfigNormal: typeof import('./views/config-normal.vue')['default'] - ConfigNotification: typeof import('./views/config-notification.vue')['default'] - ConfigParser: typeof import('./views/config-parser.vue')['default'] - ConfigPlayer: typeof import('./views/config-player.vue')['default'] - ConfigProxy: typeof import('./views/config-proxy.vue')['default'] + AbSwitch: typeof import('./components/basic/ab-switch.vue')['default'] + AbTopbar: typeof import('./components/layout/ab-topbar.vue')['default'] + ConfigDownload: typeof import('./components/setting/config-download.vue')['default'] + ConfigManage: typeof import('./components/setting/config-manage.vue')['default'] + ConfigNormal: typeof import('./components/setting/config-normal.vue')['default'] + ConfigNotification: typeof import('./components/setting/config-notification.vue')['default'] + ConfigParser: typeof import('./components/setting/config-parser.vue')['default'] + ConfigPlayer: typeof import('./components/setting/config-player.vue')['default'] + ConfigProxy: typeof import('./components/setting/config-proxy.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/src/components/ab-setting.vue b/src/components/ab-setting.vue index 3ac87ab2..3a383bf5 100644 --- a/src/components/ab-setting.vue +++ b/src/components/ab-setting.vue @@ -1,7 +1,5 @@