2020-09-16 14:49:21 +08:00
|
|
|
import TimePicker from './src/time-picker'
|
2020-11-23 13:55:48 +08:00
|
|
|
import CommonPicker from './src/common/picker.vue'
|
|
|
|
import TimePickPanel from './src/time-picker-com/panel-time-pick.vue'
|
2021-08-24 13:36:48 +08:00
|
|
|
|
|
|
|
import type { App } from 'vue'
|
2021-03-09 21:24:22 +08:00
|
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
2021-08-24 13:36:48 +08:00
|
|
|
|
2020-10-20 11:45:44 +08:00
|
|
|
export * from './src/common/date-utils'
|
2020-12-01 21:27:41 +08:00
|
|
|
export * from './src/common/constant'
|
2020-12-16 22:10:35 +08:00
|
|
|
export * from './src/common/props'
|
2020-10-29 17:28:26 +08:00
|
|
|
|
2021-08-24 13:36:48 +08:00
|
|
|
const _TimePicker = TimePicker as SFCWithInstall<typeof TimePicker>
|
2021-03-09 21:24:22 +08:00
|
|
|
|
2021-08-24 13:36:48 +08:00
|
|
|
_TimePicker.install = (app: App) => {
|
2021-03-09 21:24:22 +08:00
|
|
|
app.component(_TimePicker.name, _TimePicker)
|
2020-09-16 14:49:21 +08:00
|
|
|
}
|
2020-10-20 11:45:44 +08:00
|
|
|
|
2020-11-23 13:55:48 +08:00
|
|
|
export { CommonPicker, TimePickPanel }
|
2021-03-09 21:24:22 +08:00
|
|
|
export default _TimePicker
|
2021-08-24 13:36:48 +08:00
|
|
|
export const ElTimePicker = _TimePicker
|