mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-28 18:55:14 +00:00
update bpmn-js-spiffworkflow (#903)
* update bpmn-js-spiffworkflow * minor fixes to cypress w/ burnettk * pull in bpmn-js-spiffworkflow/pull/64 * bump to get non-ayoub change * bump --------- Co-authored-by: burnettk <burnettk@users.noreply.github.com> Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
parent
6c209fe2ff
commit
5c352a87d7
@ -73,4 +73,3 @@ SpiffArena's main components are published under the terms of the
|
||||
You can find us on [our Discord Channel](https://discord.gg/BYHcc7PpUC).
|
||||
Commercial support for SpiffWorkflow is available from [Sartography](https://sartography.com).
|
||||
|
||||
|
||||
|
@ -78,7 +78,7 @@ describe('process-models', () => {
|
||||
cy.getBySel('process-model-add-file').contains('New BPMN File').click();
|
||||
cy.contains(/^Process Model File$/);
|
||||
cy.get('g[data-element-id=StartEvent_1]').click();
|
||||
cy.contains('General').click();
|
||||
cy.get('.bio-properties-panel-group-header-title[title=General]').click();
|
||||
cy.get('#bio-properties-panel-name').clear();
|
||||
cy.get('#bio-properties-panel-name').type('Start Event Name');
|
||||
cy.wait(500);
|
||||
|
6
spiffworkflow-frontend/package-lock.json
generated
6
spiffworkflow-frontend/package-lock.json
generated
@ -8354,8 +8354,8 @@
|
||||
},
|
||||
"node_modules/bpmn-js-spiffworkflow": {
|
||||
"version": "0.0.8",
|
||||
"resolved": "git+ssh://git@github.com/sartography/bpmn-js-spiffworkflow.git#bd16223ccf02e1b64fe01e234809239817afa9a6",
|
||||
"license": "MIT",
|
||||
"resolved": "git+ssh://git@github.com/sartography/bpmn-js-spiffworkflow.git#03a3eef8dcb2fb18ba00fcbe9fa70a37f7f16b99",
|
||||
"license": "LGPL",
|
||||
"dependencies": {
|
||||
"inherits": "^2.0.4",
|
||||
"inherits-browser": "^0.0.1",
|
||||
@ -38241,7 +38241,7 @@
|
||||
}
|
||||
},
|
||||
"bpmn-js-spiffworkflow": {
|
||||
"version": "git+ssh://git@github.com/sartography/bpmn-js-spiffworkflow.git#bd16223ccf02e1b64fe01e234809239817afa9a6",
|
||||
"version": "git+ssh://git@github.com/sartography/bpmn-js-spiffworkflow.git#03a3eef8dcb2fb18ba00fcbe9fa70a37f7f16b99",
|
||||
"from": "bpmn-js-spiffworkflow@github:sartography/bpmn-js-spiffworkflow#main",
|
||||
"requires": {
|
||||
"inherits": "^2.0.4",
|
||||
|
@ -154,13 +154,13 @@ export default function ReactDiagramEditor({
|
||||
}
|
||||
try {
|
||||
if (amount === 0) {
|
||||
const canvas = (modeler as any).get('canvas');
|
||||
const canvas = modeler.get('canvas');
|
||||
canvas.zoom(FitViewport, 'auto');
|
||||
} else {
|
||||
modeler.get('zoomScroll').stepZoom(amount);
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(
|
||||
console.error(
|
||||
'zoom failed, certain modes in DMN do not support zooming.',
|
||||
e
|
||||
);
|
||||
@ -174,8 +174,7 @@ export default function ReactDiagramEditor({
|
||||
// @ts-ignore
|
||||
const fixUnresolvedReferences = (diagramModelerToUse: any): null => {
|
||||
// @ts-ignore
|
||||
diagramModelerToUse.on('import.parse.complete', event => { // eslint-disable-line
|
||||
// @ts-ignore
|
||||
diagramModelerToUse.on('import.parse.complete', (event) => {
|
||||
if (!event.references) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user