-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add linter script and fix errors * Apply prettier * Add workflow executing linters * Add working directory for npm ci * Remove unknown working-directory from linting action * Update linting workflow * Fix linting command * Fix NOTICE file * Fix licence years * Fix name in Github workflow * Enable unused variable linting rule * Run prettier * Enable unnecessary espace rule * Add .eslintignore * Adapt path to public folder * Update ignore rules for linters * Lint changes after merging master * Start fixing Readme * Lint changes from merge * Lint master merge * Lint changes after merge with origin/master * Replace renderer with correct file * Lint changes * Lint changes * Run linter * Fix lint error * Add badges to readme * add token simulation * add quantme task handling * add handling of quantme subprocesses * fix layout change * change font & position * update token simulation * remove white rendering of elements --------- Co-authored-by: Benjamin Weder <benjamin.weder@iaas.uni-stuttgart.de>
- Loading branch information
1 parent
36068d1
commit 4e81b4f
Showing
14 changed files
with
960 additions
and
25 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
19 changes: 19 additions & 0 deletions
19
components/bpmn-q/modeler-component/editor/modeling/ModelerRules.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import BpmnRules from "bpmn-js/lib/features/rules/BpmnRules"; | ||
|
||
/** | ||
* Copyright (c) 2023 Institute of Architecture of Application Systems - | ||
* University of Stuttgart | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms the Apache Software License 2.0 | ||
* which is available at https://www.apache.org/licenses/LICENSE-2.0. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
export default class ModelerRules extends BpmnRules { | ||
constructor(eventBus) { | ||
super(eventBus); | ||
} | ||
} | ||
|
||
ModelerRules.$inject = ["eventBus"]; |
23 changes: 23 additions & 0 deletions
23
components/bpmn-q/modeler-component/editor/modeling/NeutralElementColors.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Copyright (c) 2023 Institute of Architecture of Application Systems - | ||
* University of Stuttgart | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms the Apache Software License 2.0 | ||
* which is available at https://www.apache.org/licenses/LICENSE-2.0. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
export default function NeutralElementColors( | ||
eventBus, | ||
elementRegistry, | ||
elementColors | ||
) { | ||
this._elementRegistry = elementRegistry; | ||
this._elementColors = elementColors; | ||
|
||
// overwrite the default white rendering of the token simulation module | ||
eventBus.on("tokenSimulation.toggleMode", () => {}); | ||
} | ||
|
||
NeutralElementColors.$inject = ["eventBus", "elementRegistry", "elementColors"]; |
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,8 @@ | ||
import NeutralElementColors from "./NeutralElementColors"; | ||
import ModelerRules from "./ModelerRules"; | ||
|
||
export default { | ||
__init__: ["neutralElementColors", "modelerRules"], | ||
neutralElementColors: ["type", NeutralElementColors], | ||
modelerRules: ["type", ModelerRules], | ||
}; |
Oops, something went wrong.