revert(core): cleanup imports from vueuse/core that exist in vue

This reverts commit 7cc798ad
This commit is contained in:
braks
2023-11-08 16:22:15 +01:00
committed by Braks
parent 9846420e42
commit 6162389cc2
8 changed files with 13 additions and 12 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
import type { D3DragEvent, DragBehavior, SubjectPosition } from 'd3-drag'
import { drag } from 'd3-drag'
import { select } from 'd3-selection'
import type { MaybeRefOrGetter, Ref } from 'vue'
import type { Ref } from 'vue'
import { ref, watch } from 'vue'
import type { MaybeRefOrGetter } from '@vueuse/core'
import { toValue } from '@vueuse/core'
import { useGetPointerPosition, useVueFlow } from '.'
import {
+1 -1
View File
@@ -1,4 +1,4 @@
import type { MaybeRefOrGetter } from 'vue'
import type { MaybeRefOrGetter } from '@vueuse/core'
import { toValue } from '@vueuse/core'
import { useVueFlow } from './useVueFlow'
import type { Connection, ConnectionHandle, HandleType, MouseTouchEvent, ValidConnectionFunc } from '~/types'
+1 -2
View File
@@ -1,6 +1,5 @@
import type { MaybeRefOrGetter } from 'vue'
import { ref, watch } from 'vue'
import type { KeyFilter, KeyPredicate } from '@vueuse/core'
import type { KeyFilter, KeyPredicate, MaybeRefOrGetter } from '@vueuse/core'
import { onKeyStroke, toValue, useEventListener } from '@vueuse/core'
import { useWindow } from './useWindow'
@@ -1,7 +1,7 @@
import type { Ref, ToRefs } from 'vue'
import { effectScope, nextTick, onScopeDispose, toRef, watch } from 'vue'
import { effectScope, nextTick, onScopeDispose, watch } from 'vue'
import type { WatchPausableReturn } from '@vueuse/core'
import { watchPausable } from '@vueuse/core'
import { toRef, watchPausable } from '@vueuse/core'
import type { Connection, FlowProps, VueFlowStore } from '~/types'
import { isDef } from '~/utils'