Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
a661be8
alle Datein gelöscht
ZLeh33 Jun 3, 2024
5d5a292
update alle Datein
ZLeh33 Jun 3, 2024
5d96d4e
neue Änderungen
ZLeh33 Jun 24, 2024
1dfc6f6
DIagramm komponent
MoBenhaddia Aug 12, 2024
9e744d7
* Import neue Komponente in Canvas
ZLeh33 Aug 13, 2024
c39ddc2
Merge branch 'master' of https://github.com/ZLeh33/CARPET
ZLeh33 Aug 13, 2024
10b2c9f
Richtige Merge
ZLeh33 Aug 13, 2024
df296f3
Kommentare hinzugefügt
ZLeh33 Aug 28, 2024
a3e839c
neue Änderungen
ZLeh33 Jun 24, 2024
b4173b4
fixed minor errors
plc-dev Sep 5, 2024
f6315e2
temporarily disabled verification for BackendFormular for presentatio…
plc-dev Sep 17, 2024
a914f08
Merge remote-tracking branch 'upstream/fermentaladin'
ZLeh33 Oct 19, 2024
d9d7172
Tooltip für Eingabefelder im Bild
ZLeh33 Oct 19, 2024
ce666f5
Matrix acrollbar, Tolltip bearbeitet.
ZLeh33 Oct 19, 2024
1de3858
Eingabefeld mit leeren Eingabe bearbeitet
ZLeh33 Oct 19, 2024
3977296
Nur Eingabe von Zahlen zulassen
ZLeh33 Oct 19, 2024
f65d7c2
validateMatrixField-Methode bearbeitet
ZLeh33 Oct 21, 2024
a79f400
Add download button to Chart component
MoBenhaddia Oct 21, 2024
18c4934
Merge branch 'master' of https://github.com/ZLeh33/CARPET
MoBenhaddia Oct 21, 2024
38258d2
Eingabefelder in Bild.vue
ZLeh33 Nov 30, 2024
accc15b
Neue Komponent Taskviewer und neue Erweiterungen in der andere
ZLeh33 Dec 3, 2024
87565a7
Speichere Änderungen für tmpBranch
ZLeh33 Dec 8, 2024
5e0e0cb
Speichere Änderungen für tmpBranch
ZLeh33 Dec 8, 2024
92ba1b0
Änderungen in tmpBranch speichern
ZLeh33 Dec 11, 2024
5c2fdd5
Update button background color to a semi-transparent black
MoBenhaddia Dec 15, 2024
2b79a05
Merge branch 'master' of https://github.com/ZLeh33/CARPET
MoBenhaddia Dec 15, 2024
0649956
neue Vue-Datei für die Gruppe von Chceckboxs
ZLeh33 Dec 16, 2024
c486bd1
Canvas-Datei erweitert
ZLeh33 Dec 16, 2024
d899a9b
unnötige Parameter entfernt
ZLeh33 Dec 16, 2024
27a5daa
Unnötige Parameter entfernt
ZLeh33 Dec 16, 2024
9daf143
Unnötige Parameter entfernt
ZLeh33 Dec 16, 2024
8a0cb54
Votlage für die Aufgabe
ZLeh33 Dec 23, 2024
02d58fd
CHG: neue JSON-Datei lesen und anzeigen
ZLeh33 Dec 23, 2024
45e9692
Erweitert um Value aus JSON zu lesen
ZLeh33 Dec 23, 2024
7f4a4a3
Erweitert um UserData aus JSON zu lesen
ZLeh33 Dec 23, 2024
2beda6a
Erweitert um Options aus JSON zu lesen
ZLeh33 Dec 23, 2024
b1eb946
Erweitert : Object bereit stellen für andere Nodes
ZLeh33 Dec 23, 2024
c257af4
Erweitert Values im Bild aus Json zu lesen
ZLeh33 Dec 23, 2024
dc79f2b
Placeholder mit Value aus generierten Aufgabe erstellen
ZLeh33 Dec 26, 2024
3906c9a
Matrix height anpassen
ZLeh33 Dec 26, 2024
19414a6
Taskviewer erweitert
ZLeh33 Mar 3, 2025
c26a356
Refactors checkIsFieldReadOnly function and improves data transformat…
ZLeh33 Apr 7, 2025
78bac75
Adds readonly attribute to input fields
ZLeh33 Apr 7, 2025
73f8205
Refactors TaskViewer.vue to enhance feedback display
ZLeh33 Apr 7, 2025
b0ebff3
Removes unnecessary comments
ZLeh33 Apr 7, 2025
b6ce680
Adds jQuery and its type definitions to dependencies
ZLeh33 Apr 28, 2025
37adf08
Adds jQuery and its type definitions
ZLeh33 Apr 28, 2025
aa37998
Includes a new image asset for the Ferment task in the project.
ZLeh33 Apr 28, 2025
acc6a82
Removes unused image
ZLeh33 Apr 28, 2025
be3c2b8
Adds FermentExercise task image
ZLeh33 Apr 28, 2025
a5b392b
Fixes HTML subscript formatting in task description
ZLeh33 Apr 28, 2025
2109536
Adds absolutInputsOnImage component to Canvas
ZLeh33 Apr 28, 2025
3539164
Handles object paths in payload generation
ZLeh33 Apr 28, 2025
2d76c3b
Removes redundant comments in ValueFormField component
ZLeh33 Apr 28, 2025
9c107fa
Adds dynamic input fields on an image component
ZLeh33 Apr 28, 2025
0b4d40c
CHG: Updated rowAnzahl to use a reactive reference for better state m…
ZLeh33 May 4, 2025
b0c655c
Wraps the dropdown in a styled container
ZLeh33 May 4, 2025
e603eed
add Reakt_bild.webp image
MoBenhaddia May 5, 2025
71b7715
Merge branch 'master' of https://github.com/ZLeh33/CARPET
MoBenhaddia May 5, 2025
6e5980d
ProbeBild Fuer Reakt
MoBenhaddia May 6, 2025
5bf6336
RM: removed unnecessary comments
ZLeh33 May 14, 2025
bc28371
ADD: Added onMounted import
ZLeh33 May 14, 2025
7e10ec6
"Zeit in h" to "Zeit in sekunden"
MoBenhaddia May 21, 2025
90c5492
Merge branch 'master' of https://github.com/ZLeh33/CARPET
MoBenhaddia May 21, 2025
f707d70
ADD: added Excel export and improves chart image saving
ZLeh33 Jun 22, 2025
6ac7b99
ADD: added commented debug logs for input validation
ZLeh33 Jun 22, 2025
e7638be
Fix: input handling to update value from event
ZLeh33 Jul 20, 2025
af0eb34
Extended to use nerdamer
ZLeh33 Aug 1, 2025
ad88fb6
UPDATE: Changed chart title text from "Zeit in sekunden" to "Zeit"
MoBenhaddia Aug 1, 2025
919f1b5
Merge branch 'master' of https://github.com/ZLeh33/CARPET
MoBenhaddia Aug 1, 2025
8919ced
Parsed variables and constants
MoBenhaddia Sep 3, 2025
5aca16c
ADD : committed new state
ZLeh33 Sep 3, 2025
b7f4f45
Update
MoBenhaddia Sep 3, 2025
2a5c4a2
Merge branch 'master' of https://github.com/ZLeh33/CARPET
MoBenhaddia Sep 3, 2025
073dda0
ADD: added Input fields for latex
ZLeh33 Sep 22, 2025
3b7fcf4
CHG: reverted to the previous version.
ZLeh33 Sep 22, 2025
595c20f
CHG: ensured that input field values are consistently updated in the …
ZLeh33 Sep 22, 2025
a253645
"LatexFormul"component
MoBenhaddia Sep 23, 2025
b9e63c3
Merge branch 'master' of https://github.com/ZLeh33/CARPET
MoBenhaddia Sep 23, 2025
7c99000
ADD: Font Awesome stylesheet for icon support
ZLeh33 Sep 30, 2025
6cf759d
ADD: notification support using vue3-notification
ZLeh33 Sep 30, 2025
3c1d130
ADD: notification component and styles to Canvas
ZLeh33 Sep 30, 2025
a15ec94
CHG: Introduces a modal-based interface for selecting and editing LaT…
ZLeh33 Sep 30, 2025
d7842ba
ADD MathLive Vue component with basic functionality
ZLeh33 Sep 30, 2025
4a5c4e3
ADD: new math and notification libraries to dependencies
ZLeh33 Sep 30, 2025
f04f04b
ADD: delete icon to public assets
ZLeh33 Sep 30, 2025
dd2cf33
Merge branch 'master' of https://github.com/ZLeh33/CARPET
ZLeh33 Sep 30, 2025
3efbcc5
Added parse Function, watchers, template edits.
MoBenhaddia Oct 1, 2025
23f31ae
AST aus Component entfernt
MoBenhaddia Oct 3, 2025
d881a8b
ADD: optional parameter support to handleAddParameter function
ZLeh33 Oct 6, 2025
08a2408
CHG: improved LaTeX formula handling by integrating `parseFormula`
ZLeh33 Oct 6, 2025
f66f974
CHG: enhanced the matrix component's visual structure by modifying
ZLeh33 Oct 9, 2025
2fb7612
ADD: a conditional check for rendering elements to prevent potential …
ZLeh33 Oct 9, 2025
e615f2e
ADD: introduced a watcher to update the generate button's disabled state
ZLeh33 Oct 9, 2025
268e485
CHG: updated input type for 'constant' case to 'text'
ZLeh33 Oct 9, 2025
559016c
ADD: new interface UserData and the function createEmptyUserDataObject
ZLeh33 Oct 13, 2025
830c302
ADD: watcher for userData to setProperty userData in backend
ZLeh33 Oct 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added dist.zip
Binary file not shown.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ALADIN</title>
<script
Expand Down
904 changes: 623 additions & 281 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"dependencies": {
"@hpcc-js/wasm": "^1.0.1",
"@kyvg/vue3-notification": "^3.4.1",
"@panzoom/panzoom": "^4.5.1",
"@types/d3": "5.16.0",
"@types/d3-drag": "1.2.5",
Expand All @@ -26,6 +27,8 @@
"@vueuse/core": "^10.3.0",
"ace-builds": "^1.22.0",
"axios": "^1.4.0",
"chart.js": "^3.9.1",
"chartjs": "^0.3.24",
"clickout-event": "^1.1.2",
"d3": "^7.8.5",
"d3-contour": "^2.0.0",
Expand All @@ -36,11 +39,16 @@
"grid-layout-plus": "^1.0.2",
"install": "^0.13.0",
"interactjs": "^1.10.18",
"jquery": "^3.7.1",
"lodash": "^4.17.21",
"mathjs": "^14.5.2",
"mathlive": "^0.107.0",
"nerdamer": "^1.1.13",
"notifyjs-browser": "^0.4.2",
"pinia": "^2.0.36",
"react-dnd-html5-backend": "^16.0.1",
"v-tooltip": "^2.1.3",
"vue": "^3.3.2",
"vue": "^3.5.20",
"vue-grid-layout": "github:plc-dev/vue-grid-layout#aladin",
"vue-router": "^4.2.0",
"vuedraggable": "^2.24.3",
Expand All @@ -56,9 +64,13 @@
"@storybook/testing-library": "^0.2.0",
"@storybook/vue3-vite": "^7.2.1",
"@tsconfig/node18": "^2.0.1",
"@types/chart.js": "^2.9.41",
"@types/jquery": "^3.5.32",
"@types/jsdom": "^21.1.1",
"@types/lodash": "^4.14.195",
"@types/mathjs": "^9.4.1",
"@types/node": "^18.16.16",
"@types/vue": "^1.0.31",
"@vitejs/plugin-vue": "^4.2.3",
"@vue/eslint-config-prettier": "^7.1.0",
"@vue/eslint-config-typescript": "^11.0.3",
Expand Down
Binary file added public/img/icons/delete-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/tasks/Ferment/Ferment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/tasks/FermentExercise/Ferment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/tasks/Reakt/Reakt_bild.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions public/json/tasks/FermentExercise/Exercise.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"Aufgabe" : "Sie betrachten die Herstellung von S. cerevisiae Biomasse (c<sub>x</sub>) aus Glucose (c<sub>s</sub>) und einer N-Quelle. Angezeigte Parameter sind vorgegeben (werden nicht verändert). Gesamtmenge an zugegebener Glucose darf 50 g/L (c<sub>s<sub>total</sub></sub>) nicht übersteigen, dieser Wert kann auch im Bereich 20 bis 100 gewürfelt werden, dann werden die Ergebnisse c<sub>x<sub>max</sub></sub> und c<sub>p<sub>min</sub></sub> entsprechend angepasst. Bei der Fermentation bildet sich Ethanol als Nebenprodukt (c<sub>P</sub>), welches unerwünscht ist. Schauen Sie sich das Verhalten der Fermentation in der Batchverfahrensweise an und optimieren Sie die Zugabe der C-Quelle so, dass mehr als 20 g/L Biomasse und weniger als 10 g/L Ethanol nach maximal 24h erreicht werden.",
"Startparameter": {
"Modell" : "S.cerevisiae",
"PhasenAnzahl" : 0,
"Zuluft" : [0,0,0,0],
"BolusC" : [0,0,0,0],
"Feed" : [0,0,0,0],
"BolusN" : [0,0,0,0],
"Drehzahl" : [0,0,0,0],
"Druck" : [0,0,0,0],
"Dauer" : [0,0,0,0],
"Temperatur" : 0,
"Startbiomasse" : 0,
"Do" :0
},
"Info" : "Das theoretische Maximum an c<sub>x</sub> und das globale Minimum für c<sub>p</sub> kann nur erreicht werden wenn c<sub>s</sub> in infinitesimal kleinen Schritten zugegeben wird und die Zugabemenge einer Exponentialfunktion folgt.",
"Frage" : "„Welcher mathematische Zusammenhang besteht zwischen der Biomassekonzentration und der Fermentationszeit wenn die Biomasse unlimitiert wachsen kann? Wie müsste demnach die Zugabemenge an C-Quelle über die Zeit gestaltet werden?“"
}
68 changes: 60 additions & 8 deletions src/components/Canvas.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<div class="canvas">
<notifications/>
<Navigation :storeObject="storeObject" />
<Hint :storeObject="storeObject" />

