|
|
@ -77,15 +77,15 @@ function createTimePicker< |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const { TimePicker: InternalTimePicker, RangePicker: InternalRangePicker } = DatePicker as any; |
|
|
|
const { TimePicker: InternalTimePicker, RangePicker: InternalRangePicker } = DatePicker as any; |
|
|
|
const TimePicker = defineComponent({ |
|
|
|
const TimePicker = defineComponent<DTimePickerProps>({ |
|
|
|
name: 'ATimePicker', |
|
|
|
name: 'ATimePicker', |
|
|
|
inheritAttrs: false, |
|
|
|
inheritAttrs: false, |
|
|
|
props: { |
|
|
|
props: { |
|
|
|
...commonProps<DateType>(), |
|
|
|
...commonProps<any>(), |
|
|
|
...datePickerProps<DateType>(), |
|
|
|
...datePickerProps<any>(), |
|
|
|
...timePickerProps(), |
|
|
|
...timePickerProps(), |
|
|
|
addon: { type: Function }, |
|
|
|
addon: { type: Function }, |
|
|
|
}, |
|
|
|
} as any, |
|
|
|
slots: Object as CustomSlotsType<{ |
|
|
|
slots: Object as CustomSlotsType<{ |
|
|
|
addon?: any; |
|
|
|
addon?: any; |
|
|
|
renderExtraFooter?: any; |
|
|
|
renderExtraFooter?: any; |
|
|
@ -155,15 +155,15 @@ function createTimePicker< |
|
|
|
}, |
|
|
|
}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const TimeRangePicker = defineComponent({ |
|
|
|
const TimeRangePicker = defineComponent<DTimeRangePickerProps>({ |
|
|
|
name: 'ATimeRangePicker', |
|
|
|
name: 'ATimeRangePicker', |
|
|
|
inheritAttrs: false, |
|
|
|
inheritAttrs: false, |
|
|
|
props: { |
|
|
|
props: { |
|
|
|
...commonProps<DateType>(), |
|
|
|
...commonProps<any>(), |
|
|
|
...rangePickerProps<DateType>(), |
|
|
|
...rangePickerProps<any>(), |
|
|
|
...timePickerProps(), |
|
|
|
...timePickerProps(), |
|
|
|
order: { type: Boolean, default: true }, |
|
|
|
order: { type: Boolean, default: true }, |
|
|
|
}, |
|
|
|
} as any, |
|
|
|
slots: Object as CustomSlotsType<{ |
|
|
|
slots: Object as CustomSlotsType<{ |
|
|
|
renderExtraFooter?: any; |
|
|
|
renderExtraFooter?: any; |
|
|
|
suffixIcon?: any; |
|
|
|
suffixIcon?: any; |
|
|
|