UNPKG

hongluan-ui

Version:
108 lines (105 loc) 2.14 kB
import '../../../../utils/index.mjs'; import '../../../tooltip/index.mjs'; import '../../../../hooks/index.mjs'; import { disabledTimeListsProps } from '../props/shared.mjs'; import { isValidComponentSize } from '../../../../utils/vue/validator.mjs'; import { useTooltipContentProps } from '../../../tooltip/src/content2.mjs'; import { useEmptyValuesProps } from '../../../../hooks/use-empty-values/index.mjs'; import { useAriaProps } from '../../../../hooks/use-aria/index.mjs'; const timePickerDefaultProps = { id: { type: [Array, String] }, name: { type: [Array, String], default: "" }, popperClass: { type: String, default: "" }, popperOffset: { type: Number, default: 4 }, format: String, valueFormat: String, dateFormat: String, timeFormat: String, type: { type: String, default: "" }, clearable: { type: Boolean, default: true }, editable: { type: Boolean, default: true }, size: { type: String, validator: isValidComponentSize }, readonly: Boolean, disabled: Boolean, placeholder: { type: String, default: "" }, modelValue: { type: [Date, Array, String, Number], default: "" }, popperOptions: { type: Object, default: () => ({}) }, rangeSeparator: { type: String, default: "-" }, startPlaceholder: String, endPlaceholder: String, defaultValue: { type: [Date, Array] }, defaultTime: { type: [Date, Array] }, isRange: Boolean, ...disabledTimeListsProps, disabledDate: { type: Function }, cellClassName: { type: Function }, shortcuts: { type: Array, default: () => [] }, arrowControl: Boolean, label: { type: String, default: void 0 }, tabindex: { type: [String, Number], default: 0 }, validateEvent: { type: Boolean, default: true }, fill: Boolean, unlinkPanels: Boolean, block: Boolean, thin: Boolean, teleported: useTooltipContentProps.teleported, ...useEmptyValuesProps, ...useAriaProps(["ariaLabel"]) }; export { timePickerDefaultProps }; //# sourceMappingURL=props.mjs.map