This ensures our FixHoverBehavior (that ensures we drop onto /
connect to participants, not lanes) does fix the hover element
during *.out, too.
Otherwise there is no way for other behaviors to correctly
remove hover indicators.
Closes https://github.com/bpmn-io/bpmn-js/issues/1413
This prevents the .test-container selector to appear twice in our test
markup:
```html
<div class="test-container passed" id="camunda-properties simple should
open stuff">
<div class="title-row">
<a href="#camunda-properties%20simple%20should%20open%20stuff">
<h3 class="test-titel">camunda-properties simple should open
stuff</h3>
</a>
<div class="test-result" style="float: right;">passed</div>
</div>
<div class="test-content-container test-container">
<!-- test content -->
</div>
</div>
```
With this commit we only add the .test-content-container marker in cases
where `mocha-test-container-support` is not present upon running
`bootstrapBpmnJS`.
This script is the one stop utility that allows users to open a modeler
or viewer instance, directly within your browser.
Works via a custom launcher that openes the {KARMA_BASE}/debug.html
page in your default web browser.
Closes https://github.com/bpmn-io/bpmn-js/issues/1396
* Indicate the action in a clearer, more standard-compliant way --> replaces an expanded pool with an empty "black box" + removing its content.
* We will not update the action identifier (`replace-with-collapsed-pool`) to avoid breaking changes.
* Make it possible to retrieve label via function
Related to camunda/camunda-modeler#2022
Modeling#updateModdleProperties allows users to update moddle elements
that are backed up by diagram elements.
It provides us a path forward when we start to update more _hidden_
things from within the modeling canvas.
The <import.parse.complete> event is now invoked with
{
error,
definitions,
elementsById,
references,
warnings
}
The old payload is deprecated:
{
error,
definitions,
context: { elementsById, references, warnings }
}
This commit promisifies following APIs:
BaseViewer#importXML
BaseViewer#importDefinitions
BaseViewer#open
BaseViewer#saveXML
BaseViewer#saveSVG
Modeler#createDiagram
Related to https://github.com/bpmn-io/bpmn-js/issues/812
BREAKING CHANGES:
* Users are now expected to have Promises either by default or
polyfilled as the APIs return a Promise now.