Squashed 'bpmn-js-spiffworkflow/' changes from 4ed985f4a..ff9a4fd28
ff9a4fd28 Merge pull request #22 from sartography/bug/pre_post_script_launch_button 1fd817a8f no need to pass element back from the calling launch script event w/ burnettk danfunk fbcda3f67 Specify Peer Dependencies -- as it is likely that embedding this library will occur within projects that use other bpmn-js components. 3d77111f9 Hooks, and an example for setting up a Markdown editor for markdown content. 2cdae0ca6 Display User Instructions for Manual Tasks and End Events as well. 08c03a4dd Removing the dist directory. 3f2abb73a fixes a minor bug that prevented the editor from opening if no script was yet entered in the Script Task. c78afceb3 Allow pre-script and post-script's "Launch Editor" button to work correctly. use commandStack to update Moddle Properties. Providing a working example of using a code editor with this library, so it's clear how the integration would work. Rename titles of various components -- don't call sections "SpiffWorkflow", but maybe we find a way to more gently call out these extensions later on. git-subtree-dir: bpmn-js-spiffworkflow git-subtree-split: ff9a4fd28f0ef0fd43df344352217be2eeca70c8
This commit is contained in:
parent
650c13eb20
commit
2902090419
57
app/app.js
57
app/app.js
|
@ -3,7 +3,7 @@ import {
|
|||
BpmnPropertiesPanelModule,
|
||||
BpmnPropertiesProviderModule,
|
||||
} from 'bpmn-js-properties-panel';
|
||||
import diagramXML from '../test/spec/bpmn/script_task.bpmn';
|
||||
import diagramXML from '../test/spec/bpmn/user_form.bpmn';
|
||||
import spiffworkflow from './spiffworkflow';
|
||||
import setupFileOperations from './fileOperations';
|
||||
|
||||
|
@ -45,7 +45,7 @@ try {
|
|||
bpmnModeler.importXML(diagramXML).then(() => {});
|
||||
|
||||
/**
|
||||
* It is possible to poplulate certain components using API calls to
|
||||
* It is possible to populate certain components using API calls to
|
||||
* a backend. Here we mock out the API call, but this gives you
|
||||
* a sense of how things might work.
|
||||
*
|
||||
|
@ -75,7 +75,58 @@ bpmnModeler.on('spiff.service_tasks.requested', (event) => {
|
|||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Python Script authoring is best done in some sort of editor
|
||||
* here is an example that will connect a large CodeMirror editor
|
||||
* to the "Launch Editor" buttons (Script Tasks, and the Pre and Post
|
||||
* scripts on all other tasks.
|
||||
*/
|
||||
const myCodeMirror = CodeMirror(document.getElementById('code_editor'), {
|
||||
lineNumbers: true,
|
||||
mode: 'python',
|
||||
});
|
||||
|
||||
const saveCodeBtn = document.getElementById('saveCode');
|
||||
let launchCodeEvent = null;
|
||||
|
||||
bpmnModeler.on('script.editor.launch', (newEvent) => {
|
||||
launchCodeEvent = newEvent;
|
||||
myCodeMirror.setValue(launchCodeEvent.script);
|
||||
setTimeout(function() {
|
||||
myCodeMirror.refresh();
|
||||
},1); // We have to wait a moment before calling refresh.
|
||||
document.getElementById('code_overlay').style.display = 'block';
|
||||
document.getElementById('code_editor').focus();
|
||||
});
|
||||
|
||||
saveCodeBtn.addEventListener('click', (_event) => {
|
||||
const { scriptType, element } = launchCodeEvent;
|
||||
launchCodeEvent.eventBus.fire('script.editor.update', { element, scriptType, script: myCodeMirror.getValue()} )
|
||||
document.getElementById('code_overlay').style.display = 'none';
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* Like Python Script Editing, it can be nice to edit your Markdown in a
|
||||
* good editor as well.
|
||||
*/
|
||||
var simplemde = new SimpleMDE({ element: document.getElementById("markdown_textarea") });
|
||||
let launchMarkdownEvent = null;
|
||||
bpmnModeler.on('markdown.editor.launch', (newEvent) => {
|
||||
launchMarkdownEvent = newEvent;
|
||||
simplemde.value(launchMarkdownEvent.markdown);
|
||||
document.getElementById('markdown_overlay').style.display = 'block';
|
||||
document.getElementById('markdown_editor').focus();
|
||||
});
|
||||
|
||||
const saveMarkdownBtn = document.getElementById('saveMarkdown');
|
||||
saveMarkdownBtn.addEventListener('click', (_event) => {
|
||||
const { element } = launchMarkdownEvent;
|
||||
launchMarkdownEvent.eventBus.fire('markdown.editor.update', { element, markdown:simplemde.value() });
|
||||
document.getElementById('markdown_overlay').style.display = 'none';
|
||||
});
|
||||
|
||||
// This handles the download and upload buttons - it isn't specific to
|
||||
// the BPMN modeler or these extensions, just a quick way to allow you to
|
||||
// create and save files.
|
||||
// create and save files, so keeping it outside the example.
|
||||
setupFileOperations(bpmnModeler);
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
outline: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
|
@ -57,3 +51,30 @@ html, body {
|
|||
.bpmn-js-spiffworkflow-btn:hover {
|
||||
background-color: RoyalBlue;
|
||||
}
|
||||
|
||||
/* Code Editor -- provided as a div overlay */
|
||||
.overlay {
|
||||
position: fixed; /* Sit on top of the page content */
|
||||
display: none; /* Hidden by default */
|
||||
width: 100%; /* Full width (cover the whole page) */
|
||||
height: 100%; /* Full height (cover the whole page) */
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: rgba(0,0,0,0.5); /* Black background with opacity */
|
||||
z-index: 200; /* BPMN Canvas has some huge z-indexes, pop-up tools are 100 for ex.*/
|
||||
}
|
||||
|
||||
#code_editor, #markdown_editor {
|
||||
background-color: #ccc;
|
||||
margin: 50px auto 10px auto;
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
#code_buttons, #markdown_buttons {
|
||||
margin: 50px auto 10px auto;
|
||||
max-width: 800px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,17 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--
|
||||
IMPORTANT:
|
||||
This is here to provide an exmaple of how you might use this library in your application.
|
||||
You should be able to take this example, and modify it to suite your own needs.
|
||||
-->
|
||||
<title>bpmn-js-spiffworkflow</title>
|
||||
|
||||
<meta charset="utf-8"/>
|
||||
<!-- here are the core dependencies you will need to include -->
|
||||
<link rel="stylesheet" href="vendor/bpmn-js/assets/diagram-js.css"/>
|
||||
<link rel="stylesheet" href="vendor/bpmn-js/assets/bpmn-js.css"/>
|
||||
<link rel="stylesheet" href="vendor/bpmn-js/assets/bpmn-font/css/bpmn-embedded.css"/>
|
||||
<link rel="stylesheet" href="vendor/bpmn-js-properties-panel/assets/properties-panel.css"/>
|
||||
|
||||
<!-- Some local css settings -->
|
||||
<link rel="stylesheet" href="css/app.css"/>
|
||||
<link rel="shortcut icon" href="#">
|
||||
|
||||
<!-- A python code editor, we are using CodeMirror here -- see app.js for how this is wired in -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/6.65.7/codemirror.min.js"></script>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/6.65.7/codemirror.min.css">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/6.65.7/mode/python/python.min.js"></script>
|
||||
|
||||
<!-- Markdown Editor -- see app.js for how to wire these in. -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
|
||||
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>
|
||||
|
||||
<!-- Just have this for the download file icon -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="menu">
|
||||
|
@ -22,6 +41,24 @@
|
|||
<div id="modeler"></div>
|
||||
<div id="panel"></div>
|
||||
</div>
|
||||
<!-- the following are overlays to provide editors for Python and Markdown -->
|
||||
<div id="code_overlay" class="overlay">
|
||||
<div id="code_editor"></div>
|
||||
<div id="code_buttons">
|
||||
<button id="saveCode" class="bpmn-js-spiffworkflow-btn">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="markdown_overlay" class="overlay">
|
||||
<div id="markdown_editor">
|
||||
<textarea id="markdown_textarea"></textarea>
|
||||
</div>
|
||||
<div id="markdown_buttons">
|
||||
<button id="saveMarkdown" class="bpmn-js-spiffworkflow-btn">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Here we load up our application, it's where the configuration happens. -->
|
||||
<script src="app.js"></script>
|
||||
|
||||
</body>
|
||||
</html><!---->
|
||||
|
|
|
@ -3,7 +3,7 @@ import { is, isAny } from 'bpmn-js/lib/util/ModelUtil';
|
|||
import scriptGroup, { SCRIPT_TYPE } from './SpiffScriptGroup';
|
||||
import { SpiffExtensionCalledDecision } from './SpiffExtensionCalledDecision';
|
||||
import { SpiffExtensionTextInput } from './SpiffExtensionTextInput';
|
||||
import { SpiffExtensionInstructionsForEndUser } from './SpiffExtensionInstructionsForEndUser';
|
||||
import instructionsGroup from './SpiffExtensionInstructionsForEndUser';
|
||||
import {
|
||||
ServiceTaskParameterArray,
|
||||
ServiceTaskOperatorSelect, ServiceTaskResultTextInput,
|
||||
|
@ -16,7 +16,7 @@ export default function ExtensionsPropertiesProvider(
|
|||
translate,
|
||||
moddle,
|
||||
commandStack,
|
||||
elementRegistry
|
||||
elementRegistry,
|
||||
) {
|
||||
this.getGroups = function (element) {
|
||||
return function (groups) {
|
||||
|
@ -27,7 +27,7 @@ export default function ExtensionsPropertiesProvider(
|
|||
} else if (
|
||||
isAny(element, ['bpmn:Task', 'bpmn:CallActivity', 'bpmn:SubProcess'])
|
||||
) {
|
||||
groups.push(preScriptPostScriptGroup(element, translate, moddle));
|
||||
groups.push(preScriptPostScriptGroup(element, translate, moddle, commandStack));
|
||||
}
|
||||
if (is(element, 'bpmn:UserTask')) {
|
||||
groups.push(createUserGroup(element, translate, moddle, commandStack));
|
||||
|
@ -37,9 +37,9 @@ export default function ExtensionsPropertiesProvider(
|
|||
createBusinessRuleGroup(element, translate, moddle, commandStack)
|
||||
);
|
||||
}
|
||||
if (is(element, 'bpmn:ManualTask')) {
|
||||
if (isAny(element, ['bpmn:ManualTask', 'bpmn:UserTask', 'bpmn:EndEvent'])) {
|
||||
groups.push(
|
||||
createManualTaskPropertiesGroup(
|
||||
createUserInstructionsGroup (
|
||||
element,
|
||||
translate,
|
||||
moddle,
|
||||
|
@ -97,14 +97,15 @@ function createScriptGroup(element, translate, moddle, commandStack) {
|
|||
* @param moddle For altering the underlying XML File.
|
||||
* @returns The components to add to the properties panel.
|
||||
*/
|
||||
function preScriptPostScriptGroup(element, translate, moddle) {
|
||||
function preScriptPostScriptGroup(element, translate, moddle, commandStack) {
|
||||
return {
|
||||
id: 'spiff_pre_post_scripts',
|
||||
label: translate('SpiffWorkflow Scripts'),
|
||||
label: translate('Pre/Post Scripts'),
|
||||
entries: [
|
||||
...scriptGroup({
|
||||
element,
|
||||
moddle,
|
||||
commandStack,
|
||||
translate,
|
||||
scriptType: SCRIPT_TYPE.pre,
|
||||
label: 'Pre-Script',
|
||||
|
@ -113,6 +114,7 @@ function preScriptPostScriptGroup(element, translate, moddle) {
|
|||
...scriptGroup({
|
||||
element,
|
||||
moddle,
|
||||
commandStack,
|
||||
translate,
|
||||
scriptType: SCRIPT_TYPE.post,
|
||||
label: 'Post-Script',
|
||||
|
@ -132,7 +134,7 @@ function preScriptPostScriptGroup(element, translate, moddle) {
|
|||
function createUserGroup(element, translate, moddle, commandStack) {
|
||||
return {
|
||||
id: 'user_task_properties',
|
||||
label: translate('SpiffWorkflow Web Form'),
|
||||
label: translate('Web Form (with Json Schemas)'),
|
||||
entries: [
|
||||
{
|
||||
element,
|
||||
|
@ -187,26 +189,24 @@ function createBusinessRuleGroup(element, translate, moddle, commandStack) {
|
|||
* @param moddle
|
||||
* @returns entries
|
||||
*/
|
||||
function createManualTaskPropertiesGroup(
|
||||
function createUserInstructionsGroup (
|
||||
element,
|
||||
translate,
|
||||
moddle,
|
||||
commandStack
|
||||
) {
|
||||
return {
|
||||
id: 'manual_task_properties',
|
||||
label: translate('Manual Task Properties'),
|
||||
id: 'instructions',
|
||||
label: translate('Instructions'),
|
||||
entries: [
|
||||
{
|
||||
...instructionsGroup({
|
||||
element,
|
||||
moddle,
|
||||
commandStack,
|
||||
component: SpiffExtensionInstructionsForEndUser,
|
||||
label: translate('Instructions For End User'),
|
||||
description: translate(
|
||||
'The instructions to show the user(s) who are responsible for completing the task.'
|
||||
),
|
||||
},
|
||||
translate,
|
||||
label: 'Instructions',
|
||||
description: 'The instructions to display when completing this task.',
|
||||
}),
|
||||
],
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
import {useService } from 'bpmn-js-properties-panel';
|
||||
import { TextAreaEntry } from '@bpmn-io/properties-panel';
|
||||
import { useService } from 'bpmn-js-properties-panel';
|
||||
import {
|
||||
HeaderButton,
|
||||
isTextFieldEntryEdited,
|
||||
TextAreaEntry,
|
||||
} from '@bpmn-io/properties-panel';
|
||||
|
||||
const SPIFF_PROP = "spiffworkflow:instructionsForEndUser"
|
||||
const SPIFF_PROP = 'spiffworkflow:instructionsForEndUser';
|
||||
|
||||
/**
|
||||
* A generic properties' editor for text input.
|
||||
|
@ -13,61 +17,120 @@ const SPIFF_PROP = "spiffworkflow:instructionsForEndUser"
|
|||
*
|
||||
* @returns {string|null|*}
|
||||
*/
|
||||
export function SpiffExtensionInstructionsForEndUser(props) {
|
||||
const element = props.element;
|
||||
const commandStack = props.commandStack, moddle = props.moddle;
|
||||
const label = props.label, description = props.description;
|
||||
function SpiffExtensionInstructionsForEndUser(props) {
|
||||
const { element, commandStack, moddle, label, description } = props;
|
||||
const debounce = useService('debounceInput');
|
||||
|
||||
const getPropertyObject = () => {
|
||||
const bizObj = element.businessObject;
|
||||
if (!bizObj.extensionElements) {
|
||||
return null;
|
||||
} else {
|
||||
return bizObj.extensionElements.get("values").filter(function (e) {
|
||||
return e.$instanceOf(SPIFF_PROP)
|
||||
})[0];
|
||||
}
|
||||
}
|
||||
|
||||
const getValue = () => {
|
||||
const property = getPropertyObject()
|
||||
if (property) {
|
||||
return property.instructionsForEndUser;
|
||||
}
|
||||
return ""
|
||||
}
|
||||
return getPropertyValue(element);
|
||||
};
|
||||
|
||||
const setValue = value => {
|
||||
let property = getPropertyObject()
|
||||
let businessObject = element.businessObject;
|
||||
let extensions = businessObject.extensionElements;
|
||||
|
||||
if (!property) {
|
||||
property = moddle.create(SPIFF_PROP);
|
||||
if (!extensions) {
|
||||
extensions = moddle.create('bpmn:ExtensionElements');
|
||||
}
|
||||
extensions.get('values').push(property);
|
||||
}
|
||||
property.instructionsForEndUser = value;
|
||||
|
||||
commandStack.execute('element.updateModdleProperties', {
|
||||
element,
|
||||
moddleElement: businessObject,
|
||||
properties: {
|
||||
"extensionElements": extensions
|
||||
}
|
||||
});
|
||||
const setValue = (value) => {
|
||||
setProperty(commandStack, moddle, element, value);
|
||||
};
|
||||
|
||||
return TextAreaEntry({
|
||||
id: 'extension_instruction_for_end_user',
|
||||
element: element,
|
||||
description: description,
|
||||
label: label,
|
||||
getValue: getValue,
|
||||
setValue: setValue,
|
||||
debounce: debounce,
|
||||
})
|
||||
element,
|
||||
description,
|
||||
label,
|
||||
getValue,
|
||||
setValue,
|
||||
debounce,
|
||||
});
|
||||
}
|
||||
|
||||
function getPropertyObject(element) {
|
||||
const bizObj = element.businessObject;
|
||||
if (!bizObj.extensionElements) {
|
||||
return null;
|
||||
}
|
||||
return bizObj.extensionElements.get('values').filter(function (e) {
|
||||
return e.$instanceOf(SPIFF_PROP);
|
||||
})[0];
|
||||
}
|
||||
|
||||
function getPropertyValue(element) {
|
||||
const property = getPropertyObject(element);
|
||||
if (property) {
|
||||
return property.instructionsForEndUser;
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
function setProperty(commandStack, moddle, element, value) {
|
||||
let property = getPropertyObject(element);
|
||||
const { businessObject } = element;
|
||||
let extensions = businessObject.extensionElements;
|
||||
|
||||
if (!property) {
|
||||
property = moddle.create(SPIFF_PROP);
|
||||
if (!extensions) {
|
||||
extensions = moddle.create('bpmn:ExtensionElements');
|
||||
}
|
||||
extensions.get('values').push(property);
|
||||
}
|
||||
property.instructionsForEndUser = value;
|
||||
|
||||
commandStack.execute('element.updateModdleProperties', {
|
||||
element,
|
||||
moddleElement: businessObject,
|
||||
properties: {
|
||||
extensionElements: extensions,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
function LaunchMarkdownEditorButton(props) {
|
||||
const { element, moddle, commandStack } = props;
|
||||
const eventBus = useService('eventBus');
|
||||
return HeaderButton({
|
||||
className: 'spiffworkflow-properties-panel-button',
|
||||
onClick: () => {
|
||||
const markdown = getPropertyValue(element);
|
||||
eventBus.fire('markdown.editor.launch', {
|
||||
element,
|
||||
markdown,
|
||||
eventBus,
|
||||
});
|
||||
// Listen for a response, to update the script.
|
||||
eventBus.once('markdown.editor.update', (event) => {
|
||||
console.log("Markdown update!!!")
|
||||
setProperty(commandStack, moddle, event.element, event.markdown);
|
||||
});
|
||||
},
|
||||
children: 'Launch Editor',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates a text box and button for editing markdown.
|
||||
* @param element The element that should get the markdown.
|
||||
* @param moddle For updating the underlying xml document when needed.
|
||||
* @returns {[{component: (function(*)), isEdited: *, id: string, element},{component: (function(*)), isEdited: *, id: string, element}]}
|
||||
*/
|
||||
export default function getEntries(props) {
|
||||
const { element, moddle, label, description, translate, commandStack } =
|
||||
props;
|
||||
|
||||
return [
|
||||
{
|
||||
id: `edit_markdown`,
|
||||
element,
|
||||
component: SpiffExtensionInstructionsForEndUser,
|
||||
isEdited: isTextFieldEntryEdited,
|
||||
moddle,
|
||||
commandStack,
|
||||
label,
|
||||
description,
|
||||
},
|
||||
{
|
||||
id: `launchMarkdownEditor`,
|
||||
element,
|
||||
component: LaunchMarkdownEditorButton,
|
||||
isEdited: isTextFieldEntryEdited,
|
||||
moddle,
|
||||
commandStack,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -16,69 +16,19 @@ export const SCRIPT_TYPE = {
|
|||
function PythonScript(props) {
|
||||
const { element, id } = props;
|
||||
const { type } = props;
|
||||
const { moddle } = props;
|
||||
const { moddle, commandStack } = props;
|
||||
const { label } = props;
|
||||
const { description } = props;
|
||||
|
||||
const translate = useService('translate');
|
||||
const debounce = useService('debounceInput');
|
||||
|
||||
/**
|
||||
* Finds the value of the given type within the extensionElements
|
||||
* given a type of "spiff:preScript", would find it in this, and return
|
||||
* the object.
|
||||
*
|
||||
* <bpmn:
|
||||
<bpmn:userTask id="123" name="My User Task!">
|
||||
<bpmn:extensionElements>
|
||||
<spiff:preScript>
|
||||
me = "100% awesome"
|
||||
</spiff:preScript>
|
||||
</bpmn:extensionElements>
|
||||
...
|
||||
</bpmn:userTask>
|
||||
*
|
||||
* @returns {string|null|*}
|
||||
*/
|
||||
const getScriptObject = () => {
|
||||
const bizObj = element.businessObject;
|
||||
if (type === SCRIPT_TYPE.bpmn) {
|
||||
return bizObj;
|
||||
}
|
||||
if (!bizObj.extensionElements) {
|
||||
return null;
|
||||
}
|
||||
return bizObj.extensionElements
|
||||
.get('values')
|
||||
.filter(function getInstanceOfType(e) {
|
||||
return e.$instanceOf(type);
|
||||
})[0];
|
||||
};
|
||||
|
||||
const getValue = () => {
|
||||
const scriptObj = getScriptObject();
|
||||
if (scriptObj) {
|
||||
return scriptObj.script;
|
||||
}
|
||||
return '';
|
||||
return getScriptString(element, type);
|
||||
};
|
||||
|
||||
const setValue = (value) => {
|
||||
const { businessObject } = element;
|
||||
let scriptObj = getScriptObject();
|
||||
// Create the script object if needed.
|
||||
if (!scriptObj) {
|
||||
scriptObj = moddle.create(type);
|
||||
if (type !== SCRIPT_TYPE.bpmn) {
|
||||
if (!businessObject.extensionElements) {
|
||||
businessObject.extensionElements = moddle.create(
|
||||
'bpmn:ExtensionElements'
|
||||
);
|
||||
}
|
||||
businessObject.extensionElements.get('values').push(scriptObj);
|
||||
}
|
||||
}
|
||||
scriptObj.script = value;
|
||||
updateScript(commandStack, moddle, element, type, value);
|
||||
};
|
||||
|
||||
return TextAreaEntry({
|
||||
|
@ -93,20 +43,107 @@ function PythonScript(props) {
|
|||
}
|
||||
|
||||
function LaunchEditorButton(props) {
|
||||
const { element, type } = props;
|
||||
const { element, type, moddle, commandStack } = props;
|
||||
const eventBus = useService('eventBus');
|
||||
// fixme: add a call up date as a property
|
||||
return HeaderButton({
|
||||
className: 'spiffworkflow-properties-panel-button',
|
||||
onClick: () => {
|
||||
eventBus.fire('launch.script.editor', { element, type });
|
||||
const script = getScriptString(element, type);
|
||||
eventBus.fire('script.editor.launch', {
|
||||
element,
|
||||
scriptType: type,
|
||||
script,
|
||||
eventBus,
|
||||
});
|
||||
// Listen for a response, to update the script.
|
||||
eventBus.once('script.editor.update', (event) => {
|
||||
updateScript(
|
||||
commandStack,
|
||||
moddle,
|
||||
element,
|
||||
event.scriptType,
|
||||
event.script
|
||||
);
|
||||
});
|
||||
},
|
||||
children: 'Launch Editor',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates a python script.
|
||||
* Finds the value of the given type within the extensionElements
|
||||
* given a type of "spiff:preScript", would find it in this, and return
|
||||
* the object.
|
||||
*
|
||||
* <bpmn:
|
||||
<bpmn:userTask id="123" name="My User Task!">
|
||||
<bpmn:extensionElements>
|
||||
<spiff:preScript>
|
||||
me = "100% awesome"
|
||||
</spiff:preScript>
|
||||
</bpmn:extensionElements>
|
||||
...
|
||||
</bpmn:userTask>
|
||||
*
|
||||
* @returns {string|null|*}
|
||||
*/
|
||||
function getScriptObject(element, scriptType) {
|
||||
const bizObj = element.businessObject;
|
||||
if (scriptType === SCRIPT_TYPE.bpmn) {
|
||||
return bizObj;
|
||||
}
|
||||
if (!bizObj.extensionElements) {
|
||||
return null;
|
||||
}
|
||||
return bizObj.extensionElements
|
||||
.get('values')
|
||||
.filter(function getInstanceOfType(e) {
|
||||
return e.$instanceOf(scriptType);
|
||||
})[0];
|
||||
}
|
||||
|
||||
function updateScript(commandStack, moddle, element, scriptType, newValue) {
|
||||
const { businessObject } = element;
|
||||
let scriptObj = getScriptObject(element, scriptType);
|
||||
// Create the script object if needed.
|
||||
if (!scriptObj) {
|
||||
scriptObj = moddle.create(scriptType);
|
||||
if (scriptType !== SCRIPT_TYPE.bpmn) {
|
||||
let { extensionElements } = businessObject;
|
||||
if (!extensionElements) {
|
||||
extensionElements = moddle.create('bpmn:ExtensionElements');
|
||||
}
|
||||
scriptObj.script = newValue;
|
||||
extensionElements.get('values').push(scriptObj);
|
||||
commandStack.execute('element.updateModdleProperties', {
|
||||
element,
|
||||
moddleElement: businessObject,
|
||||
properties: {
|
||||
extensionElements,
|
||||
},
|
||||
});
|
||||
}
|
||||
} else {
|
||||
commandStack.execute('element.updateModdleProperties', {
|
||||
element,
|
||||
moddleElement: scriptObj,
|
||||
properties: {
|
||||
script: newValue,
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function getScriptString(element, scriptType) {
|
||||
const scriptObj = getScriptObject(element, scriptType);
|
||||
if (scriptObj && scriptObj.script) {
|
||||
return scriptObj.script;
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates a text box and button for editing a script.
|
||||
* @param element The elemment that should get the script task.
|
||||
* @param scriptType The type of script -- can be a preScript, postScript or a BPMN:Script for script tags
|
||||
* @param moddle For updating the underlying xml document when needed.
|
||||
|
@ -131,6 +168,7 @@ export default function getEntries(props) {
|
|||
component: PythonScript,
|
||||
isEdited: isTextFieldEntryEdited,
|
||||
moddle,
|
||||
commandStack,
|
||||
label,
|
||||
description,
|
||||
},
|
||||
|
@ -141,6 +179,7 @@ export default function getEntries(props) {
|
|||
component: LaunchEditorButton,
|
||||
isEdited: isTextFieldEntryEdited,
|
||||
moddle,
|
||||
commandStack,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,14 +0,0 @@
|
|||
"use strict";
|
||||
(self["webpackChunkbpmn_js_spiffworkflow"] = self["webpackChunkbpmn_js_spiffworkflow"] || []).push([["src_moddle_spiffworkflow_json"],{
|
||||
|
||||
/***/ "./src/moddle/spiffworkflow.json":
|
||||
/*!***************************************!*\
|
||||
!*** ./src/moddle/spiffworkflow.json ***!
|
||||
\***************************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = JSON.parse('{"name":"SpiffWorkflow","uri":"http://spiffworkflow.org/bpmn/schema/1.0/core","prefix":"spiffworkflow","associations":[],"types":[{"name":"preScript","superClass":["Element"],"properties":[{"name":"script","isBody":true,"type":"String"}]},{"name":"postScript","superClass":["Element"],"properties":[{"name":"script","isBody":true,"type":"String"}]},{"name":"messagePayload","superClass":["Element"],"properties":[{"name":"messagePayload","isBody":true,"type":"String"}]},{"name":"messageVariable","superClass":["Element"],"properties":[{"name":"messageVariable","isBody":true,"type":"String"}]},{"name":"calledDecisionId","superClass":["Element"],"properties":[{"name":"calledDecisionId","isBody":true,"type":"String"}]},{"name":"instructionsForEndUser","superClass":["Element"],"properties":[{"name":"instructionsForEndUser","isBody":true,"type":"String"}]},{"name":"properties","superClass":["Element"],"properties":[{"name":"properties","type":"property","isMany":true}]},{"name":"property","superClass":["Element"],"properties":[{"name":"name","isAttr":true,"type":"String"},{"name":"value","isAttr":true,"type":"String"}]},{"name":"serviceTaskOperator","superClass":["Element"],"properties":[{"name":"id","isAttr":true,"type":"String"},{"name":"parameterList","type":"parameters"}]},{"name":"parameters","superClass":["Element"],"properties":[{"name":"parameters","type":"parameter","isMany":true}]},{"name":"parameter","superClass":["Element"],"properties":[{"name":"id","isAttr":true,"type":"String"},{"name":"type","isAttr":true,"type":"String"},{"name":"value","isAttr":true,"type":"String"}]}]}');
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
|
@ -9,10 +9,6 @@
|
|||
"version": "0.0.8",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@bpmn-io/properties-panel": "^0.19.0",
|
||||
"bpmn-js": "^9.4.0",
|
||||
"bpmn-js-properties-panel": "^1.5.0",
|
||||
"diagram-js": "^8.5.0",
|
||||
"inherits": "^2.0.4",
|
||||
"inherits-browser": "^0.0.1",
|
||||
"min-dash": "^3.8.1",
|
||||
|
@ -59,6 +55,12 @@
|
|||
"stringify": "^5.2.0",
|
||||
"webpack": "^5.73.0",
|
||||
"webpack-cli": "^4.9.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@bpmn-io/properties-panel": "^0.19.0",
|
||||
"bpmn-js": "^9.4.0",
|
||||
"bpmn-js-properties-panel": "^1.5.0",
|
||||
"diagram-js": "^8.5.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@ampproject/remapping": {
|
||||
|
@ -1898,6 +1900,7 @@
|
|||
"version": "0.9.0",
|
||||
"resolved": "https://registry.npmjs.org/@bpmn-io/element-templates-validator/-/element-templates-validator-0.9.0.tgz",
|
||||
"integrity": "sha512-oS5eaXPKxl5bV8x4dJYPCWJpWMumr16TTS39S1oJEh/bKke/nhMBuhsk6wWCp7+G3jWWDkUcS1jGAAaKtvQneA==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@camunda/element-templates-json-schema": "^0.10.0",
|
||||
"@camunda/zeebe-element-templates-json-schema": "^0.5.0",
|
||||
|
@ -1909,6 +1912,7 @@
|
|||
"version": "0.5.1",
|
||||
"resolved": "https://registry.npmjs.org/@bpmn-io/extract-process-variables/-/extract-process-variables-0.5.1.tgz",
|
||||
"integrity": "sha512-Kx0zknI9GRli1EDkgmkUV34cKYsqppsgbcnfrSaT2Tmh7CGXEo8b6UzuGFlZtCZt4488UxjP7UhdrONTt5Si/A==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"min-dash": "^3.8.1"
|
||||
}
|
||||
|
@ -1917,6 +1921,7 @@
|
|||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-0.2.0.tgz",
|
||||
"integrity": "sha512-R85p56nFxffNp0fStNxz561EXJmcTdVZL7NyVhuB3qKS/mt4thuvK1B43YnXKdLx8WessjsbHzjvWkbCYZRWkQ==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@codemirror/autocomplete": "^6.0.3",
|
||||
"@codemirror/commands": "^6.0.0",
|
||||
|
@ -1932,6 +1937,7 @@
|
|||
"version": "0.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-0.19.0.tgz",
|
||||
"integrity": "sha512-cw+MfA2gpCBsa9Q0+JT3Gc7OvR1NGXuyQj4yOk5QoQHNzxuIMNuz6EX2NvDsCrf0oSzc9z0FapbzDuJB+DSC1g==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@bpmn-io/feel-editor": "0.2.0",
|
||||
"classnames": "^2.3.1",
|
||||
|
@ -1943,17 +1949,20 @@
|
|||
"node_modules/@camunda/element-templates-json-schema": {
|
||||
"version": "0.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@camunda/element-templates-json-schema/-/element-templates-json-schema-0.10.0.tgz",
|
||||
"integrity": "sha512-igc5o6/Dn2LlnhvbtYy6D34v6yU9RqlfiUbb/zjyLjXQ7+dgWyJFICBPoNjXltlJPjx5XAnIT1mKDD+45/44mA=="
|
||||
"integrity": "sha512-igc5o6/Dn2LlnhvbtYy6D34v6yU9RqlfiUbb/zjyLjXQ7+dgWyJFICBPoNjXltlJPjx5XAnIT1mKDD+45/44mA==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/@camunda/zeebe-element-templates-json-schema": {
|
||||
"version": "0.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@camunda/zeebe-element-templates-json-schema/-/zeebe-element-templates-json-schema-0.5.0.tgz",
|
||||
"integrity": "sha512-BVHVl4cuK9LxL1eDSdWs8AzuZd981/+CPkw7xlwcB1Xkn6Di8E2iRbDUCBhOIqkahjJYq957nVtbM6jlqXX5qw=="
|
||||
"integrity": "sha512-BVHVl4cuK9LxL1eDSdWs8AzuZd981/+CPkw7xlwcB1Xkn6Di8E2iRbDUCBhOIqkahjJYq957nVtbM6jlqXX5qw==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/@codemirror/autocomplete": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.1.0.tgz",
|
||||
"integrity": "sha512-wtO4O5WDyXhhCd4q4utDIDZxnQfmJ++3dGBCG9LMtI79+92OcA1DVk/n7BEupKmjIr8AzvptDz7YQ9ud6OkU+A==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@codemirror/language": "^6.0.0",
|
||||
"@codemirror/state": "^6.0.0",
|
||||
|
@ -1971,6 +1980,7 @@
|
|||
"version": "6.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.0.1.tgz",
|
||||
"integrity": "sha512-iNHDByicYqQjs0Wo1MKGfqNbMYMyhS9WV6EwMVwsHXImlFemgEUC+c5X22bXKBStN3qnwg4fArNZM+gkv22baQ==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@codemirror/language": "^6.0.0",
|
||||
"@codemirror/state": "^6.0.0",
|
||||
|
@ -1982,6 +1992,7 @@
|
|||
"version": "6.2.1",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.2.1.tgz",
|
||||
"integrity": "sha512-MC3svxuvIj0MRpFlGHxLS6vPyIdbTr2KKPEW46kCoCXw2ktb4NTkpkPBI/lSP/FoNXLCBJ0mrnUi1OoZxtpW1Q==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@codemirror/state": "^6.0.0",
|
||||
"@codemirror/view": "^6.0.0",
|
||||
|
@ -1995,6 +2006,7 @@
|
|||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.0.0.tgz",
|
||||
"integrity": "sha512-nUUXcJW1Xp54kNs+a1ToPLK8MadO0rMTnJB8Zk4Z8gBdrN0kqV7uvUraU/T2yqg+grDNR38Vmy/MrhQN/RgwiA==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@codemirror/state": "^6.0.0",
|
||||
"@codemirror/view": "^6.0.0",
|
||||
|
@ -2004,12 +2016,14 @@
|
|||
"node_modules/@codemirror/state": {
|
||||
"version": "6.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.1.1.tgz",
|
||||
"integrity": "sha512-2s+aXsxmAwnR3Rd+JDHPG/1lw0YsA9PEwl7Re88gHJHGfxyfEzKBmsN4rr53RyPIR4lzbbhJX0DCq0WlqlBIRw=="
|
||||
"integrity": "sha512-2s+aXsxmAwnR3Rd+JDHPG/1lw0YsA9PEwl7Re88gHJHGfxyfEzKBmsN4rr53RyPIR4lzbbhJX0DCq0WlqlBIRw==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/@codemirror/view": {
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.2.0.tgz",
|
||||
"integrity": "sha512-3emW1symh+GoteFMBPsltjmF790U/trouLILATh3JodbF/z98HvcQh2g3+H6dfNIHx16uNonsAF4mNzVr1TJNA==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@codemirror/state": "^6.0.0",
|
||||
"style-mod": "^4.0.0",
|
||||
|
@ -2160,12 +2174,14 @@
|
|||
"node_modules/@lezer/common": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.0.0.tgz",
|
||||
"integrity": "sha512-ohydQe+Hb+w4oMDvXzs8uuJd2NoA3D8YDcLiuDsLqH+yflDTPEpgCsWI3/6rH5C3BAedtH1/R51dxENldQceEA=="
|
||||
"integrity": "sha512-ohydQe+Hb+w4oMDvXzs8uuJd2NoA3D8YDcLiuDsLqH+yflDTPEpgCsWI3/6rH5C3BAedtH1/R51dxENldQceEA==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/@lezer/highlight": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.0.0.tgz",
|
||||
"integrity": "sha512-nsCnNtim90UKsB5YxoX65v3GEIw3iCHw9RM2DtdgkiqAbKh9pCdvi8AWNwkYf10Lu6fxNhXPpkpHbW6mihhvJA==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@lezer/common": "^1.0.0"
|
||||
}
|
||||
|
@ -2174,6 +2190,7 @@
|
|||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.2.1.tgz",
|
||||
"integrity": "sha512-RpHRs+Q+5tPsXtobSfSeRFRAnTRD0e4bApDvo74O+JiaWq9812x5S8WgftNX67owdaTQXCB5E8XZGALo4Wt77A==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@lezer/common": "^1.0.0"
|
||||
}
|
||||
|
@ -2788,6 +2805,7 @@
|
|||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/array-move/-/array-move-3.0.1.tgz",
|
||||
"integrity": "sha512-H3Of6NIn2nNU1gsVDqDnYKY/LCdWvCMMOWifNGhKcVQgiZ6nOek39aESOvro6zmueP07exSl93YLvkN4fZOkSg==",
|
||||
"peer": true,
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
},
|
||||
|
@ -3022,6 +3040,7 @@
|
|||
"version": "9.4.0",
|
||||
"resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-9.4.0.tgz",
|
||||
"integrity": "sha512-7dusZBYCFognA0TmspWaKZ47UjFhyRT+//hMdyLtPCKY1M0uAPXHoFv73MohlsEa7a75h0q6zjCj5W0/RHBwvg==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"bpmn-moddle": "^7.1.3",
|
||||
"css.escape": "^1.5.1",
|
||||
|
@ -3039,6 +3058,7 @@
|
|||
"version": "1.5.0",
|
||||
"resolved": "https://registry.npmjs.org/bpmn-js-properties-panel/-/bpmn-js-properties-panel-1.5.0.tgz",
|
||||
"integrity": "sha512-0VAPk6xK/u+GepjGjt8HAXtBa2ab5o4Dkn5II8UgnFMoQThpvrsLras3vh1il8j/2vPhngAsfiA8z7Y9nJ6/Hw==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@bpmn-io/element-templates-validator": "^0.9.0",
|
||||
"@bpmn-io/extract-process-variables": "^0.5.0",
|
||||
|
@ -3061,6 +3081,7 @@
|
|||
"version": "7.1.3",
|
||||
"resolved": "https://registry.npmjs.org/bpmn-moddle/-/bpmn-moddle-7.1.3.tgz",
|
||||
"integrity": "sha512-ZcBfw0NSOdYTSXFKEn7MOXHItz7VfLZTrFYKO8cK6V8ZzGjCcdiLIOiw7Lctw1PJsihhLiZQS8Htj2xKf+NwCg==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"min-dash": "^3.5.2",
|
||||
"moddle": "^5.0.2",
|
||||
|
@ -3330,7 +3351,8 @@
|
|||
"node_modules/classnames": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz",
|
||||
"integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA=="
|
||||
"integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/clean-css": {
|
||||
"version": "4.1.11",
|
||||
|
@ -3592,7 +3614,8 @@
|
|||
"node_modules/crelt": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.5.tgz",
|
||||
"integrity": "sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA=="
|
||||
"integrity": "sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/cross-spawn": {
|
||||
"version": "7.0.3",
|
||||
|
@ -3611,7 +3634,8 @@
|
|||
"node_modules/css.escape": {
|
||||
"version": "1.5.1",
|
||||
"resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz",
|
||||
"integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg=="
|
||||
"integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/custom-event": {
|
||||
"version": "1.0.1",
|
||||
|
@ -3726,6 +3750,7 @@
|
|||
"version": "8.9.0",
|
||||
"resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-8.9.0.tgz",
|
||||
"integrity": "sha512-577bUEbkwZ7id4SCXcD2qrlKoRPXry2SDSPt5T6tEOjwKrTllKr5d1HZoJzGws4VMQq5fmY51Gce1iFT9S4Dlw==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"css.escape": "^1.5.1",
|
||||
"didi": "^8.0.1",
|
||||
|
@ -3742,6 +3767,7 @@
|
|||
"version": "1.7.0",
|
||||
"resolved": "https://registry.npmjs.org/diagram-js-direct-editing/-/diagram-js-direct-editing-1.7.0.tgz",
|
||||
"integrity": "sha512-ZfTLF4hdWr7NSoruwxGvVmu7aVaUjWRXjwgK5dx58LbXAsNjBS3Ap7zjVuGxjWUpCZ/MMwyZ00lpTHPH2P7BFQ==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"min-dash": "^3.5.2",
|
||||
"min-dom": "^3.1.3"
|
||||
|
@ -3753,7 +3779,8 @@
|
|||
"node_modules/didi": {
|
||||
"version": "8.0.1",
|
||||
"resolved": "https://registry.npmjs.org/didi/-/didi-8.0.1.tgz",
|
||||
"integrity": "sha512-7oXiXbp8DHE3FfQsVBkc2pwePo3Jy2uyGS9trAeBmfxiZAP4WV23LWokRpMmyl3hlu8OEAsyMxx19i5P6TVaJQ=="
|
||||
"integrity": "sha512-7oXiXbp8DHE3FfQsVBkc2pwePo3Jy2uyGS9trAeBmfxiZAP4WV23LWokRpMmyl3hlu8OEAsyMxx19i5P6TVaJQ==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/diff": {
|
||||
"version": "5.0.0",
|
||||
|
@ -5119,6 +5146,7 @@
|
|||
"version": "2.0.8",
|
||||
"resolved": "https://registry.npmjs.org/hammerjs/-/hammerjs-2.0.8.tgz",
|
||||
"integrity": "sha512-tSQXBXS/MWQOn/RKckawJ61vvsDpCom87JgxiYdGwHdOa0ht0vzUWDlfioofFCRU0L+6NGDt6XzbgoJvZkMeRQ==",
|
||||
"peer": true,
|
||||
"engines": {
|
||||
"node": ">=0.8.0"
|
||||
}
|
||||
|
@ -5319,7 +5347,8 @@
|
|||
"node_modules/ids": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ids/-/ids-1.0.0.tgz",
|
||||
"integrity": "sha512-Zvtq1xUto4LttpstyOlFum8lKx+i1OmRfg+6A9drFS9iSZsDPMHG4Sof/qwNR4kCU7jBeWFPrY2ocHxiz7cCRw=="
|
||||
"integrity": "sha512-Zvtq1xUto4LttpstyOlFum8lKx+i1OmRfg+6A9drFS9iSZsDPMHG4Sof/qwNR4kCU7jBeWFPrY2ocHxiz7cCRw==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/ignore": {
|
||||
"version": "5.2.0",
|
||||
|
@ -5861,7 +5890,8 @@
|
|||
"node_modules/json-source-map": {
|
||||
"version": "0.6.1",
|
||||
"resolved": "https://registry.npmjs.org/json-source-map/-/json-source-map-0.6.1.tgz",
|
||||
"integrity": "sha512-1QoztHPsMQqhDq0hlXY5ZqcEdUzxQEIxgFkKl4WUp2pgShObl+9ovi4kRh2TfvAfxAoHOJ9vIMEqk3k4iex7tg=="
|
||||
"integrity": "sha512-1QoztHPsMQqhDq0hlXY5ZqcEdUzxQEIxgFkKl4WUp2pgShObl+9ovi4kRh2TfvAfxAoHOJ9vIMEqk3k4iex7tg==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/json-stable-stringify-without-jsonify": {
|
||||
"version": "1.0.1",
|
||||
|
@ -6090,6 +6120,7 @@
|
|||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-0.4.0.tgz",
|
||||
"integrity": "sha512-yd+AWsOE4NGVeW4x50HXUA9dKs9MUa7H8PATPNEmBiXKfIijPlC6+FEy8OLjOzb4b9y9pPPpAqnZ2/kvLmvZVw==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@lezer/lr": "^0.16.0"
|
||||
}
|
||||
|
@ -6097,12 +6128,14 @@
|
|||
"node_modules/lezer-feel/node_modules/@lezer/common": {
|
||||
"version": "0.16.1",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-0.16.1.tgz",
|
||||
"integrity": "sha512-qPmG7YTZ6lATyTOAWf8vXE+iRrt1NJd4cm2nJHK+v7X9TsOF6+HtuU/ctaZy2RCrluxDb89hI6KWQ5LfQGQWuA=="
|
||||
"integrity": "sha512-qPmG7YTZ6lATyTOAWf8vXE+iRrt1NJd4cm2nJHK+v7X9TsOF6+HtuU/ctaZy2RCrluxDb89hI6KWQ5LfQGQWuA==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/lezer-feel/node_modules/@lezer/lr": {
|
||||
"version": "0.16.3",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-0.16.3.tgz",
|
||||
"integrity": "sha512-pau7um4eAw94BEuuShUIeQDTf3k4Wt6oIUOYxMmkZgDHdqtIcxWND4LRxi8nI9KuT4I1bXQv67BCapkxt7Ywqw==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@lezer/common": "^0.16.0"
|
||||
}
|
||||
|
@ -6625,6 +6658,7 @@
|
|||
"version": "9.0.6",
|
||||
"resolved": "https://registry.npmjs.org/moddle-xml/-/moddle-xml-9.0.6.tgz",
|
||||
"integrity": "sha512-tl0reHpsY/aKlLGhXeFlQWlYAQHFxTkFqC8tq8jXRYpQSnLVw13T6swMaourLd7EXqHdWsc+5ggsB+fEep6xZQ==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"min-dash": "^3.5.2",
|
||||
"moddle": "^5.0.2",
|
||||
|
@ -6978,7 +7012,8 @@
|
|||
"node_modules/object-refs": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/object-refs/-/object-refs-0.3.0.tgz",
|
||||
"integrity": "sha512-eP0ywuoWOaDoiake/6kTJlPJhs+k0qNm4nYRzXLNHj6vh+5M3i9R1epJTdxIPGlhWc4fNRQ7a6XJNCX+/L4FOQ=="
|
||||
"integrity": "sha512-eP0ywuoWOaDoiake/6kTJlPJhs+k0qNm4nYRzXLNHj6vh+5M3i9R1epJTdxIPGlhWc4fNRQ7a6XJNCX+/L4FOQ==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/object.assign": {
|
||||
"version": "4.1.2",
|
||||
|
@ -7203,7 +7238,8 @@
|
|||
"node_modules/path-intersection": {
|
||||
"version": "2.2.1",
|
||||
"resolved": "https://registry.npmjs.org/path-intersection/-/path-intersection-2.2.1.tgz",
|
||||
"integrity": "sha512-9u8xvMcSfuOiStv9bPdnRJQhGQXLKurew94n4GPQCdH1nj9QKC9ObbNoIpiRq8skiOBxKkt277PgOoFgAt3/rA=="
|
||||
"integrity": "sha512-9u8xvMcSfuOiStv9bPdnRJQhGQXLKurew94n4GPQCdH1nj9QKC9ObbNoIpiRq8skiOBxKkt277PgOoFgAt3/rA==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/path-is-absolute": {
|
||||
"version": "1.0.1",
|
||||
|
@ -7327,6 +7363,7 @@
|
|||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/preact-markup/-/preact-markup-2.1.1.tgz",
|
||||
"integrity": "sha512-8JL2p36mzK8XkspOyhBxUSPjYwMxDM0L5BWBZWxsZMVW8WsGQrYQDgVuDKkRspt2hwrle+Cxr/053hpc9BJwfw==",
|
||||
"peer": true,
|
||||
"peerDependencies": {
|
||||
"preact": ">=10"
|
||||
}
|
||||
|
@ -7866,7 +7903,8 @@
|
|||
"node_modules/saxen": {
|
||||
"version": "8.1.2",
|
||||
"resolved": "https://registry.npmjs.org/saxen/-/saxen-8.1.2.tgz",
|
||||
"integrity": "sha512-xUOiiFbc3Ow7p8KMxwsGICPx46ZQvy3+qfNVhrkwfz3Vvq45eGt98Ft5IQaA1R/7Tb5B5MKh9fUR9x3c3nDTxw=="
|
||||
"integrity": "sha512-xUOiiFbc3Ow7p8KMxwsGICPx46ZQvy3+qfNVhrkwfz3Vvq45eGt98Ft5IQaA1R/7Tb5B5MKh9fUR9x3c3nDTxw==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/schema-utils": {
|
||||
"version": "4.0.0",
|
||||
|
@ -7942,7 +7980,8 @@
|
|||
"node_modules/semver-compare": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",
|
||||
"integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow=="
|
||||
"integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/serialize-javascript": {
|
||||
"version": "6.0.0",
|
||||
|
@ -8118,9 +8157,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/socket.io-parser": {
|
||||
"version": "4.0.4",
|
||||
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.0.4.tgz",
|
||||
"integrity": "sha512-t+b0SS+IxG7Rxzda2EVvyBZbvFPBCjJoyHuE0P//7OAsN23GItzDRdWa6ALxZI/8R5ygK7jAR6t028/z+7295g==",
|
||||
"version": "4.0.5",
|
||||
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.0.5.tgz",
|
||||
"integrity": "sha512-sNjbT9dX63nqUFIOv95tTVm6elyIU4RvB1m8dOeZt+IgWwcWklFDOdmGcfo3zSiRsnR/3pJkjY5lfoGqEe4Eig==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@types/component-emitter": "^1.2.10",
|
||||
|
@ -8341,7 +8380,8 @@
|
|||
"node_modules/style-mod": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.0.0.tgz",
|
||||
"integrity": "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw=="
|
||||
"integrity": "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/supports-color": {
|
||||
"version": "7.2.0",
|
||||
|
@ -8377,9 +8417,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/terser": {
|
||||
"version": "5.14.0",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.14.0.tgz",
|
||||
"integrity": "sha512-JC6qfIEkPBd9j1SMO3Pfn+A6w2kQV54tv+ABQLgZr7dA3k/DL/OBoYSWxzVpZev3J+bUHXfr55L8Mox7AaNo6g==",
|
||||
"version": "5.15.1",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.15.1.tgz",
|
||||
"integrity": "sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@jridgewell/source-map": "^0.3.2",
|
||||
|
@ -8815,7 +8855,8 @@
|
|||
"node_modules/w3c-keyname": {
|
||||
"version": "2.2.6",
|
||||
"resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.6.tgz",
|
||||
"integrity": "sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg=="
|
||||
"integrity": "sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==",
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/watchpack": {
|
||||
"version": "2.4.0",
|
||||
|
@ -10458,6 +10499,7 @@
|
|||
"version": "0.9.0",
|
||||
"resolved": "https://registry.npmjs.org/@bpmn-io/element-templates-validator/-/element-templates-validator-0.9.0.tgz",
|
||||
"integrity": "sha512-oS5eaXPKxl5bV8x4dJYPCWJpWMumr16TTS39S1oJEh/bKke/nhMBuhsk6wWCp7+G3jWWDkUcS1jGAAaKtvQneA==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@camunda/element-templates-json-schema": "^0.10.0",
|
||||
"@camunda/zeebe-element-templates-json-schema": "^0.5.0",
|
||||
|
@ -10469,6 +10511,7 @@
|
|||
"version": "0.5.1",
|
||||
"resolved": "https://registry.npmjs.org/@bpmn-io/extract-process-variables/-/extract-process-variables-0.5.1.tgz",
|
||||
"integrity": "sha512-Kx0zknI9GRli1EDkgmkUV34cKYsqppsgbcnfrSaT2Tmh7CGXEo8b6UzuGFlZtCZt4488UxjP7UhdrONTt5Si/A==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"min-dash": "^3.8.1"
|
||||
}
|
||||
|
@ -10477,6 +10520,7 @@
|
|||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-0.2.0.tgz",
|
||||
"integrity": "sha512-R85p56nFxffNp0fStNxz561EXJmcTdVZL7NyVhuB3qKS/mt4thuvK1B43YnXKdLx8WessjsbHzjvWkbCYZRWkQ==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@codemirror/autocomplete": "^6.0.3",
|
||||
"@codemirror/commands": "^6.0.0",
|
||||
|
@ -10492,6 +10536,7 @@
|
|||
"version": "0.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-0.19.0.tgz",
|
||||
"integrity": "sha512-cw+MfA2gpCBsa9Q0+JT3Gc7OvR1NGXuyQj4yOk5QoQHNzxuIMNuz6EX2NvDsCrf0oSzc9z0FapbzDuJB+DSC1g==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@bpmn-io/feel-editor": "0.2.0",
|
||||
"classnames": "^2.3.1",
|
||||
|
@ -10503,17 +10548,20 @@
|
|||
"@camunda/element-templates-json-schema": {
|
||||
"version": "0.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@camunda/element-templates-json-schema/-/element-templates-json-schema-0.10.0.tgz",
|
||||
"integrity": "sha512-igc5o6/Dn2LlnhvbtYy6D34v6yU9RqlfiUbb/zjyLjXQ7+dgWyJFICBPoNjXltlJPjx5XAnIT1mKDD+45/44mA=="
|
||||
"integrity": "sha512-igc5o6/Dn2LlnhvbtYy6D34v6yU9RqlfiUbb/zjyLjXQ7+dgWyJFICBPoNjXltlJPjx5XAnIT1mKDD+45/44mA==",
|
||||
"peer": true
|
||||
},
|
||||
"@camunda/zeebe-element-templates-json-schema": {
|
||||
"version": "0.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@camunda/zeebe-element-templates-json-schema/-/zeebe-element-templates-json-schema-0.5.0.tgz",
|
||||
"integrity": "sha512-BVHVl4cuK9LxL1eDSdWs8AzuZd981/+CPkw7xlwcB1Xkn6Di8E2iRbDUCBhOIqkahjJYq957nVtbM6jlqXX5qw=="
|
||||
"integrity": "sha512-BVHVl4cuK9LxL1eDSdWs8AzuZd981/+CPkw7xlwcB1Xkn6Di8E2iRbDUCBhOIqkahjJYq957nVtbM6jlqXX5qw==",
|
||||
"peer": true
|
||||
},
|
||||
"@codemirror/autocomplete": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.1.0.tgz",
|
||||
"integrity": "sha512-wtO4O5WDyXhhCd4q4utDIDZxnQfmJ++3dGBCG9LMtI79+92OcA1DVk/n7BEupKmjIr8AzvptDz7YQ9ud6OkU+A==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@codemirror/language": "^6.0.0",
|
||||
"@codemirror/state": "^6.0.0",
|
||||
|
@ -10525,6 +10573,7 @@
|
|||
"version": "6.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.0.1.tgz",
|
||||
"integrity": "sha512-iNHDByicYqQjs0Wo1MKGfqNbMYMyhS9WV6EwMVwsHXImlFemgEUC+c5X22bXKBStN3qnwg4fArNZM+gkv22baQ==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@codemirror/language": "^6.0.0",
|
||||
"@codemirror/state": "^6.0.0",
|
||||
|
@ -10536,6 +10585,7 @@
|
|||
"version": "6.2.1",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.2.1.tgz",
|
||||
"integrity": "sha512-MC3svxuvIj0MRpFlGHxLS6vPyIdbTr2KKPEW46kCoCXw2ktb4NTkpkPBI/lSP/FoNXLCBJ0mrnUi1OoZxtpW1Q==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@codemirror/state": "^6.0.0",
|
||||
"@codemirror/view": "^6.0.0",
|
||||
|
@ -10549,6 +10599,7 @@
|
|||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.0.0.tgz",
|
||||
"integrity": "sha512-nUUXcJW1Xp54kNs+a1ToPLK8MadO0rMTnJB8Zk4Z8gBdrN0kqV7uvUraU/T2yqg+grDNR38Vmy/MrhQN/RgwiA==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@codemirror/state": "^6.0.0",
|
||||
"@codemirror/view": "^6.0.0",
|
||||
|
@ -10558,12 +10609,14 @@
|
|||
"@codemirror/state": {
|
||||
"version": "6.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.1.1.tgz",
|
||||
"integrity": "sha512-2s+aXsxmAwnR3Rd+JDHPG/1lw0YsA9PEwl7Re88gHJHGfxyfEzKBmsN4rr53RyPIR4lzbbhJX0DCq0WlqlBIRw=="
|
||||
"integrity": "sha512-2s+aXsxmAwnR3Rd+JDHPG/1lw0YsA9PEwl7Re88gHJHGfxyfEzKBmsN4rr53RyPIR4lzbbhJX0DCq0WlqlBIRw==",
|
||||
"peer": true
|
||||
},
|
||||
"@codemirror/view": {
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.2.0.tgz",
|
||||
"integrity": "sha512-3emW1symh+GoteFMBPsltjmF790U/trouLILATh3JodbF/z98HvcQh2g3+H6dfNIHx16uNonsAF4mNzVr1TJNA==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@codemirror/state": "^6.0.0",
|
||||
"style-mod": "^4.0.0",
|
||||
|
@ -10687,12 +10740,14 @@
|
|||
"@lezer/common": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.0.0.tgz",
|
||||
"integrity": "sha512-ohydQe+Hb+w4oMDvXzs8uuJd2NoA3D8YDcLiuDsLqH+yflDTPEpgCsWI3/6rH5C3BAedtH1/R51dxENldQceEA=="
|
||||
"integrity": "sha512-ohydQe+Hb+w4oMDvXzs8uuJd2NoA3D8YDcLiuDsLqH+yflDTPEpgCsWI3/6rH5C3BAedtH1/R51dxENldQceEA==",
|
||||
"peer": true
|
||||
},
|
||||
"@lezer/highlight": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.0.0.tgz",
|
||||
"integrity": "sha512-nsCnNtim90UKsB5YxoX65v3GEIw3iCHw9RM2DtdgkiqAbKh9pCdvi8AWNwkYf10Lu6fxNhXPpkpHbW6mihhvJA==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@lezer/common": "^1.0.0"
|
||||
}
|
||||
|
@ -10701,6 +10756,7 @@
|
|||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.2.1.tgz",
|
||||
"integrity": "sha512-RpHRs+Q+5tPsXtobSfSeRFRAnTRD0e4bApDvo74O+JiaWq9812x5S8WgftNX67owdaTQXCB5E8XZGALo4Wt77A==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@lezer/common": "^1.0.0"
|
||||
}
|
||||
|
@ -11232,7 +11288,8 @@
|
|||
"array-move": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/array-move/-/array-move-3.0.1.tgz",
|
||||
"integrity": "sha512-H3Of6NIn2nNU1gsVDqDnYKY/LCdWvCMMOWifNGhKcVQgiZ6nOek39aESOvro6zmueP07exSl93YLvkN4fZOkSg=="
|
||||
"integrity": "sha512-H3Of6NIn2nNU1gsVDqDnYKY/LCdWvCMMOWifNGhKcVQgiZ6nOek39aESOvro6zmueP07exSl93YLvkN4fZOkSg==",
|
||||
"peer": true
|
||||
},
|
||||
"array.prototype.flat": {
|
||||
"version": "1.3.0",
|
||||
|
@ -11411,6 +11468,7 @@
|
|||
"version": "9.4.0",
|
||||
"resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-9.4.0.tgz",
|
||||
"integrity": "sha512-7dusZBYCFognA0TmspWaKZ47UjFhyRT+//hMdyLtPCKY1M0uAPXHoFv73MohlsEa7a75h0q6zjCj5W0/RHBwvg==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"bpmn-moddle": "^7.1.3",
|
||||
"css.escape": "^1.5.1",
|
||||
|
@ -11428,6 +11486,7 @@
|
|||
"version": "1.5.0",
|
||||
"resolved": "https://registry.npmjs.org/bpmn-js-properties-panel/-/bpmn-js-properties-panel-1.5.0.tgz",
|
||||
"integrity": "sha512-0VAPk6xK/u+GepjGjt8HAXtBa2ab5o4Dkn5II8UgnFMoQThpvrsLras3vh1il8j/2vPhngAsfiA8z7Y9nJ6/Hw==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@bpmn-io/element-templates-validator": "^0.9.0",
|
||||
"@bpmn-io/extract-process-variables": "^0.5.0",
|
||||
|
@ -11444,6 +11503,7 @@
|
|||
"version": "7.1.3",
|
||||
"resolved": "https://registry.npmjs.org/bpmn-moddle/-/bpmn-moddle-7.1.3.tgz",
|
||||
"integrity": "sha512-ZcBfw0NSOdYTSXFKEn7MOXHItz7VfLZTrFYKO8cK6V8ZzGjCcdiLIOiw7Lctw1PJsihhLiZQS8Htj2xKf+NwCg==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"min-dash": "^3.5.2",
|
||||
"moddle": "^5.0.2",
|
||||
|
@ -11633,7 +11693,8 @@
|
|||
"classnames": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz",
|
||||
"integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA=="
|
||||
"integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==",
|
||||
"peer": true
|
||||
},
|
||||
"clean-css": {
|
||||
"version": "4.1.11",
|
||||
|
@ -11848,7 +11909,8 @@
|
|||
"crelt": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.5.tgz",
|
||||
"integrity": "sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA=="
|
||||
"integrity": "sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==",
|
||||
"peer": true
|
||||
},
|
||||
"cross-spawn": {
|
||||
"version": "7.0.3",
|
||||
|
@ -11864,7 +11926,8 @@
|
|||
"css.escape": {
|
||||
"version": "1.5.1",
|
||||
"resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz",
|
||||
"integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg=="
|
||||
"integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==",
|
||||
"peer": true
|
||||
},
|
||||
"custom-event": {
|
||||
"version": "1.0.1",
|
||||
|
@ -11946,6 +12009,7 @@
|
|||
"version": "8.9.0",
|
||||
"resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-8.9.0.tgz",
|
||||
"integrity": "sha512-577bUEbkwZ7id4SCXcD2qrlKoRPXry2SDSPt5T6tEOjwKrTllKr5d1HZoJzGws4VMQq5fmY51Gce1iFT9S4Dlw==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"css.escape": "^1.5.1",
|
||||
"didi": "^8.0.1",
|
||||
|
@ -11962,6 +12026,7 @@
|
|||
"version": "1.7.0",
|
||||
"resolved": "https://registry.npmjs.org/diagram-js-direct-editing/-/diagram-js-direct-editing-1.7.0.tgz",
|
||||
"integrity": "sha512-ZfTLF4hdWr7NSoruwxGvVmu7aVaUjWRXjwgK5dx58LbXAsNjBS3Ap7zjVuGxjWUpCZ/MMwyZ00lpTHPH2P7BFQ==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"min-dash": "^3.5.2",
|
||||
"min-dom": "^3.1.3"
|
||||
|
@ -11970,7 +12035,8 @@
|
|||
"didi": {
|
||||
"version": "8.0.1",
|
||||
"resolved": "https://registry.npmjs.org/didi/-/didi-8.0.1.tgz",
|
||||
"integrity": "sha512-7oXiXbp8DHE3FfQsVBkc2pwePo3Jy2uyGS9trAeBmfxiZAP4WV23LWokRpMmyl3hlu8OEAsyMxx19i5P6TVaJQ=="
|
||||
"integrity": "sha512-7oXiXbp8DHE3FfQsVBkc2pwePo3Jy2uyGS9trAeBmfxiZAP4WV23LWokRpMmyl3hlu8OEAsyMxx19i5P6TVaJQ==",
|
||||
"peer": true
|
||||
},
|
||||
"diff": {
|
||||
"version": "5.0.0",
|
||||
|
@ -13024,7 +13090,8 @@
|
|||
"hammerjs": {
|
||||
"version": "2.0.8",
|
||||
"resolved": "https://registry.npmjs.org/hammerjs/-/hammerjs-2.0.8.tgz",
|
||||
"integrity": "sha512-tSQXBXS/MWQOn/RKckawJ61vvsDpCom87JgxiYdGwHdOa0ht0vzUWDlfioofFCRU0L+6NGDt6XzbgoJvZkMeRQ=="
|
||||
"integrity": "sha512-tSQXBXS/MWQOn/RKckawJ61vvsDpCom87JgxiYdGwHdOa0ht0vzUWDlfioofFCRU0L+6NGDt6XzbgoJvZkMeRQ==",
|
||||
"peer": true
|
||||
},
|
||||
"has": {
|
||||
"version": "1.0.3",
|
||||
|
@ -13172,7 +13239,8 @@
|
|||
"ids": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ids/-/ids-1.0.0.tgz",
|
||||
"integrity": "sha512-Zvtq1xUto4LttpstyOlFum8lKx+i1OmRfg+6A9drFS9iSZsDPMHG4Sof/qwNR4kCU7jBeWFPrY2ocHxiz7cCRw=="
|
||||
"integrity": "sha512-Zvtq1xUto4LttpstyOlFum8lKx+i1OmRfg+6A9drFS9iSZsDPMHG4Sof/qwNR4kCU7jBeWFPrY2ocHxiz7cCRw==",
|
||||
"peer": true
|
||||
},
|
||||
"ignore": {
|
||||
"version": "5.2.0",
|
||||
|
@ -13554,7 +13622,8 @@
|
|||
"json-source-map": {
|
||||
"version": "0.6.1",
|
||||
"resolved": "https://registry.npmjs.org/json-source-map/-/json-source-map-0.6.1.tgz",
|
||||
"integrity": "sha512-1QoztHPsMQqhDq0hlXY5ZqcEdUzxQEIxgFkKl4WUp2pgShObl+9ovi4kRh2TfvAfxAoHOJ9vIMEqk3k4iex7tg=="
|
||||
"integrity": "sha512-1QoztHPsMQqhDq0hlXY5ZqcEdUzxQEIxgFkKl4WUp2pgShObl+9ovi4kRh2TfvAfxAoHOJ9vIMEqk3k4iex7tg==",
|
||||
"peer": true
|
||||
},
|
||||
"json-stable-stringify-without-jsonify": {
|
||||
"version": "1.0.1",
|
||||
|
@ -13745,6 +13814,7 @@
|
|||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-0.4.0.tgz",
|
||||
"integrity": "sha512-yd+AWsOE4NGVeW4x50HXUA9dKs9MUa7H8PATPNEmBiXKfIijPlC6+FEy8OLjOzb4b9y9pPPpAqnZ2/kvLmvZVw==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@lezer/lr": "^0.16.0"
|
||||
},
|
||||
|
@ -13752,12 +13822,14 @@
|
|||
"@lezer/common": {
|
||||
"version": "0.16.1",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-0.16.1.tgz",
|
||||
"integrity": "sha512-qPmG7YTZ6lATyTOAWf8vXE+iRrt1NJd4cm2nJHK+v7X9TsOF6+HtuU/ctaZy2RCrluxDb89hI6KWQ5LfQGQWuA=="
|
||||
"integrity": "sha512-qPmG7YTZ6lATyTOAWf8vXE+iRrt1NJd4cm2nJHK+v7X9TsOF6+HtuU/ctaZy2RCrluxDb89hI6KWQ5LfQGQWuA==",
|
||||
"peer": true
|
||||
},
|
||||
"@lezer/lr": {
|
||||
"version": "0.16.3",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-0.16.3.tgz",
|
||||
"integrity": "sha512-pau7um4eAw94BEuuShUIeQDTf3k4Wt6oIUOYxMmkZgDHdqtIcxWND4LRxi8nI9KuT4I1bXQv67BCapkxt7Ywqw==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@lezer/common": "^0.16.0"
|
||||
}
|
||||
|
@ -14160,6 +14232,7 @@
|
|||
"version": "9.0.6",
|
||||
"resolved": "https://registry.npmjs.org/moddle-xml/-/moddle-xml-9.0.6.tgz",
|
||||
"integrity": "sha512-tl0reHpsY/aKlLGhXeFlQWlYAQHFxTkFqC8tq8jXRYpQSnLVw13T6swMaourLd7EXqHdWsc+5ggsB+fEep6xZQ==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"min-dash": "^3.5.2",
|
||||
"moddle": "^5.0.2",
|
||||
|
@ -14437,7 +14510,8 @@
|
|||
"object-refs": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/object-refs/-/object-refs-0.3.0.tgz",
|
||||
"integrity": "sha512-eP0ywuoWOaDoiake/6kTJlPJhs+k0qNm4nYRzXLNHj6vh+5M3i9R1epJTdxIPGlhWc4fNRQ7a6XJNCX+/L4FOQ=="
|
||||
"integrity": "sha512-eP0ywuoWOaDoiake/6kTJlPJhs+k0qNm4nYRzXLNHj6vh+5M3i9R1epJTdxIPGlhWc4fNRQ7a6XJNCX+/L4FOQ==",
|
||||
"peer": true
|
||||
},
|
||||
"object.assign": {
|
||||
"version": "4.1.2",
|
||||
|
@ -14602,7 +14676,8 @@
|
|||
"path-intersection": {
|
||||
"version": "2.2.1",
|
||||
"resolved": "https://registry.npmjs.org/path-intersection/-/path-intersection-2.2.1.tgz",
|
||||
"integrity": "sha512-9u8xvMcSfuOiStv9bPdnRJQhGQXLKurew94n4GPQCdH1nj9QKC9ObbNoIpiRq8skiOBxKkt277PgOoFgAt3/rA=="
|
||||
"integrity": "sha512-9u8xvMcSfuOiStv9bPdnRJQhGQXLKurew94n4GPQCdH1nj9QKC9ObbNoIpiRq8skiOBxKkt277PgOoFgAt3/rA==",
|
||||
"peer": true
|
||||
},
|
||||
"path-is-absolute": {
|
||||
"version": "1.0.1",
|
||||
|
@ -14694,6 +14769,7 @@
|
|||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/preact-markup/-/preact-markup-2.1.1.tgz",
|
||||
"integrity": "sha512-8JL2p36mzK8XkspOyhBxUSPjYwMxDM0L5BWBZWxsZMVW8WsGQrYQDgVuDKkRspt2hwrle+Cxr/053hpc9BJwfw==",
|
||||
"peer": true,
|
||||
"requires": {}
|
||||
},
|
||||
"prelude-ls": {
|
||||
|
@ -15073,7 +15149,8 @@
|
|||
"saxen": {
|
||||
"version": "8.1.2",
|
||||
"resolved": "https://registry.npmjs.org/saxen/-/saxen-8.1.2.tgz",
|
||||
"integrity": "sha512-xUOiiFbc3Ow7p8KMxwsGICPx46ZQvy3+qfNVhrkwfz3Vvq45eGt98Ft5IQaA1R/7Tb5B5MKh9fUR9x3c3nDTxw=="
|
||||
"integrity": "sha512-xUOiiFbc3Ow7p8KMxwsGICPx46ZQvy3+qfNVhrkwfz3Vvq45eGt98Ft5IQaA1R/7Tb5B5MKh9fUR9x3c3nDTxw==",
|
||||
"peer": true
|
||||
},
|
||||
"schema-utils": {
|
||||
"version": "4.0.0",
|
||||
|
@ -15131,7 +15208,8 @@
|
|||
"semver-compare": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",
|
||||
"integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow=="
|
||||
"integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==",
|
||||
"peer": true
|
||||
},
|
||||
"serialize-javascript": {
|
||||
"version": "6.0.0",
|
||||
|
@ -15270,9 +15348,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"socket.io-parser": {
|
||||
"version": "4.0.4",
|
||||
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.0.4.tgz",
|
||||
"integrity": "sha512-t+b0SS+IxG7Rxzda2EVvyBZbvFPBCjJoyHuE0P//7OAsN23GItzDRdWa6ALxZI/8R5ygK7jAR6t028/z+7295g==",
|
||||
"version": "4.0.5",
|
||||
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.0.5.tgz",
|
||||
"integrity": "sha512-sNjbT9dX63nqUFIOv95tTVm6elyIU4RvB1m8dOeZt+IgWwcWklFDOdmGcfo3zSiRsnR/3pJkjY5lfoGqEe4Eig==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/component-emitter": "^1.2.10",
|
||||
|
@ -15445,7 +15523,8 @@
|
|||
"style-mod": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.0.0.tgz",
|
||||
"integrity": "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw=="
|
||||
"integrity": "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==",
|
||||
"peer": true
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.2.0",
|
||||
|
@ -15469,9 +15548,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"terser": {
|
||||
"version": "5.14.0",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.14.0.tgz",
|
||||
"integrity": "sha512-JC6qfIEkPBd9j1SMO3Pfn+A6w2kQV54tv+ABQLgZr7dA3k/DL/OBoYSWxzVpZev3J+bUHXfr55L8Mox7AaNo6g==",
|
||||
"version": "5.15.1",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.15.1.tgz",
|
||||
"integrity": "sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@jridgewell/source-map": "^0.3.2",
|
||||
|
@ -15771,7 +15850,8 @@
|
|||
"w3c-keyname": {
|
||||
"version": "2.2.6",
|
||||
"resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.6.tgz",
|
||||
"integrity": "sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg=="
|
||||
"integrity": "sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==",
|
||||
"peer": true
|
||||
},
|
||||
"watchpack": {
|
||||
"version": "2.4.0",
|
||||
|
|
|
@ -72,11 +72,13 @@
|
|||
"webpack": "^5.73.0",
|
||||
"webpack-cli": "^4.9.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"peerDependencies": {
|
||||
"@bpmn-io/properties-panel": "^0.19.0",
|
||||
"bpmn-js": "^9.4.0",
|
||||
"bpmn-js-properties-panel": "^1.5.0",
|
||||
"diagram-js": "^8.5.0",
|
||||
"diagram-js": "^8.5.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"inherits": "^2.0.4",
|
||||
"inherits-browser": "^0.0.1",
|
||||
"min-dash": "^3.8.1",
|
||||
|
|
Loading…
Reference in New Issue