-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from PROCEED-Labs/bpmn-helper-update
Bpmn helper update
- Loading branch information
Showing
20 changed files
with
1,584 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
declare const _exports: { | ||
ensureExtensionElements: typeof proceedExtensions.ensureExtensionElements; | ||
removeEmptyExtensionElements: typeof proceedExtensions.removeEmptyExtensionElements; | ||
ensureContainerElement: typeof proceedExtensions.ensureContainerElement; | ||
removeEmptyContainerElement: typeof proceedExtensions.removeEmptyContainerElement; | ||
setMetaData: typeof proceedExtensions.setMetaData; | ||
setProceedElement: typeof proceedExtensions.setProceedElement; | ||
getExporterName: typeof proceedConstants.getExporterName; | ||
getExporterVersion: typeof proceedConstants.getExporterVersion; | ||
generateBpmnId: typeof proceedConstants.generateBpmnId; | ||
generateDefinitionsId: typeof proceedConstants.generateDefinitionsId; | ||
generateProcessId: typeof proceedConstants.generateProcessId; | ||
generateUserTaskFileName: typeof proceedConstants.generateUserTaskFileName; | ||
getUserTaskImplementationString: typeof proceedConstants.getUserTaskImplementationString; | ||
generateTargetNamespace: typeof proceedConstants.generateTargetNamespace; | ||
initXml: typeof proceedConstants.initXml; | ||
validateCalledProcess: typeof validators.validateCalledProcess; | ||
setDefinitionsId: typeof setters.setDefinitionsId; | ||
setDefinitionsName: typeof setters.setDefinitionsName; | ||
setDefinitionsVersionInformation: typeof setters.setDefinitionsVersionInformation; | ||
setProcessId: typeof setters.setProcessId; | ||
setTemplateId: typeof setters.setTemplateId; | ||
setTargetNamespace: typeof setters.setTargetNamespace; | ||
setStandardDefinitions: typeof setters.setStandardDefinitions; | ||
setDeploymentMethod: typeof setters.setDeploymentMethod; | ||
setMachineInfo: typeof setters.setMachineInfo; | ||
setUserTaskData: typeof setters.setUserTaskData; | ||
addConstraintsToElementById: typeof setters.addConstraintsToElementById; | ||
addCallActivityReference: typeof setters.addCallActivityReference; | ||
removeCallActivityReference: typeof setters.removeCallActivityReference; | ||
removeUnusedCallActivityReferences: typeof setters.removeUnusedCallActivityReferences; | ||
removeColorFromAllElements: typeof setters.removeColorFromAllElements; | ||
addDocumentation: typeof setters.addDocumentation; | ||
addDocumentationToProcessObject: typeof setters.addDocumentationToProcessObject; | ||
updatePerformersOnElement: typeof setters.updatePerformersOnElement; | ||
updatePerformersOnElementById: typeof setters.updatePerformersOnElementById; | ||
getDefinitionsId: typeof getters.getDefinitionsId; | ||
getOriginalDefinitionsId: typeof getters.getOriginalDefinitionsId; | ||
getDefinitionsName: typeof getters.getDefinitionsName; | ||
getDefinitionsInfos: typeof getters.getDefinitionsInfos; | ||
getImports: typeof getters.getImports; | ||
getDefinitionsVersionInformation: typeof getters.getDefinitionsVersionInformation; | ||
getProcessIds: typeof getters.getProcessIds; | ||
getDeploymentMethod: typeof getters.getDeploymentMethod; | ||
getProcessConstraints: typeof getters.getProcessConstraints; | ||
getProcessDocumentation: typeof getters.getProcessDocumentation; | ||
getProcessDocumentationByObject: typeof getters.getProcessDocumentationByObject; | ||
getUserTaskFileNameMapping: typeof getters.getUserTaskFileNameMapping; | ||
getAllUserTaskFileNamesAndUserTaskIdsMapping: typeof getters.getAllUserTaskFileNamesAndUserTaskIdsMapping; | ||
getSubprocess: typeof getters.getSubprocess; | ||
getSubprocessContent: typeof getters.getSubprocessContent; | ||
getTargetDefinitionsAndProcessIdForCallActivityByObject: typeof getters.getTargetDefinitionsAndProcessIdForCallActivityByObject; | ||
getDefinitionsAndProcessIdForEveryCallActivity: typeof getters.getDefinitionsAndProcessIdForEveryCallActivity; | ||
getStartEvents: typeof getters.getStartEvents; | ||
getAllBpmnFlowElements: typeof getters.getAllBpmnFlowElements; | ||
getAllBpmnFlowNodeIds: typeof getters.getAllBpmnFlowNodeIds; | ||
getAllBpmnFlowElementIds: typeof getters.getAllBpmnFlowElementIds; | ||
getChildrenFlowElements: typeof getters.getChildrenFlowElements; | ||
getElementMachineMapping: typeof getters.getElementMachineMapping; | ||
getTaskConstraintMapping: typeof getters.getTaskConstraintMapping; | ||
getIdentifyingInfos: typeof getters.getIdentifyingInfos; | ||
getRootFromElement: typeof getters.getRootFromElement; | ||
getMetaDataFromElement: typeof getters.getMetaDataFromElement; | ||
getMetaData: typeof getters.getMetaData; | ||
getMilestonesFromElement: typeof getters.getMilestonesFromElement; | ||
getMilestonesFromElementById: typeof getters.getMilestonesFromElementById; | ||
getResourcesFromElement: typeof getters.getResourcesFromElement; | ||
getLocationsFromElement: typeof getters.getLocationsFromElement; | ||
getPerformersFromElement: typeof getters.getPerformersFromElement; | ||
getPerformersFromElementById: typeof getters.getPerformersFromElementById; | ||
parseISODuration: typeof getters.parseISODuration; | ||
convertISODurationToMiliseconds: typeof getters.convertISODurationToMiliseconds; | ||
moddle: any; | ||
ensureCorrectProceedNamespace: typeof util.ensureCorrectProceedNamespace; | ||
toBpmnObject: typeof util.toBpmnObject; | ||
toBpmnXml: typeof util.toBpmnXml; | ||
getChildren: typeof util.getChildren; | ||
getElementsByTagName: typeof util.getElementsByTagName; | ||
getAllElements: typeof util.getAllElements; | ||
getElementById: typeof util.getElementById; | ||
getElementDI: typeof util.getElementDI; | ||
manipulateElementById: typeof util.manipulateElementById; | ||
manipulateElementsByTagName: typeof util.manipulateElementsByTagName; | ||
}; | ||
export = _exports; | ||
import proceedExtensions = require('./src/proceedExtensions'); | ||
import proceedConstants = require('./src/PROCEED-CONSTANTS.js'); | ||
import validators = require('./src/validators.js'); | ||
import setters = require('./src/setters.js'); | ||
import getters = require('./src/getters.js'); | ||
import util = require('./src/util.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/** | ||
* @module @proceed/bpmn-helper | ||
*/ | ||
/** | ||
* Exporter name is used in the bpmn definitions parts | ||
* | ||
* @returns {string} static exporter name | ||
*/ | ||
export function getExporterName(): string; | ||
/** | ||
* Exporter version is used in the bpmn definitions parts | ||
* | ||
* This version should be adjusted when this module (bpmn-helper) | ||
* changes or any changes in the management-system occur regarding the export | ||
* | ||
* @returns {string} static exporter version | ||
*/ | ||
export function getExporterVersion(): string; | ||
/** | ||
* Generate a new ID for PROCEED BPMN elements | ||
* | ||
* @param {string} [prefix] optional prefix for the id | ||
* @returns {string} short id in the form '0bkz1kb' | ||
*/ | ||
export function generateBpmnId(prefix?: string): string; | ||
/** | ||
* Generate a new ID for the 'definitions' element in a PROCEED process | ||
* @returns {string} a new PROCEED definitions 'id' | ||
*/ | ||
export function generateDefinitionsId(): string; | ||
export function generateProcessId(): string; | ||
/** | ||
* Generates the 'fileName' attribute string of a PROCEED UserTask | ||
* @returns A new 'filename' value | ||
*/ | ||
export function generateUserTaskFileName(): string; | ||
/** | ||
* Return the string for the 'implementation' attribute in a UserTask | ||
* @returns {String} URL of the HTML spec | ||
*/ | ||
export function getUserTaskImplementationString(): string; | ||
export function generateTargetNamespace(id: any): string; | ||
/** | ||
* Creates a minimal valid proceed bpmn | ||
* | ||
* @param {*} processId the id to use for the contained process | ||
* @param {string} startEventId the id to use for the start event | ||
* @returns {string} a minimal valid proceed bpmn | ||
*/ | ||
export function initXml(processId?: any, startEventId?: string): string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.