import { watch, ref, unref, nextTick } from 'vue'; import { Option } from './DragSelectCommon'; import { useDragRect } from './hooks/useDragRect'; import useAutoScrollByPoint from './hooks/useAutoScrollByPoint'; import { MaybeNullableRef, MaybeRef, Position } from './typings/internal'; import { rectIsIntersect } from './utils/rectIsIntersect'; interface UseDragToSelectConfig { contentRef: MaybeNullableRef; containerRef: MaybeNullableRef; options: Set