global-components.d.ts 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. declare module "vue" {
  2. /**
  3. * 自定义全局组件获得 Volar 提示(自定义的全局组件需要在这里声明下才能获得 Volar 类型提示哦)
  4. */
  5. export interface GlobalComponents {
  6. IconifyIconOffline: typeof import("../src/components/ReIcon")["IconifyIconOffline"];
  7. IconifyIconOnline: typeof import("../src/components/ReIcon")["IconifyIconOnline"];
  8. FontIcon: typeof import("../src/components/ReIcon")["FontIcon"];
  9. Auth: typeof import("../src/components/ReAuth")["Auth"];
  10. }
  11. }
  12. /**
  13. * TODO https://github.com/element-plus/element-plus/blob/dev/global.d.ts#L2
  14. * No need to install @vue/runtime-core
  15. */
  16. declare module "vue" {
  17. export interface GlobalComponents {
  18. ElAffix: typeof import("element-plus")["ElAffix"];
  19. ElAlert: typeof import("element-plus")["ElAlert"];
  20. ElAside: typeof import("element-plus")["ElAside"];
  21. ElAutocomplete: typeof import("element-plus")["ElAutocomplete"];
  22. ElAvatar: typeof import("element-plus")["ElAvatar"];
  23. ElBacktop: typeof import("element-plus")["ElBacktop"];
  24. ElBadge: typeof import("element-plus")["ElBadge"];
  25. ElBreadcrumb: typeof import("element-plus")["ElBreadcrumb"];
  26. ElBreadcrumbItem: typeof import("element-plus")["ElBreadcrumbItem"];
  27. ElButton: typeof import("element-plus")["ElButton"];
  28. ElButtonGroup: typeof import("element-plus")["ElButtonGroup"];
  29. ElCalendar: typeof import("element-plus")["ElCalendar"];
  30. ElCard: typeof import("element-plus")["ElCard"];
  31. ElCarousel: typeof import("element-plus")["ElCarousel"];
  32. ElCarouselItem: typeof import("element-plus")["ElCarouselItem"];
  33. ElCascader: typeof import("element-plus")["ElCascader"];
  34. ElCascaderPanel: typeof import("element-plus")["ElCascaderPanel"];
  35. ElCheckbox: typeof import("element-plus")["ElCheckbox"];
  36. ElCheckboxButton: typeof import("element-plus")["ElCheckboxButton"];
  37. ElCheckboxGroup: typeof import("element-plus")["ElCheckboxGroup"];
  38. ElCol: typeof import("element-plus")["ElCol"];
  39. ElCollapse: typeof import("element-plus")["ElCollapse"];
  40. ElCollapseItem: typeof import("element-plus")["ElCollapseItem"];
  41. ElCollapseTransition: typeof import("element-plus")["ElCollapseTransition"];
  42. ElColorPicker: typeof import("element-plus")["ElColorPicker"];
  43. ElContainer: typeof import("element-plus")["ElContainer"];
  44. ElConfigProvider: typeof import("element-plus")["ElConfigProvider"];
  45. ElDatePicker: typeof import("element-plus")["ElDatePicker"];
  46. ElDialog: typeof import("element-plus")["ElDialog"];
  47. ElDivider: typeof import("element-plus")["ElDivider"];
  48. ElDrawer: typeof import("element-plus")["ElDrawer"];
  49. ElDropdown: typeof import("element-plus")["ElDropdown"];
  50. ElDropdownItem: typeof import("element-plus")["ElDropdownItem"];
  51. ElDropdownMenu: typeof import("element-plus")["ElDropdownMenu"];
  52. ElEmpty: typeof import("element-plus")["ElEmpty"];
  53. ElFooter: typeof import("element-plus")["ElFooter"];
  54. ElForm: typeof import("element-plus")["ElForm"];
  55. ElFormItem: typeof import("element-plus")["ElFormItem"];
  56. ElHeader: typeof import("element-plus")["ElHeader"];
  57. ElIcon: typeof import("element-plus")["ElIcon"];
  58. ElImage: typeof import("element-plus")["ElImage"];
  59. ElImageViewer: typeof import("element-plus")["ElImageViewer"];
  60. ElInput: typeof import("element-plus")["ElInput"];
  61. ElInputNumber: typeof import("element-plus")["ElInputNumber"];
  62. ElLink: typeof import("element-plus")["ElLink"];
  63. ElMain: typeof import("element-plus")["ElMain"];
  64. ElMenu: typeof import("element-plus")["ElMenu"];
  65. ElMenuItem: typeof import("element-plus")["ElMenuItem"];
  66. ElMenuItemGroup: typeof import("element-plus")["ElMenuItemGroup"];
  67. ElOption: typeof import("element-plus")["ElOption"];
  68. ElOptionGroup: typeof import("element-plus")["ElOptionGroup"];
  69. ElPageHeader: typeof import("element-plus")["ElPageHeader"];
  70. ElPagination: typeof import("element-plus")["ElPagination"];
  71. ElPopconfirm: typeof import("element-plus")["ElPopconfirm"];
  72. ElPopper: typeof import("element-plus")["ElPopper"];
  73. ElPopover: typeof import("element-plus")["ElPopover"];
  74. ElProgress: typeof import("element-plus")["ElProgress"];
  75. ElRadio: typeof import("element-plus")["ElRadio"];
  76. ElRadioButton: typeof import("element-plus")["ElRadioButton"];
  77. ElRadioGroup: typeof import("element-plus")["ElRadioGroup"];
  78. ElRate: typeof import("element-plus")["ElRate"];
  79. ElRow: typeof import("element-plus")["ElRow"];
  80. ElScrollbar: typeof import("element-plus")["ElScrollbar"];
  81. ElSelect: typeof import("element-plus")["ElSelect"];
  82. ElSlider: typeof import("element-plus")["ElSlider"];
  83. ElStep: typeof import("element-plus")["ElStep"];
  84. ElSteps: typeof import("element-plus")["ElSteps"];
  85. ElSubMenu: typeof import("element-plus")["ElSubMenu"];
  86. ElSwitch: typeof import("element-plus")["ElSwitch"];
  87. ElTabPane: typeof import("element-plus")["ElTabPane"];
  88. ElTable: typeof import("element-plus")["ElTable"];
  89. ElTableColumn: typeof import("element-plus")["ElTableColumn"];
  90. ElTabs: typeof import("element-plus")["ElTabs"];
  91. ElTag: typeof import("element-plus")["ElTag"];
  92. ElTimePicker: typeof import("element-plus")["ElTimePicker"];
  93. ElTimeSelect: typeof import("element-plus")["ElTimeSelect"];
  94. ElTimeline: typeof import("element-plus")["ElTimeline"];
  95. ElTimelineItem: typeof import("element-plus")["ElTimelineItem"];
  96. ElTooltip: typeof import("element-plus")["ElTooltip"];
  97. ElTransfer: typeof import("element-plus")["ElTransfer"];
  98. ElTree: typeof import("element-plus")["ElTree"];
  99. ElTreeV2: typeof import("element-plus")["ElTreeV2"];
  100. ElUpload: typeof import("element-plus")["ElUpload"];
  101. ElSpace: typeof import("element-plus")["ElSpace"];
  102. ElSkeleton: typeof import("element-plus")["ElSkeleton"];
  103. ElSkeletonItem: typeof import("element-plus")["ElSkeletonItem"];
  104. ElCheckTag: typeof import("element-plus")["ElCheckTag"];
  105. ElDescriptions: typeof import("element-plus")["ElDescriptions"];
  106. ElDescriptionsItem: typeof import("element-plus")["ElDescriptionsItem"];
  107. ElResult: typeof import("element-plus")["ElResult"];
  108. ElSelectV2: typeof import("element-plus")["ElSelectV2"];
  109. }
  110. interface ComponentCustomProperties {
  111. $message: typeof import("element-plus")["ElMessage"];
  112. $notify: typeof import("element-plus")["ElNotification"];
  113. $msgbox: typeof import("element-plus")["ElMessageBox"];
  114. $messageBox: typeof import("element-plus")["ElMessageBox"];
  115. $alert: typeof import("element-plus")["ElMessageBox"]["alert"];
  116. $confirm: typeof import("element-plus")["ElMessageBox"]["confirm"];
  117. $prompt: typeof import("element-plus")["ElMessageBox"]["prompt"];
  118. $loading: typeof import("element-plus")["ElLoadingService"];
  119. }
  120. }
  121. export {};