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:
Kevin Burnett 2024-01-30 08:54:05 -08:00 committed by GitHub
parent 6c209fe2ff
commit 5c352a87d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 9 deletions

View File

@ -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).

View File

@ -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);

View File

@ -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",

View File

@ -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;
}