revert(core): import toValue from vueuse/core to avoid ambiguous export

This commit is contained in:
braks
2023-11-08 13:56:13 +01:00
committed by Braks
parent 529d90a3be
commit 17e5966e4f
3 changed files with 5 additions and 4 deletions

View File

@@ -2,7 +2,8 @@ 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 { ref, toValue, watch } from 'vue'
import { ref, watch } from 'vue'
import { toValue } from '@vueuse/core'
import { useGetPointerPosition, useVueFlow } from '.'
import {
calcAutoPan,

View File

@@ -1,5 +1,5 @@
import type { MaybeRefOrGetter } from 'vue'
import { toValue } from 'vue'
import { toValue } from '@vueuse/core'
import { useVueFlow } from './useVueFlow'
import type { Connection, ConnectionHandle, HandleType, MouseTouchEvent, ValidConnectionFunc } from '~/types'
import {

View File

@@ -1,7 +1,7 @@
import type { MaybeRefOrGetter } from 'vue'
import { ref, toValue, watch } from 'vue'
import { ref, watch } from 'vue'
import type { KeyFilter, KeyPredicate } from '@vueuse/core'
import { onKeyStroke, useEventListener } from '@vueuse/core'
import { onKeyStroke, toValue, useEventListener } from '@vueuse/core'
import { useWindow } from './useWindow'
export function isInputDOMNode(event: KeyboardEvent): boolean {