update: more changes to bundle config...

This commit is contained in:
Braks
2021-07-10 12:21:45 +02:00
parent 462c117d01
commit 082d460e12
35 changed files with 37 additions and 35 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { ref, defineComponent, CSSProperties, PropType, computed } from 'vue-demi';
import { ref, defineComponent, CSSProperties, PropType, computed } from 'vue';
import { getBezierPath } from '../Edges/BezierEdge';
import { getSmoothStepPath } from '../Edges/SmoothStepEdge';
+1 -1
View File
@@ -1,4 +1,4 @@
import { computed, CSSProperties, defineComponent, PropType } from 'vue-demi';
import { computed, CSSProperties, defineComponent, PropType } from 'vue';
import EdgeText from './EdgeText';
+1 -1
View File
@@ -1,5 +1,5 @@
import { Position } from '../../types';
import { defineComponent, HTMLAttributes, PropType } from 'vue-demi';
import { defineComponent, HTMLAttributes, PropType } from 'vue';
const shiftX = (x: number, shift: number, position: Position): number => {
if (position === Position.Left) return x - shift;
+1 -1
View File
@@ -1,5 +1,5 @@
import { EdgeTextProps, Rect } from '../../types';
import { defineComponent, PropType, ref, watch } from 'vue-demi';
import { defineComponent, PropType, ref, watch } from 'vue';
const EdgeText = defineComponent({
props: {
+1 -1
View File
@@ -1,4 +1,4 @@
import { defineComponent } from 'vue-demi';
import { defineComponent } from 'vue';
import EdgeText from './EdgeText';
import { getMarkerEnd, getCenter } from './utils';
+1 -1
View File
@@ -1,4 +1,4 @@
import { defineComponent } from 'vue-demi';
import { defineComponent } from 'vue';
import { EdgeSmoothStepProps } from '../../types';
import SmoothStepEdge from './SmoothStepEdge';
+1 -1
View File
@@ -1,4 +1,4 @@
import { defineComponent } from 'vue-demi';
import { defineComponent } from 'vue';
import EdgeText from './EdgeText';
import { getMarkerEnd } from './utils';
+1 -1
View File
@@ -1,4 +1,4 @@
import { Component, computed, defineComponent, ref } from 'vue-demi';
import { Component, computed, defineComponent, ref } from 'vue';
import store from '../../store';
import { Edge, EdgeProps, Position, WrapEdgeProps } from '../../types';
+1 -1
View File
@@ -1,6 +1,6 @@
import { Connection, ElementId, Position } from '../../types';
import { onMouseDown, ValidConnectionFunc } from './handler';
import { defineComponent, inject, PropType } from 'vue-demi';
import { defineComponent, inject, PropType } from 'vue';
import store from '../../store';
const alwaysValid = () => true;
+1 -1
View File
@@ -1,6 +1,6 @@
import Handle from '../../components/Handle';
import { NodeProps, Position } from '../../types';
import { defineComponent, PropType } from 'vue-demi';
import { defineComponent, PropType } from 'vue';
const DefaultNode = defineComponent({
name: 'DefaultNode',
+1 -1
View File
@@ -1,6 +1,6 @@
import Handle from '../../components/Handle';
import { NodeProps, Position } from '../../types';
import { defineComponent, PropType } from 'vue-demi';
import { defineComponent, PropType } from 'vue';
const InputNode = defineComponent({
name: 'InputNode',
+1 -1
View File
@@ -1,6 +1,6 @@
import Handle from '../../components/Handle';
import { NodeProps, Position } from '../../types';
import { defineComponent, PropType } from 'vue-demi';
import { defineComponent, PropType } from 'vue';
const OutputNode = defineComponent({
name: 'OutputNode',
+1 -1
View File
@@ -1,5 +1,5 @@
import { Node, WrapNodeProps } from '../../types';
import { computed, CSSProperties, defineComponent, onMounted, provide, ref } from 'vue-demi';
import { computed, CSSProperties, defineComponent, onMounted, provide, ref } from 'vue';
import store from '../../store';
export default (NodeComponent: any) => {
+1 -1
View File
@@ -2,7 +2,7 @@
* The user selection rectangle gets displayed when a user drags the mouse while pressing shift
*/
import { XYPosition } from '../../types';
import { defineComponent, PropType } from 'vue-demi';
import { defineComponent, PropType } from 'vue';
import store from '../../store';
type UserSelectionProps = {