@fesjs/fes-design
Version:
fes-design for PC
93 lines (92 loc) • 2.83 kB
TypeScript
import type { CSSProperties, PropType } from 'vue';
import type { ExtractPublicPropTypes, GetContainer } from '../_util/interface';
import type { SelectOption, SelectValue } from './interface';
export declare const selectProps: {
readonly modelValue: {
readonly type: PropType<SelectValue | SelectValue[]>;
readonly default: () => undefined;
};
readonly placeholder: {
readonly type: StringConstructor;
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly clearable: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly multiple: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly multipleLimit: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly emptyText: {
readonly type: StringConstructor;
};
readonly appendToContainer: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly getContainer: {
readonly type: PropType<GetContainer>;
};
readonly filterable: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly filter: {
readonly type: PropType<(pattern: string, option: object) => boolean>;
};
readonly filterTextHighlight: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly collapseTags: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly collapseTagsLimit: {
readonly type: NumberConstructor;
readonly default: 1;
};
readonly options: {
readonly type: PropType<SelectOption[]>;
readonly default: () => SelectOption[];
};
readonly virtualScroll: {
readonly type: PropType<number | boolean>;
readonly default: true;
};
readonly remote: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly valueField: {
readonly type: StringConstructor;
readonly default: "value";
};
readonly labelField: {
readonly type: StringConstructor;
readonly default: "label";
};
readonly tagBordered: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly tag: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly popperClass: PropType<string | object | []>;
readonly triggerClass: PropType<string | object | []>;
readonly triggerStyle: PropType<string | CSSProperties>;
};
export declare const selectPropsDefaultValue: {
[key: string]: any;
};
export type SelectProps = ExtractPublicPropTypes<typeof selectProps>;