Skip to content

Commit 2c34009

Browse files
committed
fix: auto imports
1 parent 9c2c25e commit 2c34009

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

frontend/src/types/auto-imports.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ export {}
33
declare global {
44
const EffectScope: typeof import('vue')['EffectScope']
55
const ElForm: typeof import('element-plus/es')['ElForm']
6+
const ElInput: typeof import('element-plus/es')['ElInput']
67
const ElMessage: typeof import('element-plus/es')['ElMessage']
78
const ElMessageBox: typeof import('element-plus/es')['ElMessageBox']
89
const ElNotification: typeof import('element-plus/es')['ElNotification']
10+
const ElSelect: typeof import('element-plus/es')['ElSelect']
911
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
1012
const autoResetRef: typeof import('@vueuse/core')['autoResetRef']
1113
const computed: typeof import('vue')['computed']
@@ -267,9 +269,11 @@ declare module 'vue' {
267269
interface ComponentCustomProperties {
268270
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
269271
readonly ElForm: UnwrapRef<typeof import('element-plus/es')['ElForm']>
272+
readonly ElInput: UnwrapRef<typeof import('element-plus/es')['ElInput']>
270273
readonly ElMessage: UnwrapRef<typeof import('element-plus/es')['ElMessage']>
271274
readonly ElMessageBox: UnwrapRef<typeof import('element-plus/es')['ElMessageBox']>
272275
readonly ElNotification: UnwrapRef<typeof import('element-plus/es')['ElNotification']>
276+
readonly ElSelect: UnwrapRef<typeof import('element-plus/es')['ElSelect']>
273277
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
274278
readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']>
275279
readonly computed: UnwrapRef<typeof import('vue')['computed']>

frontend/src/types/components.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ export {}
77

88
declare module '@vue/runtime-core' {
99
export interface GlobalComponents {
10+
ElAlert: typeof import('element-plus/es')['ElAlert']
11+
ElBadge: typeof import('element-plus/es')['ElBadge']
1012
ElButton: typeof import('element-plus/es')['ElButton']
1113
ElCard: typeof import('element-plus/es')['ElCard']
1214
ElCol: typeof import('element-plus/es')['ElCol']
15+
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
1316
ElDialog: typeof import('element-plus/es')['ElDialog']
1417
ElDivider: typeof import('element-plus/es')['ElDivider']
1518
ElDropdown: typeof import('element-plus/es')['ElDropdown']
@@ -19,14 +22,21 @@ declare module '@vue/runtime-core' {
1922
ElFormItem: typeof import('element-plus/es')['ElFormItem']
2023
ElImage: typeof import('element-plus/es')['ElImage']
2124
ElInput: typeof import('element-plus/es')['ElInput']
25+
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
2226
ElMenu: typeof import('element-plus/es')['ElMenu']
2327
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
2428
ElOption: typeof import('element-plus/es')['ElOption']
29+
ElPagination: typeof import('element-plus/es')['ElPagination']
30+
ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']
31+
ElRadio: typeof import('element-plus/es')['ElRadio']
32+
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
2533
ElRow: typeof import('element-plus/es')['ElRow']
2634
ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
2735
ElSelect: typeof import('element-plus/es')['ElSelect']
2836
ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
2937
ElSwitch: typeof import('element-plus/es')['ElSwitch']
38+
ElTable: typeof import('element-plus/es')['ElTable']
39+
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
3040
ElTabPane: typeof import('element-plus/es')['ElTabPane']
3141
ElTabs: typeof import('element-plus/es')['ElTabs']
3242
ElTag: typeof import('element-plus/es')['ElTag']
@@ -38,6 +48,7 @@ declare module '@vue/runtime-core' {
3848
IEpClose: typeof import('~icons/ep/close')['default']
3949
IEpDownload: typeof import('~icons/ep/download')['default']
4050
IEpRefresh: typeof import('~icons/ep/refresh')['default']
51+
IEpRefreshRight: typeof import('~icons/ep/refresh-right')['default']
4152
IEpSetting: typeof import('~icons/ep/setting')['default']
4253
IEpUpload: typeof import('~icons/ep/upload')['default']
4354
ImputMultiple: typeof import('./../components/ImputMultiple/index.vue')['default']
@@ -51,4 +62,7 @@ declare module '@vue/runtime-core' {
5162
SvgIcon: typeof import('./../components/SvgIcon/index.vue')['default']
5263
UnitSelect: typeof import('./../components/UnitSelect/index.vue')['default']
5364
}
65+
export interface ComponentCustomProperties {
66+
vLoading: typeof import('element-plus/es')['ElLoadingDirective']
67+
}
5468
}

0 commit comments

Comments
 (0)