Expand Down Expand Up @@ -39,16 +40,21 @@
:drag-allow-from="`.${CONSTANTS.DRAGELEMENTCLASS}`"
@move="setCoordinates"
@resize="updateDimensions"
:preserveAspectRatio="item.preserveAspectRatio ?? true"
:preserveAspectRatio="item.preserveAspectRatio ?? false"
:data-id="nodeComponentIds[item.i]"
>
<img class="dragHandler" :class="CONSTANTS.DRAGELEMENTCLASS" src="/img/drag_arrow.webp" />
<component
:is="nodeComponents[nodeComponentIds[item.i]].type"
:componentID="parseInt(nodeComponentIds[item.i])"
:storeObject="storeObject"
:componentPath="`nodes__${currentNode}__components__${parseInt(nodeComponentIds[item.i])}`"
></component>
<div class="componentLayout">
<div class="componentLayout__Header">{{ nodeComponents[nodeComponentIds[item.i]].name }}</div>
<div class="componentLayout__Body">
<component
:is="nodeComponents[nodeComponentIds[item.i]].type"
:componentID="parseInt(nodeComponentIds[item.i])"
:storeObject="storeObject"
:componentPath="`nodes__${currentNode}__components__${parseInt(nodeComponentIds[item.i])}`"
></component>
</div>
</div>
</grid-item>
</grid-layout>
</div>
Expand All @@ -67,6 +73,7 @@ import Navigation from "@/components/Navigation.vue";
import Hint from "@/components/Hint.vue";
import TextArea from "@/components/TextArea.vue";
import Modal from "@/components/Modal.vue";
import LoadingSpinner from "@/components/LoadingSpinner.vue";

