@5minds/processcube_engine_sdk
Advanced tools
Comparing version 4.0.0-feature-0666f6-llf4dbyw to 4.0.0-feature-0ef217-llf6ecre
@@ -1,2 +0,2 @@ | ||
define(["require", "exports", "../../Model", "../../Model/Base", "../TypeFactory"], function (require, exports, Model_1, Base_1, TypeFactory_1) { | ||
define(["require", "exports", "../../Model", "../../Model/Base"], function (require, exports, Model_1, Base_1) { | ||
"use strict"; | ||
@@ -6,10 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
function parseLoopMarker(rawData) { | ||
const possibleLoopMarker = (0, TypeFactory_1.getModelPropertyAsArray)(rawData, Model_1.BpmnTags.LoopMarkers.Loop); | ||
const possibleMultiInstanceMarker = (0, TypeFactory_1.getModelPropertyAsArray)(rawData, Model_1.BpmnTags.LoopMarkers.MultiInstance); | ||
if (possibleLoopMarker && possibleLoopMarker.length > 0) { | ||
const possibleLoopMarker = rawData[Model_1.BpmnTags.LoopMarkers.Loop]; | ||
const possibleMultiInstanceMarker = rawData[Model_1.BpmnTags.LoopMarkers.MultiInstance]; | ||
if (possibleLoopMarker != null) { | ||
return Base_1.LoopMarker.Loop; | ||
} | ||
if (possibleMultiInstanceMarker && possibleMultiInstanceMarker.length > 0) { | ||
const multiInstanceMarker = possibleMultiInstanceMarker[0]; | ||
return multiInstanceMarker.isSequential == 'true' ? Base_1.LoopMarker.Sequential : Base_1.LoopMarker.Parallel; | ||
if (possibleMultiInstanceMarker != null) { | ||
return possibleMultiInstanceMarker.isSequential == 'true' ? Base_1.LoopMarker.Sequential : Base_1.LoopMarker.Parallel; | ||
} | ||
@@ -16,0 +15,0 @@ return undefined; |
@@ -6,12 +6,10 @@ "use strict"; | ||
const Base_1 = require("../../Model/Base"); | ||
const TypeFactory_1 = require("../TypeFactory"); | ||
function parseLoopMarker(rawData) { | ||
const possibleLoopMarker = (0, TypeFactory_1.getModelPropertyAsArray)(rawData, Model_1.BpmnTags.LoopMarkers.Loop); | ||
const possibleMultiInstanceMarker = (0, TypeFactory_1.getModelPropertyAsArray)(rawData, Model_1.BpmnTags.LoopMarkers.MultiInstance); | ||
if (possibleLoopMarker && possibleLoopMarker.length > 0) { | ||
const possibleLoopMarker = rawData[Model_1.BpmnTags.LoopMarkers.Loop]; | ||
const possibleMultiInstanceMarker = rawData[Model_1.BpmnTags.LoopMarkers.MultiInstance]; | ||
if (possibleLoopMarker != null) { | ||
return Base_1.LoopMarker.Loop; | ||
} | ||
if (possibleMultiInstanceMarker && possibleMultiInstanceMarker.length > 0) { | ||
const multiInstanceMarker = possibleMultiInstanceMarker[0]; | ||
return multiInstanceMarker.isSequential == 'true' ? Base_1.LoopMarker.Sequential : Base_1.LoopMarker.Parallel; | ||
if (possibleMultiInstanceMarker != null) { | ||
return possibleMultiInstanceMarker.isSequential == 'true' ? Base_1.LoopMarker.Sequential : Base_1.LoopMarker.Parallel; | ||
} | ||
@@ -18,0 +16,0 @@ return undefined; |
{ | ||
"name": "@5minds/processcube_engine_sdk", | ||
"version": "4.0.0-feature-0666f6-llf4dbyw", | ||
"version": "4.0.0-feature-0ef217-llf6ecre", | ||
"description": "Software development kit for the Engine.", | ||
@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1194265
18797