mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 06:01:37 +03:00
Move Rect
to util/
(#8121)
`rect.ts` is not a store, and hence does not belong in `stores/` # Important Notes None
This commit is contained in:
parent
8172896065
commit
8fc720a1a2
@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { Edge } from '@/stores/graph'
|
||||
import type { Rect } from '@/stores/rect'
|
||||
import type { Rect } from '@/util/rect'
|
||||
import { clamp } from '@vueuse/core'
|
||||
import type { ExprId } from 'shared/yjsModel'
|
||||
import { computed } from 'vue'
|
||||
|
@ -8,11 +8,11 @@ import SelectionBrush from '@/components/SelectionBrush.vue'
|
||||
import TopBar from '@/components/TopBar.vue'
|
||||
import { useGraphStore } from '@/stores/graph'
|
||||
import { useProjectStore } from '@/stores/project'
|
||||
import type { Rect } from '@/stores/rect'
|
||||
import { useSuggestionDbStore } from '@/stores/suggestionDatabase'
|
||||
import { colorFromString } from '@/util/colors'
|
||||
import { keyboardBusy, keyboardBusyExceptIn, useEvent, usePointer } from '@/util/events'
|
||||
import { useNavigator } from '@/util/navigator'
|
||||
import type { Rect } from '@/util/rect'
|
||||
import { Vec2 } from '@/util/vec2'
|
||||
import * as set from 'lib0/set'
|
||||
import type { ContentRange, ExprId } from 'shared/yjsModel'
|
||||
|
@ -10,7 +10,6 @@ import {
|
||||
} from '@/providers/visualizationConfig'
|
||||
import type { Node } from '@/stores/graph'
|
||||
import { useProjectStore } from '@/stores/project'
|
||||
import { Rect } from '@/stores/rect'
|
||||
import { useSuggestionDbStore } from '@/stores/suggestionDatabase'
|
||||
import {
|
||||
DEFAULT_VISUALIZATION_CONFIGURATION,
|
||||
@ -24,6 +23,7 @@ import { methodNameToIcon, typeNameToIcon } from '@/util/getIconName'
|
||||
import type { UnsafeMutable } from '@/util/mutable'
|
||||
import type { Opt } from '@/util/opt'
|
||||
import { qnJoin, tryQualifiedName } from '@/util/qualifiedName'
|
||||
import { Rect } from '@/util/rect'
|
||||
import { unwrap } from '@/util/result'
|
||||
import type { Vec2 } from '@/util/vec2'
|
||||
import type { ContentRange, ExprId, VisualizationIdentifier } from 'shared/yjsModel'
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { spanKindName, type Span } from '@/stores/graph'
|
||||
import { Rect } from '@/stores/rect'
|
||||
import { useResizeObserver } from '@/util/events'
|
||||
import { Rect } from '@/util/rect'
|
||||
import { Vec2 } from '@/util/vec2'
|
||||
import type { ExprId } from 'shared/yjsModel'
|
||||
import { computed, onUpdated, ref, shallowRef, watch } from 'vue'
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Rect } from '@/stores/rect'
|
||||
import { PointerButtonMask, useEvent, usePointer, useResizeObserver } from '@/util/events'
|
||||
import { Rect } from '@/util/rect'
|
||||
import { Vec2 } from '@/util/vec2'
|
||||
import { computed, proxyRefs, ref, type Ref } from 'vue'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user