chore: update deps

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-05-25 20:48:26 +02:00
committed by Braks
parent 128b968168
commit 5a86c7cf1d
16 changed files with 878 additions and 732 deletions
@@ -1,4 +1,3 @@
import { isNumber } from '@vueuse/core'
import type { Component, FunctionalComponent } from 'vue'
import EdgeText from './EdgeText.vue'
import type { BaseEdgeProps } from '~/types'
@@ -1,7 +1,7 @@
<script lang="ts" setup>
import { isString } from '@vueuse/core'
import type { EdgeTextProps } from '../../types/components'
import type { Rect as RectType } from '../../types'
import { isString } from '../../utils/general'
const {
x,
@@ -60,7 +60,7 @@ export default {
<text v-bind="$attrs" ref="el" class="vue-flow__edge-text" :y="box.height / 2" dy="0.3em" :style="labelStyle">
<slot>
<component :is="label" v-if="!isString(label)" />
<component :is="label as any" v-if="!isString(label)" />
<template v-else>
{{ label }}
</template>
@@ -1,5 +1,4 @@
<script lang="ts" setup>
import { isFunction, isString } from '@vueuse/core'
import { Position } from '../../types'
import type { HandleProps } from '../../types/handle'
@@ -1,4 +1,3 @@
import { isNumber } from '@vueuse/core'
import type { GraphNode, HandleConnectable, NodeComponent } from '~/types'
interface Props {