This commit is contained in:
2025-09-24 20:35:15 +08:00
parent 39679f7330
commit 8a458ff0a4
12033 changed files with 1537546 additions and 13292 deletions

View File

@@ -0,0 +1,61 @@
import { Clock, CircleClose } from '@element-plus/icons-vue';
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
import { useSizeProp } from '../../../hooks/use-size/index.mjs';
import { useEmptyValuesProps } from '../../../hooks/use-empty-values/index.mjs';
const timeSelectProps = buildProps({
format: {
type: String,
default: "HH:mm"
},
modelValue: {
type: definePropType(String)
},
disabled: Boolean,
editable: {
type: Boolean,
default: true
},
effect: {
type: definePropType(String),
default: "light"
},
clearable: {
type: Boolean,
default: true
},
size: useSizeProp,
placeholder: String,
start: {
type: String,
default: "09:00"
},
end: {
type: String,
default: "18:00"
},
step: {
type: String,
default: "00:30"
},
minTime: {
type: definePropType(String)
},
maxTime: {
type: definePropType(String)
},
includeEndTime: Boolean,
name: String,
prefixIcon: {
type: definePropType([String, Object]),
default: () => Clock
},
clearIcon: {
type: definePropType([String, Object]),
default: () => CircleClose
},
...useEmptyValuesProps
});
export { timeSelectProps };
//# sourceMappingURL=time-select.mjs.map