Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue-flow/core

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-flow/core - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

dist/utils/watch.d.ts

173

dist/components/ConnectionLine/ConnectionLine.vue.d.ts
import type { GraphNode } from '../../types'
declare const _default: import('vue').DefineComponent<
__VLS_TypePropsToRuntimeProps<{
sourceNode: GraphNode
}>,
declare const _default: {
new (...args: any[]): {
$: import('vue').ComponentInternalInstance
$data: {}
$props: Partial<{}> &
Omit<
Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToRuntimeProps<{
sourceNode: GraphNode
}>
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps,
never
>
$attrs: {
[x: string]: unknown
}
$refs: {
[x: string]: unknown
}
$slots: Readonly<{
[name: string]: import('vue').Slot | undefined
}>
$root:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$parent:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$emit: (event: string, ...args: any[]) => void
$el: any
$options: import('vue').ComponentOptionsBase<
Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToRuntimeProps<{
sourceNode: GraphNode
}>
>
>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
Record<string, any>,
string,
{}
> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined
created?: ((() => void) | (() => void)[]) | undefined
beforeMount?: ((() => void) | (() => void)[]) | undefined
mounted?: ((() => void) | (() => void)[]) | undefined
beforeUpdate?: ((() => void) | (() => void)[]) | undefined
updated?: ((() => void) | (() => void)[]) | undefined
activated?: ((() => void) | (() => void)[]) | undefined
deactivated?: ((() => void) | (() => void)[]) | undefined
beforeDestroy?: ((() => void) | (() => void)[]) | undefined
beforeUnmount?: ((() => void) | (() => void)[]) | undefined
destroyed?: ((() => void) | (() => void)[]) | undefined
unmounted?: ((() => void) | (() => void)[]) | undefined
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
errorCaptured?:
| (
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)[]
)
| undefined
}
$forceUpdate: () => void
$nextTick: typeof import('vue').nextTick
$watch(
source: string | Function,
cb: Function,
options?: import('vue').WatchOptions<boolean> | undefined,
): import('vue').WatchStopHandle
} & Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToRuntimeProps<{
sourceNode: GraphNode
}>
>
> &
import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties
__isFragment?: undefined
__isTeleport?: undefined
__isSuspense?: undefined
} & import('vue').ComponentOptionsBase<
Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToRuntimeProps<{
sourceNode: GraphNode
}>
>
>,
{},

@@ -14,12 +166,7 @@ unknown,

string,
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToRuntimeProps<{
sourceNode: GraphNode
}>
>
>,
{}
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps
export default _default

@@ -26,0 +173,0 @@ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T

import type { GraphNode, HandleConnectable, NodeComponent, SnapGrid } from '../../types'
declare const _default: import('vue').DefineComponent<
__VLS_TypePropsToRuntimeProps<{
id: string
draggable: boolean
selectable: boolean
connectable: HandleConnectable
snapGrid?: SnapGrid | undefined
type: NodeComponent | Function | Object | false
name: string
node: GraphNode
resizeObserver: ResizeObserver
}>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
Record<string, any>,
string,
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
declare const _default: {
new (...args: any[]): {
$: import('vue').ComponentInternalInstance
$data: {}
$props: Partial<{}> &
Omit<
Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToRuntimeProps<{
id: string
draggable: boolean
selectable: boolean
connectable: HandleConnectable
snapGrid?: SnapGrid | undefined
type: NodeComponent | Function | Object | false
name: string
node: GraphNode
resizeObserver: ResizeObserver
}>
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps,
never
>
$attrs: {
[x: string]: unknown
}
$refs: {
[x: string]: unknown
}
$slots: Readonly<{
[name: string]: import('vue').Slot | undefined
}>
$root:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$parent:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$emit: (event: string, ...args: any[]) => void
$el: any
$options: import('vue').ComponentOptionsBase<
Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToRuntimeProps<{
id: string
draggable: boolean
selectable: boolean
connectable: HandleConnectable
snapGrid?: SnapGrid | undefined
type: NodeComponent | Function | Object | false
name: string
node: GraphNode
resizeObserver: ResizeObserver
}>
>
>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
Record<string, any>,
string,
{}
> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined
created?: ((() => void) | (() => void)[]) | undefined
beforeMount?: ((() => void) | (() => void)[]) | undefined
mounted?: ((() => void) | (() => void)[]) | undefined
beforeUpdate?: ((() => void) | (() => void)[]) | undefined
updated?: ((() => void) | (() => void)[]) | undefined
activated?: ((() => void) | (() => void)[]) | undefined
deactivated?: ((() => void) | (() => void)[]) | undefined
beforeDestroy?: ((() => void) | (() => void)[]) | undefined
beforeUnmount?: ((() => void) | (() => void)[]) | undefined
destroyed?: ((() => void) | (() => void)[]) | undefined
unmounted?: ((() => void) | (() => void)[]) | undefined
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
errorCaptured?:
| (
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)[]
)
| undefined
}
$forceUpdate: () => void
$nextTick: typeof import('vue').nextTick
$watch(
source: string | Function,
cb: Function,
options?: import('vue').WatchOptions<boolean> | undefined,
): import('vue').WatchStopHandle
} & Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToRuntimeProps<{
id: string
draggable: boolean
selectable: boolean
connectable: HandleConnectable
snapGrid?: SnapGrid | undefined
type: NodeComponent | Function | Object | false
name: string
node: GraphNode
resizeObserver: ResizeObserver
}>
>
> &
import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties
__isFragment?: undefined
__isTeleport?: undefined
__isSuspense?: undefined
} & import('vue').ComponentOptionsBase<
Readonly<

