various-ui
Version:
This is a test version of the Vue 3 component library
55 lines (54 loc) • 1.61 kB
TypeScript
import { PropType, ExtractPropTypes } from "vue";
import { UiTypes } from "@various/constants";
export type UiStepsInputModelValue = {
"end"?: number;
"start"?: number;
"end-steps"?: number;
"start-steps"?: number;
};
export declare const UiStepsInputPropsOption: {
readonly placeholder: {
readonly type: PropType<{
start?: string | undefined;
end?: string | undefined;
}>;
}; /**提示文本 */
readonly widthNumber: {
readonly type: NumberConstructor;
readonly default: 76;
};
readonly modelValue: {
readonly type: PropType<UiStepsInputModelValue>;
readonly required: true;
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly readonly: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly spacing: {
readonly type: NumberConstructor;
readonly default: 14;
};
readonly width: {
readonly type: NumberConstructor;
readonly default: 408;
};
readonly size: {
readonly type: PropType<UiTypes.size>;
readonly default: "default";
};
readonly name: {
readonly type: StringConstructor;
};
};
export type UiStepsInputProps = ExtractPropTypes<typeof UiStepsInputPropsOption>;
export declare const UiStepsInputEmits: {
change: (_ev: Event) => boolean;
input: (_ev: InputEvent | Event) => boolean;
focus: (_ev: FocusEvent | Event) => boolean;
blur: (_ev: FocusEvent | Event) => boolean;
};