refactor(core): replace vueuse imports with vue

This commit is contained in:
braks
2024-02-21 23:27:01 +01:00
committed by Braks
parent c24287d4fc
commit e5a84656ad
11 changed files with 21 additions and 28 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
<script lang="ts" setup>
import { ref } from 'vue'
import { toRef } from '@vueuse/core'
import { ref, toRef } from 'vue'
import UserSelection from '../../components/UserSelection/UserSelection.vue'
import NodesSelection from '../../components/NodesSelection/NodesSelection.vue'
import type { GraphNode } from '../../types'
@@ -2,8 +2,7 @@
import type { D3ZoomEvent, ZoomTransform } from 'd3-zoom'
import { zoom, zoomIdentity } from 'd3-zoom'
import { pointer, select } from 'd3-selection'
import { onMounted, ref, watch } from 'vue'
import { toRef } from '@vueuse/core'
import { onMounted, ref, toRef, watch } from 'vue'
import type { CoordinateExtent, D3ZoomHandler, ViewportTransform } from '../../types'
import { PanOnScrollMode } from '../../types'
import { useKeyPress } from '../../composables/useKeyPress'