@@ -38,4 +190,15 @@ import('vue').ExtractPropTypes<

>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
Record<string, any>,
string,
{}
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps
export default _default

@@ -42,0 +205,0 @@ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T

@@ -1,2 +0,133 @@

declare const _default: import('vue').DefineComponent<
declare const _default: {
new (...args: any[]): {
$: import('vue').ComponentInternalInstance
$data: {}
$props: Partial<{}> &
Omit<
Readonly<import('vue').ExtractPropTypes<{}>> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps,
never
>
$attrs: {
[x: string]: unknown
}
$refs: {
[x: string]: unknown
}
$slots: Readonly<{
[name: string]: import('vue').Slot | undefined
}>
$root:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$parent:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void)
$el: any
$options: import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<{}>>,
{},
{},
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
import('vue').EmitsOptions,
string,
{}
> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined
created?: ((() => void) | (() => void)[]) | undefined
beforeMount?: ((() => void) | (() => void)[]) | undefined
mounted?: ((() => void) | (() => void)[]) | undefined
beforeUpdate?: ((() => void) | (() => void)[]) | undefined
updated?: ((() => void) | (() => void)[]) | undefined
activated?: ((() => void) | (() => void)[]) | undefined
deactivated?: ((() => void) | (() => void)[]) | undefined
beforeDestroy?: ((() => void) | (() => void)[]) | undefined
beforeUnmount?: ((() => void) | (() => void)[]) | undefined
destroyed?: ((() => void) | (() => void)[]) | undefined
unmounted?: ((() => void) | (() => void)[]) | undefined
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
errorCaptured?:
| (
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)[]
)
| undefined
}
$forceUpdate: () => void
$nextTick: typeof import('vue').nextTick
$watch(
source: string | Function,
cb: Function,
options?: import('vue').WatchOptions<boolean> | undefined,
): import('vue').WatchStopHandle
} & Readonly<import('vue').ExtractPropTypes<{}>> &
import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties
__isFragment?: undefined
__isTeleport?: undefined
__isSuspense?: undefined
} & import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<{}>>,
{},

@@ -6,3 +137,2 @@ {},

{},
{},
import('vue').ComponentOptionsMixin,

@@ -12,6 +142,7 @@ import('vue').ComponentOptionsMixin,

string,
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
Readonly<import('vue').ExtractPropTypes<{}>>,
{}
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps
export default _default

@@ -1,17 +0,159 @@