import Matrix from "@/components/taskComponents/math/LinearAlgebra/Matrix.vue";
import DOTGraph from "@/components/taskComponents/DOTGraph/DOTGraph.vue";
Expand All @@ -88,6 +95,15 @@ import GanttDiagram from "@/components/taskComponents/scheduling/GanttDiagram.vu
import ManipulatableGraph from "@/components/taskComponents/ManipulatableGraph/ManipulatableGraph.vue";
import ItemPallet from "@/components/taskComponents/DragDrop/ItemPallet/ItemPallet.vue";
import MoleculeEditor from "@/components/taskComponents/Chemistry/MoleculeEditor/MoleculeEditor.vue";
import Chart from "@/components/taskComponents/Charts/Chart.vue";
import EchtButton from "@/components/taskComponents/EchtButton.vue";
import Bild from "@/components/taskComponents/Bild.vue";
import absolutInputsOnImage from "@/components/taskComponents/absolutInputsOnImage.vue";
import BackendFormular from "@/components/taskComponents/BackendFormular.vue";
import TaskViewer from "@/components/taskComponents/TaskViewer.vue";
import CheckboxGroup from "@/components/taskComponents/CheckboxGroup.vue";
import LatexFormula from "@/components/taskComponents/LatexFormula.vue";


export default {
name: "Canvas",
Expand Down Expand Up @@ -118,7 +134,15 @@ export default {
Modal,
PlanGraph,
EditableGraph,
GanttDiagram
GanttDiagram,
Chart,
EchtButton,
Bild,
absolutInputsOnImage,
BackendFormular,
TaskViewer,
CheckboxGroup,
LatexFormula
},
props: {
storeObject: Object
Expand Down Expand Up @@ -337,6 +361,34 @@ export default {
background-repeat: repeat;
background-size: calc(calc(100% - 5px) / 12) 40px;
}

.componentLayout {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
}

.componentLayout__Header {
background-color: #f3f3f3;
border-bottom: 1px solid black;
padding: 5px;
font-weight: bold;
text-align: center;
}

.componentLayout__Body {
width: 100%;
height: 100%;
overflow: auto;
}

.vue-notification-group {
width: 25% !important;
top: 10% !important;
}


</style>

<style>
Expand Down
Loading