chore(svelte): cleanup imports
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { getContext } from 'svelte';
|
||||||
|
|
||||||
import { EdgeLabelRenderer } from '$lib/components/EdgeLabelRenderer';
|
import { EdgeLabelRenderer } from '$lib/components/EdgeLabelRenderer';
|
||||||
import { useHandleEdgeSelect } from '$lib/hooks/useHandleEdgeSelect';
|
import { useHandleEdgeSelect } from '$lib/hooks/useHandleEdgeSelect';
|
||||||
import { getContext } from 'svelte';
|
import type { BaseEdgeProps } from '$lib/components/BaseEdge/types';
|
||||||
import type { BaseEdgeProps } from '../BaseEdge/types';
|
|
||||||
|
|
||||||
export let style: BaseEdgeProps['labelStyle'] = undefined;
|
export let style: BaseEdgeProps['labelStyle'] = undefined;
|
||||||
export let x: BaseEdgeProps['labelX'] = undefined;
|
export let x: BaseEdgeProps['labelX'] = undefined;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<svelte:options immutable />
|
<svelte:options immutable />
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import cc from 'classcat';
|
|
||||||
import { createEventDispatcher, setContext } from 'svelte';
|
import { createEventDispatcher, setContext } from 'svelte';
|
||||||
|
import cc from 'classcat';
|
||||||
import { getMarkerId } from '@xyflow/system';
|
import { getMarkerId } from '@xyflow/system';
|
||||||
|
|
||||||
import { useStore } from '$lib/store';
|
import { useStore } from '$lib/store';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { get } from 'svelte/store';
|
import { get } from 'svelte/store';
|
||||||
|
import { errorMessages } from '@xyflow/system';
|
||||||
|
|
||||||
import { useStore } from '$lib/store';
|
import { useStore } from '$lib/store';
|
||||||
import { errorMessages } from '@xyflow/system';
|
|
||||||
|
|
||||||
export function useHandleEdgeSelect() {
|
export function useHandleEdgeSelect() {
|
||||||
const {
|
const {
|
||||||
|
|||||||
Reference in New Issue
Block a user