1.15.3 • Published 4 days ago

bpmn-js-element-templates v1.15.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 days ago

bpmn-js-element-templates

An element templates provider, previously available from bpmn-js-properties-panel.

Usage

Use this module in addition to bpmn-js-properties-panel.

import BpmnModeler from 'bpmn-js/lib/Modeler';
import {
  BpmnPropertiesPanelModule,
  BpmnPropertiesProviderModule,
} from 'bpmn-js-properties-panel';

import {
    ElementTemplatesPropertiesProviderModule, // Camunda 7 Element Templates
    // CloudElementTemplatesPropertiesProviderModule // Camunda 8 Element Templates
} from 'bpmn-js-element-templates';

const modeler = new BpmnModeler({
  container: '#canvas',
  propertiesPanel: {
    parent: '#properties'
  },
  additionalModules: [
    BpmnPropertiesPanelModule,
    BpmnPropertiesProviderModule,
    ElementTemplatesPropertiesProviderModule,
    // CloudElementTemplatesPropertiesProviderModule
  ]
});

Additional resources

Development

Prepare the project by installing all dependencies:

npm install

Then, depending on your use-case, you may run any of the following commands:

# build the library and run all tests
npm run all

# spin up a single local modeler instance
npm start

# run the full development setup
npm run dev

License

MIT

1.15.3

4 days ago

1.15.2

21 days ago

1.15.1

28 days ago

1.15.0

2 months ago

1.14.2

2 months ago

1.14.1

2 months ago

1.14.0

3 months ago

1.13.2

3 months ago

1.13.1

4 months ago

1.13.0

4 months ago

1.12.1

4 months ago

1.12.0

4 months ago

1.11.0

4 months ago

1.10.0

5 months ago

1.9.2

5 months ago

1.2.0

10 months ago

1.9.1

6 months ago

1.9.0

6 months ago

1.8.0

6 months ago

1.7.0

6 months ago

1.6.1

7 months ago

1.6.0

7 months ago

1.5.0

7 months ago

1.4.0

9 months ago

1.2.2

10 months ago

1.3.0

9 months ago

1.2.1

10 months ago

2.0.0-1

7 months ago

1.1.0

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago