Comparing version 13.0.8 to 13.1.0
@@ -21,3 +21,3 @@ /** | ||
'bpmn:Event': (parentGfx: any, element: any, attrs: any) => SVGCircleElement; | ||
'bpmn:StartEvent': (parentGfx: any, element: any) => any; | ||
'bpmn:StartEvent': (parentGfx: any, element: any, options: any) => any; | ||
'bpmn:MessageEventDefinition': (parentGfx: any, element: any, isThrowing: any) => SVGPathElement; | ||
@@ -34,7 +34,7 @@ 'bpmn:TimerEventDefinition': (parentGfx: any, element: any) => SVGCircleElement; | ||
'bpmn:ParallelMultipleEventDefinition': (parentGfx: any, event: any) => SVGPathElement; | ||
'bpmn:EndEvent': (parentGfx: any, element: any) => any; | ||
'bpmn:EndEvent': (parentGfx: any, element: any, options: any) => any; | ||
'bpmn:TerminateEventDefinition': (parentGfx: any, element: any) => SVGCircleElement; | ||
'bpmn:IntermediateEvent': (parentGfx: any, element: any) => any; | ||
'bpmn:IntermediateCatchEvent': (parentGfx: any, element: any) => any; | ||
'bpmn:IntermediateThrowEvent': (parentGfx: any, element: any) => any; | ||
'bpmn:IntermediateEvent': (parentGfx: any, element: any, options: any) => any; | ||
'bpmn:IntermediateCatchEvent': (parentGfx: any, element: any, options: any) => any; | ||
'bpmn:IntermediateThrowEvent': (parentGfx: any, element: any, options: any) => any; | ||
'bpmn:Activity': (parentGfx: any, element: any, attrs: any) => SVGRectElement; | ||
@@ -67,7 +67,7 @@ 'bpmn:Task': (parentGfx: any, element: any) => any; | ||
'bpmn:DataObject': (parentGfx: any, element: any) => SVGPathElement; | ||
'bpmn:DataObjectReference': (parentGfx: any, element: any) => any; | ||
'bpmn:DataObjectReference': (parentGfx: any, element: any, options: any) => any; | ||
'bpmn:DataInput': (parentGfx: any, element: any) => any; | ||
'bpmn:DataOutput': (parentGfx: any, element: any) => any; | ||
'bpmn:DataStoreReference': (parentGfx: any, element: any) => SVGPathElement; | ||
'bpmn:BoundaryEvent': (parentGfx: any, element: any) => any; | ||
'bpmn:BoundaryEvent': (parentGfx: any, element: any, options: any) => any; | ||
'bpmn:Group': (parentGfx: any, element: any) => SVGRectElement; | ||
@@ -74,0 +74,0 @@ label: (parentGfx: any, element: any) => SVGElement; |
@@ -447,4 +447,4 @@ import inherits from 'inherits-browser'; | ||
function as(type) { | ||
return function(parentGfx, element) { | ||
return renderer(type)(parentGfx, element); | ||
return function(parentGfx, element, options) { | ||
return renderer(type)(parentGfx, element, options); | ||
}; | ||
@@ -588,3 +588,3 @@ } | ||
}, | ||
'bpmn:StartEvent': function(parentGfx, element) { | ||
'bpmn:StartEvent': function(parentGfx, element, options) { | ||
var attrs = { | ||
@@ -607,3 +607,5 @@ fill: getFillColor(element, defaultFillColor), | ||
renderEventContent(element, parentGfx); | ||
if (!options || options.renderIcon !== false) { | ||
renderEventContent(element, parentGfx); | ||
} | ||
@@ -861,3 +863,3 @@ return circle; | ||
}, | ||
'bpmn:EndEvent': function(parentGfx, element) { | ||
'bpmn:EndEvent': function(parentGfx, element, options) { | ||
var circle = renderer('bpmn:Event')(parentGfx, element, { | ||
@@ -869,3 +871,5 @@ strokeWidth: 4, | ||
renderEventContent(element, parentGfx, true); | ||
if (!options || options.renderIcon !== false) { | ||
renderEventContent(element, parentGfx, true); | ||
} | ||
@@ -883,3 +887,3 @@ return circle; | ||
}, | ||
'bpmn:IntermediateEvent': function(parentGfx, element) { | ||
'bpmn:IntermediateEvent': function(parentGfx, element, options) { | ||
var outer = renderer('bpmn:Event')(parentGfx, element, { | ||
@@ -898,3 +902,5 @@ strokeWidth: 1.5, | ||
renderEventContent(element, parentGfx); | ||
if (!options || options.renderIcon !== false) { | ||
renderEventContent(element, parentGfx); | ||
} | ||
@@ -1617,3 +1623,3 @@ return outer; | ||
}, | ||
'bpmn:BoundaryEvent': function(parentGfx, element) { | ||
'bpmn:BoundaryEvent': function(parentGfx, element, options) { | ||
@@ -1649,3 +1655,5 @@ var semantic = getSemantic(element), | ||
renderEventContent(element, parentGfx); | ||
if (!options || options.renderIcon !== false) { | ||
renderEventContent(element, parentGfx); | ||
} | ||
@@ -1652,0 +1660,0 @@ return outer; |
{ | ||
"name": "bpmn-js", | ||
"version": "13.0.8", | ||
"version": "13.1.0", | ||
"description": "A bpmn 2.0 toolkit and web modeler", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4869534
354
123128