scrollbar.vue.d.ts 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. import { nextTick } from 'vue';
  2. import type { CSSProperties, StyleValue } from 'vue';
  3. declare const _default: import("vue").DefineComponent<{
  4. readonly height: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
  5. readonly maxHeight: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
  6. readonly native: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  7. readonly wrapStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => StyleValue & {}) | (() => StyleValue) | ((new (...args: any[]) => StyleValue & {}) | (() => StyleValue))[], unknown, unknown, "", boolean>;
  8. readonly wrapClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
  9. readonly viewClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
  10. readonly viewStyle: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown, "", boolean>;
  11. readonly noresize: BooleanConstructor;
  12. readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
  13. readonly always: BooleanConstructor;
  14. readonly minSize: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>;
  15. }, {
  16. COMPONENT_NAME: string;
  17. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  18. readonly height: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
  19. readonly maxHeight: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
  20. readonly native: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  21. readonly wrapStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => StyleValue & {}) | (() => StyleValue) | ((new (...args: any[]) => StyleValue & {}) | (() => StyleValue))[], unknown, unknown, "", boolean>;
  22. readonly wrapClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
  23. readonly viewClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
  24. readonly viewStyle: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown, "", boolean>;
  25. readonly noresize: BooleanConstructor;
  26. readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
  27. readonly always: BooleanConstructor;
  28. readonly minSize: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>;
  29. }>> & {
  30. onScroll?: ((args_0: {
  31. scrollTop: number;
  32. scrollLeft: number;
  33. }) => any) | undefined;
  34. }>>;
  35. emit: (event: "scroll", args_0: {
  36. scrollTop: number;
  37. scrollLeft: number;
  38. }) => void;
  39. ns: {
  40. namespace: import("vue").Ref<string>;
  41. b: (blockSuffix?: string) => string;
  42. e: (element?: string | undefined) => string;
  43. m: (modifier?: string | undefined) => string;
  44. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  45. em: (element?: string | undefined, modifier?: string | undefined) => string;
  46. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  47. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  48. is: {
  49. (name: string, state: boolean | undefined): string;
  50. (name: string): string;
  51. };
  52. cssVar: (object: Record<string, string>) => Record<string, string>;
  53. cssVarName: (name: string) => string;
  54. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  55. cssVarBlockName: (name: string) => string;
  56. };
  57. stopResizeObserver: undefined;
  58. stopResizeListener: undefined;
  59. scrollbarRef: import("vue").Ref<HTMLDivElement | undefined>;
  60. wrapRef: import("vue").Ref<HTMLDivElement | undefined>;
  61. resizeRef: import("vue").Ref<HTMLElement | undefined>;
  62. sizeWidth: import("vue").Ref<string>;
  63. sizeHeight: import("vue").Ref<string>;
  64. barRef: import("vue").Ref<({
  65. $: import("vue").ComponentInternalInstance;
  66. $data: {};
  67. $props: Partial<{
  68. readonly always: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  69. readonly ratioX: number;
  70. readonly ratioY: number;
  71. }> & Omit<Readonly<import("vue").ExtractPropTypes<{
  72. readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  73. readonly width: StringConstructor;
  74. readonly height: StringConstructor;
  75. readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  76. readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  77. }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "always" | "ratioX" | "ratioY">;
  78. $attrs: {
  79. [x: string]: unknown;
  80. };
  81. $refs: {
  82. [x: string]: unknown;
  83. };
  84. $slots: Readonly<{
  85. [name: string]: import("vue").Slot | undefined;
  86. }>;
  87. $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
  88. $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
  89. $emit: (event: string, ...args: any[]) => void;
  90. $el: any;
  91. $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
  92. readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  93. readonly width: StringConstructor;
  94. readonly height: StringConstructor;
  95. readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  96. readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  97. }>>, {
  98. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  99. readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  100. readonly width: StringConstructor;
  101. readonly height: StringConstructor;
  102. readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  103. readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  104. }>> & {
  105. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  106. }>>;
  107. moveX: import("vue").Ref<number>;
  108. moveY: import("vue").Ref<number>;
  109. handleScroll: (wrap: HTMLDivElement) => void;
  110. Thumb: import("vue").DefineComponent<{
  111. readonly vertical: BooleanConstructor;
  112. readonly size: StringConstructor;
  113. readonly move: NumberConstructor;
  114. readonly ratio: {
  115. readonly type: import("vue").PropType<number>;
  116. readonly required: true;
  117. readonly validator: ((val: unknown) => boolean) | undefined;
  118. __epPropKey: true;
  119. };
  120. readonly always: BooleanConstructor;
  121. }, {
  122. COMPONENT_NAME: string;
  123. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  124. readonly vertical: BooleanConstructor;
  125. readonly size: StringConstructor;
  126. readonly move: NumberConstructor;
  127. readonly ratio: {
  128. readonly type: import("vue").PropType<number>;
  129. readonly required: true;
  130. readonly validator: ((val: unknown) => boolean) | undefined;
  131. __epPropKey: true;
  132. };
  133. readonly always: BooleanConstructor;
  134. }>> & {
  135. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  136. }>>;
  137. scrollbar: import("element-plus/es/tokens").ScrollbarContext;
  138. ns: {
  139. namespace: import("vue").Ref<string>;
  140. b: (blockSuffix?: string) => string;
  141. e: (element?: string | undefined) => string;
  142. m: (modifier?: string | undefined) => string;
  143. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  144. em: (element?: string | undefined, modifier?: string | undefined) => string;
  145. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  146. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  147. is: {
  148. (name: string, state: boolean | undefined): string;
  149. (name: string): string;
  150. };
  151. cssVar: (object: Record<string, string>) => Record<string, string>;
  152. cssVarName: (name: string) => string;
  153. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  154. cssVarBlockName: (name: string) => string;
  155. };
  156. instance: import("vue").Ref<HTMLDivElement | undefined>;
  157. thumb: import("vue").Ref<HTMLDivElement | undefined>;
  158. thumbState: import("vue").Ref<{
  159. X?: number | undefined;
  160. Y?: number | undefined;
  161. }>;
  162. visible: import("vue").Ref<boolean>;
  163. cursorDown: boolean;
  164. cursorLeave: boolean;
  165. originalOnSelectStart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
  166. bar: import("vue").ComputedRef<{
  167. readonly offset: "offsetHeight";
  168. readonly scroll: "scrollTop";
  169. readonly scrollSize: "scrollHeight";
  170. readonly size: "height";
  171. readonly key: "vertical";
  172. readonly axis: "Y";
  173. readonly client: "clientY";
  174. readonly direction: "top";
  175. } | {
  176. readonly offset: "offsetWidth";
  177. readonly scroll: "scrollLeft";
  178. readonly scrollSize: "scrollWidth";
  179. readonly size: "width";
  180. readonly key: "horizontal";
  181. readonly axis: "X";
  182. readonly client: "clientX";
  183. readonly direction: "left";
  184. }>;
  185. thumbStyle: import("vue").ComputedRef<CSSProperties>;
  186. offsetRatio: import("vue").ComputedRef<number>;
  187. clickThumbHandler: (e: MouseEvent) => void;
  188. clickTrackHandler: (e: MouseEvent) => void;
  189. startDrag: (e: MouseEvent) => void;
  190. mouseMoveDocumentHandler: (e: MouseEvent) => void;
  191. mouseUpDocumentHandler: () => void;
  192. mouseMoveScrollbarHandler: () => void;
  193. mouseLeaveScrollbarHandler: () => void;
  194. restoreOnselectstart: () => void;
  195. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  196. readonly vertical: BooleanConstructor;
  197. readonly size: StringConstructor;
  198. readonly move: NumberConstructor;
  199. readonly ratio: {
  200. readonly type: import("vue").PropType<number>;
  201. readonly required: true;
  202. readonly validator: ((val: unknown) => boolean) | undefined;
  203. __epPropKey: true;
  204. };
  205. readonly always: BooleanConstructor;
  206. }>>, {
  207. readonly vertical: boolean;
  208. readonly always: boolean;
  209. }>;
  210. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
  211. readonly always: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  212. readonly ratioX: number;
  213. readonly ratioY: number;
  214. }> & {
  215. beforeCreate?: ((() => void) | (() => void)[]) | undefined;
  216. created?: ((() => void) | (() => void)[]) | undefined;
  217. beforeMount?: ((() => void) | (() => void)[]) | undefined;
  218. mounted?: ((() => void) | (() => void)[]) | undefined;
  219. beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
  220. updated?: ((() => void) | (() => void)[]) | undefined;
  221. activated?: ((() => void) | (() => void)[]) | undefined;
  222. deactivated?: ((() => void) | (() => void)[]) | undefined;
  223. beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
  224. beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
  225. destroyed?: ((() => void) | (() => void)[]) | undefined;
  226. unmounted?: ((() => void) | (() => void)[]) | undefined;
  227. renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
  228. renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
  229. 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;
  230. };
  231. $forceUpdate: () => void;
  232. $nextTick: typeof nextTick;
  233. $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
  234. } & Readonly<import("vue").ExtractPropTypes<{
  235. readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  236. readonly width: StringConstructor;
  237. readonly height: StringConstructor;
  238. readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  239. readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  240. }>> & import("vue").ShallowUnwrapRef<{
  241. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  242. readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  243. readonly width: StringConstructor;
  244. readonly height: StringConstructor;
  245. readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  246. readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  247. }>> & {
  248. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  249. }>>;
  250. moveX: import("vue").Ref<number>;
  251. moveY: import("vue").Ref<number>;
  252. handleScroll: (wrap: HTMLDivElement) => void;
  253. Thumb: import("vue").DefineComponent<{
  254. readonly vertical: BooleanConstructor;
  255. readonly size: StringConstructor;
  256. readonly move: NumberConstructor;
  257. readonly ratio: {
  258. readonly type: import("vue").PropType<number>;
  259. readonly required: true;
  260. readonly validator: ((val: unknown) => boolean) | undefined;
  261. __epPropKey: true;
  262. };
  263. readonly always: BooleanConstructor;
  264. }, {
  265. COMPONENT_NAME: string;
  266. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  267. readonly vertical: BooleanConstructor;
  268. readonly size: StringConstructor;
  269. readonly move: NumberConstructor;
  270. readonly ratio: {
  271. readonly type: import("vue").PropType<number>;
  272. readonly required: true;
  273. readonly validator: ((val: unknown) => boolean) | undefined;
  274. __epPropKey: true;
  275. };
  276. readonly always: BooleanConstructor;
  277. }>> & {
  278. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  279. }>>;
  280. scrollbar: import("element-plus/es/tokens").ScrollbarContext;
  281. ns: {
  282. namespace: import("vue").Ref<string>;
  283. b: (blockSuffix?: string) => string;
  284. e: (element?: string | undefined) => string;
  285. m: (modifier?: string | undefined) => string;
  286. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  287. em: (element?: string | undefined, modifier?: string | undefined) => string;
  288. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  289. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  290. is: {
  291. (name: string, state: boolean | undefined): string;
  292. (name: string): string;
  293. };
  294. cssVar: (object: Record<string, string>) => Record<string, string>;
  295. cssVarName: (name: string) => string;
  296. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  297. cssVarBlockName: (name: string) => string;
  298. };
  299. instance: import("vue").Ref<HTMLDivElement | undefined>;
  300. thumb: import("vue").Ref<HTMLDivElement | undefined>;
  301. thumbState: import("vue").Ref<{
  302. X?: number | undefined;
  303. Y?: number | undefined;
  304. }>;
  305. visible: import("vue").Ref<boolean>;
  306. cursorDown: boolean;
  307. cursorLeave: boolean;
  308. originalOnSelectStart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
  309. bar: import("vue").ComputedRef<{
  310. readonly offset: "offsetHeight";
  311. readonly scroll: "scrollTop";
  312. readonly scrollSize: "scrollHeight";
  313. readonly size: "height";
  314. readonly key: "vertical";
  315. readonly axis: "Y";
  316. readonly client: "clientY";
  317. readonly direction: "top";
  318. } | {
  319. readonly offset: "offsetWidth";
  320. readonly scroll: "scrollLeft";
  321. readonly scrollSize: "scrollWidth";
  322. readonly size: "width";
  323. readonly key: "horizontal";
  324. readonly axis: "X";
  325. readonly client: "clientX";
  326. readonly direction: "left";
  327. }>;
  328. thumbStyle: import("vue").ComputedRef<CSSProperties>;
  329. offsetRatio: import("vue").ComputedRef<number>;
  330. clickThumbHandler: (e: MouseEvent) => void;
  331. clickTrackHandler: (e: MouseEvent) => void;
  332. startDrag: (e: MouseEvent) => void;
  333. mouseMoveDocumentHandler: (e: MouseEvent) => void;
  334. mouseUpDocumentHandler: () => void;
  335. mouseMoveScrollbarHandler: () => void;
  336. mouseLeaveScrollbarHandler: () => void;
  337. restoreOnselectstart: () => void;
  338. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  339. readonly vertical: BooleanConstructor;
  340. readonly size: StringConstructor;
  341. readonly move: NumberConstructor;
  342. readonly ratio: {
  343. readonly type: import("vue").PropType<number>;
  344. readonly required: true;
  345. readonly validator: ((val: unknown) => boolean) | undefined;
  346. __epPropKey: true;
  347. };
  348. readonly always: BooleanConstructor;
  349. }>>, {
  350. readonly vertical: boolean;
  351. readonly always: boolean;
  352. }>;
  353. }> & {} & import("vue").ComponentCustomProperties) | undefined>;
  354. ratioY: import("vue").Ref<number>;
  355. ratioX: import("vue").Ref<number>;
  356. style: import("vue").ComputedRef<StyleValue>;
  357. wrapKls: import("vue").ComputedRef<(string | unknown[] | {
  358. [x: string]: boolean;
  359. })[]>;
  360. resizeKls: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>[]>;
  361. handleScroll: () => void;
  362. scrollTo: (arg1: unknown, arg2?: number | undefined) => void;
  363. setScrollTop: (value: number) => void;
  364. setScrollLeft: (value: number) => void;
  365. update: () => void;
  366. Bar: import("vue").DefineComponent<{
  367. readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  368. readonly width: StringConstructor;
  369. readonly height: StringConstructor;
  370. readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  371. readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  372. }, {
  373. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  374. readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  375. readonly width: StringConstructor;
  376. readonly height: StringConstructor;
  377. readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  378. readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  379. }>> & {
  380. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  381. }>>;
  382. moveX: import("vue").Ref<number>;
  383. moveY: import("vue").Ref<number>;
  384. handleScroll: (wrap: HTMLDivElement) => void;
  385. Thumb: import("vue").DefineComponent<{
  386. readonly vertical: BooleanConstructor;
  387. readonly size: StringConstructor;
  388. readonly move: NumberConstructor;
  389. readonly ratio: {
  390. readonly type: import("vue").PropType<number>;
  391. readonly required: true;
  392. readonly validator: ((val: unknown) => boolean) | undefined;
  393. __epPropKey: true;
  394. };
  395. readonly always: BooleanConstructor;
  396. }, {
  397. COMPONENT_NAME: string;
  398. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  399. readonly vertical: BooleanConstructor;
  400. readonly size: StringConstructor;
  401. readonly move: NumberConstructor;
  402. readonly ratio: {
  403. readonly type: import("vue").PropType<number>;
  404. readonly required: true;
  405. readonly validator: ((val: unknown) => boolean) | undefined;
  406. __epPropKey: true;
  407. };
  408. readonly always: BooleanConstructor;
  409. }>> & {
  410. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  411. }>>;
  412. scrollbar: import("element-plus/es/tokens").ScrollbarContext;
  413. ns: {
  414. namespace: import("vue").Ref<string>;
  415. b: (blockSuffix?: string) => string;
  416. e: (element?: string | undefined) => string;
  417. m: (modifier?: string | undefined) => string;
  418. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  419. em: (element?: string | undefined, modifier?: string | undefined) => string;
  420. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  421. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  422. is: {
  423. (name: string, state: boolean | undefined): string;
  424. (name: string): string;
  425. };
  426. cssVar: (object: Record<string, string>) => Record<string, string>;
  427. cssVarName: (name: string) => string;
  428. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  429. cssVarBlockName: (name: string) => string;
  430. };
  431. instance: import("vue").Ref<HTMLDivElement | undefined>;
  432. thumb: import("vue").Ref<HTMLDivElement | undefined>;
  433. thumbState: import("vue").Ref<{
  434. X?: number | undefined;
  435. Y?: number | undefined;
  436. }>;
  437. visible: import("vue").Ref<boolean>;
  438. cursorDown: boolean;
  439. cursorLeave: boolean;
  440. originalOnSelectStart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
  441. bar: import("vue").ComputedRef<{
  442. readonly offset: "offsetHeight";
  443. readonly scroll: "scrollTop";
  444. readonly scrollSize: "scrollHeight";
  445. readonly size: "height";
  446. readonly key: "vertical";
  447. readonly axis: "Y";
  448. readonly client: "clientY";
  449. readonly direction: "top";
  450. } | {
  451. readonly offset: "offsetWidth";
  452. readonly scroll: "scrollLeft";
  453. readonly scrollSize: "scrollWidth";
  454. readonly size: "width";
  455. readonly key: "horizontal";
  456. readonly axis: "X";
  457. readonly client: "clientX";
  458. readonly direction: "left";
  459. }>;
  460. thumbStyle: import("vue").ComputedRef<CSSProperties>;
  461. offsetRatio: import("vue").ComputedRef<number>;
  462. clickThumbHandler: (e: MouseEvent) => void;
  463. clickTrackHandler: (e: MouseEvent) => void;
  464. startDrag: (e: MouseEvent) => void;
  465. mouseMoveDocumentHandler: (e: MouseEvent) => void;
  466. mouseUpDocumentHandler: () => void;
  467. mouseMoveScrollbarHandler: () => void;
  468. mouseLeaveScrollbarHandler: () => void;
  469. restoreOnselectstart: () => void;
  470. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  471. readonly vertical: BooleanConstructor;
  472. readonly size: StringConstructor;
  473. readonly move: NumberConstructor;
  474. readonly ratio: {
  475. readonly type: import("vue").PropType<number>;
  476. readonly required: true;
  477. readonly validator: ((val: unknown) => boolean) | undefined;
  478. __epPropKey: true;
  479. };
  480. readonly always: BooleanConstructor;
  481. }>>, {
  482. readonly vertical: boolean;
  483. readonly always: boolean;
  484. }>;
  485. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  486. readonly always: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  487. readonly width: StringConstructor;
  488. readonly height: StringConstructor;
  489. readonly ratioX: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  490. readonly ratioY: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
  491. }>>, {
  492. readonly always: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  493. readonly ratioX: number;
  494. readonly ratioY: number;
  495. }>;
  496. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
  497. scroll: ({ scrollTop, scrollLeft, }: {
  498. scrollTop: number;
  499. scrollLeft: number;
  500. }) => boolean;
  501. }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  502. readonly height: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
  503. readonly maxHeight: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
  504. readonly native: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  505. readonly wrapStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => StyleValue & {}) | (() => StyleValue) | ((new (...args: any[]) => StyleValue & {}) | (() => StyleValue))[], unknown, unknown, "", boolean>;
  506. readonly wrapClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
  507. readonly viewClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
  508. readonly viewStyle: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown, "", boolean>;
  509. readonly noresize: BooleanConstructor;
  510. readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
  511. readonly always: BooleanConstructor;
  512. readonly minSize: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>;
  513. }>> & {
  514. onScroll?: ((args_0: {
  515. scrollTop: number;
  516. scrollLeft: number;
  517. }) => any) | undefined;
  518. }, {
  519. readonly tag: string;
  520. readonly height: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
  521. readonly always: boolean;
  522. readonly maxHeight: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
  523. readonly native: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  524. readonly wrapStyle: StyleValue;
  525. readonly wrapClass: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
  526. readonly viewClass: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
  527. readonly viewStyle: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown>;
  528. readonly minSize: number;
  529. readonly noresize: boolean;
  530. }>;
  531. export default _default;