@processmaker/modeler 1.46.2 → 1.46.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modeler.common.js +199 -85
- package/dist/modeler.common.js.map +1 -1
- package/dist/modeler.umd.js +199 -85
- package/dist/modeler.umd.js.map +1 -1
- package/dist/modeler.umd.min.js +1 -1
- package/dist/modeler.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/nodes/sequenceFlow/sequenceFlow.vue +4 -1
- package/src/mixins/linkConfig.js +97 -14
package/dist/modeler.common.js
CHANGED
|
@@ -32632,7 +32632,8 @@ function isPoint(item) {
|
|
|
32632
32632
|
listeningToMouseup: false,
|
|
32633
32633
|
listeningToMouseleave: false,
|
|
32634
32634
|
vertices: null,
|
|
32635
|
-
anchorPointFunction: getDefaultAnchorPoint
|
|
32635
|
+
anchorPointFunction: getDefaultAnchorPoint,
|
|
32636
|
+
onChangeWasFired: false
|
|
32636
32637
|
};
|
|
32637
32638
|
},
|
|
32638
32639
|
watch: {
|
|
@@ -32783,6 +32784,9 @@ function isPoint(item) {
|
|
|
32783
32784
|
this.shape.listenTo(this.sourceShape, 'change:position', this.updateWaypoints);
|
|
32784
32785
|
this.shape.listenTo(targetShape, 'change:position', this.updateWaypoints);
|
|
32785
32786
|
this.shape.listenTo(this.paper, 'link:mouseleave', this.storeWaypoints);
|
|
32787
|
+
// Listens to the 'pointerup' event when a link is interacted with on the shape.
|
|
32788
|
+
// When the event occurs, the 'pointerUpHandler' method is invoked to handle the pointer up action.
|
|
32789
|
+
this.shape.listenTo(this.paper, 'link:pointerup', this.pointerUpHandler);
|
|
32786
32790
|
var sourceShape = this.shape.getSourceElement();
|
|
32787
32791
|
sourceShape.embed(this.shape);
|
|
32788
32792
|
this.$emit('set-shape-stacking', sourceShape);
|
|
@@ -32836,67 +32840,168 @@ function isPoint(item) {
|
|
|
32836
32840
|
}))();
|
|
32837
32841
|
},
|
|
32838
32842
|
/**
|
|
32839
|
-
|
|
32840
|
-
|
|
32841
|
-
|
|
32842
|
-
|
|
32843
|
-
|
|
32844
|
-
onChangeTargets: function onChangeTargets(link, vertices, options) {
|
|
32843
|
+
* Handles the pointer up event.
|
|
32844
|
+
* Performs actions based on changes in the target shape.
|
|
32845
|
+
* @async
|
|
32846
|
+
*/
|
|
32847
|
+
pointerUpHandler: function pointerUpHandler() {
|
|
32845
32848
|
var _this5 = this;
|
|
32846
32849
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
32850
|
+
var targetChanged, _this5$isValid, targetNode, targetConfig, isValid;
|
|
32847
32851
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
32848
32852
|
while (1) switch (_context2.prev = _context2.next) {
|
|
32849
32853
|
case 0:
|
|
32850
|
-
if (
|
|
32851
|
-
_context2.next =
|
|
32854
|
+
if (_this5.onChangeWasFired) {
|
|
32855
|
+
_context2.next = 2;
|
|
32852
32856
|
break;
|
|
32853
32857
|
}
|
|
32854
|
-
_context2.
|
|
32855
|
-
|
|
32856
|
-
|
|
32857
|
-
|
|
32858
|
-
|
|
32859
|
-
|
|
32860
|
-
|
|
32861
|
-
|
|
32858
|
+
return _context2.abrupt("return");
|
|
32859
|
+
case 2:
|
|
32860
|
+
// Check if the target shape has changed.
|
|
32861
|
+
targetChanged = _this5.target.id !== _this5.currentTarget.id;
|
|
32862
|
+
if (!targetChanged) {
|
|
32863
|
+
_context2.next = 20;
|
|
32864
|
+
break;
|
|
32865
|
+
}
|
|
32866
|
+
// Disable the 'onChange' event to prevent redundant processing.
|
|
32867
|
+
_this5.onChangeWasFired = false;
|
|
32868
|
+
// Extract information about the new target shape
|
|
32869
|
+
targetNode = get_default()(_this5.currentTarget, 'component.node');
|
|
32870
|
+
targetConfig = targetNode && _this5.nodeRegistry[targetNode.type]; // Validate the flow with the new target node.
|
|
32871
|
+
isValid = (_this5$isValid = _this5.isValid) === null || _this5$isValid === void 0 ? void 0 : _this5$isValid.call(_this5, {
|
|
32872
|
+
sourceShape: _this5.sourceShape,
|
|
32873
|
+
targetShape: _this5.currentTarget,
|
|
32874
|
+
targetConfig: targetConfig
|
|
32875
|
+
}); // If the flow is valid, update the target and related information.
|
|
32876
|
+
if (!isValid) {
|
|
32877
|
+
_context2.next = 17;
|
|
32878
|
+
break;
|
|
32879
|
+
}
|
|
32880
|
+
_this5.setTarget(_this5.currentTarget);
|
|
32881
|
+
_this5.target = _this5.currentTarget;
|
|
32882
|
+
// Optionally update definition links.
|
|
32883
|
+
if (_this5.updateDefinitionLinks) {
|
|
32884
|
+
_this5.updateDefinitionLinks();
|
|
32885
|
+
}
|
|
32886
|
+
_this5.listeningToMouseleave = true;
|
|
32887
|
+
// Store waypoints asynchronously.
|
|
32888
|
+
_context2.next = 15;
|
|
32862
32889
|
return _this5.storeWaypoints();
|
|
32863
|
-
case
|
|
32890
|
+
case 15:
|
|
32891
|
+
_context2.next = 18;
|
|
32892
|
+
break;
|
|
32893
|
+
case 17:
|
|
32894
|
+
// If the flow is not valid, revert to the previous target.
|
|
32895
|
+
_this5.setTarget(_this5.target);
|
|
32896
|
+
case 18:
|
|
32897
|
+
_context2.next = 21;
|
|
32898
|
+
break;
|
|
32899
|
+
case 20:
|
|
32900
|
+
// the target was not changed, set the target with the anchor offset.
|
|
32901
|
+
_this5.setTarget(_this5.target, _this5.getAnchorOffset());
|
|
32902
|
+
case 21:
|
|
32864
32903
|
case "end":
|
|
32865
32904
|
return _context2.stop();
|
|
32866
32905
|
}
|
|
32867
32906
|
}, _callee2);
|
|
32868
32907
|
}))();
|
|
32869
32908
|
},
|
|
32870
|
-
|
|
32909
|
+
/**
|
|
32910
|
+
* Calculates the offset between the target anchor point and the position of the target element.
|
|
32911
|
+
*
|
|
32912
|
+
* @returns {Object} An object representing the offset with 'x' and 'y' properties.
|
|
32913
|
+
*/
|
|
32914
|
+
getAnchorOffset: function getAnchorOffset() {
|
|
32915
|
+
// Get the waypoints of the sequence flow
|
|
32916
|
+
var sequenceFlowWaypoints = this.node.diagram.waypoint;
|
|
32917
|
+
// Get the last waypoint, which is the target anchor point
|
|
32918
|
+
var targetAnchorPoint = sequenceFlowWaypoints[sequenceFlowWaypoints.length - 1];
|
|
32919
|
+
// Get the position (x, y) of the target element
|
|
32920
|
+
var _this$target$position = this.target.position(),
|
|
32921
|
+
targetX = _this$target$position.x,
|
|
32922
|
+
targetY = _this$target$position.y;
|
|
32923
|
+
// Calculate and return the offset between the target anchor point and the target element position
|
|
32924
|
+
return {
|
|
32925
|
+
x: targetAnchorPoint.x - targetX,
|
|
32926
|
+
y: targetAnchorPoint.y - targetY
|
|
32927
|
+
};
|
|
32928
|
+
},
|
|
32929
|
+
/**
|
|
32930
|
+
* Handles changes in target shapes for a link.
|
|
32931
|
+
* @async
|
|
32932
|
+
* @param {Link} link - The link whose target is being changed.
|
|
32933
|
+
* @param {Vertices} vertices - The new vertices information.
|
|
32934
|
+
* @param {Object} options - Additional options.
|
|
32935
|
+
*/
|
|
32936
|
+
onChangeTargets: function onChangeTargets(link, vertices, options) {
|
|
32871
32937
|
var _this6 = this;
|
|
32872
32938
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
32939
|
+
var newTarget;
|
|
32873
32940
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
32874
32941
|
while (1) switch (_context3.prev = _context3.next) {
|
|
32875
32942
|
case 0:
|
|
32876
|
-
|
|
32877
|
-
|
|
32943
|
+
_this6.onChangeWasFired = true;
|
|
32944
|
+
if (!(options !== null && options !== void 0 && options.ui && vertices.id)) {
|
|
32945
|
+
_context3.next = 15;
|
|
32878
32946
|
break;
|
|
32879
32947
|
}
|
|
32880
|
-
_this6.
|
|
32881
|
-
|
|
32948
|
+
newTarget = _this6.paper.getModelById(vertices.id);
|
|
32949
|
+
if (!(_this6.currentTarget.id !== newTarget.id)) {
|
|
32950
|
+
_context3.next = 8;
|
|
32951
|
+
break;
|
|
32952
|
+
}
|
|
32953
|
+
// Change the target if it's different from the current target
|
|
32954
|
+
_this6.currentTarget = newTarget;
|
|
32955
|
+
_this6.listeningToMouseleave = true;
|
|
32956
|
+
_context3.next = 15;
|
|
32957
|
+
break;
|
|
32958
|
+
case 8:
|
|
32959
|
+
_context3.next = 10;
|
|
32882
32960
|
return _this6.$nextTick();
|
|
32883
|
-
case
|
|
32961
|
+
case 10:
|
|
32962
|
+
_context3.next = 12;
|
|
32963
|
+
return _this6.waitForUpdateWaypoints();
|
|
32964
|
+
case 12:
|
|
32884
32965
|
_this6.listeningToMouseleave = false;
|
|
32885
|
-
|
|
32886
|
-
|
|
32966
|
+
_context3.next = 15;
|
|
32967
|
+
return _this6.storeWaypoints();
|
|
32968
|
+
case 15:
|
|
32887
32969
|
case "end":
|
|
32888
32970
|
return _context3.stop();
|
|
32889
32971
|
}
|
|
32890
32972
|
}, _callee3);
|
|
32891
32973
|
}))();
|
|
32892
32974
|
},
|
|
32893
|
-
|
|
32975
|
+
onChangeVertices: function onChangeVertices(link, vertices, options) {
|
|
32894
32976
|
var _this7 = this;
|
|
32977
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
32978
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
32979
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
32980
|
+
case 0:
|
|
32981
|
+
if (!(options !== null && options !== void 0 && options.ui)) {
|
|
32982
|
+
_context4.next = 6;
|
|
32983
|
+
break;
|
|
32984
|
+
}
|
|
32985
|
+
_this7.updateWaypoints();
|
|
32986
|
+
_context4.next = 4;
|
|
32987
|
+
return _this7.$nextTick();
|
|
32988
|
+
case 4:
|
|
32989
|
+
_this7.listeningToMouseleave = false;
|
|
32990
|
+
_this7.$emit('save-state');
|
|
32991
|
+
case 6:
|
|
32992
|
+
case "end":
|
|
32993
|
+
return _context4.stop();
|
|
32994
|
+
}
|
|
32995
|
+
}, _callee4);
|
|
32996
|
+
}))();
|
|
32997
|
+
},
|
|
32998
|
+
updateWaypoints: function updateWaypoints() {
|
|
32999
|
+
var _this8 = this;
|
|
32895
33000
|
this.linkView = this.shape.findView(this.paper);
|
|
32896
33001
|
var start = this.linkView.sourceAnchor;
|
|
32897
33002
|
var end = this.linkView.targetAnchor;
|
|
32898
33003
|
this.node.diagram.waypoint = [start].concat(_toConsumableArray(this.shape.vertices()), [end]).map(function (point) {
|
|
32899
|
-
return
|
|
33004
|
+
return _this8.moddle.create('dc:Point', point);
|
|
32900
33005
|
});
|
|
32901
33006
|
if (!this.listeningToMouseup) {
|
|
32902
33007
|
this.listeningToMouseup = true;
|
|
@@ -32904,7 +33009,7 @@ function isPoint(item) {
|
|
|
32904
33009
|
}
|
|
32905
33010
|
},
|
|
32906
33011
|
updateLinkTarget: function updateLinkTarget(_ref) {
|
|
32907
|
-
var
|
|
33012
|
+
var _this9 = this;
|
|
32908
33013
|
var clientX = _ref.clientX,
|
|
32909
33014
|
clientY = _ref.clientY;
|
|
32910
33015
|
var localMousePosition = this.paper.clientToLocalPoint({
|
|
@@ -32933,22 +33038,22 @@ function isPoint(item) {
|
|
|
32933
33038
|
setShapeColor(this.target, validNodeColor);
|
|
32934
33039
|
this.paper.el.removeEventListener('mousemove', this.updateLinkTarget);
|
|
32935
33040
|
this.shape.listenToOnce(this.paper, 'cell:pointerclick', function () {
|
|
32936
|
-
|
|
32937
|
-
|
|
32938
|
-
|
|
32939
|
-
if (
|
|
32940
|
-
|
|
33041
|
+
_this9.completeLink();
|
|
33042
|
+
_this9.updateWaypoints();
|
|
33043
|
+
_this9.updateWaypoints.flush();
|
|
33044
|
+
if (_this9.updateDefinitionLinks) {
|
|
33045
|
+
_this9.updateDefinitionLinks();
|
|
32941
33046
|
}
|
|
32942
|
-
if (
|
|
32943
|
-
|
|
33047
|
+
if (_this9.linkView && ['processmaker-modeler-association', 'processmaker-modeler-data-input-association'].includes(_this9.shape.component.node.type)) {
|
|
33048
|
+
_this9.$parent.multiplayerHook(_this9.shape.component.node, false);
|
|
32944
33049
|
}
|
|
32945
|
-
|
|
33050
|
+
_this9.$emit('save-state');
|
|
32946
33051
|
});
|
|
32947
33052
|
this.shape.listenToOnce(this.paper, 'cell:mouseleave', function () {
|
|
32948
|
-
|
|
32949
|
-
|
|
32950
|
-
resetShapeColor(
|
|
32951
|
-
|
|
33053
|
+
_this9.paper.el.addEventListener('mousemove', _this9.updateLinkTarget);
|
|
33054
|
+
_this9.shape.stopListening(_this9.paper, 'cell:pointerclick');
|
|
33055
|
+
resetShapeColor(_this9.target);
|
|
33056
|
+
_this9.$emit('set-cursor', 'not-allowed');
|
|
32952
33057
|
});
|
|
32953
33058
|
},
|
|
32954
33059
|
removeLink: function removeLink() {
|
|
@@ -32982,6 +33087,12 @@ function isPoint(item) {
|
|
|
32982
33087
|
var toolsView = new external_jointjs_namespaceObject.dia.ToolsView({
|
|
32983
33088
|
tools: [verticesTool, sourceAnchorTool, targetAnchorTool]
|
|
32984
33089
|
});
|
|
33090
|
+
if (this.shape.component.node.type === 'processmaker-modeler-sequence-flow') {
|
|
33091
|
+
toolsView = new external_jointjs_namespaceObject.dia.ToolsView({
|
|
33092
|
+
tools: [verticesTool, sourceAnchorTool, targetAnchorTool, new external_jointjs_namespaceObject.linkTools.TargetArrowhead()]
|
|
33093
|
+
});
|
|
33094
|
+
}
|
|
33095
|
+
this.currentTarget = this.shape.getTargetElement();
|
|
32985
33096
|
this.shapeView.addTools(toolsView);
|
|
32986
33097
|
this.shapeView.hideTools();
|
|
32987
33098
|
},
|
|
@@ -32998,49 +33109,49 @@ function isPoint(item) {
|
|
|
32998
33109
|
this.emitSave.bind(this);
|
|
32999
33110
|
},
|
|
33000
33111
|
mounted: function mounted() {
|
|
33001
|
-
var
|
|
33002
|
-
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
33003
|
-
var targetRef, targetShape, sequenceFlowWaypoints, sourceAnchorPoint, targetAnchorPoint, _targetShape$position, targetX, targetY, targetAnchorOffset,
|
|
33004
|
-
return _regeneratorRuntime().wrap(function
|
|
33005
|
-
while (1) switch (
|
|
33112
|
+
var _this10 = this;
|
|
33113
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
33114
|
+
var targetRef, targetShape, sequenceFlowWaypoints, sourceAnchorPoint, targetAnchorPoint, _targetShape$position, targetX, targetY, targetAnchorOffset, _this10$sourceShape$p, sourceX, sourceY, sourceAnchorOffset, sequenceVertices;
|
|
33115
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
33116
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
33006
33117
|
case 0:
|
|
33007
|
-
|
|
33008
|
-
return
|
|
33118
|
+
_context5.next = 2;
|
|
33119
|
+
return _this10.$nextTick();
|
|
33009
33120
|
case 2:
|
|
33010
33121
|
/* Use nextTick to ensure this code runs after the component it is mixed into mounts.
|
|
33011
33122
|
* This will ensure this.shape is defined. */
|
|
33012
33123
|
|
|
33013
|
-
|
|
33014
|
-
|
|
33015
|
-
|
|
33016
|
-
|
|
33124
|
+
_this10.sourceShape = _this10.findSourceShape();
|
|
33125
|
+
_this10.setSource(_this10.sourceShape);
|
|
33126
|
+
_this10.$once('click', function () {
|
|
33127
|
+
_this10.$nextTick(function () {
|
|
33017
33128
|
if (store.getters.isReadOnly) {
|
|
33018
33129
|
return;
|
|
33019
33130
|
}
|
|
33020
|
-
|
|
33131
|
+
_this10.setupLinkTools();
|
|
33021
33132
|
});
|
|
33022
33133
|
});
|
|
33023
|
-
targetRef =
|
|
33134
|
+
targetRef = _this10.getTargetRef ? _this10.getTargetRef() : _this10.node.definition.get('targetRef'); // if flow doesn't have a targetRef such as incomplete node, return
|
|
33024
33135
|
if (targetRef) {
|
|
33025
|
-
|
|
33136
|
+
_context5.next = 8;
|
|
33026
33137
|
break;
|
|
33027
33138
|
}
|
|
33028
|
-
return
|
|
33139
|
+
return _context5.abrupt("return");
|
|
33029
33140
|
case 8:
|
|
33030
33141
|
if (targetRef.id) {
|
|
33031
|
-
targetShape =
|
|
33142
|
+
targetShape = _this10.graph.getElements().find(function (element) {
|
|
33032
33143
|
return element.component && element.component.node.definition === targetRef;
|
|
33033
33144
|
});
|
|
33034
|
-
|
|
33035
|
-
sequenceFlowWaypoints =
|
|
33036
|
-
sourceAnchorPoint =
|
|
33145
|
+
_this10.target = targetShape;
|
|
33146
|
+
sequenceFlowWaypoints = _this10.node.diagram.waypoint;
|
|
33147
|
+
sourceAnchorPoint = _this10.node.diagram.waypoint[0];
|
|
33037
33148
|
targetAnchorPoint = sequenceFlowWaypoints[sequenceFlowWaypoints.length - 1];
|
|
33038
33149
|
_targetShape$position = targetShape.position(), targetX = _targetShape$position.x, targetY = _targetShape$position.y;
|
|
33039
33150
|
targetAnchorOffset = {
|
|
33040
33151
|
x: targetAnchorPoint.x - targetX,
|
|
33041
33152
|
y: targetAnchorPoint.y - targetY
|
|
33042
33153
|
};
|
|
33043
|
-
|
|
33154
|
+
_this10$sourceShape$p = _this10.sourceShape.position(), sourceX = _this10$sourceShape$p.x, sourceY = _this10$sourceShape$p.y;
|
|
33044
33155
|
sourceAnchorOffset = {
|
|
33045
33156
|
x: sourceAnchorPoint.x - sourceX,
|
|
33046
33157
|
y: sourceAnchorPoint.y - sourceY
|
|
@@ -33054,38 +33165,38 @@ function isPoint(item) {
|
|
|
33054
33165
|
y: y
|
|
33055
33166
|
};
|
|
33056
33167
|
});
|
|
33057
|
-
|
|
33168
|
+
_this10.shape.vertices(sequenceVertices);
|
|
33058
33169
|
}
|
|
33059
|
-
|
|
33060
|
-
|
|
33061
|
-
|
|
33170
|
+
_this10.setSource(_this10.sourceShape, sourceAnchorOffset);
|
|
33171
|
+
_this10.setTarget(targetShape, targetAnchorOffset);
|
|
33172
|
+
_this10.completeLink();
|
|
33062
33173
|
} else {
|
|
33063
|
-
|
|
33064
|
-
|
|
33065
|
-
|
|
33066
|
-
|
|
33067
|
-
if (
|
|
33068
|
-
|
|
33174
|
+
_this10.setTarget(targetRef);
|
|
33175
|
+
_this10.paper.setInteractivity(false);
|
|
33176
|
+
_this10.paper.el.addEventListener('mousemove', _this10.updateLinkTarget);
|
|
33177
|
+
_this10.$emit('set-cursor', 'not-allowed');
|
|
33178
|
+
if (_this10.isValidConnection) {
|
|
33179
|
+
_this10.shape.stopListening(_this10.paper, 'blank:pointerdown link:pointerdown element:pointerdown', _this10.removeLink);
|
|
33069
33180
|
} else {
|
|
33070
|
-
|
|
33181
|
+
_this10.shape.listenToOnce(_this10.paper, 'blank:pointerdown link:pointerdown element:pointerdown', _this10.removeLink);
|
|
33071
33182
|
}
|
|
33072
33183
|
}
|
|
33073
|
-
|
|
33074
|
-
|
|
33184
|
+
_this10.updateRouter();
|
|
33185
|
+
_this10.shape.on('change:vertices', function () {
|
|
33075
33186
|
this.component.$emit('shape-resize');
|
|
33076
33187
|
});
|
|
33077
33188
|
if (store.getters.isReadOnly) {
|
|
33078
|
-
|
|
33079
|
-
|
|
33080
|
-
|
|
33189
|
+
_this10.$nextTick(function () {
|
|
33190
|
+
_this10.paperManager.awaitScheduledUpdates().then(function () {
|
|
33191
|
+
_this10.setShapeHighlight();
|
|
33081
33192
|
});
|
|
33082
33193
|
});
|
|
33083
33194
|
}
|
|
33084
33195
|
case 12:
|
|
33085
33196
|
case "end":
|
|
33086
|
-
return
|
|
33197
|
+
return _context5.stop();
|
|
33087
33198
|
}
|
|
33088
|
-
},
|
|
33199
|
+
}, _callee5);
|
|
33089
33200
|
}))();
|
|
33090
33201
|
},
|
|
33091
33202
|
beforeDestroy: function beforeDestroy() {
|
|
@@ -38945,8 +39056,8 @@ var eventBasedGateway_id = 'processmaker-modeler-event-based-gateway';
|
|
|
38945
39056
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
38946
39057
|
}]
|
|
38947
39058
|
});
|
|
38948
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/nodes/sequenceFlow/sequenceFlow.vue?vue&type=template&id=
|
|
38949
|
-
var
|
|
39059
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/nodes/sequenceFlow/sequenceFlow.vue?vue&type=template&id=1aebd17d&
|
|
39060
|
+
var sequenceFlowvue_type_template_id_1aebd17d_render = function render() {
|
|
38950
39061
|
var _vm = this,
|
|
38951
39062
|
_c = _vm._self._c;
|
|
38952
39063
|
return _c('crown-config', _vm._g({
|
|
@@ -38965,7 +39076,7 @@ var sequenceFlowvue_type_template_id_2c6f2b84_render = function render() {
|
|
|
38965
39076
|
}
|
|
38966
39077
|
}, _vm.$listeners));
|
|
38967
39078
|
};
|
|
38968
|
-
var
|
|
39079
|
+
var sequenceFlowvue_type_template_id_1aebd17d_staticRenderFns = [];
|
|
38969
39080
|
|
|
38970
39081
|
;// CONCATENATED MODULE: ./src/components/nodes/sequenceFlow/sequenceFlowConfig.js
|
|
38971
39082
|
var namePosition = {
|
|
@@ -39084,7 +39195,7 @@ var SequenceFlow = /*#__PURE__*/function (_Flow) {
|
|
|
39084
39195
|
},
|
|
39085
39196
|
computed: {
|
|
39086
39197
|
isValidConnection: function isValidConnection() {
|
|
39087
|
-
return
|
|
39198
|
+
return this.isValid({
|
|
39088
39199
|
sourceShape: this.sourceShape,
|
|
39089
39200
|
targetShape: this.target,
|
|
39090
39201
|
targetConfig: this.targetConfig
|
|
@@ -39131,6 +39242,9 @@ var SequenceFlow = /*#__PURE__*/function (_Flow) {
|
|
|
39131
39242
|
}
|
|
39132
39243
|
},
|
|
39133
39244
|
methods: {
|
|
39245
|
+
isValid: function isValid(params) {
|
|
39246
|
+
return SequenceFlow.isValid(params);
|
|
39247
|
+
},
|
|
39134
39248
|
setDefaultMarker: function setDefaultMarker(value) {
|
|
39135
39249
|
this.shape.attr('line', {
|
|
39136
39250
|
sourceMarker: {
|
|
@@ -39195,8 +39309,8 @@ var SequenceFlow = /*#__PURE__*/function (_Flow) {
|
|
|
39195
39309
|
;
|
|
39196
39310
|
var sequenceFlow_component = normalizeComponent(
|
|
39197
39311
|
sequenceFlow_sequenceFlowvue_type_script_lang_js_,
|
|
39198
|
-
|
|
39199
|
-
|
|
39312
|
+
sequenceFlowvue_type_template_id_1aebd17d_render,
|
|
39313
|
+
sequenceFlowvue_type_template_id_1aebd17d_staticRenderFns,
|
|
39200
39314
|
false,
|
|
39201
39315
|
null,
|
|
39202
39316
|
null,
|