123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532 |
- export declare const ElScrollbar: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
- readonly height: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
- readonly maxHeight: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
- readonly native: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
- readonly wrapStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>;
- readonly wrapClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
- readonly viewClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
- readonly viewStyle: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown, "", boolean>;
- readonly noresize: BooleanConstructor;
- readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
- readonly always: BooleanConstructor;
- readonly minSize: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>;
- }, {
- COMPONENT_NAME: string;
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
- readonly height: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
- readonly maxHeight: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
- readonly native: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
- readonly wrapStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>;
- readonly wrapClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
- readonly viewClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
- readonly viewStyle: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown, "", boolean>;
- readonly noresize: BooleanConstructor;
- readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
- readonly always: BooleanConstructor;
- readonly minSize: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>;
- }>> & {
- onScroll?: ((args_0: {
- scrollTop: number;
- scrollLeft: number;
- }) => any) | undefined;
- }>>;
- emit: (event: "scroll", args_0: {
- scrollTop: number;
- scrollLeft: number;
- }) => void;
- ns: {
- namespace: import("vue").Ref<string>;
- b: (blockSuffix?: string) => string;
- e: (element?: string | undefined) => string;
- m: (modifier?: string | undefined) => string;
- be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
- em: (element?: string | undefined, modifier?: string | undefined) => string;
- bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
- bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
- is: {
- (name: string, state: boolean | undefined): string;
- (name: string): string;
- };
- cssVar: (object: Record<string, string>) => Record<string, string>;
- cssVarName: (name: string) => string;
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
- cssVarBlockName: (name: string) => string;
- };
- stopResizeObserver: undefined;
- stopResizeListener: undefined;
- scrollbarRef: import("vue").Ref<HTMLDivElement | undefined>;
- wrapRef: import("vue").Ref<HTMLDivElement | undefined>;
- resizeRef: import("vue").Ref<HTMLElement | undefined>;
- sizeWidth: import("vue").Ref<string>;
- sizeHeight: import("vue").Ref<string>;
- barRef: import("vue").Ref<({
- $: import("vue").ComponentInternalInstance;
- $data: {};
- $props: Partial<{
- readonly always: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
- readonly ratioX: number;
- readonly ratioY: number;
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
- readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
- readonly width: StringConstructor;
- readonly height: StringConstructor;
- readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "always" | "ratioX" | "ratioY">;
- $attrs: {
- [x: string]: unknown;
- };
- $refs: {
- [x: string]: unknown;
- };
- $slots: Readonly<{
- [name: string]: import("vue").Slot | undefined;
- }>;
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
- $emit: (event: string, ...args: any[]) => void;
- $el: any;
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
- readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
- readonly width: StringConstructor;
- readonly height: StringConstructor;
- readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- }>>, {
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
- readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
- readonly width: StringConstructor;
- readonly height: StringConstructor;
- readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- }>> & {
- [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
- }>>;
- moveX: import("vue").Ref<number>;
- moveY: import("vue").Ref<number>;
- handleScroll: (wrap: HTMLDivElement) => void;
- Thumb: import("vue").DefineComponent<{
- readonly vertical: BooleanConstructor;
- readonly size: StringConstructor;
- readonly move: NumberConstructor;
- readonly ratio: {
- readonly type: import("vue").PropType<number>;
- readonly required: true;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly always: BooleanConstructor;
- }, {
- COMPONENT_NAME: string;
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
- readonly vertical: BooleanConstructor;
- readonly size: StringConstructor;
- readonly move: NumberConstructor;
- readonly ratio: {
- readonly type: import("vue").PropType<number>;
- readonly required: true;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly always: BooleanConstructor;
- }>> & {
- [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
- }>>;
- scrollbar: import("../..").ScrollbarContext;
- ns: {
- namespace: import("vue").Ref<string>;
- b: (blockSuffix?: string) => string;
- e: (element?: string | undefined) => string;
- m: (modifier?: string | undefined) => string;
- be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
- em: (element?: string | undefined, modifier?: string | undefined) => string;
- bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
- bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
- is: {
- (name: string, state: boolean | undefined): string;
- (name: string): string;
- };
- cssVar: (object: Record<string, string>) => Record<string, string>;
- cssVarName: (name: string) => string;
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
- cssVarBlockName: (name: string) => string;
- };
- instance: import("vue").Ref<HTMLDivElement | undefined>;
- thumb: import("vue").Ref<HTMLDivElement | undefined>;
- thumbState: import("vue").Ref<{
- X?: number | undefined;
- Y?: number | undefined;
- }>;
- visible: import("vue").Ref<boolean>;
- cursorDown: boolean;
- cursorLeave: boolean;
- originalOnSelectStart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
- bar: 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<import("vue").CSSProperties>;
- offsetRatio: import("vue").ComputedRef<number>;
- clickThumbHandler: (e: MouseEvent) => void;
- clickTrackHandler: (e: MouseEvent) => void;
- startDrag: (e: MouseEvent) => void;
- mouseMoveDocumentHandler: (e: MouseEvent) => void;
- mouseUpDocumentHandler: () => void;
- mouseMoveScrollbarHandler: () => void;
- mouseLeaveScrollbarHandler: () => void;
- restoreOnselectstart: () => void;
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
- readonly vertical: BooleanConstructor;
- readonly size: StringConstructor;
- readonly move: NumberConstructor;
- readonly ratio: {
- readonly type: import("vue").PropType<number>;
- readonly required: true;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly always: BooleanConstructor;
- }>>, {
- readonly vertical: boolean;
- readonly always: boolean;
- }>;
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
- readonly always: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
- readonly ratioX: number;
- readonly ratioY: number;
- }> & {
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
- created?: ((() => void) | (() => void)[]) | undefined;
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
- mounted?: ((() => void) | (() => void)[]) | undefined;
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
- updated?: ((() => void) | (() => void)[]) | undefined;
- activated?: ((() => void) | (() => void)[]) | undefined;
- deactivated?: ((() => void) | (() => void)[]) | undefined;
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
- destroyed?: ((() => void) | (() => void)[]) | undefined;
- unmounted?: ((() => void) | (() => void)[]) | undefined;
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
- };
- $forceUpdate: () => void;
- $nextTick: typeof import("vue").nextTick;
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
- } & Readonly<import("vue").ExtractPropTypes<{
- readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
- readonly width: StringConstructor;
- readonly height: StringConstructor;
- readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- }>> & import("vue").ShallowUnwrapRef<{
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
- readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
- readonly width: StringConstructor;
- readonly height: StringConstructor;
- readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- }>> & {
- [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
- }>>;
- moveX: import("vue").Ref<number>;
- moveY: import("vue").Ref<number>;
- handleScroll: (wrap: HTMLDivElement) => void;
- Thumb: import("vue").DefineComponent<{
- readonly vertical: BooleanConstructor;
- readonly size: StringConstructor;
- readonly move: NumberConstructor;
- readonly ratio: {
- readonly type: import("vue").PropType<number>;
- readonly required: true;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly always: BooleanConstructor;
- }, {
- COMPONENT_NAME: string;
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
- readonly vertical: BooleanConstructor;
- readonly size: StringConstructor;
- readonly move: NumberConstructor;
- readonly ratio: {
- readonly type: import("vue").PropType<number>;
- readonly required: true;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly always: BooleanConstructor;
- }>> & {
- [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
- }>>;
- scrollbar: import("../..").ScrollbarContext;
- ns: {
- namespace: import("vue").Ref<string>;
- b: (blockSuffix?: string) => string;
- e: (element?: string | undefined) => string;
- m: (modifier?: string | undefined) => string;
- be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
- em: (element?: string | undefined, modifier?: string | undefined) => string;
- bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
- bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
- is: {
- (name: string, state: boolean | undefined): string;
- (name: string): string;
- };
- cssVar: (object: Record<string, string>) => Record<string, string>;
- cssVarName: (name: string) => string;
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
- cssVarBlockName: (name: string) => string;
- };
- instance: import("vue").Ref<HTMLDivElement | undefined>;
- thumb: import("vue").Ref<HTMLDivElement | undefined>;
- thumbState: import("vue").Ref<{
- X?: number | undefined;
- Y?: number | undefined;
- }>;
- visible: import("vue").Ref<boolean>;
- cursorDown: boolean;
- cursorLeave: boolean;
- originalOnSelectStart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
- bar: 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<import("vue").CSSProperties>;
- offsetRatio: import("vue").ComputedRef<number>;
- clickThumbHandler: (e: MouseEvent) => void;
- clickTrackHandler: (e: MouseEvent) => void;
- startDrag: (e: MouseEvent) => void;
- mouseMoveDocumentHandler: (e: MouseEvent) => void;
- mouseUpDocumentHandler: () => void;
- mouseMoveScrollbarHandler: () => void;
- mouseLeaveScrollbarHandler: () => void;
- restoreOnselectstart: () => void;
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
- readonly vertical: BooleanConstructor;
- readonly size: StringConstructor;
- readonly move: NumberConstructor;
- readonly ratio: {
- readonly type: import("vue").PropType<number>;
- readonly required: true;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly always: BooleanConstructor;
- }>>, {
- readonly vertical: boolean;
- readonly always: boolean;
- }>;
- }> & {} & import("vue").ComponentCustomProperties) | undefined>;
- ratioY: import("vue").Ref<number>;
- ratioX: import("vue").Ref<number>;
- style: import("vue").ComputedRef<import("vue").StyleValue>;
- wrapKls: import("vue").ComputedRef<(string | unknown[] | {
- [x: string]: boolean;
- })[]>;
- resizeKls: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>[]>;
- handleScroll: () => void;
- scrollTo: (arg1: unknown, arg2?: number | undefined) => void;
- setScrollTop: (value: number) => void;
- setScrollLeft: (value: number) => void;
- update: () => void;
- Bar: import("vue").DefineComponent<{
- readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
- readonly width: StringConstructor;
- readonly height: StringConstructor;
- readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- }, {
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
- readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
- readonly width: StringConstructor;
- readonly height: StringConstructor;
- readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- }>> & {
- [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
- }>>;
- moveX: import("vue").Ref<number>;
- moveY: import("vue").Ref<number>;
- handleScroll: (wrap: HTMLDivElement) => void;
- Thumb: import("vue").DefineComponent<{
- readonly vertical: BooleanConstructor;
- readonly size: StringConstructor;
- readonly move: NumberConstructor;
- readonly ratio: {
- readonly type: import("vue").PropType<number>;
- readonly required: true;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly always: BooleanConstructor;
- }, {
- COMPONENT_NAME: string;
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
- readonly vertical: BooleanConstructor;
- readonly size: StringConstructor;
- readonly move: NumberConstructor;
- readonly ratio: {
- readonly type: import("vue").PropType<number>;
- readonly required: true;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly always: BooleanConstructor;
- }>> & {
- [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
- }>>;
- scrollbar: import("../..").ScrollbarContext;
- ns: {
- namespace: import("vue").Ref<string>;
- b: (blockSuffix?: string) => string;
- e: (element?: string | undefined) => string;
- m: (modifier?: string | undefined) => string;
- be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
- em: (element?: string | undefined, modifier?: string | undefined) => string;
- bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
- bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
- is: {
- (name: string, state: boolean | undefined): string;
- (name: string): string;
- };
- cssVar: (object: Record<string, string>) => Record<string, string>;
- cssVarName: (name: string) => string;
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
- cssVarBlockName: (name: string) => string;
- };
- instance: import("vue").Ref<HTMLDivElement | undefined>;
- thumb: import("vue").Ref<HTMLDivElement | undefined>;
- thumbState: import("vue").Ref<{
- X?: number | undefined;
- Y?: number | undefined;
- }>;
- visible: import("vue").Ref<boolean>;
- cursorDown: boolean;
- cursorLeave: boolean;
- originalOnSelectStart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
- bar: 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<import("vue").CSSProperties>;
- offsetRatio: import("vue").ComputedRef<number>;
- clickThumbHandler: (e: MouseEvent) => void;
- clickTrackHandler: (e: MouseEvent) => void;
- startDrag: (e: MouseEvent) => void;
- mouseMoveDocumentHandler: (e: MouseEvent) => void;
- mouseUpDocumentHandler: () => void;
- mouseMoveScrollbarHandler: () => void;
- mouseLeaveScrollbarHandler: () => void;
- restoreOnselectstart: () => void;
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
- readonly vertical: BooleanConstructor;
- readonly size: StringConstructor;
- readonly move: NumberConstructor;
- readonly ratio: {
- readonly type: import("vue").PropType<number>;
- readonly required: true;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly always: BooleanConstructor;
- }>>, {
- readonly vertical: boolean;
- readonly always: boolean;
- }>;
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
- readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
- readonly width: StringConstructor;
- readonly height: StringConstructor;
- readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
- }>>, {
- readonly always: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
- readonly ratioX: number;
- readonly ratioY: number;
- }>;
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
- scroll: ({ scrollTop, scrollLeft, }: {
- scrollTop: number;
- scrollLeft: number;
- }) => boolean;
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
- readonly height: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
- readonly maxHeight: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
- readonly native: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
- readonly wrapStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>;
- readonly wrapClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
- readonly viewClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
- readonly viewStyle: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown, "", boolean>;
- readonly noresize: BooleanConstructor;
- readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
- readonly always: BooleanConstructor;
- readonly minSize: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>;
- }>> & {
- onScroll?: ((args_0: {
- scrollTop: number;
- scrollLeft: number;
- }) => any) | undefined;
- }, {
- readonly tag: string;
- readonly height: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
- readonly always: boolean;
- readonly maxHeight: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
- readonly native: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
- readonly wrapStyle: import("vue").StyleValue;
- readonly wrapClass: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
- readonly viewClass: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
- readonly viewStyle: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown>;
- readonly minSize: number;
- readonly noresize: boolean;
- }>> & Record<string, any>;
- export default ElScrollbar;
- export * from './src/util';
- export * from './src/scrollbar';
- export * from './src/thumb';
|