@fesjs/fes-design
Version:
fes-design for PC
53 lines (52 loc) • 2.21 kB
TypeScript
import { type PropType, type StyleValue } from 'vue';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
readonly vertical: BooleanConstructor;
readonly size: StringConstructor;
readonly move: NumberConstructor;
readonly ratio: NumberConstructor;
readonly always: BooleanConstructor;
readonly scrollbarRef: PropType<HTMLElement[]>;
readonly containerRef: PropType<HTMLElement>;
readonly thumbStyle: PropType<StyleValue>;
}>, {
prefixCls: string;
barRef: import("vue").Ref<HTMLElement, HTMLElement>;
thumbRef: import("vue").Ref<any, any>;
visible: import("vue").Ref<boolean, boolean>;
cursorDown: import("vue").Ref<any, any>;
barMap: import("vue").ComputedRef<{
readonly offset: "offsetHeight";
readonly scroll: "scrollTop";
readonly scrollSize: "scrollHeight";
readonly size: "height";
readonly key: "vertical";
readonly axis: "Y";
readonly client: "clientY";
readonly direction: "top";
} | {
readonly offset: "offsetWidth";
readonly scroll: "scrollLeft";
readonly scrollSize: "scrollWidth";
readonly size: "width";
readonly key: "horizontal";
readonly axis: "X";
readonly client: "clientX";
readonly direction: "left";
}>;
thumbStyle: import("vue").ComputedRef<StyleValue[]>;
clickTrackHandler: (e: MouseEvent) => void;
clickThumbHandler: (e: MouseEvent) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
readonly vertical: BooleanConstructor;
readonly size: StringConstructor;
readonly move: NumberConstructor;
readonly ratio: NumberConstructor;
readonly always: BooleanConstructor;
readonly scrollbarRef: PropType<HTMLElement[]>;
readonly containerRef: PropType<HTMLElement>;
readonly thumbStyle: PropType<StyleValue>;
}>> & Readonly<{}>, {
readonly always: boolean;
readonly vertical: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;