Include ScriptAccountEditor in ProductTransitionEditor
All checks were successful
E2E Testing / test (push) Successful in 1m18s

This commit is contained in:
Sebastian Boeckelmann 2024-06-15 14:03:18 +02:00
parent 5d4c9a6e58
commit 224468f088
3 changed files with 42 additions and 3 deletions

View File

@ -63,6 +63,7 @@
<div class="example-element-detail"
[@detailExpand]="element == expandedElement ? 'expanded' : 'collapsed'">
<app-scriptaccount-condition-editor [enableEditiong]="false" [conditions]="element.scriptAccountConditions" ></app-scriptaccount-condition-editor>
<app-scriptaccount-action-editor [enableEditing]="false" [actions]="element.scriptAccountActions"></app-scriptaccount-action-editor>
</div>
</td>
</ng-container>

View File

@ -7,8 +7,27 @@
"conditions": [],
"stateLabel": "A",
"stateDescription": ""
},
{
"initial": false,
"conditions": [],
"stateLabel": "B",
"stateDescription": ""
}
],
"transitions": [
{
"scriptAccountActions": [
{
"characterDependency": 2,
"changingValue": 6,
"scriptAccount": "Test"
}
],
"scriptAccountConditions": [],
"startingState": "A",
"endingState": "B"
}
],
"transitions": [],
"generateIsolatedStates": false
}

View File

@ -7,8 +7,27 @@
"conditions": [],
"stateLabel": "1",
"stateDescription": ""
},
{
"initial": false,
"conditions": [],
"stateLabel": "2",
"stateDescription": ""
}
],
"transitions": [
{
"scriptAccountActions": [
{
"characterDependency": 2,
"changingValue": 5,
"scriptAccount": "Test"
}
],
"scriptAccountConditions": [],
"startingState": "1",
"endingState": "2"
}
],
"transitions": [],
"generateIsolatedStates": false
}