Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var generateImage = require('app/util/generate-image'),
isInput = require('util/dom/is-input'),
isInputActive = require('util/dom/is-input').active,
dragger = require('util/dom/dragger'),
copy = require('util/copy');
var debug = require('debug')('dmn-editor');
var propertiesPanelModule = require('dmn-js-properties-panel').default,
propertiesProviderModule = require('dmn-js-properties-panel/lib/provider/camunda').default,
camundaModdlePackage = require('camunda-dmn-moddle/resources/camunda');
var drdAdapterModule = require('dmn-js-properties-panel/lib/adapter/drd').default,
decisionTableAdapterModule = require('dmn-js-properties-panel/lib/adapter/decision-table').default,
literalExpressionAdapterModule = require('dmn-js-properties-panel/lib/adapter/literal-expression').default;
/**
* A DMN 1.1 diagram editing component.
*
* @param {Object} options
*/
function DmnEditor(options) {
DiagramEditor.call(this, options);
this.name = 'dmn';
this.on('imported', (context) => {
var warnings = context.warnings;
if (warnings && warnings.length) {
console.log(warnings);
var getWarnings = require('app/util/get-warnings');
import DmnJS from './dmn/CamundaDmnEditor';
var diagramOriginModule = require('diagram-js-origin');
var generateImage = require('app/util/generate-image'),
isInput = require('util/dom/is-input'),
isInputActive = require('util/dom/is-input').active,
dragger = require('util/dom/dragger'),
copy = require('util/copy');
var debug = require('debug')('dmn-editor');
var propertiesPanelModule = require('dmn-js-properties-panel').default,
propertiesProviderModule = require('dmn-js-properties-panel/lib/provider/camunda').default,
camundaModdlePackage = require('camunda-dmn-moddle/resources/camunda');
var drdAdapterModule = require('dmn-js-properties-panel/lib/adapter/drd').default,
decisionTableAdapterModule = require('dmn-js-properties-panel/lib/adapter/decision-table').default,
literalExpressionAdapterModule = require('dmn-js-properties-panel/lib/adapter/literal-expression').default;
/**
* A DMN 1.1 diagram editing component.
*
* @param {Object} options
*/
function DmnEditor(options) {
DiagramEditor.call(this, options);
this.name = 'dmn';
var diagramOriginModule = require('diagram-js-origin');
var generateImage = require('app/util/generate-image'),
isInput = require('util/dom/is-input'),
isInputActive = require('util/dom/is-input').active,
dragger = require('util/dom/dragger'),
copy = require('util/copy');
var debug = require('debug')('dmn-editor');
var propertiesPanelModule = require('dmn-js-properties-panel').default,
propertiesProviderModule = require('dmn-js-properties-panel/lib/provider/camunda').default,
camundaModdlePackage = require('camunda-dmn-moddle/resources/camunda');
var drdAdapterModule = require('dmn-js-properties-panel/lib/adapter/drd').default,
decisionTableAdapterModule = require('dmn-js-properties-panel/lib/adapter/decision-table').default,
literalExpressionAdapterModule = require('dmn-js-properties-panel/lib/adapter/literal-expression').default;
/**
* A DMN 1.1 diagram editing component.
*
* @param {Object} options
*/
function DmnEditor(options) {
DiagramEditor.call(this, options);
this.name = 'dmn';
this.on('imported', (context) => {
var warnings = context.warnings;
if (warnings && warnings.length) {
var diagramOriginModule = require('diagram-js-origin');
var generateImage = require('app/util/generate-image'),
isInput = require('util/dom/is-input'),
isInputActive = require('util/dom/is-input').active,
dragger = require('util/dom/dragger'),
copy = require('util/copy');
var debug = require('debug')('dmn-editor');
var propertiesPanelModule = require('dmn-js-properties-panel').default,
propertiesProviderModule = require('dmn-js-properties-panel/lib/provider/camunda').default,
camundaModdlePackage = require('camunda-dmn-moddle/resources/camunda');
var drdAdapterModule = require('dmn-js-properties-panel/lib/adapter/drd').default,
decisionTableAdapterModule = require('dmn-js-properties-panel/lib/adapter/decision-table').default,
literalExpressionAdapterModule = require('dmn-js-properties-panel/lib/adapter/literal-expression').default;
/**
* A DMN 1.1 diagram editing component.
*
* @param {Object} options
*/
function DmnEditor(options) {
DiagramEditor.call(this, options);
this.name = 'dmn';
this.on('imported', (context) => {
var warnings = context.warnings;
var getWarnings = require('app/util/get-warnings');
import DmnJS from './dmn/CamundaDmnEditor';
var diagramOriginModule = require('diagram-js-origin');
var generateImage = require('app/util/generate-image'),
isInput = require('util/dom/is-input'),
isInputActive = require('util/dom/is-input').active,
dragger = require('util/dom/dragger'),
copy = require('util/copy');
var debug = require('debug')('dmn-editor');
var propertiesPanelModule = require('dmn-js-properties-panel').default,
propertiesProviderModule = require('dmn-js-properties-panel/lib/provider/camunda').default,
camundaModdlePackage = require('camunda-dmn-moddle/resources/camunda');
var drdAdapterModule = require('dmn-js-properties-panel/lib/adapter/drd').default,
decisionTableAdapterModule = require('dmn-js-properties-panel/lib/adapter/decision-table').default,
literalExpressionAdapterModule = require('dmn-js-properties-panel/lib/adapter/literal-expression').default;
/**
* A DMN 1.1 diagram editing component.
*
* @param {Object} options
*/
function DmnEditor(options) {
DiagramEditor.call(this, options);
this.name = 'dmn';