declare const _default: import('vue').DefineComponent<
__VLS_TypePropsToRuntimeProps<{
width: number
height: number
x: number
y: number
}>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
Record<string, any>,
string,
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
declare const _default: {
new (...args: any[]): {
$: import('vue').ComponentInternalInstance
$data: {}
$props: Partial<{}> &
Omit<
Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToRuntimeProps<{
width: number
height: number
x: number
y: number
}>
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps,
never
>
$attrs: {
[x: string]: unknown
}
$refs: {
[x: string]: unknown
}
$slots: Readonly<{
[name: string]: import('vue').Slot | undefined
}>
$root:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$parent:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$emit: (event: string, ...args: any[]) => void
$el: any
$options: import('vue').ComponentOptionsBase<
Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToRuntimeProps<{
width: number
height: number
x: number
y: number
}>
>
>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
Record<string, any>,
string,
{}
> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined
created?: ((() => void) | (() => void)[]) | undefined
beforeMount?: ((() => void) | (() => void)[]) | undefined
mounted?: ((() => void) | (() => void)[]) | undefined
beforeUpdate?: ((() => void) | (() => void)[]) | undefined
updated?: ((() => void) | (() => void)[]) | undefined
activated?: ((() => void) | (() => void)[]) | undefined
deactivated?: ((() => void) | (() => void)[]) | undefined
beforeDestroy?: ((() => void) | (() => void)[]) | undefined
beforeUnmount?: ((() => void) | (() => void)[]) | undefined
destroyed?: ((() => void) | (() => void)[]) | undefined
unmounted?: ((() => void) | (() => void)[]) | undefined
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
errorCaptured?:
| (
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)[]
)
| undefined
}
$forceUpdate: () => void
$nextTick: typeof import('vue').nextTick
$watch(
source: string | Function,
cb: Function,
options?: import('vue').WatchOptions<boolean> | undefined,
): import('vue').WatchStopHandle
} & Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToRuntimeProps<{
width: number
height: number
x: number
y: number
}>
>
> &
import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties
__isFragment?: undefined
__isTeleport?: undefined
__isSuspense?: undefined
} & import('vue').ComponentOptionsBase<
Readonly<

@@ -27,4 +169,15 @@ import('vue').ExtractPropTypes<

>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
Record<string, any>,
string,
{}
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps
export default _default

@@ -31,0 +184,0 @@ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T

@@ -1,2 +0,133 @@

declare const _default: import('vue').DefineComponent<
declare const _default: {
new (...args: any[]): {
$: import('vue').ComponentInternalInstance
$data: {}
$props: Partial<{}> &
Omit<
Readonly<import('vue').ExtractPropTypes<{}>> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps,
never
>
$attrs: {
[x: string]: unknown
}
$refs: {
[x: string]: unknown
}
$slots: Readonly<{
[name: string]: import('vue').Slot | undefined
}>
$root:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$parent:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void)
$el: any
$options: import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<{}>>,
{},
{},
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
import('vue').EmitsOptions,
string,
{}
> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined
created?: ((() => void) | (() => void)[]) | undefined
beforeMount?: ((() => void) | (() => void)[]) | undefined
mounted?: ((() => void) | (() => void)[]) | undefined
beforeUpdate?: ((() => void) | (() => void)[]) | undefined
updated?: ((() => void) | (() => void)[]) | undefined
activated?: ((() => void) | (() => void)[]) | undefined
deactivated?: ((() => void) | (() => void)[]) | undefined
beforeDestroy?: ((() => void) | (() => void)[]) | undefined
beforeUnmount?: ((() => void) | (() => void)[]) | undefined
destroyed?: ((() => void) | (() => void)[]) | undefined
unmounted?: ((() => void) | (() => void)[]) | undefined
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
errorCaptured?:
| (
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)[]
)
| undefined
}
$forceUpdate: () => void
$nextTick: typeof import('vue').nextTick
$watch(
source: string | Function,
cb: Function,
options?: import('vue').WatchOptions<boolean> | undefined,
): import('vue').WatchStopHandle
} & Readonly<import('vue').ExtractPropTypes<{}>> &
import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties
__isFragment?: undefined
__isTeleport?: undefined
__isSuspense?: undefined
} & import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<{}>>,
{},

@@ -6,3 +137,2 @@ {},

{},
{},
import('vue').ComponentOptionsMixin,

@@ -12,6 +142,7 @@ import('vue').ComponentOptionsMixin,

string,
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
Readonly<import('vue').ExtractPropTypes<{}>>,
{}
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps
export default _default

4

dist/composables/useNode.d.ts

@@ -15,4 +15,4 @@ import type { CustomEvent, ElementData } from '../types'

node: import('../types').GraphNode<Data, CustomEvents>
parentNode: import('vue').ComputedRef<import('~/types').GraphNode<any, any> | undefined>
connectedEdges: import('vue').ComputedRef<import('~/types').GraphEdge<any, any>[]>
parentNode: import('vue').ComputedRef<import('../types').GraphNode<any, any> | undefined>
connectedEdges: import('vue').ComputedRef<import('../types').GraphEdge<any, any>[]>
}

