diff --git a/static/src/components/builder/components/Anco/AncoForm.vue b/static/src/components/builder/components/Anco/AncoForm.vue new file mode 100644 index 00000000..18e074f9 --- /dev/null +++ b/static/src/components/builder/components/Anco/AncoForm.vue @@ -0,0 +1,177 @@ + + + Annotation Copilot Settings + + + Answer field name | The field where the worker's answer is stored. Can be JSON path like a.b.c. + + + + + + Document URL field name | A JavaScript expression that returns the document URL, e.g.'task.info.document__upload_file'. + + + + + + Annotation URL field name | A JavaScript expression that returns the annotation URL, e.g.'task.info.annotation'. + + + + + + Categories + + + + + + + Category {{ index + 1 }} + + + Category Label | Text to display for the category. + + + + Data Type | Data type of the caputured data value. + + + + {{ categoryType }} + + + + + CSS Style | Inline CSS string, e.g. 'color: red;'. + + + + + + + + + + Add + + + + + diff --git a/static/src/components/builder/components/Anco/AncoTemplate.html b/static/src/components/builder/components/Anco/AncoTemplate.html new file mode 100644 index 00000000..eded18bf --- /dev/null +++ b/static/src/components/builder/components/Anco/AncoTemplate.html @@ -0,0 +1,8 @@ + diff --git a/static/src/components/builder/components/PreviewCommons.vue b/static/src/components/builder/components/PreviewCommons.vue index 9440b153..cac11b96 100644 --- a/static/src/components/builder/components/PreviewCommons.vue +++ b/static/src/components/builder/components/PreviewCommons.vue @@ -53,13 +53,13 @@