index.ts 614 B

1234567891011121314151617181920
  1. import TimePicker from './src/time-picker'
  2. import CommonPicker from './src/common/picker.vue'
  3. import TimePickPanel from './src/time-picker-com/panel-time-pick.vue'
  4. import type { App } from 'vue'
  5. import type { SFCWithInstall } from '@element-plus/utils'
  6. export * from './src/utils'
  7. export * from './src/constants'
  8. export * from './src/common/props'
  9. const _TimePicker = TimePicker as SFCWithInstall<typeof TimePicker>
  10. _TimePicker.install = (app: App) => {
  11. app.component(_TimePicker.name, _TimePicker)
  12. }
  13. export { CommonPicker, TimePickPanel }
  14. export default _TimePicker
  15. export const ElTimePicker = _TimePicker