@fesjs/fes-design
Version:
fes-design for PC
127 lines (126 loc) • 4.86 kB
TypeScript
import { type DropdownValue, type DropdownOption as Option } from './props';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
readonly modelValue: {
readonly type: import("vue").PropType<DropdownValue>;
};
readonly visible: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly appendToContainer: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly getContainer: {
readonly type: FunctionConstructor;
};
readonly trigger: {
readonly type: import("vue").PropType<"click" | "hover" | "contextmenu" | "focus">;
readonly default: "hover";
};
readonly placement: {
readonly type: import("vue").PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
readonly default: "bottom";
};
readonly offset: {
readonly type: NumberConstructor;
readonly default: 6;
};
readonly options: {
readonly type: import("vue").PropType<Option[]>;
readonly default: () => Option[];
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly valueField: {
readonly type: StringConstructor;
readonly default: "value";
};
readonly labelField: {
readonly type: StringConstructor;
readonly default: "label";
};
readonly arrow: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly showSelectedOption: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly popperClass: import("vue").PropType<string | object | []>;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change" | "update:modelValue" | "scroll" | "visibleChange" | "update:visible")[], "click" | "change" | "update:modelValue" | "scroll" | "visibleChange" | "update:visible", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
readonly modelValue: {
readonly type: import("vue").PropType<DropdownValue>;
};
readonly visible: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly appendToContainer: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly getContainer: {
readonly type: FunctionConstructor;
};
readonly trigger: {
readonly type: import("vue").PropType<"click" | "hover" | "contextmenu" | "focus">;
readonly default: "hover";
};
readonly placement: {
readonly type: import("vue").PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
readonly default: "bottom";
};
readonly offset: {
readonly type: NumberConstructor;
readonly default: 6;
};
readonly options: {
readonly type: import("vue").PropType<Option[]>;
readonly default: () => Option[];
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly valueField: {
readonly type: StringConstructor;
readonly default: "value";
};
readonly labelField: {
readonly type: StringConstructor;
readonly default: "label";
};
readonly arrow: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly showSelectedOption: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly popperClass: import("vue").PropType<string | object | []>;
}>> & Readonly<{
onClick?: (...args: any[]) => any;
onChange?: (...args: any[]) => any;
onScroll?: (...args: any[]) => any;
"onUpdate:modelValue"?: (...args: any[]) => any;
onVisibleChange?: (...args: any[]) => any;
"onUpdate:visible"?: (...args: any[]) => any;
}>, {
readonly disabled: boolean;
readonly trigger: "click" | "hover" | "contextmenu" | "focus";
readonly valueField: string;
readonly labelField: string;
readonly options: Option[];
readonly arrow: boolean;
readonly appendToContainer: boolean;
readonly visible: boolean;
readonly placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
readonly offset: number;
readonly showSelectedOption: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;