fix: add compatConfig to all components

This commit is contained in:
Alex Van Liew
2023-02-14 05:51:45 +00:00
committed by Braks
parent 2de90c7743
commit b19b9a871b
39 changed files with 69 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ const lineControls: ControlLinePosition[] = ['top', 'right', 'bottom', 'left']
<script lang="ts">
export default {
name: 'NodeResizer',
compatConfig: { MODE: 3 },
inheritAttrs: false,
}
</script>

View File

@@ -215,6 +215,13 @@ const colorStyleProp = computed(() => (props.variant === ResizeControlVariant.Li
const controlStyle = computed(() => (props.color ? { [colorStyleProp.value]: props.color } : {}))
</script>
<script lang="ts">
export default {
name: 'ResizeControl',
compatConfig: { MODE: 3 },
}
</script>
<template>
<div
ref="resizeControlRef"

View File

@@ -12,6 +12,13 @@ const emits = defineEmits<{
}>()
</script>
<script lang="ts">
export default {
name: 'ResizeControlLine',
compatConfig: { MODE: 3 },
}
</script>
<template>
<ResizeControl
v-bind="props"