chore: update deps
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { isFunction, isString } from '@vueuse/core'
|
||||
import type {
|
||||
EdgeAddChange,
|
||||
EdgeChange,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { isNumber } from '@vueuse/shared'
|
||||
import type { Actions, CoordinateExtent, CoordinateExtentRange, GraphNode, NodeDragItem, State, XYPosition } from '~/types'
|
||||
|
||||
export function hasSelector(target: Element, selector: string, node: Element): boolean {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { isNumber } from '@vueuse/core'
|
||||
import type { Actions, EdgePositions, GraphEdge, GraphNode, HandleElement, Rect, ViewportTransform, XYPosition } from '~/types'
|
||||
import { Position } from '~/types'
|
||||
|
||||
|
||||
@@ -12,3 +12,19 @@ export function getEventPosition(event: MouseEvent | TouchEvent, bounds?: DOMRec
|
||||
y: evtY - (bounds?.top ?? 0),
|
||||
}
|
||||
}
|
||||
|
||||
export function isString(val: any): val is string {
|
||||
return typeof val === 'string'
|
||||
}
|
||||
|
||||
export function isFunction(val: any): val is Function {
|
||||
return typeof val === 'function'
|
||||
}
|
||||
|
||||
export function isBoolean(val: any): val is boolean {
|
||||
return typeof val === 'boolean'
|
||||
}
|
||||
|
||||
export function isNumber(val: any): val is number {
|
||||
return typeof val === 'number'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { isString } from '@vueuse/core'
|
||||
import type {
|
||||
Actions,
|
||||
Box,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import type { ToRefs } from 'vue'
|
||||
import type { WatchPausableReturn } from '@vueuse/core'
|
||||
import { isFunction } from '@vueuse/core'
|
||||
import type { Connection, FlowProps, VueFlowStore } from '~/types'
|
||||
|
||||
export function useWatch(
|
||||
|
||||
Reference in New Issue
Block a user