@fesjs/fes-design
Version:
fes-design for PC
46 lines (45 loc) • 1.82 kB
TypeScript
import { type InputFileSlots } from './props';
declare const InputFile: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
readonly modelValue: {
readonly type: import("vue").PropType<import("./props").FileItem[]>;
readonly default: () => import("./props").FileItem[];
};
readonly accept: {
readonly type: import("vue").PropType<string[]>;
readonly default: () => string[];
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly multiple: {
readonly type: BooleanConstructor;
readonly default: false;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
readonly modelValue: {
readonly type: import("vue").PropType<import("./props").FileItem[]>;
readonly default: () => import("./props").FileItem[];
};
readonly accept: {
readonly type: import("vue").PropType<string[]>;
readonly default: () => string[];
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly multiple: {
readonly type: BooleanConstructor;
readonly default: false;
};
}>> & Readonly<{
onChange?: (...args: any[]) => any;
"onUpdate:modelValue"?: (...args: any[]) => any;
}>, {
readonly disabled: boolean;
readonly multiple: boolean;
readonly modelValue: import("./props").FileItem[];
readonly accept: string[];
}, InputFileSlots, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default InputFile;