@@ -1,2 +0,133 @@

declare const _default: import('vue').DefineComponent<
declare const _default: {
new (...args: any[]): {
$: import('vue').ComponentInternalInstance
$data: {}
$props: Partial<{}> &
Omit<
Readonly<import('vue').ExtractPropTypes<{}>> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps,
never
>
$attrs: {
[x: string]: unknown
}
$refs: {
[x: string]: unknown
}
$slots: Readonly<{
[name: string]: import('vue').Slot | undefined
}>
$root:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$parent:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void)
$el: any
$options: import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<{}>>,
{},
{},
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
import('vue').EmitsOptions,
string,
{}
> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined
created?: ((() => void) | (() => void)[]) | undefined
beforeMount?: ((() => void) | (() => void)[]) | undefined
mounted?: ((() => void) | (() => void)[]) | undefined
beforeUpdate?: ((() => void) | (() => void)[]) | undefined
updated?: ((() => void) | (() => void)[]) | undefined
activated?: ((() => void) | (() => void)[]) | undefined
deactivated?: ((() => void) | (() => void)[]) | undefined
beforeDestroy?: ((() => void) | (() => void)[]) | undefined
beforeUnmount?: ((() => void) | (() => void)[]) | undefined
destroyed?: ((() => void) | (() => void)[]) | undefined
unmounted?: ((() => void) | (() => void)[]) | undefined
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
errorCaptured?:
| (
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)[]
)
| undefined
}
$forceUpdate: () => void
$nextTick: typeof import('vue').nextTick
$watch(
source: string | Function,
cb: Function,
options?: import('vue').WatchOptions<boolean> | undefined,
): import('vue').WatchStopHandle
} & Readonly<import('vue').ExtractPropTypes<{}>> &
import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties
__isFragment?: undefined
__isTeleport?: undefined
__isSuspense?: undefined
} & import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<{}>>,
{},

@@ -6,3 +137,2 @@ {},

{},
{},
import('vue').ComponentOptionsMixin,

@@ -12,6 +142,7 @@ import('vue').ComponentOptionsMixin,

string,
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
Readonly<import('vue').ExtractPropTypes<{}>>,
{}
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps
export default _default
import type { MarkerProps } from '../../types/edge'
declare const _default: import('vue').DefineComponent<
__VLS_TypePropsToRuntimeProps<MarkerProps>,
declare const _default: {
new (...args: any[]): {
$: import('vue').ComponentInternalInstance
$data: {}
$props: Partial<{}> &
Omit<
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MarkerProps>>> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps,
never
>
$attrs: {
[x: string]: unknown
}
$refs: {
[x: string]: unknown
}
$slots: Readonly<{
[name: string]: import('vue').Slot | undefined
}>
$root:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$parent:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$emit: (event: string, ...args: any[]) => void
$el: any
$options: import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MarkerProps>>>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
Record<string, any>,
string,
{}
> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined
created?: ((() => void) | (() => void)[]) | undefined
beforeMount?: ((() => void) | (() => void)[]) | undefined
mounted?: ((() => void) | (() => void)[]) | undefined
beforeUpdate?: ((() => void) | (() => void)[]) | undefined
updated?: ((() => void) | (() => void)[]) | undefined
activated?: ((() => void) | (() => void)[]) | undefined
deactivated?: ((() => void) | (() => void)[]) | undefined
beforeDestroy?: ((() => void) | (() => void)[]) | undefined
beforeUnmount?: ((() => void) | (() => void)[]) | undefined
destroyed?: ((() => void) | (() => void)[]) | undefined
unmounted?: ((() => void) | (() => void)[]) | undefined
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
errorCaptured?:
| (
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)[]
)
| undefined
}
$forceUpdate: () => void
$nextTick: typeof import('vue').nextTick
$watch(
source: string | Function,
cb: Function,
options?: import('vue').WatchOptions<boolean> | undefined,
): import('vue').WatchStopHandle
} & Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MarkerProps>>> &
import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties
__isFragment?: undefined
__isTeleport?: undefined
__isSuspense?: undefined
} & import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MarkerProps>>>,
{},

@@ -12,6 +142,7 @@ unknown,

string,
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MarkerProps>>>,
{}
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps
export default _default

@@ -18,0 +149,0 @@ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T

@@ -1,2 +0,133 @@

