Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
closest as domClosest
} from 'min-dom';
var DiagramEditor = require('./diagram-editor');
var BpmnJS = require('bpmn-js/lib/Modeler').default;
var diagramOriginModule = require('diagram-js-origin').default,
executableFixModule = require('./bpmn/executable-fix'),
clipboardModule = require('./bpmn/clipboard'),
minimapModule = require('diagram-js-minimap').default,
propertiesPanelModule = require('bpmn-js-properties-panel'),
propertiesProviderModule = require('bpmn-js-properties-panel/lib/provider/camunda'),
camundaModdlePackage = require('camunda-bpmn-moddle/resources/camunda'),
camundaModdleExtension = require('camunda-bpmn-moddle/lib'),
signavioCompat = require('bpmn-js-signavio-compat').default;
var WarningsOverlay = require('base/components/warnings-overlay');
var isUnsaved = require('util/file/is-unsaved');
var applyElementTemplates = require('app/util/element-templates').applyElementTemplates;
var getWarnings = require('app/util/get-warnings');
var ensureOpts = require('util/ensure-opts'),
dragger = require('util/dom/dragger'),
isInput = require('util/dom/is-input'),
isInputActive = isInput.active,
copy = require('util/copy');
var generateImage = require('app/util/generate-image');