diff --git a/angular.json b/angular.json index 1ef1b42..3c8e5c6 100644 --- a/angular.json +++ b/angular.json @@ -39,6 +39,7 @@ "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/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", "node_modules/dmn-js/dist/assets/dmn-font/css/dmn-embedded.css", diff --git a/package-lock.json b/package-lock.json index 44f3479..88bf738 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "cr-connect-bpmn", "version": "0.0.0", "dependencies": { "@angular/animations": "^12.2.1", diff --git a/src/app/diagram/bpmn-modeler-config.ts b/src/app/diagram/bpmn-modeler-config.ts index 383e6f2..c212837 100644 --- a/src/app/diagram/bpmn-modeler-config.ts +++ b/src/app/diagram/bpmn-modeler-config.ts @@ -7,8 +7,8 @@ import {ModelerConfig} from '../_interfaces/modeler-config'; export const bpmnModelerConfig: ModelerConfig = { additionalModules: [ - propertiesProviderModule, - propertiesPanelModule, + propertiesProviderModule, + propertiesPanelModule, minimapModule, codeModule, ], diff --git a/src/styles.scss b/src/styles.scss index f7784e2..d99bc12 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -1,5 +1,7 @@ /* bpmn-js */ @import '../node_modules/bpmn-js-properties-panel/dist/assets/bpmn-js-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'; @import '../node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css'; @import '../node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn.css'; @@ -17,6 +19,7 @@ @import '../node_modules/dmn-js/dist/assets/dmn-js-literal-expression.css'; @import '../node_modules/dmn-js/dist/assets/dmn-js-shared.css'; + /* Angular Material */ @import './material-theme.scss'; @include cr-connect-theme($cr-connect-theme);