@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.umd.js
CHANGED
|
@@ -32730,7 +32730,8 @@ function isPoint(item) {
|
|
|
32730
32730
|
listeningToMouseup: false,
|
|
32731
32731
|
listeningToMouseleave: false,
|
|
32732
32732
|
vertices: null,
|
|
32733
|
-
anchorPointFunction: getDefaultAnchorPoint
|
|
32733
|
+
anchorPointFunction: getDefaultAnchorPoint,
|
|
32734
|
+
onChangeWasFired: false
|
|
32734
32735
|
};
|
|
32735
32736
|
},
|
|
32736
32737
|
watch: {
|
|
@@ -32881,6 +32882,9 @@ function isPoint(item) {
|
|
|
32881
32882
|
this.shape.listenTo(this.sourceShape, 'change:position', this.updateWaypoints);
|
|
32882
32883
|
this.shape.listenTo(targetShape, 'change:position', this.updateWaypoints);
|
|
32883
32884
|
this.shape.listenTo(this.paper, 'link:mouseleave', this.storeWaypoints);
|
|
32885
|
+
// Listens to the 'pointerup' event when a link is interacted with on the shape.
|
|
32886
|
+
// When the event occurs, the 'pointerUpHandler' method is invoked to handle the pointer up action.
|
|
32887
|
+
this.shape.listenTo(this.paper, 'link:pointerup', this.pointerUpHandler);
|
|
32884
32888
|
var sourceShape = this.shape.getSourceElement();
|
|
32885
32889
|
sourceShape.embed(this.shape);
|
|
32886
32890
|
this.$emit('set-shape-stacking', sourceShape);
|
|
@@ -32934,67 +32938,168 @@ function isPoint(item) {
|
|
|
32934
32938
|
}))();
|
|
32935
32939
|
},
|
|
32936
32940
|
/**
|
|
32937
|
-
|
|
32938
|
-
|
|
32939
|
-
|
|
32940
|
-
|
|
32941
|
-
|
|
32942
|
-
onChangeTargets: function onChangeTargets(link, vertices, options) {
|
|
32941
|
+
* Handles the pointer up event.
|
|
32942
|
+
* Performs actions based on changes in the target shape.
|
|
32943
|
+
* @async
|
|
32944
|
+
*/
|
|
32945
|
+
pointerUpHandler: function pointerUpHandler() {
|
|
32943
32946
|
var _this5 = this;
|
|
32944
32947
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
32948
|
+
var targetChanged, _this5$isValid, targetNode, targetConfig, isValid;
|
|
32945
32949
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
32946
32950
|
while (1) switch (_context2.prev = _context2.next) {
|
|
32947
32951
|
case 0:
|
|
32948
|
-
if (
|
|
32949
|
-
_context2.next =
|
|
32952
|
+
if (_this5.onChangeWasFired) {
|
|
32953
|
+
_context2.next = 2;
|
|
32950
32954
|
break;
|
|
32951
32955
|
}
|
|
32952
|
-
_context2.
|
|
32953
|
-
|
|
32954
|
-
|
|
32955
|
-
|
|
32956
|
-
|
|
32957
|
-
|
|
32958
|
-
|
|
32959
|
-
|
|
32956
|
+
return _context2.abrupt("return");
|
|
32957
|
+
case 2:
|
|
32958
|
+
// Check if the target shape has changed.
|
|
32959
|
+
targetChanged = _this5.target.id !== _this5.currentTarget.id;
|
|
32960
|
+
if (!targetChanged) {
|
|
32961
|
+
_context2.next = 20;
|
|
32962
|
+
break;
|
|
32963
|
+
}
|
|
32964
|
+
// Disable the 'onChange' event to prevent redundant processing.
|
|
32965
|
+
_this5.onChangeWasFired = false;
|
|
32966
|
+
// Extract information about the new target shape
|
|
32967
|
+
targetNode = get_default()(_this5.currentTarget, 'component.node');
|
|
32968
|
+
targetConfig = targetNode && _this5.nodeRegistry[targetNode.type]; // Validate the flow with the new target node.
|
|
32969
|
+
isValid = (_this5$isValid = _this5.isValid) === null || _this5$isValid === void 0 ? void 0 : _this5$isValid.call(_this5, {
|
|
32970
|
+
sourceShape: _this5.sourceShape,
|
|
32971
|
+
targetShape: _this5.currentTarget,
|
|
32972
|
+
targetConfig: targetConfig
|
|
32973
|
+
}); // If the flow is valid, update the target and related information.
|
|
32974
|
+
if (!isValid) {
|
|
32975
|
+
_context2.next = 17;
|
|
32976
|
+
break;
|
|
32977
|
+
}
|
|
32978
|
+
_this5.setTarget(_this5.currentTarget);
|
|
32979
|
+
_this5.target = _this5.currentTarget;
|
|
32980
|
+
// Optionally update definition links.
|
|
32981
|
+
if (_this5.updateDefinitionLinks) {
|
|
32982
|
+
_this5.updateDefinitionLinks();
|
|
32983
|
+
}
|
|
32984
|
+
_this5.listeningToMouseleave = true;
|
|
32985
|
+
// Store waypoints asynchronously.
|
|
32986
|
+
_context2.next = 15;
|
|
32960
32987
|
return _this5.storeWaypoints();
|
|
32961
|
-
case
|
|
32988
|
+
case 15:
|
|
32989
|
+
_context2.next = 18;
|
|
32990
|
+
break;
|
|
32991
|
+
case 17:
|
|
32992
|
+
// If the flow is not valid, revert to the previous target.
|
|
32993
|
+
_this5.setTarget(_this5.target);
|
|
32994
|
+
case 18:
|
|
32995
|
+
_context2.next = 21;
|
|
32996
|
+
break;
|
|
32997
|
+
case 20:
|
|
32998
|
+
// the target was not changed, set the target with the anchor offset.
|
|
32999
|
+
_this5.setTarget(_this5.target, _this5.getAnchorOffset());
|
|
33000
|
+
case 21:
|
|
32962
33001
|
case "end":
|
|
32963
33002
|
return _context2.stop();
|
|
32964
33003
|
}
|
|
32965
33004
|
}, _callee2);
|
|
32966
33005
|
}))();
|
|
32967
33006
|
},
|
|
32968
|
-
|
|
33007
|
+
/**
|
|
33008
|
+
* Calculates the offset between the target anchor point and the position of the target element.
|
|
33009
|
+
*
|
|
33010
|
+
* @returns {Object} An object representing the offset with 'x' and 'y' properties.
|
|
33011
|
+
*/
|
|
33012
|
+
getAnchorOffset: function getAnchorOffset() {
|
|
33013
|
+
// Get the waypoints of the sequence flow
|
|
33014
|
+
var sequenceFlowWaypoints = this.node.diagram.waypoint;
|
|
33015
|
+
// Get the last waypoint, which is the target anchor point
|
|
33016
|
+
var targetAnchorPoint = sequenceFlowWaypoints[sequenceFlowWaypoints.length - 1];
|
|
33017
|
+
// Get the position (x, y) of the target element
|
|
33018
|
+
var _this$target$position = this.target.position(),
|
|
33019
|
+
targetX = _this$target$position.x,
|
|
33020
|
+
targetY = _this$target$position.y;
|
|
33021
|
+
// Calculate and return the offset between the target anchor point and the target element position
|
|
33022
|
+
return {
|
|
33023
|
+
x: targetAnchorPoint.x - targetX,
|
|
33024
|
+
y: targetAnchorPoint.y - targetY
|
|
33025
|
+
};
|
|
33026
|
+
},
|
|
33027
|
+
/**
|
|
33028
|
+
* Handles changes in target shapes for a link.
|
|
33029
|
+
* @async
|
|
33030
|
+
* @param {Link} link - The link whose target is being changed.
|
|
33031
|
+
* @param {Vertices} vertices - The new vertices information.
|
|
33032
|
+
* @param {Object} options - Additional options.
|
|
33033
|
+
*/
|
|
33034
|
+
onChangeTargets: function onChangeTargets(link, vertices, options) {
|
|
32969
33035
|
var _this6 = this;
|
|
32970
33036
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
33037
|
+
var newTarget;
|
|
32971
33038
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
32972
33039
|
while (1) switch (_context3.prev = _context3.next) {
|
|
32973
33040
|
case 0:
|
|
32974
|
-
|
|
32975
|
-
|
|
33041
|
+
_this6.onChangeWasFired = true;
|
|
33042
|
+
if (!(options !== null && options !== void 0 && options.ui && vertices.id)) {
|
|
33043
|
+
_context3.next = 15;
|
|
32976
33044
|
break;
|
|
32977
33045
|
}
|
|
32978
|
-
_this6.
|
|
32979
|
-
|
|
33046
|
+
newTarget = _this6.paper.getModelById(vertices.id);
|
|
33047
|
+
if (!(_this6.currentTarget.id !== newTarget.id)) {
|
|
33048
|
+
_context3.next = 8;
|
|
33049
|
+
break;
|
|
33050
|
+
}
|
|
33051
|
+
// Change the target if it's different from the current target
|
|
33052
|
+
_this6.currentTarget = newTarget;
|
|
33053
|
+
_this6.listeningToMouseleave = true;
|
|
33054
|
+
_context3.next = 15;
|
|
33055
|
+
break;
|
|
33056
|
+
case 8:
|
|
33057
|
+
_context3.next = 10;
|
|
32980
33058
|
return _this6.$nextTick();
|
|
32981
|
-
case
|
|
33059
|
+
case 10:
|
|
33060
|
+
_context3.next = 12;
|
|
33061
|
+
return _this6.waitForUpdateWaypoints();
|
|
33062
|
+
case 12:
|
|
32982
33063
|
_this6.listeningToMouseleave = false;
|
|
32983
|
-
|
|
32984
|
-
|
|
33064
|
+
_context3.next = 15;
|
|
33065
|
+
return _this6.storeWaypoints();
|
|
33066
|
+
case 15:
|
|
32985
33067
|
case "end":
|
|
32986
33068
|
return _context3.stop();
|
|
32987
33069
|
}
|
|
32988
33070
|
}, _callee3);
|
|
32989
33071
|
}))();
|
|
32990
33072
|
},
|
|
32991
|
-
|
|
33073
|
+
onChangeVertices: function onChangeVertices(link, vertices, options) {
|
|
32992
33074
|
var _this7 = this;
|
|
33075
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
33076
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
33077
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
33078
|
+
case 0:
|
|
33079
|
+
if (!(options !== null && options !== void 0 && options.ui)) {
|
|
33080
|
+
_context4.next = 6;
|
|
33081
|
+
break;
|
|
33082
|
+
}
|
|
33083
|
+
_this7.updateWaypoints();
|
|
33084
|
+
_context4.next = 4;
|
|
33085
|
+
return _this7.$nextTick();
|
|
33086
|
+
case 4:
|
|
33087
|
+
_this7.listeningToMouseleave = false;
|
|
33088
|
+
_this7.$emit('save-state');
|
|
33089
|
+
case 6:
|
|
33090
|
+
case "end":
|
|
33091
|
+
return _context4.stop();
|
|
33092
|
+
}
|
|
33093
|
+
}, _callee4);
|
|
33094
|
+
}))();
|
|
33095
|
+
},
|
|
33096
|
+
updateWaypoints: function updateWaypoints() {
|
|
33097
|
+
var _this8 = this;
|
|
32993
33098
|
this.linkView = this.shape.findView(this.paper);
|
|
32994
33099
|
var start = this.linkView.sourceAnchor;
|
|
32995
33100
|
var end = this.linkView.targetAnchor;
|
|
32996
33101
|
this.node.diagram.waypoint = [start].concat(_toConsumableArray(this.shape.vertices()), [end]).map(function (point) {
|
|
32997
|
-
return
|
|
33102
|
+
return _this8.moddle.create('dc:Point', point);
|
|
32998
33103
|
});
|
|
32999
33104
|
if (!this.listeningToMouseup) {
|
|
33000
33105
|
this.listeningToMouseup = true;
|
|
@@ -33002,7 +33107,7 @@ function isPoint(item) {
|
|
|
33002
33107
|
}
|
|
33003
33108
|
},
|
|
33004
33109
|
updateLinkTarget: function updateLinkTarget(_ref) {
|
|
33005
|
-
var
|
|
33110
|
+
var _this9 = this;
|
|
33006
33111
|
var clientX = _ref.clientX,
|
|
33007
33112
|
clientY = _ref.clientY;
|
|
33008
33113
|
var localMousePosition = this.paper.clientToLocalPoint({
|
|
@@ -33031,22 +33136,22 @@ function isPoint(item) {
|
|
|
33031
33136
|
setShapeColor(this.target, validNodeColor);
|
|
33032
33137
|
this.paper.el.removeEventListener('mousemove', this.updateLinkTarget);
|
|
33033
33138
|
this.shape.listenToOnce(this.paper, 'cell:pointerclick', function () {
|
|
33034
|
-
|
|
33035
|
-
|
|
33036
|
-
|
|
33037
|
-
if (
|
|
33038
|
-
|
|
33139
|
+
_this9.completeLink();
|
|
33140
|
+
_this9.updateWaypoints();
|
|
33141
|
+
_this9.updateWaypoints.flush();
|
|
33142
|
+
if (_this9.updateDefinitionLinks) {
|
|
33143
|
+
_this9.updateDefinitionLinks();
|
|
33039
33144
|
}
|
|
33040
|
-
if (
|
|
33041
|
-
|
|
33145
|
+
if (_this9.linkView && ['processmaker-modeler-association', 'processmaker-modeler-data-input-association'].includes(_this9.shape.component.node.type)) {
|
|
33146
|
+
_this9.$parent.multiplayerHook(_this9.shape.component.node, false);
|
|
33042
33147
|
}
|
|
33043
|
-
|
|
33148
|
+
_this9.$emit('save-state');
|
|
33044
33149
|
});
|
|
33045
33150
|
this.shape.listenToOnce(this.paper, 'cell:mouseleave', function () {
|
|
33046
|
-
|
|
33047
|
-
|
|
33048
|
-
resetShapeColor(
|
|
33049
|
-
|
|
33151
|
+
_this9.paper.el.addEventListener('mousemove', _this9.updateLinkTarget);
|
|
33152
|
+
_this9.shape.stopListening(_this9.paper, 'cell:pointerclick');
|
|
33153
|
+
resetShapeColor(_this9.target);
|
|
33154
|
+
_this9.$emit('set-cursor', 'not-allowed');
|
|
33050
33155
|
});
|
|
33051
33156
|
},
|
|
33052
33157
|
removeLink: function removeLink() {
|
|
@@ -33080,6 +33185,12 @@ function isPoint(item) {
|
|
|
33080
33185
|
var toolsView = new external_jointjs_.dia.ToolsView({
|
|
33081
33186
|
tools: [verticesTool, sourceAnchorTool, targetAnchorTool]
|
|
33082
33187
|
});
|
|
33188
|
+
if (this.shape.component.node.type === 'processmaker-modeler-sequence-flow') {
|
|
33189
|
+
toolsView = new external_jointjs_.dia.ToolsView({
|
|
33190
|
+
tools: [verticesTool, sourceAnchorTool, targetAnchorTool, new external_jointjs_.linkTools.TargetArrowhead()]
|
|
33191
|
+
});
|
|
33192
|
+
}
|
|
33193
|
+
this.currentTarget = this.shape.getTargetElement();
|
|
33083
33194
|
this.shapeView.addTools(toolsView);
|
|
33084
33195
|
this.shapeView.hideTools();
|
|
33085
33196
|
},
|
|
@@ -33096,49 +33207,49 @@ function isPoint(item) {
|
|
|
33096
33207
|
this.emitSave.bind(this);
|
|
33097
33208
|
},
|
|
33098
33209
|
mounted: function mounted() {
|
|
33099
|
-
var
|
|
33100
|
-
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
33101
|
-
var targetRef, targetShape, sequenceFlowWaypoints, sourceAnchorPoint, targetAnchorPoint, _targetShape$position, targetX, targetY, targetAnchorOffset,
|
|
33102
|
-
return _regeneratorRuntime().wrap(function
|
|
33103
|
-
while (1) switch (
|
|
33210
|
+
var _this10 = this;
|
|
33211
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
33212
|
+
var targetRef, targetShape, sequenceFlowWaypoints, sourceAnchorPoint, targetAnchorPoint, _targetShape$position, targetX, targetY, targetAnchorOffset, _this10$sourceShape$p, sourceX, sourceY, sourceAnchorOffset, sequenceVertices;
|
|
33213
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
33214
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
33104
33215
|
case 0:
|
|
33105
|
-
|
|
33106
|
-
return
|
|
33216
|
+
_context5.next = 2;
|
|
33217
|
+
return _this10.$nextTick();
|
|
33107
33218
|
case 2:
|
|
33108
33219
|
/* Use nextTick to ensure this code runs after the component it is mixed into mounts.
|
|
33109
33220
|
* This will ensure this.shape is defined. */
|
|
33110
33221
|
|
|
33111
|
-
|
|
33112
|
-
|
|
33113
|
-
|
|
33114
|
-
|
|
33222
|
+
_this10.sourceShape = _this10.findSourceShape();
|
|
33223
|
+
_this10.setSource(_this10.sourceShape);
|
|
33224
|
+
_this10.$once('click', function () {
|
|
33225
|
+
_this10.$nextTick(function () {
|
|
33115
33226
|
if (store.getters.isReadOnly) {
|
|
33116
33227
|
return;
|
|
33117
33228
|
}
|
|
33118
|
-
|
|
33229
|
+
_this10.setupLinkTools();
|
|
33119
33230
|
});
|
|
33120
33231
|
});
|
|
33121
|
-
targetRef =
|
|
33232
|
+
targetRef = _this10.getTargetRef ? _this10.getTargetRef() : _this10.node.definition.get('targetRef'); // if flow doesn't have a targetRef such as incomplete node, return
|
|
33122
33233
|
if (targetRef) {
|
|
33123
|
-
|
|
33234
|
+
_context5.next = 8;
|
|
33124
33235
|
break;
|
|
33125
33236
|
}
|
|
33126
|
-
return
|
|
33237
|
+
return _context5.abrupt("return");
|
|
33127
33238
|
case 8:
|
|
33128
33239
|
if (targetRef.id) {
|
|
33129
|
-
targetShape =
|
|
33240
|
+
targetShape = _this10.graph.getElements().find(function (element) {
|
|
33130
33241
|
return element.component && element.component.node.definition === targetRef;
|
|
33131
33242
|
});
|
|
33132
|
-
|
|
33133
|
-
sequenceFlowWaypoints =
|
|
33134
|
-
sourceAnchorPoint =
|
|
33243
|
+
_this10.target = targetShape;
|
|
33244
|
+
sequenceFlowWaypoints = _this10.node.diagram.waypoint;
|
|
33245
|
+
sourceAnchorPoint = _this10.node.diagram.waypoint[0];
|
|
33135
33246
|
targetAnchorPoint = sequenceFlowWaypoints[sequenceFlowWaypoints.length - 1];
|
|
33136
33247
|
_targetShape$position = targetShape.position(), targetX = _targetShape$position.x, targetY = _targetShape$position.y;
|
|
33137
33248
|
targetAnchorOffset = {
|
|
33138
33249
|
x: targetAnchorPoint.x - targetX,
|
|
33139
33250
|
y: targetAnchorPoint.y - targetY
|
|
33140
33251
|
};
|
|
33141
|
-
|
|
33252
|
+
_this10$sourceShape$p = _this10.sourceShape.position(), sourceX = _this10$sourceShape$p.x, sourceY = _this10$sourceShape$p.y;
|
|
33142
33253
|
sourceAnchorOffset = {
|
|
33143
33254
|
x: sourceAnchorPoint.x - sourceX,
|
|
33144
33255
|
y: sourceAnchorPoint.y - sourceY
|
|
@@ -33152,38 +33263,38 @@ function isPoint(item) {
|
|
|
33152
33263
|
y: y
|
|
33153
33264
|
};
|
|
33154
33265
|
});
|
|
33155
|
-
|
|
33266
|
+
_this10.shape.vertices(sequenceVertices);
|
|
33156
33267
|
}
|
|
33157
|
-
|
|
33158
|
-
|
|
33159
|
-
|
|
33268
|
+
_this10.setSource(_this10.sourceShape, sourceAnchorOffset);
|
|
33269
|
+
_this10.setTarget(targetShape, targetAnchorOffset);
|
|
33270
|
+
_this10.completeLink();
|
|
33160
33271
|
} else {
|
|
33161
|
-
|
|
33162
|
-
|
|
33163
|
-
|
|
33164
|
-
|
|
33165
|
-
if (
|
|
33166
|
-
|
|
33272
|
+
_this10.setTarget(targetRef);
|
|
33273
|
+
_this10.paper.setInteractivity(false);
|
|
33274
|
+
_this10.paper.el.addEventListener('mousemove', _this10.updateLinkTarget);
|
|
33275
|
+
_this10.$emit('set-cursor', 'not-allowed');
|
|
33276
|
+
if (_this10.isValidConnection) {
|
|
33277
|
+
_this10.shape.stopListening(_this10.paper, 'blank:pointerdown link:pointerdown element:pointerdown', _this10.removeLink);
|
|
33167
33278
|
} else {
|
|
33168
|
-
|
|
33279
|
+
_this10.shape.listenToOnce(_this10.paper, 'blank:pointerdown link:pointerdown element:pointerdown', _this10.removeLink);
|
|
33169
33280
|
}
|
|
33170
33281
|
}
|
|
33171
|
-
|
|
33172
|
-
|
|
33282
|
+
_this10.updateRouter();
|
|
33283
|
+
_this10.shape.on('change:vertices', function () {
|
|
33173
33284
|
this.component.$emit('shape-resize');
|
|
33174
33285
|
});
|
|
33175
33286
|
if (store.getters.isReadOnly) {
|
|
33176
|
-
|
|
33177
|
-
|
|
33178
|
-
|
|
33287
|
+
_this10.$nextTick(function () {
|
|
33288
|
+
_this10.paperManager.awaitScheduledUpdates().then(function () {
|
|
33289
|
+
_this10.setShapeHighlight();
|
|
33179
33290
|
});
|
|
33180
33291
|
});
|
|
33181
33292
|
}
|
|
33182
33293
|
case 12:
|
|
33183
33294
|
case "end":
|
|
33184
|
-
return
|
|
33295
|
+
return _context5.stop();
|
|
33185
33296
|
}
|
|
33186
|
-
},
|
|
33297
|
+
}, _callee5);
|
|
33187
33298
|
}))();
|
|
33188
33299
|
},
|
|
33189
33300
|
beforeDestroy: function beforeDestroy() {
|
|
@@ -39043,8 +39154,8 @@ var eventBasedGateway_id = 'processmaker-modeler-event-based-gateway';
|
|
|
39043
39154
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
39044
39155
|
}]
|
|
39045
39156
|
});
|
|
39046
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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=
|
|
39047
|
-
var
|
|
39157
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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&
|
|
39158
|
+
var sequenceFlowvue_type_template_id_1aebd17d_render = function render() {
|
|
39048
39159
|
var _vm = this,
|
|
39049
39160
|
_c = _vm._self._c;
|
|
39050
39161
|
return _c('crown-config', _vm._g({
|
|
@@ -39063,7 +39174,7 @@ var sequenceFlowvue_type_template_id_2c6f2b84_render = function render() {
|
|
|
39063
39174
|
}
|
|
39064
39175
|
}, _vm.$listeners));
|
|
39065
39176
|
};
|
|
39066
|
-
var
|
|
39177
|
+
var sequenceFlowvue_type_template_id_1aebd17d_staticRenderFns = [];
|
|
39067
39178
|
|
|
39068
39179
|
;// CONCATENATED MODULE: ./src/components/nodes/sequenceFlow/sequenceFlowConfig.js
|
|
39069
39180
|
var namePosition = {
|
|
@@ -39182,7 +39293,7 @@ var SequenceFlow = /*#__PURE__*/function (_Flow) {
|
|
|
39182
39293
|
},
|
|
39183
39294
|
computed: {
|
|
39184
39295
|
isValidConnection: function isValidConnection() {
|
|
39185
|
-
return
|
|
39296
|
+
return this.isValid({
|
|
39186
39297
|
sourceShape: this.sourceShape,
|
|
39187
39298
|
targetShape: this.target,
|
|
39188
39299
|
targetConfig: this.targetConfig
|
|
@@ -39229,6 +39340,9 @@ var SequenceFlow = /*#__PURE__*/function (_Flow) {
|
|
|
39229
39340
|
}
|
|
39230
39341
|
},
|
|
39231
39342
|
methods: {
|
|
39343
|
+
isValid: function isValid(params) {
|
|
39344
|
+
return SequenceFlow.isValid(params);
|
|
39345
|
+
},
|
|
39232
39346
|
setDefaultMarker: function setDefaultMarker(value) {
|
|
39233
39347
|
this.shape.attr('line', {
|
|
39234
39348
|
sourceMarker: {
|
|
@@ -39293,8 +39407,8 @@ var SequenceFlow = /*#__PURE__*/function (_Flow) {
|
|
|
39293
39407
|
;
|
|
39294
39408
|
var sequenceFlow_component = normalizeComponent(
|
|
39295
39409
|
sequenceFlow_sequenceFlowvue_type_script_lang_js_,
|
|
39296
|
-
|
|
39297
|
-
|
|
39410
|
+
sequenceFlowvue_type_template_id_1aebd17d_render,
|
|
39411
|
+
sequenceFlowvue_type_template_id_1aebd17d_staticRenderFns,
|
|
39298
39412
|
false,
|
|
39299
39413
|
null,
|
|
39300
39414
|
null,
|