UNPKG

element-plus

Version:

A Component Library for Vue 3

131 lines (127 loc) 2.65 kB
'use strict'; var iconsVue = require('@element-plus/icons-vue'); var runtime = require('../../../utils/vue/props/runtime.js'); var index = require('../../../hooks/use-empty-values/index.js'); var index$1 = require('../../../hooks/use-size/index.js'); const timeSelectProps = runtime.buildProps({ /** * @description set format of time */ format: { type: String, default: "HH:mm" }, /** * @description binding value */ modelValue: { type: runtime.definePropType(String) }, /** * @description whether TimeSelect is disabled */ disabled: { type: Boolean, default: void 0 }, /** * @description whether the input is editable */ editable: { type: Boolean, default: true }, /** * @description Tooltip theme, built-in theme: `dark` / `light` */ effect: { type: runtime.definePropType(String), default: "light" }, /** * @description whether to show clear button */ clearable: { type: Boolean, default: true }, /** * @description size of Input */ size: index$1.useSizeProp, /** * @description placeholder in non-range mode */ placeholder: String, /** * @description start time */ start: { type: String, default: "09:00" }, /** * @description end time */ end: { type: String, default: "18:00" }, /** * @description time step */ step: { type: String, default: "00:30" }, /** * @description minimum time, any time before this time will be disabled */ minTime: { type: runtime.definePropType(String) }, /** * @description maximum time, any time after this time will be disabled */ maxTime: { type: runtime.definePropType(String) }, /** * @description whether `end` is included in options */ includeEndTime: Boolean, /** * @description same as `name` in native input */ name: String, /** * @description custom prefix icon component */ prefixIcon: { type: runtime.definePropType([String, Object]), default: () => iconsVue.Clock }, /** * @description custom clear icon component */ clearIcon: { type: runtime.definePropType([String, Object]), default: () => iconsVue.CircleClose }, /** * @description custom class name for TimeSelect's dropdown */ popperClass: { type: String, default: "" }, /** * @description custom style for TimeSelect's dropdown */ popperStyle: { type: runtime.definePropType([String, Object]) }, ...index.useEmptyValuesProps }); exports.timeSelectProps = timeSelectProps; //# sourceMappingURL=time-select.js.map