chore: update deps
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user