How to use the bpmn-js-properties-panel/lib/helper/ExtensionElementsHelper.getExtensionElements function in bpmn-js-properties-panel

To help you get started, we’ve selected a few bpmn-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 / src / app / tabs / bpmn / custom / properties-provider / __tests__ / MultiInstanceLoopSpec.js View on Github external
const getZeebeLoopCharacteristics = (bo) => {

  const extensions = extensionElementsHelper.getExtensionElements(
    bo.loopCharacteristics,
    'zeebe:LoopCharacteristics'
  );
  return (extensions || [])[0];
};
github zeebe-io / zeebe-modeler / client / src / app / tabs / bpmn / custom / properties-provider / __tests__ / TaskDefinitionSpec.js View on Github external
const getTaskDefinitions = (bo) => {
  return extensionElementsHelper.getExtensionElements(bo, 'zeebe:TaskDefinition');
};
github zeebe-io / zeebe-modeler / client / src / app / tabs / bpmn / custom / properties-provider / __tests__ / InputOutputSpec.js View on Github external
const getElements = (bo, type, prop) => {
  const elems = extensionElementsHelper.getExtensionElements(bo, type) || [];
  return !prop ? elems : (elems[0] || {})[prop] || [];
};
github zeebe-io / zeebe-modeler / client / src / app / tabs / bpmn / custom / properties-provider / __tests__ / MessageSpec.js View on Github external
const getSubscriptionDefinitions = (bo) => {
  return extensionElementsHelper.getExtensionElements(bo, 'zeebe:Subscription');
};
github zeebe-io / zeebe-modeler / client / src / app / tabs / bpmn / custom / properties-provider / helper / PayloadMappingsHelper.js View on Github external
function getElements(bo, type, prop) {
  const elems = extensionElementsHelper.getExtensionElements(bo, type) || [];
  return !prop ? elems : (elems[0] || {})[prop] || [];
}
github zeebe-io / zeebe-modeler / client / src / app / tabs / bpmn / custom / properties-provider / helper / InputOutputHelper.js View on Github external
const getElements = (bo, type, prop) => {
  const elems = extensionElementsHelper.getExtensionElements(bo, type) || [];
  return !prop ? elems : (elems[0] || {})[prop] || [];
};
github zeebe-io / zeebe-modeler / client / src / app / tabs / bpmn / custom / properties-provider / parts / implementation / ElementReferenceExtensionElementProperty.js View on Github external
function getElements(bo, type, prop) {
    const elems = extensionElementsHelper.getExtensionElements(bo, type) || [];
    return !prop ? elems : (elems[0] || {})[prop] || [];
  }

bpmn-js-properties-panel

A simple properties panel for bpmn-js

MIT
Latest version published 9 days ago

Package Health Score

90 / 100
Full package analysis