fix: add compatConfig to all components
This commit is contained in:
@@ -89,6 +89,7 @@ function getType(type?: string, template?: GraphEdge['template']) {
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'Edges',
|
||||
compatConfig: { MODE: 3 },
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ const {
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'MarkerType',
|
||||
compatConfig: { MODE: 3 },
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ const markers = computed(() => {
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'MarkerDefinitions',
|
||||
compatConfig: { MODE: 3 },
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -78,6 +78,7 @@ function getType(type?: string, template?: GraphNode['template']) {
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'Nodes',
|
||||
compatConfig: { MODE: 3 },
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -215,6 +215,7 @@ function onMouseEnter(event: MouseEvent) {
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'Pane',
|
||||
compatConfig: { MODE: 3 },
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ onMounted(async () => {
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'Transform',
|
||||
compatConfig: { MODE: 3 },
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -299,6 +299,7 @@ function isWrappedWithClass(event: Event, className: string | undefined) {
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'Viewport',
|
||||
compatConfig: { MODE: 3 },
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -153,6 +153,7 @@ defineExpose<VueFlowStore>({
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'VueFlow',
|
||||
compatConfig: { MODE: 3 },
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user