How to use dmn-js-properties-panel - 5 common examples

To help you get started, we’ve selected a few dmn-js-properties-panel examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zeebe-io / zeebe-modeler / client / lib / app / editor / dmn-editor.js View on Github external
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);
github zeebe-io / zeebe-modeler / client / lib / app / editor / dmn-editor.js View on Github external
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';
github zeebe-io / zeebe-modeler / client / lib / app / editor / dmn-editor.js View on Github external
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) {
github zeebe-io / zeebe-modeler / client / lib / app / editor / dmn-editor.js View on Github external
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;
github zeebe-io / zeebe-modeler / client / lib / app / editor / dmn-editor.js View on Github external
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';