declare const _default: import('vue').DefineComponent<
declare const _default: {
new (...args: any[]): {
$: import('vue').ComponentInternalInstance
$data: {}
$props: Partial<{}> &
Omit<
Readonly<import('vue').ExtractPropTypes<{}>> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps,
never
>
$attrs: {
[x: string]: unknown
}
$refs: {
[x: string]: unknown
}
$slots: Readonly<{
[name: string]: import('vue').Slot | undefined
}>
$root:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$parent:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void)
$el: any
$options: import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<{}>>,
{},
{},
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
import('vue').EmitsOptions,
string,
{}
> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined
created?: ((() => void) | (() => void)[]) | undefined
beforeMount?: ((() => void) | (() => void)[]) | undefined
mounted?: ((() => void) | (() => void)[]) | undefined
beforeUpdate?: ((() => void) | (() => void)[]) | undefined
updated?: ((() => void) | (() => void)[]) | undefined
activated?: ((() => void) | (() => void)[]) | undefined
deactivated?: ((() => void) | (() => void)[]) | undefined
beforeDestroy?: ((() => void) | (() => void)[]) | undefined
beforeUnmount?: ((() => void) | (() => void)[]) | undefined
destroyed?: ((() => void) | (() => void)[]) | undefined
unmounted?: ((() => void) | (() => void)[]) | undefined
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
errorCaptured?:
| (
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)[]
)
| undefined
}
$forceUpdate: () => void
$nextTick: typeof import('vue').nextTick
$watch(
source: string | Function,
cb: Function,
options?: import('vue').WatchOptions<boolean> | undefined,
): import('vue').WatchStopHandle
} & Readonly<import('vue').ExtractPropTypes<{}>> &
import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties
__isFragment?: undefined
__isTeleport?: undefined
__isSuspense?: undefined
} & import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<{}>>,
{},

@@ -6,3 +137,2 @@ {},

{},
{},
import('vue').ComponentOptionsMixin,

@@ -12,6 +142,7 @@ import('vue').ComponentOptionsMixin,

string,
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
Readonly<import('vue').ExtractPropTypes<{}>>,
{}
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps
export default _default

@@ -1,2 +0,133 @@

declare const _default: import('vue').DefineComponent<
declare const _default: {
new (...args: any[]): {
$: import('vue').ComponentInternalInstance
$data: {}
$props: Partial<{}> &
Omit<
Readonly<import('vue').ExtractPropTypes<{}>> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps,
never
>
$attrs: {
[x: string]: unknown
}
$refs: {
[x: string]: unknown
}
$slots: Readonly<{
[name: string]: import('vue').Slot | undefined
}>
$root:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$parent:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void)
$el: any
$options: import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<{}>>,
{},
{},
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
import('vue').EmitsOptions,
string,
{}
> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined
created?: ((() => void) | (() => void)[]) | undefined
beforeMount?: ((() => void) | (() => void)[]) | undefined
mounted?: ((() => void) | (() => void)[]) | undefined
beforeUpdate?: ((() => void) | (() => void)[]) | undefined
updated?: ((() => void) | (() => void)[]) | undefined
activated?: ((() => void) | (() => void)[]) | undefined
deactivated?: ((() => void) | (() => void)[]) | undefined
beforeDestroy?: ((() => void) | (() => void)[]) | undefined
beforeUnmount?: ((() => void) | (() => void)[]) | undefined
destroyed?: ((() => void) | (() => void)[]) | undefined
unmounted?: ((() => void) | (() => void)[]) | undefined
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
errorCaptured?:
| (
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)[]
)
| undefined
}
$forceUpdate: () => void
$nextTick: typeof import('vue').nextTick
$watch(
source: string | Function,
cb: Function,
options?: import('vue').WatchOptions<boolean> | undefined,
): import('vue').WatchStopHandle
} & Readonly<import('vue').ExtractPropTypes<{}>> &
import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties
__isFragment?: undefined
__isTeleport?: undefined
__isSuspense?: undefined
} & import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<{}>>,
{},

@@ -6,3 +137,2 @@ {},

{},
{},
import('vue').ComponentOptionsMixin,

@@ -12,6 +142,7 @@ import('vue').ComponentOptionsMixin,

string,
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
Readonly<import('vue').ExtractPropTypes<{}>>,
{}
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps
export default _default

@@ -1,2 +0,133 @@

