refactor(core): replace vueuse imports with vue
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user