-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
40 lines (37 loc) · 1.26 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import AddExporter from '@bpmn-io/add-exporter';
import lintModule from 'bpmn-js-bpmnlint';
import colorPickerModule from 'bpmn-js-color-picker';
import BpmnModeler from 'bpmn-js/lib/Modeler';
import bpmnlintConfig from './.bpmnlintrc';
import apexModdleDescriptor from './apexPropertiesProvider/descriptor/apexProps';
import propertiesProviderModule from './apexPropertiesProvider/new_provider';
import customPaletteProviderModule from './custom/palette';
import bpmnDiOrdering from './modules/bpmnDiOrdering';
import drilldownCentering from './modules/drilldownCentering';
import translationModule from './modules/translationModule';
import xmlModule from './modules/xmlModule';
import {
BpmnPropertiesPanelModule,
BpmnPropertiesProviderModule
} from 'bpmn-js-properties-panel';
var bpmnModeler = {
Modeler: BpmnModeler,
linting: { apexLinting: bpmnlintConfig },
customModules: {
BpmnPropertiesPanelModule,
BpmnPropertiesProviderModule,
propertiesProviderModule,
AddExporter,
lintModule,
customPaletteProviderModule,
translationModule,
xmlModule,
drilldownCentering,
bpmnDiOrdering,
colorPickerModule
},
moddleExtensions: {
apexModdleDescriptor,
},
};
export default bpmnModeler;