library updates

This commit is contained in:
Dan 2023-02-07 15:44:47 -05:00
parent e983621b8c
commit 127b9e0e5c
4 changed files with 24 additions and 16 deletions

View File

@ -33,12 +33,12 @@
"src/assets"
],
"styles": [
"node_modules/bpmn-js-properties-panel/dist/assets/bpmn-js-properties-panel.css",
"node_modules/bpmn-js-properties-panel/dist/assets/properties-panel.css",
"node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css",
"node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css",
"node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn.css",
"node_modules/bpmn-js/dist/assets/diagram-js.css",
"node_modules/dmn-js-properties-panel/dist/assets/dmn-js-properties-panel.css",
"node_modules/dmn-js-properties-panel/dist/assets/properties-panel.css",
"node_modules/diagram-js-minimap/assets/diagram-js-minimap.css",
"node_modules/dmn-js/dist/assets/diagram-js.css",
"node_modules/dmn-js/dist/assets/dmn-font/css/dmn-codes.css",

View File

@ -1,5 +1,10 @@
import propertiesPanelModule from 'bpmn-js-properties-panel';
import propertiesProviderModule from 'bpmn-js-properties-panel/lib/provider/camunda';
import {
BpmnPropertiesPanelModule,
BpmnPropertiesProviderModule,
CamundaPlatformPropertiesProviderModule
} from 'bpmn-js-properties-panel';
// use Camunda Platform properties provider
import * as camundaModdleDescriptor from 'camunda-bpmn-moddle/resources/camunda.json';
import minimapModule from 'diagram-js-minimap';
import codeModule from 'diagram-js-code-editor';
@ -7,10 +12,12 @@ import {ModelerConfig} from '../_interfaces/modeler-config';
export const bpmnModelerConfig: ModelerConfig = {
additionalModules: [
propertiesProviderModule,
propertiesPanelModule,
minimapModule,
codeModule,
BpmnPropertiesPanelModule,
BpmnPropertiesProviderModule,
CamundaPlatformPropertiesProviderModule,
// CamundaExtensionModule,
minimapModule,
codeModule,
],
moddleExtensions: {
camunda: camundaModdleDescriptor

View File

@ -1,14 +1,15 @@
import propertiesPanelModule from 'dmn-js-properties-panel';
import drdAdapterModule from 'dmn-js-properties-panel/lib/adapter/drd';
import propertiesProviderModule from 'dmn-js-properties-panel/lib/provider/camunda';
import {
DmnPropertiesProviderModule,
DmnPropertiesPanelModule
} from 'dmn-js-properties-panel';
import * as camundaModdleDescriptor from 'camunda-dmn-moddle/resources/camunda.json';
import {ModelerConfig} from '../_interfaces/modeler-config';
export const dmnModelerConfig: ModelerConfig = {
additionalModules: [
propertiesProviderModule,
propertiesPanelModule,
drdAdapterModule,
DmnPropertiesProviderModule,
DmnPropertiesPanelModule,
// drdAdapterModule,
],
moddleExtensions: {
camunda: camundaModdleDescriptor

View File

@ -1,5 +1,5 @@
/* bpmn-js */
@import '../node_modules/bpmn-js-properties-panel/dist/assets/bpmn-js-properties-panel.css';
@import '../node_modules/bpmn-js-properties-panel/dist/assets/properties-panel.css';
@import '../node_modules/diagram-js-minimap/assets/diagram-js-minimap.css';
@import '../node_modules/diagram-js-code-editor/assets/diagram-js-code-editor.css';
@import '../node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css';
@ -8,7 +8,7 @@
@import '../node_modules/bpmn-js/dist/assets/diagram-js.css';
/* dmn-js */
@import '../node_modules/dmn-js-properties-panel/dist/assets/dmn-js-properties-panel.css';
@import '../node_modules/dmn-js-properties-panel/dist/assets/properties-panel.css';
@import '../node_modules/dmn-js/dist/assets/diagram-js.css';
@import '../node_modules/dmn-js/dist/assets/dmn-font/css/dmn-codes.css';
@import '../node_modules/dmn-js/dist/assets/dmn-font/css/dmn-embedded.css';