declare const _default: import('vue').DefineComponent<
declare const _default: {
new (...args: any[]): {
$: import('vue').ComponentInternalInstance
$data: {}
$props: Partial<{}> &
Omit<
Readonly<import('vue').ExtractPropTypes<{}>> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps,
never
>
$attrs: {
[x: string]: unknown
}
$refs: {
[x: string]: unknown
}
$slots: Readonly<{
[name: string]: import('vue').Slot | undefined
}>
$root:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$parent:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null
$emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void)
$el: any
$options: import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<{}>>,
{},
{},
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
import('vue').EmitsOptions,
string,
{}
> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined
created?: ((() => void) | (() => void)[]) | undefined
beforeMount?: ((() => void) | (() => void)[]) | undefined
mounted?: ((() => void) | (() => void)[]) | undefined
beforeUpdate?: ((() => void) | (() => void)[]) | undefined
updated?: ((() => void) | (() => void)[]) | undefined
activated?: ((() => void) | (() => void)[]) | undefined
deactivated?: ((() => void) | (() => void)[]) | undefined
beforeDestroy?: ((() => void) | (() => void)[]) | undefined
beforeUnmount?: ((() => void) | (() => void)[]) | undefined
destroyed?: ((() => void) | (() => void)[]) | undefined
unmounted?: ((() => void) | (() => void)[]) | undefined
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined
errorCaptured?:
| (
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)
| ((
err: unknown,
instance:
| import('vue').ComponentPublicInstance<
{},
{},
{},
{},
{},
{},
{},
{},
false,
import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>
>
| null,
info: string,
) => boolean | void)[]
)
| undefined
}
$forceUpdate: () => void
$nextTick: typeof import('vue').nextTick
$watch(
source: string | Function,
cb: Function,
options?: import('vue').WatchOptions<boolean> | undefined,
): import('vue').WatchStopHandle
} & Readonly<import('vue').ExtractPropTypes<{}>> &
import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties
__isFragment?: undefined
__isTeleport?: undefined
__isSuspense?: undefined
} & import('vue').ComponentOptionsBase<
Readonly<import('vue').ExtractPropTypes<{}>>,
{},

@@ -6,3 +137,2 @@ {},

{},
{},
import('vue').ComponentOptionsMixin,

@@ -12,6 +142,7 @@ import('vue').ComponentOptionsMixin,

string,
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
Readonly<import('vue').ExtractPropTypes<{}>>,
{}
>
> &
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps
export default _default

@@ -26,3 +26,3 @@ import type { Connection, CoordinateExtent, Edge, Getters, GraphEdge, GraphNode, Node } from '../types'

| import('vue').Component<
import('~/types').EdgeTextProps,
import('../types').EdgeTextProps,
any,

@@ -29,0 +29,0 @@ any,

{
"name": "@vue-flow/core",
"version": "1.3.0",
"version": "1.3.1",
"private": false,

@@ -15,4 +15,4 @@ "license": "MIT",

},
"main": "./dist/vue-flow-core.cjs.js",
"module": "./dist/vue-flow-core.es.js",
"main": "./dist/vue-flow-core.js",
"module": "./dist/vue-flow-core.mjs",
"types": "./dist/index.d.ts",

@@ -29,3 +29,3 @@ "unpkg": "./dist/vue-flow-core.iife.js",

"dependencies": {
"@vueuse/core": "^9.3.0",
"@vueuse/core": "^9.4.0",
"d3-drag": "^3.0.0",

@@ -38,4 +38,4 @@ "d3-selection": "^3.0.0",

"@types/d3": "^7.4.0",
"@vitejs/plugin-vue": "^2.3.4",
"autoprefixer": "^10.4.8",
"@vitejs/plugin-vue": "^3.2.0",
"autoprefixer": "^10.4.13",
"postcss": "^8.4.16",

@@ -45,7 +45,7 @@ "postcss-cli": "^9.1.0",

"ts-patch": "^2.0.2",
"typescript-transform-paths": "^3.3.1",
"unplugin-auto-import": "^0.11.2",
"vite": "^2.9.15",
"typescript-transform-paths": "^3.4.4",
"unplugin-auto-import": "^0.11.4",
"vite": "^3.2.2",
"vite-plugin-vue-type-imports": "0.2.0",
"vue-tsc": "^0.40.13"
"vue-tsc": "^1.0.9"
},

@@ -52,0 +52,0 @@ "publishConfig": {

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc