@vue-flow/core
Advanced tools
Comparing version 1.33.3 to 1.33.4
@@ -1,2 +0,2 @@ | ||
import type { FlowOptions, FlowProps, VueFlowStore } from '../types' | ||
import type { FlowOptions, VueFlowStore } from '../types' | ||
@@ -27,2 +27,2 @@ /** | ||
*/ | ||
export declare function useVueFlow(options?: FlowProps): VueFlowStore | ||
export declare function useVueFlow(options?: FlowOptions): VueFlowStore |
@@ -718,5 +718,11 @@ import type { FlowSlots, VueFlowStore } from '../../types' | ||
) => void | ||
'update:modelValue': (value: import('../../types').FlowElements<any, any, any, any>) => void | ||
'update:nodes': (value: import('../../types').GraphNode<any, any, string>[]) => void | ||
'update:edges': (value: import('../../types').GraphEdge<any, any, string>[]) => void | ||
'edgeContextMenu': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeMouseEnter': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeMouseMove': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeMouseLeave': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeDoubleClick': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeClick': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeUpdateStart': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeUpdate': (edgeUpdateEvent: import('../../types').EdgeUpdateEvent) => void | ||
'edgeUpdateEnd': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'nodeDoubleClick': (nodeMouseEvent: import('../../types').NodeMouseEvent) => void | ||
@@ -731,11 +737,5 @@ 'nodeClick': (nodeMouseEvent: import('../../types').NodeMouseEvent) => void | ||
'nodeDragStop': (nodeDragEvent: import('../../types').NodeDragEvent) => void | ||
'edgeContextMenu': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeMouseEnter': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeMouseMove': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeMouseLeave': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeDoubleClick': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeClick': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeUpdateStart': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'edgeUpdate': (edgeUpdateEvent: import('../../types').EdgeUpdateEvent) => void | ||
'edgeUpdateEnd': (edgeMouseEvent: import('../../types').EdgeMouseEvent) => void | ||
'update:modelValue': (value: import('../../types').FlowElements<any, any, any, any>) => void | ||
'update:nodes': (value: import('../../types').GraphNode<any, any, string>[]) => void | ||
'update:edges': (value: import('../../types').GraphEdge<any, any, string>[]) => void | ||
}, | ||
@@ -742,0 +742,0 @@ string, |
@@ -190,25 +190,3 @@ import type { CSSProperties } from 'vue' | ||
export type FlowOptions = FlowProps | ||
export interface EdgeEvents { | ||
(event: 'edgeContextMenu', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeMouseEnter', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeMouseMove', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeMouseLeave', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeDoubleClick', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeClick', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeUpdateStart', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeUpdate', edgeUpdateEvent: EdgeUpdateEvent): void | ||
(event: 'edgeUpdateEnd', edgeMouseEvent: EdgeMouseEvent): void | ||
} | ||
export interface NodeEvents { | ||
(event: 'nodeDoubleClick', nodeMouseEvent: NodeMouseEvent): void | ||
(event: 'nodeClick', nodeMouseEvent: NodeMouseEvent): void | ||
(event: 'nodeMouseEnter', nodeMouseEvent: NodeMouseEvent): void | ||
(event: 'nodeMouseMove', nodeMouseEvent: NodeMouseEvent): void | ||
(event: 'nodeMouseLeave', nodeMouseEvent: NodeMouseEvent): void | ||
(event: 'nodeContextMenu', nodeMouseEvent: NodeMouseEvent): void | ||
(event: 'nodeDragStart', nodeDragEvent: NodeDragEvent): void | ||
(event: 'nodeDrag', nodeDragEvent: NodeDragEvent): void | ||
(event: 'nodeDragStop', nodeDragEvent: NodeDragEvent): void | ||
} | ||
export interface FlowEmits extends NodeEvents, EdgeEvents { | ||
export interface FlowEmits { | ||
(event: 'nodesChange', changes: NodeChange[]): void | ||
@@ -284,2 +262,20 @@ (event: 'edgesChange', changes: EdgeChange[]): void | ||
(event: 'error', error: VueFlowError): void | ||
(event: 'edgeContextMenu', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeMouseEnter', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeMouseMove', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeMouseLeave', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeDoubleClick', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeClick', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeUpdateStart', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'edgeUpdate', edgeUpdateEvent: EdgeUpdateEvent): void | ||
(event: 'edgeUpdateEnd', edgeMouseEvent: EdgeMouseEvent): void | ||
(event: 'nodeDoubleClick', nodeMouseEvent: NodeMouseEvent): void | ||
(event: 'nodeClick', nodeMouseEvent: NodeMouseEvent): void | ||
(event: 'nodeMouseEnter', nodeMouseEvent: NodeMouseEvent): void | ||
(event: 'nodeMouseMove', nodeMouseEvent: NodeMouseEvent): void | ||
(event: 'nodeMouseLeave', nodeMouseEvent: NodeMouseEvent): void | ||
(event: 'nodeContextMenu', nodeMouseEvent: NodeMouseEvent): void | ||
(event: 'nodeDragStart', nodeDragEvent: NodeDragEvent): void | ||
(event: 'nodeDrag', nodeDragEvent: NodeDragEvent): void | ||
(event: 'nodeDragStop', nodeDragEvent: NodeDragEvent): void | ||
/** v-model event definitions */ | ||
@@ -286,0 +282,0 @@ (event: 'update:modelValue', value: FlowElements): void |
{ | ||
"name": "@vue-flow/core", | ||
"version": "1.33.3", | ||
"version": "1.33.4", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1194968
34244