global-components.d.ts 6.8 KB

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