@processmaker/modeler 1.20.1 → 1.21.0

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.
@@ -108,12 +108,12 @@ export function getOrFindDataInput(moddle, task, sourceNode) {
108
108
  const dataInputId = `data_input_${sourceNodeId}`;
109
109
  // Check if ioSpecification exists
110
110
  if (!task.definition.ioSpecification) {
111
- task.definition.set('ioSpecification', moddle.create('bpmn:InputOutputSpecification', {
111
+ task.definition.ioSpecification = moddle.create('bpmn:InputOutputSpecification', {
112
112
  dataInputs: [],
113
113
  dataOutputs: [],
114
114
  inputSets: [],
115
115
  outputSets: [],
116
- }));
116
+ });
117
117
  }
118
118
  // Check if dataInput exists
119
119
  if (!task.definition.ioSpecification.dataInputs) {
@@ -133,7 +133,7 @@ export function getOrFindDataInput(moddle, task, sourceNode) {
133
133
  if (!task.definition.ioSpecification.outputSets) {
134
134
  task.definition.ioSpecification.set('outputSets', [
135
135
  moddle.create('bpmn:OutputSet', {
136
- dataInputRefs: [],
136
+ dataOutputRefs: [],
137
137
  }),
138
138
  ]);
139
139
  }
@@ -141,7 +141,7 @@ export function getOrFindDataInput(moddle, task, sourceNode) {
141
141
  if (!outputSet) {
142
142
  task.definition.ioSpecification.set('outputSets', [
143
143
  moddle.create('bpmn:OutputSet', {
144
- dataInputRefs: [],
144
+ dataOutputRefs: [],
145
145
  }),
146
146
  ]);
147
147
  }
@@ -214,9 +214,8 @@ export default {
214
214
 
215
215
  const sourceAnchorTool = new linkTools.SourceAnchor({ snap: this.getAnchorPointFunction('source') });
216
216
  const targetAnchorTool = new linkTools.TargetAnchor({ snap: this.getAnchorPointFunction('target') });
217
- const segmentsTool = new linkTools.Segments();
218
217
  const toolsView = new dia.ToolsView({
219
- tools: [verticesTool, segmentsTool, sourceAnchorTool, targetAnchorTool],
218
+ tools: [verticesTool, sourceAnchorTool, targetAnchorTool],
220
219
  });
221
220
 
222
221
  this.shapeView.addTools(toolsView);
package/public/.DS_Store DELETED
Binary file
package/src/.DS_Store DELETED
Binary file
Binary file