hongluan-ui
Version:
Hongluan Component Library for Vue 3
110 lines (109 loc) • 2.8 kB
TypeScript
import type TimeSelect from './time-select.vue';
import type { ExtractPropTypes, PropType } from 'vue';
export declare const timeSelectProps: {
emptyValues: ArrayConstructor;
valueOnClear: {
readonly type: PropType<import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown>>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
/**
* @description set format of time
*/
format: {
type: StringConstructor;
default: string;
};
/**
* @description binding value
*/
modelValue: StringConstructor;
/**
* @description whether TimeSelect is disabled
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
/**
* @description whether the input is editable
*/
editable: {
type: BooleanConstructor;
default: boolean;
};
/**
* @description Tooltip theme, built-in theme: `dark` / `light`
*/
effect: {
type: PropType<string>;
default: string;
};
/**
* @description whether to show clear button
*/
clearable: {
type: BooleanConstructor;
default: boolean;
};
/**
* @description size of Input
*/
size: {
type: PropType<"xxxs" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl">;
default: string;
};
/**
* @description placeholder in non-range mode
*/
placeholder: {
type: StringConstructor;
default: string;
};
/**
* @description start time
*/
start: {
type: StringConstructor;
default: string;
};
/**
* @description end time
*/
end: {
type: StringConstructor;
default: string;
};
/**
* @description time step
*/
step: {
type: StringConstructor;
default: string;
};
/**
* @description minimum time, any time before this time will be disabled
*/
minTime: {
type: StringConstructor;
default: string;
};
/**
* @description maximum time, any time after this time will be disabled
*/
maxTime: {
type: StringConstructor;
default: string;
};
/**
* @description same as `name` in native input
*/
name: {
type: StringConstructor;
default: string;
};
teleported: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
};
export declare type TimeSelectProps = ExtractPropTypes<typeof timeSelectProps>;
export declare type TimeSelectInstance = InstanceType<typeof TimeSelect>;