various-ui
Version:
This is a test version of the Vue 3 component library
50 lines (49 loc) • 1.51 kB
TypeScript
import { ExtractPropTypes, PropType } from "vue";
import { UiTypes } from "@various/constants";
export declare const UiScopeInputPropsOption: {
readonly placeholder: {
readonly type: PropType<{
start?: string | undefined;
end?: string | undefined;
}>;
};
readonly modelValue: {
readonly type: PropType<{
start?: number | undefined;
end?: number | undefined;
}>;
readonly required: true;
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly readonly: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly loading: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly width: {
readonly type: PropType<string | number>;
readonly default: 264;
};
readonly size: {
readonly type: PropType<UiTypes.size>;
readonly default: "default";
};
readonly name: {
readonly type: StringConstructor;
};
};
export declare const UiScopeInputEmits: {
"update:modelValue": (_ev: any) => boolean;
change: (_ev?: Event) => boolean;
clear: (_ev?: any) => boolean;
input: (_ev?: InputEvent | Event) => boolean;
focus: (_ev?: FocusEvent | Event) => boolean;
blur: (_ev?: FocusEvent | Event) => boolean;
};
export type UiScopeInputProps = ExtractPropTypes<typeof UiScopeInputPropsOption>;