-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support placeholders on String and Text properties
Closes #92 deps: update to `@bpmn-io/properties-panel@3.19.0` deps: update to `@bpmn-io/element-templates-validator@2.1.0`
- Loading branch information
Showing
9 changed files
with
176 additions
and
32 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
14 changes: 14 additions & 0 deletions
14
test/spec/cloud-element-templates/properties/CustomProperties.placeholder.bpmn
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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" id="Definitions_00cqa19" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.23.0"> | ||
<bpmn:process id="Process_1" isExecutable="true"> | ||
<bpmn:task id="Task_1" name="Placeholder" zeebe:modelerTemplate="placeholder" /> | ||
</bpmn:process> | ||
<bpmndi:BPMNDiagram id="BPMNDiagram_1"> | ||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1"> | ||
<bpmndi:BPMNShape id="Task_1_di" bpmnElement="Task_1"> | ||
<dc:Bounds x="160" y="80" width="100" height="80" /> | ||
<bpmndi:BPMNLabel /> | ||
</bpmndi:BPMNShape> | ||
</bpmndi:BPMNPlane> | ||
</bpmndi:BPMNDiagram> | ||
</bpmn:definitions> |
45 changes: 45 additions & 0 deletions
45
test/spec/cloud-element-templates/properties/CustomProperties.placeholder.json
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,45 @@ | ||
[ | ||
{ | ||
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json", | ||
"name": "Placeholder", | ||
"id": "placeholder", | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [ | ||
{ | ||
"binding": { | ||
"type": "zeebe:input", | ||
"name": "input-1-target" | ||
}, | ||
"placeholder": "Placeholder" | ||
}, | ||
{ | ||
"type": "Text", | ||
"binding": { | ||
"type": "zeebe:input", | ||
"name": "input-2-target" | ||
}, | ||
"placeholder": "Placeholder" | ||
}, | ||
{ | ||
"type": "String", | ||
"feel": "required", | ||
"binding": { | ||
"type": "zeebe:input", | ||
"name": "input-1-target" | ||
}, | ||
"placeholder": "Placeholder" | ||
}, | ||
{ | ||
"type": "Text", | ||
"feel": "required", | ||
"binding": { | ||
"type": "zeebe:input", | ||
"name": "input-1-target" | ||
}, | ||
"placeholder": "Placeholder" | ||
} | ||
] | ||
} | ||
] |
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