scrollbar.vue.d.ts 33 KB

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