vva-cli
Version:
A CLI of Vue 3 and Typescript and Element-plus in Vite
30 lines (27 loc) • 728 B
TypeScript
import { Option } from "helper/types";
import { InputConfig } from "components/smartBox/index";
import { IDatePickerType } from "element-plus/lib/components/date-picker/src/date-picker.type";
type RenderType = "input" | "select" | "smartbox" | "datepicker";
type DateType =
| "year"
| "month"
| "date"
| "dates"
| "week"
| "datetime"
| "datetimerange"
| " daterange"
| "monthrange";
declare interface FilterConfig extends InputConfig {
multiple?: boolean;
type?: IDatePickerType;
}
export declare interface FilterItem {
prop: string;
label: string;
renderType: string;
placeholder?: string;
options?: Array<Option>;
readonly?: boolean;
config?: FilterConfig;
}