| | |
| | | const bpmnInstances = () => (window as any)?.bpmnInstances |
| | | |
| | | const resetListenersList = () => { |
| | | console.log( |
| | | bpmnInstances().bpmnElement, |
| | | 'window.bpmnInstances.bpmnElementwindow.bpmnInstances.bpmnElementwindow.bpmnInstances.bpmnElementwindow.bpmnInstances.bpmnElementwindow.bpmnInstances.bpmnElementwindow.bpmnInstances.bpmnElement' |
| | | ) |
| | | bpmnElement.value = bpmnInstances().bpmnElement |
| | | otherExtensionList.value = [] |
| | | bpmnElementListeners.value = |
| | | bpmnElement.value.businessObject?.extensionElements?.values.filter( |
| | | (ex) => ex.$type === `${prefix}:TaskListener` |
| | | ) ?? [] |
| | | console.log(bpmnElementListeners.value.map) |
| | | elementListenersList.value = bpmnElementListeners.value.map((listener) => |
| | | initListenerType(listener) |
| | | ) |