2021-01-12 21:00:35 +01:00
|
|
|
{
|
2021-07-07 14:53:59 +02:00
|
|
|
"features": {
|
|
|
|
"spectrumThemes": true,
|
2021-08-13 12:24:47 +02:00
|
|
|
"intelligentLoading": true,
|
2021-09-16 22:15:09 +02:00
|
|
|
"deviceAwareness": true,
|
|
|
|
"state": true,
|
|
|
|
"customThemes": true,
|
2021-11-09 12:15:29 +01:00
|
|
|
"devicePreview": true,
|
2022-02-11 12:55:35 +01:00
|
|
|
"messagePassing": true,
|
2022-03-25 10:26:15 +01:00
|
|
|
"rowSelection": true,
|
2022-08-22 12:00:51 +02:00
|
|
|
"continueIfAction": true,
|
|
|
|
"showNotificationAction": true
|
2021-07-07 14:53:59 +02:00
|
|
|
},
|
2021-06-11 14:47:57 +02:00
|
|
|
"layout": {
|
|
|
|
"name": "Layout",
|
|
|
|
"description": "This component is specific only to layouts",
|
|
|
|
"icon": "Sandbox",
|
|
|
|
"hasChildren": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"padding",
|
|
|
|
"background"
|
|
|
|
],
|
2021-06-11 14:47:57 +02:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Logo URL",
|
|
|
|
"key": "logoUrl"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Navigation",
|
|
|
|
"key": "navigation",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Top",
|
|
|
|
"Left",
|
|
|
|
"None"
|
|
|
|
],
|
2021-06-11 14:47:57 +02:00
|
|
|
"defaultValue": "Top"
|
|
|
|
},
|
2021-06-17 14:05:12 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
2021-06-17 14:17:24 +02:00
|
|
|
"label": "Width",
|
|
|
|
"key": "width",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Small",
|
|
|
|
"Medium",
|
|
|
|
"Large",
|
|
|
|
"Max"
|
|
|
|
],
|
2021-06-17 14:05:12 +02:00
|
|
|
"defaultValue": "Large"
|
|
|
|
},
|
2021-06-11 14:47:57 +02:00
|
|
|
{
|
2021-06-17 13:18:48 +02:00
|
|
|
"type": "navigation",
|
2021-06-11 14:47:57 +02:00
|
|
|
"label": "Links",
|
2021-06-17 13:18:48 +02:00
|
|
|
"key": "links"
|
2021-06-17 17:23:38 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Hide title",
|
|
|
|
"key": "hideTitle",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Hide logo",
|
|
|
|
"key": "hideLogo",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Sticky header",
|
|
|
|
"key": "sticky",
|
|
|
|
"defaultValue": false
|
2021-06-11 14:47:57 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-12 21:00:35 +01:00
|
|
|
"container": {
|
|
|
|
"name": "Container",
|
|
|
|
"description": "This component contains things within itself",
|
2022-07-01 14:11:48 +02:00
|
|
|
"icon": "Selection",
|
2021-01-12 21:00:35 +01:00
|
|
|
"hasChildren": true,
|
2021-06-08 09:00:54 +02:00
|
|
|
"showSettingsBar": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"padding",
|
|
|
|
"size",
|
|
|
|
"background",
|
|
|
|
"border",
|
|
|
|
"shadow"
|
|
|
|
],
|
2021-06-08 09:00:54 +02:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Direction",
|
|
|
|
"key": "direction",
|
|
|
|
"showInBar": true,
|
2021-06-23 15:21:37 +02:00
|
|
|
"barStyle": "buttons",
|
2021-06-08 09:00:54 +02:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Column",
|
|
|
|
"value": "column",
|
2021-07-07 10:28:11 +02:00
|
|
|
"barIcon": "ViewColumn",
|
2021-06-10 19:42:41 +02:00
|
|
|
"barTitle": "Column layout"
|
2021-06-08 09:00:54 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Row",
|
|
|
|
"value": "row",
|
2021-07-07 10:28:11 +02:00
|
|
|
"barIcon": "ViewRow",
|
2021-06-10 19:42:41 +02:00
|
|
|
"barTitle": "Row layout"
|
2021-06-08 09:00:54 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "column"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
2021-06-11 12:37:05 +02:00
|
|
|
"label": "Horiz. Align",
|
2021-06-08 09:00:54 +02:00
|
|
|
"key": "hAlign",
|
|
|
|
"showInBar": true,
|
2021-06-23 15:21:37 +02:00
|
|
|
"barStyle": "buttons",
|
2021-06-08 09:00:54 +02:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Left",
|
|
|
|
"value": "left",
|
2021-06-10 19:42:41 +02:00
|
|
|
"barIcon": "AlignLeft",
|
|
|
|
"barTitle": "Align left"
|
2021-06-08 09:00:54 +02:00
|
|
|
},
|
|
|
|
{
|
2021-06-10 10:48:08 +02:00
|
|
|
"label": "Center",
|
|
|
|
"value": "center",
|
2021-06-10 19:42:41 +02:00
|
|
|
"barIcon": "AlignCenter",
|
|
|
|
"barTitle": "Align center"
|
2021-06-08 09:00:54 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right",
|
|
|
|
"value": "right",
|
2021-06-10 19:42:41 +02:00
|
|
|
"barIcon": "AlignRight",
|
|
|
|
"barTitle": "Align right"
|
2021-06-08 09:00:54 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Stretch",
|
|
|
|
"value": "stretch",
|
2021-06-10 19:42:41 +02:00
|
|
|
"barIcon": "MoveLeftRight",
|
|
|
|
"barTitle": "Align stretched horizontally"
|
2021-06-08 09:00:54 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "stretch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
2021-06-11 12:37:05 +02:00
|
|
|
"label": "Vert. Align",
|
2021-06-08 09:00:54 +02:00
|
|
|
"key": "vAlign",
|
2021-06-24 13:15:04 +02:00
|
|
|
"showInBar": true,
|
2021-06-23 15:21:37 +02:00
|
|
|
"barStyle": "buttons",
|
2021-06-08 09:00:54 +02:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Top",
|
|
|
|
"value": "top",
|
2021-06-10 19:42:41 +02:00
|
|
|
"barIcon": "AlignTop",
|
|
|
|
"barTitle": "Align top"
|
2021-06-08 09:00:54 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Middle",
|
|
|
|
"value": "middle",
|
2021-06-10 19:42:41 +02:00
|
|
|
"barIcon": "AlignMiddle",
|
|
|
|
"barTitle": "Align middle"
|
2021-06-08 09:00:54 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Bottom",
|
|
|
|
"value": "bottom",
|
2021-06-10 19:42:41 +02:00
|
|
|
"barIcon": "AlignBottom",
|
|
|
|
"barTitle": "Align bottom"
|
2021-06-08 09:00:54 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Stretch",
|
|
|
|
"value": "stretch",
|
2021-06-10 19:42:41 +02:00
|
|
|
"barIcon": "MoveUpDown",
|
|
|
|
"barTitle": "Align stretched vertically"
|
2021-06-08 09:00:54 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
|
|
|
"showInBar": true,
|
2021-06-23 15:21:37 +02:00
|
|
|
"barStyle": "buttons",
|
2021-06-08 09:00:54 +02:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Shrink",
|
|
|
|
"value": "shrink",
|
2021-06-10 19:42:41 +02:00
|
|
|
"barIcon": "Minimize",
|
|
|
|
"barTitle": "Shrink container"
|
2021-06-08 09:00:54 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Grow",
|
|
|
|
"value": "grow",
|
2021-06-10 19:42:41 +02:00
|
|
|
"barIcon": "Maximize",
|
|
|
|
"barTitle": "Grow container"
|
2021-06-08 09:00:54 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "shrink"
|
2021-06-24 12:29:20 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Gap",
|
|
|
|
"key": "gap",
|
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "picker",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "None",
|
|
|
|
"value": "N"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "M"
|
2021-06-24 13:15:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Wrap",
|
|
|
|
"key": "wrap",
|
|
|
|
"showInBar": true,
|
|
|
|
"barIcon": "ModernGridView",
|
|
|
|
"barTitle": "Wrap"
|
2022-05-11 15:03:08 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "event",
|
|
|
|
"label": "On Click",
|
|
|
|
"key": "onClick"
|
2021-06-08 09:00:54 +02:00
|
|
|
}
|
2021-06-23 13:26:46 +02:00
|
|
|
]
|
2021-01-12 21:00:35 +01:00
|
|
|
},
|
2021-06-09 10:23:42 +02:00
|
|
|
"section": {
|
|
|
|
"name": "Section",
|
|
|
|
"description": "Add a section to your application",
|
2021-06-04 08:57:18 +02:00
|
|
|
"icon": "ColumnTwoB",
|
|
|
|
"hasChildren": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-06-14 18:41:18 +02:00
|
|
|
"showEmptyState": false,
|
2021-06-04 08:57:18 +02:00
|
|
|
"settings": [
|
|
|
|
{
|
2021-06-14 07:34:42 +02:00
|
|
|
"type": "section",
|
2021-06-04 08:57:18 +02:00
|
|
|
"label": "Type",
|
|
|
|
"key": "type",
|
|
|
|
"defaultValue": "mainSidebar"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-12 21:00:35 +01:00
|
|
|
"screenslot": {
|
|
|
|
"name": "Screenslot",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "WebPage",
|
2021-06-30 10:05:03 +02:00
|
|
|
"description": "Contains your app screens",
|
2021-11-16 19:33:14 +01:00
|
|
|
"static": true
|
2021-01-14 10:45:09 +01:00
|
|
|
},
|
|
|
|
"button": {
|
|
|
|
"name": "Button",
|
|
|
|
"description": "A basic html button that is ready for styling",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Button",
|
2021-10-28 16:29:48 +02:00
|
|
|
"editable": true,
|
|
|
|
"showSettingsBar": true,
|
2021-01-14 10:45:09 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Text",
|
2022-06-14 16:31:28 +02:00
|
|
|
"key": "text",
|
|
|
|
"defaultValue": "New Button"
|
2021-01-14 10:45:09 +01:00
|
|
|
},
|
2021-06-16 19:14:23 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
2021-10-28 16:29:48 +02:00
|
|
|
"showInBar": true,
|
2021-06-25 09:55:45 +02:00
|
|
|
"label": "Variant",
|
2021-06-16 19:14:23 +02:00
|
|
|
"key": "type",
|
2021-06-25 09:55:45 +02:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Primary",
|
|
|
|
"value": "primary"
|
2022-03-15 12:16:51 +01:00
|
|
|
},
|
|
|
|
{
|
2021-06-25 09:55:45 +02:00
|
|
|
"label": "Secondary",
|
|
|
|
"value": "secondary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Action",
|
|
|
|
"value": "cta"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Warning",
|
|
|
|
"value": "warning"
|
2021-08-13 13:22:35 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Over Background",
|
|
|
|
"value": "overBackground"
|
2021-06-25 09:55:45 +02:00
|
|
|
}
|
|
|
|
],
|
2021-06-16 19:14:23 +02:00
|
|
|
"defaultValue": "primary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
2021-10-28 16:29:48 +02:00
|
|
|
"showInBar": true,
|
2021-06-16 19:14:23 +02:00
|
|
|
"key": "size",
|
2021-06-25 09:55:45 +02:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Extra large",
|
|
|
|
"value": "XL"
|
|
|
|
}
|
|
|
|
],
|
2021-06-16 19:14:23 +02:00
|
|
|
"defaultValue": "M"
|
|
|
|
},
|
2021-07-05 11:19:07 +02:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Quiet",
|
2021-10-28 16:29:48 +02:00
|
|
|
"key": "quiet",
|
|
|
|
"showInBar": true,
|
|
|
|
"barIcon": "VisibilityOff",
|
|
|
|
"barTitle": "Quiet variant",
|
|
|
|
"barSeparator": false
|
2021-07-05 11:19:07 +02:00
|
|
|
},
|
2021-01-14 10:45:09 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
2021-10-28 16:29:48 +02:00
|
|
|
"showInBar": true,
|
|
|
|
"barIcon": "NoEdit",
|
|
|
|
"barTitle": "Disable button",
|
2021-01-14 16:39:50 +01:00
|
|
|
"key": "disabled"
|
2021-01-14 10:45:09 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "event",
|
|
|
|
"label": "On Click",
|
|
|
|
"key": "onClick"
|
|
|
|
}
|
|
|
|
]
|
2021-01-14 16:39:50 +01:00
|
|
|
},
|
2021-07-31 15:11:33 +02:00
|
|
|
"divider": {
|
|
|
|
"name": "Divider",
|
|
|
|
"description": "A basic divider",
|
|
|
|
"icon": "Separator",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-07-31 15:11:33 +02:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "M"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Vertical",
|
|
|
|
"key": "vertical"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-03-24 16:51:57 +01:00
|
|
|
"repeater": {
|
2021-01-14 16:39:50 +01:00
|
|
|
"name": "Repeater",
|
|
|
|
"description": "A configurable data list that attaches to your backend tables.",
|
2022-07-01 14:11:48 +02:00
|
|
|
"icon": "JourneyData",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-14 16:39:50 +01:00
|
|
|
"hasChildren": true,
|
2021-06-24 12:44:33 +02:00
|
|
|
"showSettingsBar": true,
|
2021-01-14 16:39:50 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
2021-03-16 14:54:34 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "dataProvider",
|
|
|
|
"required": true
|
2021-02-05 00:17:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
2021-02-10 19:34:45 +01:00
|
|
|
"label": "Empty Text",
|
|
|
|
"key": "noRowsMessage",
|
2021-06-11 09:45:58 +02:00
|
|
|
"defaultValue": "No rows found"
|
2021-02-11 14:03:22 +01:00
|
|
|
},
|
2021-06-24 12:44:33 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Direction",
|
|
|
|
"key": "direction",
|
|
|
|
"showInBar": true,
|
2021-06-24 13:15:04 +02:00
|
|
|
"barStyle": "buttons",
|
2021-06-24 12:44:33 +02:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Column",
|
|
|
|
"value": "column",
|
2021-12-08 09:36:01 +01:00
|
|
|
"barIcon": "ViewColumn",
|
2021-06-24 12:44:33 +02:00
|
|
|
"barTitle": "Column layout"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Row",
|
|
|
|
"value": "row",
|
2021-12-08 09:36:01 +01:00
|
|
|
"barIcon": "ViewRow",
|
2021-06-24 12:44:33 +02:00
|
|
|
"barTitle": "Row layout"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "column"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Horiz. Align",
|
|
|
|
"key": "hAlign",
|
|
|
|
"showInBar": true,
|
2021-06-24 13:15:04 +02:00
|
|
|
"barStyle": "buttons",
|
2021-06-24 12:44:33 +02:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Left",
|
|
|
|
"value": "left",
|
|
|
|
"barIcon": "AlignLeft",
|
|
|
|
"barTitle": "Align left"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Center",
|
|
|
|
"value": "center",
|
|
|
|
"barIcon": "AlignCenter",
|
|
|
|
"barTitle": "Align center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right",
|
|
|
|
"value": "right",
|
|
|
|
"barIcon": "AlignRight",
|
|
|
|
"barTitle": "Align right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Stretch",
|
|
|
|
"value": "stretch",
|
|
|
|
"barIcon": "MoveLeftRight",
|
|
|
|
"barTitle": "Align stretched horizontally"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "stretch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Vert. Align",
|
|
|
|
"key": "vAlign",
|
2021-06-24 13:15:04 +02:00
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "buttons",
|
2021-06-24 12:44:33 +02:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Top",
|
|
|
|
"value": "top",
|
|
|
|
"barIcon": "AlignTop",
|
|
|
|
"barTitle": "Align top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Middle",
|
|
|
|
"value": "middle",
|
|
|
|
"barIcon": "AlignMiddle",
|
|
|
|
"barTitle": "Align middle"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Bottom",
|
|
|
|
"value": "bottom",
|
|
|
|
"barIcon": "AlignBottom",
|
|
|
|
"barTitle": "Align bottom"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Stretch",
|
|
|
|
"value": "stretch",
|
|
|
|
"barIcon": "MoveUpDown",
|
|
|
|
"barTitle": "Align stretched vertically"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "top"
|
2021-06-24 13:15:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Gap",
|
|
|
|
"key": "gap",
|
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "picker",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "None",
|
|
|
|
"value": "N"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "M"
|
2021-01-14 16:39:50 +01:00
|
|
|
}
|
2021-03-16 14:54:34 +01:00
|
|
|
],
|
2021-11-30 09:47:21 +01:00
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"type": "schema"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "static",
|
2022-03-15 12:16:51 +01:00
|
|
|
"values": [
|
2021-11-30 09:47:21 +01:00
|
|
|
{
|
|
|
|
"label": "Row Index",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "index",
|
|
|
|
"type": "number"
|
2021-11-30 09:47:21 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2021-01-14 16:39:50 +01:00
|
|
|
},
|
|
|
|
"stackedlist": {
|
2021-06-30 17:33:19 +02:00
|
|
|
"deprecated": true,
|
2021-04-28 15:12:06 +02:00
|
|
|
"name": "Stacked List",
|
|
|
|
"icon": "TaskList",
|
2021-01-14 16:39:50 +01:00
|
|
|
"description": "A basic card component that can contain content and actions.",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-14 16:39:50 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Image",
|
|
|
|
"key": "imageUrl"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Heading",
|
|
|
|
"key": "heading"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
2021-02-02 14:08:01 +01:00
|
|
|
"label": "Subheading",
|
|
|
|
"key": "subheading"
|
2021-01-14 16:39:50 +01:00
|
|
|
},
|
|
|
|
{
|
2021-02-15 21:03:29 +01:00
|
|
|
"type": "text",
|
2021-01-14 16:39:50 +01:00
|
|
|
"label": "Link URL",
|
2021-02-15 21:03:29 +01:00
|
|
|
"key": "destinationUrl",
|
|
|
|
"placeholder": "/screen"
|
2021-01-14 16:39:50 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"card": {
|
|
|
|
"name": "Vertical Card",
|
|
|
|
"description": "A basic card component that can contain content and actions.",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "ViewColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-14 16:39:50 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Image",
|
|
|
|
"key": "imageUrl"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Heading",
|
|
|
|
"key": "heading"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Description",
|
|
|
|
"key": "description"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Link Text",
|
|
|
|
"key": "linkText"
|
|
|
|
},
|
|
|
|
{
|
2021-02-15 21:03:29 +01:00
|
|
|
"type": "text",
|
|
|
|
"label": "Link URL",
|
|
|
|
"key": "linkUrl",
|
|
|
|
"placeholder": "/screen"
|
2021-01-14 16:39:50 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Link Color",
|
|
|
|
"key": "linkColor",
|
|
|
|
"defaultValue": "#000"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Hover Color",
|
|
|
|
"key": "linkHoverColor",
|
|
|
|
"defaultValue": "#222"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Image Height",
|
|
|
|
"key": "imageHeight",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"auto",
|
|
|
|
"12rem",
|
|
|
|
"16rem",
|
|
|
|
"20rem",
|
|
|
|
"24rem"
|
|
|
|
],
|
2021-01-14 16:39:50 +01:00
|
|
|
"defaultValue": "auto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Card Width",
|
|
|
|
"key": "cardWidth",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"16rem",
|
|
|
|
"20rem",
|
|
|
|
"24rem"
|
|
|
|
],
|
2021-01-14 16:39:50 +01:00
|
|
|
"defaultValue": "20rem"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"text": {
|
|
|
|
"name": "Paragraph",
|
|
|
|
"description": "A component for displaying paragraph text.",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "TextParagraph",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-06-23 15:21:37 +02:00
|
|
|
"showSettingsBar": true,
|
2021-10-28 13:43:31 +02:00
|
|
|
"editable": true,
|
2021-01-14 16:39:50 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Text",
|
|
|
|
"key": "text"
|
2021-06-23 15:21:37 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
2021-06-24 12:29:20 +02:00
|
|
|
"defaultValue": "M",
|
2021-06-23 15:21:37 +02:00
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "picker",
|
2022-03-15 12:16:51 +01:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Extra Small",
|
|
|
|
"value": "XS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Extra Large",
|
|
|
|
"value": "XL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "2XL",
|
|
|
|
"value": "XXL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "3XL",
|
|
|
|
"value": "XXXL"
|
|
|
|
}
|
|
|
|
]
|
2021-06-23 15:21:37 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Color",
|
|
|
|
"key": "color",
|
|
|
|
"showInBar": true,
|
|
|
|
"barSeparator": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Bold",
|
|
|
|
"key": "bold",
|
|
|
|
"showInBar": true,
|
|
|
|
"barIcon": "TagBold",
|
|
|
|
"barTitle": "Bold text",
|
|
|
|
"barSeparator": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Italic",
|
|
|
|
"key": "italic",
|
|
|
|
"showInBar": true,
|
|
|
|
"barIcon": "TagItalic",
|
|
|
|
"barTitle": "Italic text",
|
|
|
|
"barSeparator": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Underline",
|
|
|
|
"key": "underline",
|
|
|
|
"showInBar": true,
|
|
|
|
"barIcon": "TagUnderline",
|
|
|
|
"barTitle": "Underline text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Alignment",
|
|
|
|
"key": "align",
|
|
|
|
"defaultValue": "left",
|
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "buttons",
|
2022-03-15 12:16:51 +01:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Left",
|
|
|
|
"value": "left",
|
|
|
|
"barIcon": "TextAlignLeft",
|
|
|
|
"barTitle": "Align left"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Center",
|
|
|
|
"value": "center",
|
|
|
|
"barIcon": "TextAlignCenter",
|
|
|
|
"barTitle": "Align center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right",
|
|
|
|
"value": "right",
|
|
|
|
"barIcon": "TextAlignRight",
|
|
|
|
"barTitle": "Align right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Justify",
|
|
|
|
"value": "justify",
|
|
|
|
"barIcon": "TextAlignJustify",
|
|
|
|
"barTitle": "Justify text"
|
|
|
|
}
|
|
|
|
]
|
2021-01-14 16:39:50 +01:00
|
|
|
}
|
|
|
|
]
|
2021-01-15 11:59:22 +01:00
|
|
|
},
|
2021-01-19 12:49:52 +01:00
|
|
|
"heading": {
|
|
|
|
"name": "Headline",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "TextBold",
|
2021-01-19 12:49:52 +01:00
|
|
|
"description": "A component for displaying heading text",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-06-23 15:21:37 +02:00
|
|
|
"showSettingsBar": true,
|
2021-10-28 13:43:31 +02:00
|
|
|
"editable": true,
|
2021-01-19 12:49:52 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "text",
|
|
|
|
"label": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
2021-06-23 15:21:37 +02:00
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
2021-06-24 12:29:20 +02:00
|
|
|
"defaultValue": "M",
|
2021-06-23 15:21:37 +02:00
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "picker",
|
2022-03-15 12:16:51 +01:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Extra Small",
|
|
|
|
"value": "XS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Extra Large",
|
|
|
|
"value": "XL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "2XL",
|
|
|
|
"value": "XXL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "3XL",
|
|
|
|
"value": "XXXL"
|
|
|
|
}
|
|
|
|
]
|
2021-06-23 15:21:37 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Color",
|
|
|
|
"key": "color",
|
|
|
|
"showInBar": true,
|
|
|
|
"barSeparator": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Bold",
|
|
|
|
"key": "bold",
|
|
|
|
"showInBar": true,
|
|
|
|
"barIcon": "TagBold",
|
|
|
|
"barTitle": "Bold text",
|
|
|
|
"barSeparator": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Italic",
|
|
|
|
"key": "italic",
|
|
|
|
"showInBar": true,
|
|
|
|
"barIcon": "TagItalic",
|
|
|
|
"barTitle": "Italic text",
|
|
|
|
"barSeparator": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Underline",
|
|
|
|
"key": "underline",
|
|
|
|
"showInBar": true,
|
|
|
|
"barIcon": "TagUnderline",
|
|
|
|
"barTitle": "Underline text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Alignment",
|
|
|
|
"key": "align",
|
|
|
|
"defaultValue": "left",
|
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "buttons",
|
2022-03-15 12:16:51 +01:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Left",
|
|
|
|
"value": "left",
|
|
|
|
"barIcon": "TextAlignLeft",
|
|
|
|
"barTitle": "Align left"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Center",
|
|
|
|
"value": "center",
|
|
|
|
"barIcon": "TextAlignCenter",
|
|
|
|
"barTitle": "Align center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right",
|
|
|
|
"value": "right",
|
|
|
|
"barIcon": "TextAlignRight",
|
|
|
|
"barTitle": "Align right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Justify",
|
|
|
|
"value": "justify",
|
|
|
|
"barIcon": "TextAlignJustify",
|
|
|
|
"barTitle": "Justify text"
|
|
|
|
}
|
|
|
|
]
|
2021-01-19 12:49:52 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-12-08 14:06:15 +01:00
|
|
|
"tag": {
|
|
|
|
"name": "Tag",
|
2022-07-01 14:11:48 +02:00
|
|
|
"icon": "Label",
|
2021-12-08 14:06:15 +01:00
|
|
|
"showSettingsBar": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Text",
|
|
|
|
"key": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
|
|
|
"defaultValue": "M",
|
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "picker",
|
2022-03-15 12:16:51 +01:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
|
|
|
}
|
|
|
|
]
|
2021-12-08 14:06:15 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Color",
|
|
|
|
"key": "color",
|
2022-02-15 11:48:13 +01:00
|
|
|
"showInBar": true
|
2021-12-08 14:06:15 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Show delete icon",
|
2022-02-15 11:48:13 +01:00
|
|
|
"key": "closable"
|
2021-12-08 14:06:15 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "event",
|
|
|
|
"label": "On click delete icon",
|
|
|
|
"key": "onClick",
|
|
|
|
"dependsOn": "closable"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-19 12:49:52 +01:00
|
|
|
"image": {
|
|
|
|
"name": "Image",
|
|
|
|
"description": "A basic component for displaying images",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Image",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-01-19 12:49:52 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "URL",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "url",
|
|
|
|
"required": true
|
2021-01-19 12:49:52 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-02-26 10:58:11 +01:00
|
|
|
"backgroundimage": {
|
|
|
|
"name": "Background Image",
|
|
|
|
"description": "A background image",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Images",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-02-26 10:58:11 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "URL",
|
2022-05-30 13:57:10 +02:00
|
|
|
"key": "url",
|
|
|
|
"required": true
|
2021-03-01 15:05:54 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Position",
|
|
|
|
"key": "position",
|
|
|
|
"defaultValue": "center center",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Center Top",
|
|
|
|
"value": "center top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Center",
|
|
|
|
"value": "center center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Center Bottom",
|
|
|
|
"value": "center bottom"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Left Top",
|
|
|
|
"value": "left top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Left Center",
|
|
|
|
"value": "left center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Left Bottom",
|
|
|
|
"value": "left bottom"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right Top",
|
|
|
|
"value": "right top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right Center",
|
|
|
|
"value": "right center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right Bottom",
|
|
|
|
"value": "right bottom"
|
|
|
|
}
|
|
|
|
]
|
2021-02-26 10:58:11 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-19 12:49:52 +01:00
|
|
|
"icon": {
|
|
|
|
"name": "Icon",
|
|
|
|
"description": "A basic component for displaying icons",
|
2022-07-01 14:11:48 +02:00
|
|
|
"icon": "Shapes",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-19 12:49:52 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "icon",
|
|
|
|
"label": "Icon",
|
2022-05-24 10:58:05 +02:00
|
|
|
"key": "icon",
|
|
|
|
"required": true
|
2021-01-19 12:49:52 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
2021-06-30 09:46:18 +02:00
|
|
|
"defaultValue": "ri-1x",
|
2021-01-19 12:49:52 +01:00
|
|
|
"options": [
|
2022-05-23 17:12:56 +02:00
|
|
|
{
|
|
|
|
"value": "ri-xxs",
|
|
|
|
"label": "XXS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-xs",
|
|
|
|
"label": "XS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-sm",
|
|
|
|
"label": "Small"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-1x",
|
|
|
|
"label": "Medium"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-lg",
|
|
|
|
"label": "Large"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-xl",
|
|
|
|
"label": "XL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-2x",
|
|
|
|
"label": "2XL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-3x",
|
|
|
|
"label": "3XL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-4x",
|
|
|
|
"label": "4XL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-5x",
|
|
|
|
"label": "5XL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-6x",
|
|
|
|
"label": "6XL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-7x",
|
|
|
|
"label": "7XL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-8x",
|
|
|
|
"label": "8XL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-9x",
|
|
|
|
"label": "9XL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "ri-10x",
|
|
|
|
"label": "10XL"
|
|
|
|
}
|
2021-01-19 12:49:52 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Color",
|
2021-06-30 09:46:18 +02:00
|
|
|
"key": "color"
|
2021-03-25 17:18:19 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "event",
|
|
|
|
"label": "On Click",
|
|
|
|
"key": "onClick"
|
2021-01-19 12:49:52 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-19 11:47:00 +01:00
|
|
|
"navigation": {
|
2021-06-30 17:33:19 +02:00
|
|
|
"deprecated": true,
|
2021-01-19 11:47:00 +01:00
|
|
|
"name": "Nav Bar",
|
|
|
|
"description": "A component for handling the navigation within your app.",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "BreadcrumbNavigation",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-19 11:47:00 +01:00
|
|
|
"hasChildren": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Logo URL",
|
|
|
|
"key": "logoUrl"
|
2021-05-25 09:21:28 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Hide logo",
|
|
|
|
"key": "hideLogo",
|
|
|
|
"defaultValue": false
|
2021-01-19 11:47:00 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"link": {
|
|
|
|
"name": "Link",
|
|
|
|
"description": "A basic link component for internal and external links",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Link",
|
2021-06-25 16:56:22 +02:00
|
|
|
"showSettingsBar": true,
|
2021-10-28 14:20:04 +02:00
|
|
|
"editable": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-19 11:47:00 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Text",
|
|
|
|
"key": "text"
|
|
|
|
},
|
|
|
|
{
|
2021-06-30 17:33:35 +02:00
|
|
|
"type": "url",
|
2021-01-19 11:47:00 +01:00
|
|
|
"label": "URL",
|
2021-02-15 21:03:29 +01:00
|
|
|
"key": "url",
|
|
|
|
"placeholder": "/screen"
|
2021-01-19 11:47:00 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "New Tab",
|
|
|
|
"key": "openInNewTab"
|
2021-02-26 10:58:11 +01:00
|
|
|
},
|
2021-06-25 16:56:22 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
|
|
|
"defaultValue": "M",
|
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "picker",
|
2022-03-15 12:16:51 +01:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
|
|
|
}
|
|
|
|
]
|
2021-06-25 16:56:22 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Color",
|
|
|
|
"key": "color",
|
|
|
|
"showInBar": true,
|
|
|
|
"barSeparator": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Bold",
|
|
|
|
"key": "bold",
|
|
|
|
"showInBar": true,
|
|
|
|
"barIcon": "TagBold",
|
|
|
|
"barTitle": "Bold text",
|
|
|
|
"barSeparator": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Italic",
|
|
|
|
"key": "italic",
|
|
|
|
"showInBar": true,
|
|
|
|
"barIcon": "TagItalic",
|
|
|
|
"barTitle": "Italic text",
|
|
|
|
"barSeparator": false
|
|
|
|
},
|
2021-02-26 10:58:11 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
2021-06-25 16:56:22 +02:00
|
|
|
"label": "Underline",
|
|
|
|
"key": "underline",
|
|
|
|
"showInBar": true,
|
|
|
|
"barIcon": "TagUnderline",
|
|
|
|
"barTitle": "Underline text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Alignment",
|
|
|
|
"key": "align",
|
|
|
|
"defaultValue": "left",
|
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "buttons",
|
2022-03-15 12:16:51 +01:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Left",
|
|
|
|
"value": "left",
|
|
|
|
"barIcon": "TextAlignLeft",
|
|
|
|
"barTitle": "Align left"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Center",
|
|
|
|
"value": "center",
|
|
|
|
"barIcon": "TextAlignCenter",
|
|
|
|
"barTitle": "Align center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right",
|
|
|
|
"value": "right",
|
|
|
|
"barIcon": "TextAlignRight",
|
|
|
|
"barTitle": "Align right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Justify",
|
|
|
|
"value": "justify",
|
|
|
|
"barIcon": "TextAlignJustify",
|
|
|
|
"barTitle": "Justify text"
|
|
|
|
}
|
|
|
|
]
|
2021-01-19 11:47:00 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-19 12:49:52 +01:00
|
|
|
"cardhorizontal": {
|
|
|
|
"name": "Horizontal Card",
|
|
|
|
"description": "A basic card component that can contain content and actions.",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "ViewRow",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-19 12:49:52 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Image",
|
|
|
|
"key": "imageUrl"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Heading",
|
|
|
|
"key": "heading"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Description",
|
|
|
|
"key": "description"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Subtext",
|
|
|
|
"key": "subtext"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Link Text",
|
|
|
|
"key": "linkText"
|
|
|
|
},
|
|
|
|
{
|
2021-02-15 21:03:29 +01:00
|
|
|
"type": "text",
|
2021-01-19 12:49:52 +01:00
|
|
|
"label": "Link URL",
|
2021-02-15 21:03:29 +01:00
|
|
|
"key": "linkUrl",
|
|
|
|
"placeholder": "/screen"
|
2021-01-19 12:49:52 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Link Color",
|
|
|
|
"key": "linkColor",
|
|
|
|
"defaultValue": "#000"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Hover Color",
|
|
|
|
"key": "linkHoverColor",
|
|
|
|
"defaultValue": "#222"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Card Width",
|
|
|
|
"key": "cardWidth",
|
2022-03-15 12:16:51 +01:00
|
|
|
"options": [
|
|
|
|
"24rem",
|
|
|
|
"28rem",
|
|
|
|
"32rem",
|
|
|
|
"40rem",
|
|
|
|
"48rem",
|
|
|
|
"60rem",
|
|
|
|
"100%"
|
|
|
|
],
|
2021-01-19 12:57:01 +01:00
|
|
|
"defaultValue": "32rem"
|
2021-01-19 12:49:52 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Image Width",
|
|
|
|
"key": "imageWidth",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"auto",
|
|
|
|
"8rem",
|
|
|
|
"12rem",
|
|
|
|
"16rem"
|
|
|
|
],
|
2021-01-19 12:49:52 +01:00
|
|
|
"defaultValue": "8rem"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Image Height",
|
|
|
|
"key": "imageHeight",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"auto",
|
|
|
|
"8rem",
|
|
|
|
"12rem",
|
|
|
|
"16rem",
|
|
|
|
"auto"
|
|
|
|
],
|
2021-01-19 12:49:52 +01:00
|
|
|
"defaultValue": "auto"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"cardstat": {
|
|
|
|
"name": "Stat Card",
|
|
|
|
"description": "A card component for displaying numbers.",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Card",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-19 12:49:52 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title",
|
|
|
|
"placeholder": "Total Revenue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Value",
|
|
|
|
"key": "value",
|
|
|
|
"placeholder": "$1,981,983"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label",
|
|
|
|
"placeholder": "Stripe"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"embed": {
|
|
|
|
"name": "Embed",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Code",
|
2021-01-19 12:49:52 +01:00
|
|
|
"description": "Embed content from 3rd party sources",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-01-19 12:49:52 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Embed",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "embed",
|
|
|
|
"required": true
|
2021-01-19 12:49:52 +01:00
|
|
|
}
|
|
|
|
]
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
"bar": {
|
|
|
|
"name": "Bar Chart",
|
|
|
|
"description": "Bar chart",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "GraphBarVertical",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-19 20:24:49 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
2021-03-18 18:34:51 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Data Cols.",
|
|
|
|
"key": "valueColumns",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Format",
|
|
|
|
"key": "yAxisUnits",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Default",
|
|
|
|
"Thousands",
|
|
|
|
"Millions"
|
|
|
|
],
|
2021-01-19 20:24:49 +01:00
|
|
|
"defaultValue": "Default"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Y Axis Label",
|
|
|
|
"key": "yAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "X Axis Label",
|
|
|
|
"key": "xAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Width",
|
|
|
|
"key": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Height",
|
|
|
|
"key": "height",
|
|
|
|
"defaultValue": "400"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
2022-08-11 16:31:39 +02:00
|
|
|
"label": "Colors",
|
2021-01-19 20:24:49 +01:00
|
|
|
"key": "palette",
|
|
|
|
"defaultValue": "Palette 1",
|
|
|
|
"options": [
|
2022-08-11 16:31:39 +02:00
|
|
|
"Custom",
|
2021-01-19 20:24:49 +01:00
|
|
|
"Palette 1",
|
|
|
|
"Palette 2",
|
|
|
|
"Palette 3",
|
|
|
|
"Palette 4",
|
|
|
|
"Palette 5",
|
|
|
|
"Palette 6",
|
|
|
|
"Palette 7",
|
|
|
|
"Palette 8",
|
|
|
|
"Palette 9",
|
|
|
|
"Palette 10"
|
|
|
|
]
|
|
|
|
},
|
2022-08-11 16:31:39 +02:00
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C1",
|
|
|
|
"key": "c1",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
2022-08-11 18:45:46 +02:00
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C2",
|
|
|
|
"key": "c2",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C3",
|
|
|
|
"key": "c3",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C4",
|
|
|
|
"key": "c4",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C5",
|
|
|
|
"key": "c5",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
2021-01-19 20:24:49 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Stacked",
|
|
|
|
"key": "stacked",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
2021-09-16 22:15:09 +02:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Horizontal",
|
|
|
|
"key": "horizontal",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
2021-01-19 20:24:49 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Data Labels",
|
|
|
|
"key": "dataLabels",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Legend",
|
|
|
|
"key": "legend",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line": {
|
|
|
|
"name": "Line Chart",
|
|
|
|
"description": "Line chart",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "GraphTrend",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-19 20:24:49 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
2021-03-18 18:34:51 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Data Cols.",
|
|
|
|
"key": "valueColumns",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Format",
|
|
|
|
"key": "yAxisUnits",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Default",
|
|
|
|
"Thousands",
|
|
|
|
"Millions"
|
|
|
|
],
|
2021-01-19 20:24:49 +01:00
|
|
|
"defaultValue": "Default"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Y Axis Label",
|
|
|
|
"key": "yAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "X Axis Label",
|
|
|
|
"key": "xAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Width",
|
|
|
|
"key": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Height",
|
|
|
|
"key": "height",
|
|
|
|
"defaultValue": "400"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
2022-08-11 18:52:09 +02:00
|
|
|
"label": "Colors",
|
2021-01-19 20:24:49 +01:00
|
|
|
"key": "palette",
|
|
|
|
"defaultValue": "Palette 1",
|
|
|
|
"options": [
|
2022-08-11 18:52:09 +02:00
|
|
|
"Custom",
|
2021-01-19 20:24:49 +01:00
|
|
|
"Palette 1",
|
|
|
|
"Palette 2",
|
|
|
|
"Palette 3",
|
|
|
|
"Palette 4",
|
|
|
|
"Palette 5",
|
|
|
|
"Palette 6",
|
|
|
|
"Palette 7",
|
|
|
|
"Palette 8",
|
|
|
|
"Palette 9",
|
|
|
|
"Palette 10"
|
|
|
|
]
|
|
|
|
},
|
2022-08-11 18:52:09 +02:00
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C1",
|
|
|
|
"key": "c1",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C2",
|
|
|
|
"key": "c2",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C3",
|
|
|
|
"key": "c3",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C4",
|
|
|
|
"key": "c4",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C5",
|
|
|
|
"key": "c5",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
2021-01-19 20:24:49 +01:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Curve",
|
|
|
|
"key": "curve",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Smooth",
|
|
|
|
"Straight",
|
|
|
|
"Stepline"
|
|
|
|
],
|
2021-01-19 20:24:49 +01:00
|
|
|
"defaultValue": "Smooth"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Data Labels",
|
|
|
|
"key": "dataLabels",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Legend",
|
|
|
|
"key": "legend",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"area": {
|
|
|
|
"name": "Area Chart",
|
|
|
|
"description": "Line chart",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "GraphAreaStacked",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-19 20:24:49 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
2021-03-18 18:34:51 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Data Cols.",
|
|
|
|
"key": "valueColumns",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Format",
|
|
|
|
"key": "yAxisUnits",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Default",
|
|
|
|
"Thousands",
|
|
|
|
"Millions"
|
|
|
|
],
|
2021-01-19 20:24:49 +01:00
|
|
|
"defaultValue": "Default"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Y Axis Label",
|
|
|
|
"key": "yAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "X Axis Label",
|
|
|
|
"key": "xAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Width",
|
|
|
|
"key": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Height",
|
|
|
|
"key": "height",
|
|
|
|
"defaultValue": "400"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
2022-08-11 18:59:38 +02:00
|
|
|
"label": "Colors",
|
2021-01-19 20:24:49 +01:00
|
|
|
"key": "palette",
|
|
|
|
"defaultValue": "Palette 1",
|
|
|
|
"options": [
|
2022-08-11 18:59:38 +02:00
|
|
|
"Custom",
|
2021-01-19 20:24:49 +01:00
|
|
|
"Palette 1",
|
|
|
|
"Palette 2",
|
|
|
|
"Palette 3",
|
|
|
|
"Palette 4",
|
|
|
|
"Palette 5",
|
|
|
|
"Palette 6",
|
|
|
|
"Palette 7",
|
|
|
|
"Palette 8",
|
|
|
|
"Palette 9",
|
|
|
|
"Palette 10"
|
|
|
|
]
|
|
|
|
},
|
2022-08-11 18:59:38 +02:00
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C1",
|
|
|
|
"key": "c1",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C2",
|
|
|
|
"key": "c2",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C3",
|
|
|
|
"key": "c3",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C4",
|
|
|
|
"key": "c4",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C5",
|
|
|
|
"key": "c5",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
2021-01-19 20:24:49 +01:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Curve",
|
|
|
|
"key": "curve",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Smooth",
|
|
|
|
"Straight",
|
|
|
|
"Stepline"
|
|
|
|
],
|
2021-01-19 20:24:49 +01:00
|
|
|
"defaultValue": "Smooth"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Data Labels",
|
|
|
|
"key": "dataLabels",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Legend",
|
|
|
|
"key": "legend",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Stacked",
|
|
|
|
"key": "stacked",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Gradient",
|
|
|
|
"key": "gradient",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"pie": {
|
|
|
|
"name": "Pie Chart",
|
|
|
|
"description": "Pie chart",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "GraphPie",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-19 20:24:49 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
2021-03-18 18:34:51 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Data Col.",
|
|
|
|
"key": "valueColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Width",
|
|
|
|
"key": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Height",
|
|
|
|
"key": "height",
|
|
|
|
"defaultValue": "400"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
2022-08-11 17:59:50 +02:00
|
|
|
"label": "Colors",
|
2021-01-19 20:24:49 +01:00
|
|
|
"key": "palette",
|
|
|
|
"defaultValue": "Palette 1",
|
|
|
|
"options": [
|
2022-08-11 17:59:50 +02:00
|
|
|
"Custom",
|
2021-01-19 20:24:49 +01:00
|
|
|
"Palette 1",
|
|
|
|
"Palette 2",
|
|
|
|
"Palette 3",
|
|
|
|
"Palette 4",
|
|
|
|
"Palette 5",
|
|
|
|
"Palette 6",
|
|
|
|
"Palette 7",
|
|
|
|
"Palette 8",
|
|
|
|
"Palette 9",
|
|
|
|
"Palette 10"
|
|
|
|
]
|
|
|
|
},
|
2022-08-11 17:59:50 +02:00
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C1",
|
|
|
|
"key": "c1",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C2",
|
|
|
|
"key": "c2",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C3",
|
|
|
|
"key": "c3",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C4",
|
|
|
|
"key": "c4",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C5",
|
|
|
|
"key": "c5",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
2021-01-19 20:24:49 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Data Labels",
|
|
|
|
"key": "dataLabels",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Legend",
|
|
|
|
"key": "legend",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"donut": {
|
|
|
|
"name": "Donut Chart",
|
|
|
|
"description": "Donut chart",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "GraphDonut",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-19 20:24:49 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
2021-03-18 18:34:51 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Data Col.",
|
|
|
|
"key": "valueColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Width",
|
|
|
|
"key": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Height",
|
|
|
|
"key": "height",
|
|
|
|
"defaultValue": "400"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
2022-08-11 17:59:50 +02:00
|
|
|
"label": "Colors",
|
2021-01-19 20:24:49 +01:00
|
|
|
"key": "palette",
|
|
|
|
"defaultValue": "Palette 1",
|
|
|
|
"options": [
|
2022-08-11 17:59:50 +02:00
|
|
|
"Custom",
|
2021-01-19 20:24:49 +01:00
|
|
|
"Palette 1",
|
|
|
|
"Palette 2",
|
|
|
|
"Palette 3",
|
|
|
|
"Palette 4",
|
|
|
|
"Palette 5",
|
|
|
|
"Palette 6",
|
|
|
|
"Palette 7",
|
|
|
|
"Palette 8",
|
|
|
|
"Palette 9",
|
|
|
|
"Palette 10"
|
|
|
|
]
|
|
|
|
},
|
2022-08-11 17:59:50 +02:00
|
|
|
{
|
|
|
|
"type": "color",
|
2022-08-11 18:45:46 +02:00
|
|
|
"label": "C1",
|
|
|
|
"key": "c1",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C2",
|
|
|
|
"key": "c2",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C3",
|
|
|
|
"key": "c3",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C4",
|
|
|
|
"key": "c4",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "C5",
|
|
|
|
"key": "c5",
|
2022-08-11 17:59:50 +02:00
|
|
|
"dependsOn": {
|
|
|
|
"setting": "palette",
|
|
|
|
"value": "Custom"
|
|
|
|
}
|
|
|
|
},
|
2021-01-19 20:24:49 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Data Labels",
|
|
|
|
"key": "dataLabels",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Legend",
|
|
|
|
"key": "legend",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"candlestick": {
|
|
|
|
"name": "Candlestick Chart",
|
|
|
|
"description": "Candlestick chart",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "GraphBarVerticalStacked",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-19 20:24:49 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
2021-03-18 18:34:51 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Date Col.",
|
|
|
|
"key": "dateColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Open Col.",
|
|
|
|
"key": "openColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Close Col.",
|
|
|
|
"key": "closeColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "High Col.",
|
|
|
|
"key": "highColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Low Col.",
|
|
|
|
"key": "lowColumn",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Format",
|
|
|
|
"key": "yAxisUnits",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Default",
|
|
|
|
"Thousands",
|
|
|
|
"Millions"
|
|
|
|
],
|
2021-01-19 20:24:49 +01:00
|
|
|
"defaultValue": "Default"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Y Axis Label",
|
|
|
|
"key": "yAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "X Axis Label",
|
|
|
|
"key": "xAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Width",
|
|
|
|
"key": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Height",
|
|
|
|
"key": "height",
|
|
|
|
"defaultValue": "400"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
}
|
|
|
|
]
|
2021-01-26 09:55:44 +01:00
|
|
|
},
|
2021-01-27 11:59:05 +01:00
|
|
|
"form": {
|
|
|
|
"name": "Form",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Form",
|
2021-01-27 11:59:05 +01:00
|
|
|
"hasChildren": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section",
|
|
|
|
"form"
|
|
|
|
],
|
2022-04-14 10:46:07 +02:00
|
|
|
"actions": [
|
|
|
|
"ValidateForm",
|
|
|
|
"ClearForm",
|
|
|
|
"ChangeFormStep",
|
|
|
|
"UpdateFieldValue"
|
|
|
|
],
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-01-27 11:59:05 +01:00
|
|
|
"settings": [
|
2021-06-09 13:53:12 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Type",
|
2021-06-09 13:55:17 +02:00
|
|
|
"key": "actionType",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Create",
|
|
|
|
"Update"
|
|
|
|
],
|
2021-06-09 13:53:12 +02:00
|
|
|
"defaultValue": "Create"
|
|
|
|
},
|
2021-01-27 11:59:05 +01:00
|
|
|
{
|
2021-02-04 19:00:02 +01:00
|
|
|
"type": "schema",
|
|
|
|
"label": "Schema",
|
2021-08-04 13:52:48 +02:00
|
|
|
"key": "dataSource",
|
|
|
|
"defaultValue": {
|
|
|
|
"name": "Custom",
|
|
|
|
"label": "Custom"
|
|
|
|
}
|
2021-01-27 11:59:05 +01:00
|
|
|
},
|
2021-09-16 22:15:09 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "spectrum--medium"
|
2022-03-15 12:16:51 +01:00
|
|
|
},
|
|
|
|
{
|
2021-09-16 22:15:09 +02:00
|
|
|
"label": "Large",
|
|
|
|
"value": "spectrum--large"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "spectrum--medium"
|
|
|
|
},
|
2021-02-17 16:16:44 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-01-27 19:25:57 +01:00
|
|
|
}
|
2021-03-18 19:45:11 +01:00
|
|
|
],
|
2021-08-18 15:58:58 +02:00
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"type": "static",
|
2022-03-15 12:16:51 +01:00
|
|
|
"values": [
|
2021-12-13 10:34:27 +01:00
|
|
|
{
|
|
|
|
"label": "Value",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "__value",
|
|
|
|
"type": "object"
|
2021-12-13 10:34:27 +01:00
|
|
|
},
|
2021-08-18 15:58:58 +02:00
|
|
|
{
|
|
|
|
"label": "Valid",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "__valid",
|
|
|
|
"type": "boolean"
|
2021-08-18 15:58:58 +02:00
|
|
|
},
|
|
|
|
{
|
2021-08-19 13:53:31 +02:00
|
|
|
"label": "Current Step",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "__currentStep",
|
|
|
|
"type": "number"
|
2021-08-19 13:53:31 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Current Step Valid",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "__currentStepValid",
|
|
|
|
"type": "boolean"
|
2021-08-18 15:58:58 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "form"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"formstep": {
|
|
|
|
"name": "Form Step",
|
2021-08-20 16:16:20 +02:00
|
|
|
"icon": "AssetsAdded",
|
2021-08-18 15:58:58 +02:00
|
|
|
"hasChildren": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section",
|
|
|
|
"form",
|
|
|
|
"form step"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-08-18 15:58:58 +02:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"label": "Step",
|
|
|
|
"key": "step",
|
|
|
|
"defaultValue": 1,
|
|
|
|
"min": 1
|
|
|
|
}
|
2021-08-19 13:53:31 +02:00
|
|
|
]
|
2021-01-27 19:25:57 +01:00
|
|
|
},
|
|
|
|
"fieldgroup": {
|
|
|
|
"name": "Field Group",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Group",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-01-27 19:25:57 +01:00
|
|
|
"hasChildren": true,
|
|
|
|
"settings": [
|
2021-01-27 11:59:05 +01:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Labels",
|
|
|
|
"key": "labelPosition",
|
2021-01-27 19:25:57 +01:00
|
|
|
"defaultValue": "above",
|
2021-01-27 11:59:05 +01:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Left",
|
|
|
|
"value": "left"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right",
|
|
|
|
"value": "right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Above",
|
|
|
|
"value": "above"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-26 15:40:44 +01:00
|
|
|
"stringfield": {
|
2021-01-26 09:55:44 +01:00
|
|
|
"name": "Text Field",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Text",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-10-28 17:31:22 +02:00
|
|
|
"editable": true,
|
2021-01-26 09:55:44 +01:00
|
|
|
"settings": [
|
2021-01-26 15:40:44 +01:00
|
|
|
{
|
|
|
|
"type": "field/string",
|
|
|
|
"label": "Field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2021-01-26 15:40:44 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
2021-01-26 09:55:44 +01:00
|
|
|
{
|
|
|
|
"type": "text",
|
2021-01-26 15:40:44 +01:00
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder"
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
2021-08-04 13:52:48 +02:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Default value",
|
|
|
|
"key": "defaultValue"
|
|
|
|
},
|
2022-04-14 10:46:07 +02:00
|
|
|
{
|
|
|
|
"type": "event",
|
2022-04-14 11:38:24 +02:00
|
|
|
"label": "On Change",
|
2022-04-14 10:46:07 +02:00
|
|
|
"key": "onChange",
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Field Value",
|
|
|
|
"key": "value"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-02-17 16:16:44 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-08-06 15:54:00 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "validation/string",
|
|
|
|
"label": "Validation",
|
|
|
|
"key": "validation"
|
2022-02-03 20:13:56 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Alignment",
|
|
|
|
"key": "align",
|
|
|
|
"defaultValue": "left",
|
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "buttons",
|
2022-03-15 12:16:51 +01:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Left",
|
|
|
|
"value": "left",
|
|
|
|
"barIcon": "TextAlignLeft",
|
|
|
|
"barTitle": "Align left"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Center",
|
|
|
|
"value": "center",
|
|
|
|
"barIcon": "TextAlignCenter",
|
|
|
|
"barTitle": "Align center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right",
|
|
|
|
"value": "right",
|
|
|
|
"barIcon": "TextAlignRight",
|
|
|
|
"barTitle": "Align right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Justify",
|
|
|
|
"value": "justify",
|
|
|
|
"barIcon": "TextAlignJustify",
|
|
|
|
"barTitle": "Justify text"
|
|
|
|
}
|
|
|
|
]
|
2021-01-26 15:40:44 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"numberfield": {
|
|
|
|
"name": "Number Field",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "123",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-10-28 17:31:22 +02:00
|
|
|
"editable": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-26 15:40:44 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/number",
|
2021-01-26 09:55:44 +01:00
|
|
|
"label": "Field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2021-01-26 09:55:44 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder"
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
2021-08-04 13:52:48 +02:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Default value",
|
|
|
|
"key": "defaultValue"
|
|
|
|
},
|
2022-04-14 10:46:07 +02:00
|
|
|
{
|
|
|
|
"type": "event",
|
2022-04-14 11:38:24 +02:00
|
|
|
"label": "On Change",
|
2022-04-14 10:46:07 +02:00
|
|
|
"key": "onChange",
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Field Value",
|
|
|
|
"key": "value"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-02-17 16:16:44 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-08-06 15:54:00 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "validation/number",
|
|
|
|
"label": "Validation",
|
|
|
|
"key": "validation"
|
2021-01-26 15:40:44 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-03-01 15:13:11 +01:00
|
|
|
"passwordfield": {
|
|
|
|
"name": "Password Field",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "LockClosed",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-10-28 17:31:22 +02:00
|
|
|
"editable": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-03-01 15:13:11 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/string",
|
|
|
|
"label": "Field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2021-03-01 15:13:11 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder"
|
|
|
|
},
|
2021-08-04 13:52:48 +02:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Default value",
|
|
|
|
"key": "defaultValue"
|
|
|
|
},
|
2022-04-14 10:46:07 +02:00
|
|
|
{
|
|
|
|
"type": "event",
|
2022-04-14 11:38:24 +02:00
|
|
|
"label": "On Change",
|
2022-04-14 10:46:07 +02:00
|
|
|
"key": "onChange",
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Field Value",
|
|
|
|
"key": "value"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-03-01 15:13:11 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-08-06 15:54:00 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "validation/string",
|
|
|
|
"label": "Validation",
|
|
|
|
"key": "validation"
|
2021-03-01 15:13:11 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-26 15:40:44 +01:00
|
|
|
"optionsfield": {
|
|
|
|
"name": "Options Picker",
|
2022-07-01 14:11:48 +02:00
|
|
|
"icon": "Menu",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-10-28 17:31:22 +02:00
|
|
|
"editable": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-26 15:40:44 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/options",
|
|
|
|
"label": "Field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2021-01-26 09:55:44 +01:00
|
|
|
},
|
|
|
|
{
|
2021-01-26 15:40:44 +01:00
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
2021-01-27 11:59:05 +01:00
|
|
|
"key": "placeholder",
|
|
|
|
"placeholder": "Choose an option"
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
2022-04-14 10:46:07 +02:00
|
|
|
{
|
|
|
|
"type": "event",
|
2022-04-14 11:38:24 +02:00
|
|
|
"label": "On Change",
|
2022-04-14 10:46:07 +02:00
|
|
|
"key": "onChange",
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Field Value",
|
|
|
|
"key": "value"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-08-03 21:30:06 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Type",
|
|
|
|
"key": "optionsType",
|
2021-08-16 12:24:25 +02:00
|
|
|
"defaultValue": "select",
|
2021-08-03 21:30:06 +02:00
|
|
|
"placeholder": "Pick an options type",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Select",
|
|
|
|
"value": "select"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Radio buttons",
|
|
|
|
"value": "radio"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-01-19 15:23:41 +01:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Direction",
|
|
|
|
"key": "direction",
|
|
|
|
"defaultValue": "vertical",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Horizontal",
|
|
|
|
"value": "horizontal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Vertical",
|
|
|
|
"value": "vertical"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsType",
|
|
|
|
"value": "radio"
|
|
|
|
}
|
|
|
|
},
|
2021-08-04 13:52:48 +02:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Default value",
|
|
|
|
"key": "defaultValue"
|
|
|
|
},
|
2021-08-17 15:13:57 +02:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Autocomplete",
|
|
|
|
"key": "autocomplete",
|
|
|
|
"defaultValue": false,
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsType",
|
|
|
|
"value": "select"
|
|
|
|
}
|
|
|
|
},
|
2022-05-12 16:17:23 +02:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
2022-06-07 09:27:41 +02:00
|
|
|
"label": "Sort in alphabetical order",
|
2022-05-12 16:17:23 +02:00
|
|
|
"key": "sort",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
2021-02-17 16:16:44 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-08-06 15:54:00 +02:00
|
|
|
},
|
2021-08-16 12:24:25 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Options source",
|
|
|
|
"key": "optionsSource",
|
|
|
|
"defaultValue": "schema",
|
|
|
|
"placeholder": "Pick an options source",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Schema",
|
|
|
|
"value": "schema"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Data provider",
|
|
|
|
"value": "provider"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Custom",
|
|
|
|
"value": "custom"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "dataProvider",
|
|
|
|
"label": "Options Provider",
|
|
|
|
"key": "dataProvider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"required": true,
|
2021-08-16 12:24:25 +02:00
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "provider"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Column",
|
|
|
|
"key": "labelColumn",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "provider"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Value Column",
|
|
|
|
"key": "valueColumn",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "provider"
|
|
|
|
}
|
2021-09-16 22:15:09 +02:00
|
|
|
},
|
2021-08-17 11:32:01 +02:00
|
|
|
{
|
|
|
|
"type": "options",
|
|
|
|
"key": "customOptions",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "custom"
|
2021-08-17 12:26:42 +02:00
|
|
|
}
|
|
|
|
},
|
2021-08-06 15:54:00 +02:00
|
|
|
{
|
|
|
|
"type": "validation/string",
|
|
|
|
"label": "Validation",
|
|
|
|
"key": "validation"
|
2021-01-26 09:55:44 +01:00
|
|
|
}
|
|
|
|
]
|
2021-01-28 17:31:55 +01:00
|
|
|
},
|
2021-09-16 22:15:09 +02:00
|
|
|
"multifieldselect": {
|
|
|
|
"name": "Multi-select Picker",
|
|
|
|
"icon": "ViewList",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-10-28 17:31:22 +02:00
|
|
|
"editable": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-09-16 22:15:09 +02:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/array",
|
|
|
|
"label": "Field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2021-09-16 22:15:09 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder",
|
|
|
|
"placeholder": "Choose an option"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Default value",
|
|
|
|
"key": "defaultValue"
|
|
|
|
},
|
2022-04-14 10:46:07 +02:00
|
|
|
{
|
|
|
|
"type": "event",
|
2022-04-14 11:38:24 +02:00
|
|
|
"label": "On Change",
|
2022-04-14 10:46:07 +02:00
|
|
|
"key": "onChange",
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Field Value",
|
|
|
|
"key": "value"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-09-16 22:15:09 +02:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Autocomplete",
|
|
|
|
"key": "autocomplete",
|
2022-05-16 12:14:13 +02:00
|
|
|
"defaultValue": false,
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsType",
|
|
|
|
"value": "select"
|
|
|
|
}
|
2021-09-16 22:15:09 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
2022-05-10 16:16:13 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Type",
|
|
|
|
"key": "optionsType",
|
|
|
|
"defaultValue": "select",
|
|
|
|
"placeholder": "Pick an options type",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Select",
|
|
|
|
"value": "select"
|
|
|
|
},
|
|
|
|
{
|
2022-05-10 16:48:00 +02:00
|
|
|
"label": "Checkboxes",
|
2022-05-10 16:16:13 +02:00
|
|
|
"value": "checkbox"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Direction",
|
|
|
|
"key": "direction",
|
|
|
|
"defaultValue": "vertical",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Horizontal",
|
|
|
|
"value": "horizontal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Vertical",
|
|
|
|
"value": "vertical"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsType",
|
|
|
|
"value": "checkbox"
|
|
|
|
}
|
|
|
|
},
|
2021-09-16 22:15:09 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Options source",
|
|
|
|
"key": "optionsSource",
|
|
|
|
"defaultValue": "schema",
|
|
|
|
"placeholder": "Pick an options source",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Schema",
|
|
|
|
"value": "schema"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Data provider",
|
|
|
|
"value": "provider"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Custom",
|
|
|
|
"value": "custom"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "dataProvider",
|
|
|
|
"label": "Options Provider",
|
|
|
|
"key": "dataProvider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"required": true,
|
2021-09-16 22:15:09 +02:00
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "provider"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Column",
|
|
|
|
"key": "labelColumn",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "provider"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Value Column",
|
|
|
|
"key": "valueColumn",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "provider"
|
|
|
|
}
|
2022-01-18 17:17:31 +01:00
|
|
|
},
|
2021-09-16 22:15:09 +02:00
|
|
|
{
|
|
|
|
"type": "options",
|
|
|
|
"key": "customOptions",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "custom"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "validation/array",
|
|
|
|
"label": "Validation",
|
|
|
|
"key": "validation"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-28 17:31:55 +01:00
|
|
|
"booleanfield": {
|
|
|
|
"name": "Checkbox",
|
2022-07-01 14:11:48 +02:00
|
|
|
"icon": "SelectBox",
|
2021-10-28 17:31:22 +02:00
|
|
|
"editable": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-28 17:31:55 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/boolean",
|
|
|
|
"label": "Field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2021-01-28 17:31:55 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Text",
|
|
|
|
"key": "text"
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
2021-08-03 20:54:32 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Extra large",
|
|
|
|
"value": "XL"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "M"
|
|
|
|
},
|
2021-08-04 13:52:48 +02:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Default value",
|
|
|
|
"key": "defaultValue"
|
|
|
|
},
|
2022-04-14 10:46:07 +02:00
|
|
|
{
|
|
|
|
"type": "event",
|
2022-04-14 11:38:24 +02:00
|
|
|
"label": "On Change",
|
2022-04-14 10:46:07 +02:00
|
|
|
"key": "onChange",
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Field Value",
|
|
|
|
"key": "value"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-02-17 16:16:44 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-08-06 15:54:00 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "validation/boolean",
|
|
|
|
"label": "Validation",
|
|
|
|
"key": "validation"
|
2021-01-28 17:31:55 +01:00
|
|
|
}
|
|
|
|
]
|
2021-01-28 19:03:44 +01:00
|
|
|
},
|
|
|
|
"longformfield": {
|
2022-02-07 13:13:11 +01:00
|
|
|
"name": "Long Form Field",
|
2022-07-27 12:09:11 +02:00
|
|
|
"icon": "TextAlignLeft",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-10-28 17:31:22 +02:00
|
|
|
"editable": true,
|
2021-01-28 19:03:44 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/longform",
|
|
|
|
"label": "Field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2021-01-28 19:03:44 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder",
|
|
|
|
"placeholder": "Type something..."
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
2021-08-04 13:52:48 +02:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Default value",
|
|
|
|
"key": "defaultValue"
|
|
|
|
},
|
2022-04-14 10:46:07 +02:00
|
|
|
{
|
|
|
|
"type": "event",
|
2022-04-14 11:38:24 +02:00
|
|
|
"label": "On Change",
|
2022-04-14 10:46:07 +02:00
|
|
|
"key": "onChange",
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Field Value",
|
|
|
|
"key": "value"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-02-07 13:12:02 +01:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Formatting",
|
|
|
|
"key": "format",
|
|
|
|
"placeholder": null,
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Auto",
|
|
|
|
"value": "auto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Plain text",
|
|
|
|
"value": "plain"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Rich text (markdown)",
|
|
|
|
"value": "rich"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "auto"
|
|
|
|
},
|
2021-02-17 16:16:44 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-08-06 15:54:00 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "validation/string",
|
|
|
|
"label": "Validation",
|
|
|
|
"key": "validation"
|
2021-01-28 19:03:44 +01:00
|
|
|
}
|
|
|
|
]
|
2021-01-28 19:53:40 +01:00
|
|
|
},
|
|
|
|
"datetimefield": {
|
|
|
|
"name": "Date Picker",
|
2022-07-01 14:11:48 +02:00
|
|
|
"icon": "Date",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-10-28 17:31:22 +02:00
|
|
|
"editable": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-28 19:53:40 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/datetime",
|
|
|
|
"label": "Field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2021-01-28 19:53:40 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder"
|
2021-01-29 11:18:41 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
2022-06-07 09:31:00 +02:00
|
|
|
"label": "Show time",
|
2021-01-29 11:18:41 +01:00
|
|
|
"key": "enableTime",
|
|
|
|
"defaultValue": true
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
2022-02-08 17:15:08 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
2022-06-07 09:31:00 +02:00
|
|
|
"label": "Time only",
|
2022-02-08 17:15:08 +01:00
|
|
|
"key": "timeOnly",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
2022-08-11 12:01:48 +02:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "24-Hour time",
|
|
|
|
"key": "time24hr",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
2022-06-07 09:31:00 +02:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Ignore time zones",
|
|
|
|
"key": "ignoreTimezones",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
2021-08-04 13:52:48 +02:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Default value",
|
|
|
|
"key": "defaultValue"
|
|
|
|
},
|
2022-04-14 10:46:07 +02:00
|
|
|
{
|
|
|
|
"type": "event",
|
2022-04-14 11:38:24 +02:00
|
|
|
"label": "On Change",
|
2022-04-14 10:46:07 +02:00
|
|
|
"key": "onChange",
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Field Value",
|
|
|
|
"key": "value"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-02-17 16:16:44 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-08-06 15:54:00 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "validation/datetime",
|
|
|
|
"label": "Validation",
|
|
|
|
"key": "validation"
|
2021-01-28 19:53:40 +01:00
|
|
|
}
|
|
|
|
]
|
2021-01-29 14:22:38 +01:00
|
|
|
},
|
2022-03-08 17:41:21 +01:00
|
|
|
"embeddedmap": {
|
|
|
|
"name": "Embedded Map",
|
|
|
|
"icon": "Location",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2022-03-08 17:41:21 +01:00
|
|
|
"draggable": false,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2022-03-08 17:41:21 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "dataProvider",
|
|
|
|
"label": "Provider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "dataProvider",
|
|
|
|
"required": true
|
2022-03-08 17:41:21 +01:00
|
|
|
},
|
2022-03-15 12:16:51 +01:00
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Latitude Key",
|
|
|
|
"key": "latitudeKey",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2022-03-15 12:16:51 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Longitude Key",
|
|
|
|
"key": "longitudeKey",
|
2022-05-23 17:12:56 +02:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"required": true
|
2022-03-15 12:16:51 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Title Key",
|
|
|
|
"key": "titleKey",
|
|
|
|
"dependsOn": "dataProvider"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "event",
|
2022-03-16 15:58:48 +01:00
|
|
|
"label": "On Click Marker",
|
2022-03-16 15:53:12 +01:00
|
|
|
"key": "onClickMarker",
|
2022-03-15 12:16:51 +01:00
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Clicked marker",
|
|
|
|
"key": "marker"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-03-16 15:53:12 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Enable creating markers",
|
|
|
|
"key": "creationEnabled",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
2022-03-15 14:25:41 +01:00
|
|
|
{
|
|
|
|
"type": "event",
|
2022-03-16 15:58:48 +01:00
|
|
|
"label": "On Create Marker",
|
2022-03-16 15:53:12 +01:00
|
|
|
"key": "onCreateMarker",
|
|
|
|
"dependsOn": "creationEnabled",
|
2022-03-15 14:25:41 +01:00
|
|
|
"context": [
|
|
|
|
{
|
2022-03-16 15:53:12 +01:00
|
|
|
"label": "New marker latitude",
|
2022-03-15 14:25:41 +01:00
|
|
|
"key": "lat"
|
|
|
|
},
|
|
|
|
{
|
2022-03-16 15:53:12 +01:00
|
|
|
"label": "New marker longitude",
|
2022-03-15 14:25:41 +01:00
|
|
|
"key": "lng"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-03-08 17:41:21 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
2022-03-16 15:53:12 +01:00
|
|
|
"label": "Enable fullscreen",
|
2022-03-08 17:41:21 +01:00
|
|
|
"key": "fullScreenEnabled",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
2022-03-16 15:53:12 +01:00
|
|
|
"label": "Enable location",
|
2022-03-08 17:41:21 +01:00
|
|
|
"key": "locationEnabled",
|
2022-03-10 13:48:49 +01:00
|
|
|
"defaultValue": true
|
2022-03-08 17:41:21 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
2022-03-16 15:53:12 +01:00
|
|
|
"label": "Enable zoom",
|
2022-03-08 17:41:21 +01:00
|
|
|
"key": "zoomEnabled",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Tile URL",
|
|
|
|
"key": "tileURL",
|
|
|
|
"defaultValue": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
2022-03-10 13:48:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
2022-03-16 15:53:12 +01:00
|
|
|
"label": "Default Location (when empty)",
|
2022-03-10 13:48:49 +01:00
|
|
|
"key": "defaultLocation",
|
2022-03-16 15:53:12 +01:00
|
|
|
"placeholder": "51.5072,-0.1276"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"label": "Default Location Zoom Level (0-100)",
|
|
|
|
"key": "zoomLevel",
|
|
|
|
"placeholder": 50,
|
|
|
|
"max": 100,
|
|
|
|
"min": 0
|
2022-03-10 13:48:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Map Attribution",
|
|
|
|
"key": "mapAttribution",
|
|
|
|
"defaultValue": "OpenStreetMap contributors"
|
2022-03-08 17:41:21 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-29 14:22:38 +01:00
|
|
|
"attachmentfield": {
|
|
|
|
"name": "Attachment",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Attach",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-10-28 17:31:22 +02:00
|
|
|
"editable": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-01-29 14:22:38 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/attachment",
|
|
|
|
"label": "Field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2021-01-29 14:22:38 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
2022-01-18 17:17:31 +01:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Extensions",
|
|
|
|
"key": "extensions"
|
|
|
|
},
|
2022-05-25 14:46:44 +02:00
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"label": "No. of attachment",
|
|
|
|
"key": "maximum",
|
|
|
|
"min": 1
|
|
|
|
},
|
2022-04-14 10:46:07 +02:00
|
|
|
{
|
|
|
|
"type": "event",
|
2022-04-14 11:38:24 +02:00
|
|
|
"label": "On Change",
|
2022-04-14 10:46:07 +02:00
|
|
|
"key": "onChange",
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Field Value",
|
|
|
|
"key": "value"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-02-17 16:16:44 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-08-06 15:54:00 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "validation/attachment",
|
|
|
|
"label": "Validation",
|
|
|
|
"key": "validation"
|
2021-01-29 14:22:38 +01:00
|
|
|
}
|
|
|
|
]
|
2021-02-01 14:15:35 +01:00
|
|
|
},
|
|
|
|
"relationshipfield": {
|
|
|
|
"name": "Relationship Picker",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "TaskList",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-10-28 17:31:22 +02:00
|
|
|
"editable": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-02-01 14:15:35 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
2021-02-04 14:01:49 +01:00
|
|
|
"type": "field/link",
|
2021-02-01 14:15:35 +01:00
|
|
|
"label": "Field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2021-02-01 14:15:35 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
2021-02-12 16:47:20 +01:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder"
|
2021-02-19 13:55:17 +01:00
|
|
|
},
|
2022-02-04 09:50:56 +01:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Default value",
|
|
|
|
"key": "defaultValue"
|
|
|
|
},
|
2022-04-14 10:46:07 +02:00
|
|
|
{
|
|
|
|
"type": "event",
|
2022-04-14 11:38:24 +02:00
|
|
|
"label": "On Change",
|
2022-04-14 10:46:07 +02:00
|
|
|
"key": "onChange",
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Field Value",
|
|
|
|
"key": "value"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-08-16 23:31:51 +02:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Autocomplete",
|
|
|
|
"key": "autocomplete",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
2021-02-17 16:16:44 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-08-06 15:54:00 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "validation/link",
|
|
|
|
"label": "Validation",
|
|
|
|
"key": "validation"
|
2021-02-01 14:15:35 +01:00
|
|
|
}
|
|
|
|
]
|
2021-03-16 14:54:34 +01:00
|
|
|
},
|
2021-12-03 10:20:45 +01:00
|
|
|
"jsonfield": {
|
2021-12-10 16:26:43 +01:00
|
|
|
"name": "JSON Field",
|
2021-12-03 10:20:45 +01:00
|
|
|
"icon": "Brackets",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-12-03 10:20:45 +01:00
|
|
|
"editable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/json",
|
|
|
|
"label": "Field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2021-12-03 10:20:45 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Default value",
|
|
|
|
"key": "defaultValue"
|
|
|
|
},
|
2022-04-14 10:46:07 +02:00
|
|
|
{
|
|
|
|
"type": "event",
|
2022-04-14 11:38:24 +02:00
|
|
|
"label": "On Change",
|
2022-04-14 10:46:07 +02:00
|
|
|
"key": "onChange",
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Field Value",
|
|
|
|
"key": "value"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-12-03 10:20:45 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-04-14 11:04:38 +02:00
|
|
|
"s3upload": {
|
|
|
|
"name": "S3 File Upload",
|
|
|
|
"icon": "UploadToCloud",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2022-04-14 11:04:38 +02:00
|
|
|
"editable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/attachment",
|
|
|
|
"label": "Field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2022-04-14 11:04:38 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "dataSource/s3",
|
|
|
|
"label": "S3 Datasource",
|
2022-08-30 11:53:58 +02:00
|
|
|
"key": "datasourceId",
|
|
|
|
"info": "This component can't be used with S3 datasources that use custom endpoints"
|
2022-04-14 11:04:38 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Bucket",
|
|
|
|
"key": "bucket"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "File Name",
|
|
|
|
"key": "key"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "event",
|
2022-04-14 11:38:24 +02:00
|
|
|
"label": "On Change",
|
2022-04-14 11:04:38 +02:00
|
|
|
"key": "onChange",
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"label": "Field Value",
|
|
|
|
"key": "value"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "validation/attachment",
|
|
|
|
"label": "Validation",
|
|
|
|
"key": "validation"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-03-16 14:54:34 +01:00
|
|
|
"dataprovider": {
|
|
|
|
"name": "Data Provider",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Data",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-03-16 14:54:34 +01:00
|
|
|
"hasChildren": true,
|
2022-05-23 17:12:56 +02:00
|
|
|
"actions": [
|
|
|
|
"RefreshDatasource"
|
|
|
|
],
|
2021-03-16 14:54:34 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "dataSource",
|
|
|
|
"label": "Data",
|
2022-05-30 13:57:10 +02:00
|
|
|
"key": "dataSource",
|
|
|
|
"required": true
|
2021-03-16 14:54:34 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "filter",
|
|
|
|
"label": "Filtering",
|
|
|
|
"key": "filter"
|
2021-03-16 20:11:00 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Sort Column",
|
|
|
|
"key": "sortColumn"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Sort Order",
|
|
|
|
"key": "sortOrder",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Ascending",
|
|
|
|
"Descending"
|
|
|
|
],
|
2021-03-16 20:11:00 +01:00
|
|
|
"defaultValue": "Descending"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"label": "Limit",
|
2021-05-13 13:26:18 +02:00
|
|
|
"key": "limit",
|
|
|
|
"defaultValue": 50
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Paginate",
|
|
|
|
"key": "paginate",
|
2022-08-30 11:53:58 +02:00
|
|
|
"defaultValue": true,
|
|
|
|
"info": "Pagination is only available for data stored in tables"
|
2021-03-16 14:54:34 +01:00
|
|
|
}
|
|
|
|
],
|
2021-03-29 17:37:17 +02:00
|
|
|
"context": {
|
2021-03-16 14:54:34 +01:00
|
|
|
"type": "static",
|
2022-03-15 12:16:51 +01:00
|
|
|
"values": [
|
2021-03-16 14:54:34 +01:00
|
|
|
{
|
|
|
|
"label": "Rows",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "rows",
|
|
|
|
"type": "array"
|
2021-03-16 14:54:34 +01:00
|
|
|
},
|
2022-03-15 12:16:51 +01:00
|
|
|
{
|
|
|
|
"label": "Extra Info",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "info",
|
|
|
|
"type": "string"
|
2022-03-15 12:16:51 +01:00
|
|
|
},
|
2021-03-16 14:54:34 +01:00
|
|
|
{
|
|
|
|
"label": "Rows Length",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "rowsLength",
|
|
|
|
"type": "number"
|
2021-03-16 14:54:34 +01:00
|
|
|
},
|
2021-03-18 18:34:51 +01:00
|
|
|
{
|
|
|
|
"label": "Schema",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "schema",
|
|
|
|
"type": "object"
|
2021-03-18 18:34:51 +01:00
|
|
|
},
|
2021-04-30 17:29:53 +02:00
|
|
|
{
|
|
|
|
"label": "Page Number",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "pageNumber",
|
|
|
|
"type": "number"
|
2021-03-16 14:54:34 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-03-24 16:51:57 +01:00
|
|
|
},
|
|
|
|
"table": {
|
|
|
|
"name": "Table",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Table",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-03-25 09:02:41 +01:00
|
|
|
"hasChildren": true,
|
2021-06-11 09:49:06 +02:00
|
|
|
"showEmptyState": false,
|
2021-03-24 16:51:57 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "dataProvider",
|
2021-11-05 13:38:33 +01:00
|
|
|
"label": "Data provider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "dataProvider",
|
|
|
|
"required": true
|
2021-03-24 16:51:57 +01:00
|
|
|
},
|
2021-03-24 20:06:02 +01:00
|
|
|
{
|
|
|
|
"type": "number",
|
2021-11-05 13:38:33 +01:00
|
|
|
"label": "Row count",
|
2021-03-24 20:06:02 +01:00
|
|
|
"key": "rowCount",
|
|
|
|
"defaultValue": 8
|
|
|
|
},
|
2021-03-29 16:36:26 +02:00
|
|
|
{
|
2022-02-10 17:42:15 +01:00
|
|
|
"type": "columns",
|
2021-03-29 16:36:26 +02:00
|
|
|
"label": "Columns",
|
|
|
|
"key": "columns",
|
2022-02-21 14:19:29 +01:00
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"nested": true
|
2021-03-29 16:36:26 +02:00
|
|
|
},
|
2021-09-16 22:15:09 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
|
|
|
"defaultValue": "spectrum--medium",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "spectrum--medium"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "spectrum--large"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-03-29 16:36:26 +02:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
2021-06-23 13:26:46 +02:00
|
|
|
"label": "Quiet",
|
|
|
|
"key": "quiet"
|
|
|
|
},
|
2022-02-18 14:08:18 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Compact",
|
|
|
|
"key": "compact"
|
|
|
|
},
|
2021-06-23 13:26:46 +02:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
2021-11-05 13:38:33 +01:00
|
|
|
"label": "Show auto columns",
|
2021-03-29 16:36:26 +02:00
|
|
|
"key": "showAutoColumns",
|
|
|
|
"defaultValue": false
|
2021-11-05 13:38:33 +01:00
|
|
|
},
|
2022-02-11 12:55:35 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Allow row selection",
|
|
|
|
"key": "allowSelectRows",
|
2022-08-30 11:53:58 +02:00
|
|
|
"defaultValue": false,
|
|
|
|
"info": "Row selection is only compatible with internal or SQL tables"
|
2022-02-11 12:55:35 +01:00
|
|
|
},
|
2021-11-05 13:38:33 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Link table rows",
|
|
|
|
"key": "linkRows"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Open link screens in modal",
|
|
|
|
"key": "linkPeek"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "url",
|
|
|
|
"label": "Link screen",
|
|
|
|
"key": "linkURL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"section": true,
|
|
|
|
"name": "Advanced",
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "ID column for linking (appended to URL)",
|
|
|
|
"key": "linkColumn",
|
|
|
|
"placeholder": "Default"
|
|
|
|
}
|
|
|
|
]
|
2021-03-24 16:51:57 +01:00
|
|
|
}
|
2021-03-25 09:02:41 +01:00
|
|
|
],
|
2021-03-29 17:37:17 +02:00
|
|
|
"context": {
|
|
|
|
"type": "schema"
|
2021-03-25 09:02:41 +01:00
|
|
|
}
|
2021-06-01 15:59:42 +02:00
|
|
|
},
|
|
|
|
"daterangepicker": {
|
|
|
|
"name": "Date Range",
|
2022-07-01 14:11:48 +02:00
|
|
|
"icon": "Calendar",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-06-01 15:59:42 +02:00
|
|
|
"hasChildren": false,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "dataProvider",
|
|
|
|
"label": "Provider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "dataProvider",
|
2022-08-30 11:53:58 +02:00
|
|
|
"required": true,
|
|
|
|
"info": "Your data provider will be automatically filtered to the given date range."
|
2021-06-01 15:59:42 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Date field",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "field",
|
|
|
|
"required": true
|
2021-06-02 09:38:19 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Default range",
|
|
|
|
"key": "defaultValue",
|
|
|
|
"options": [
|
|
|
|
"Last 1 day",
|
|
|
|
"Last 7 days",
|
|
|
|
"Last 30 days",
|
|
|
|
"Last 3 months",
|
|
|
|
"Last 6 months",
|
|
|
|
"Last 1 year"
|
|
|
|
],
|
|
|
|
"defaultValue": "Last 30 days"
|
2021-06-01 15:59:42 +02:00
|
|
|
}
|
|
|
|
]
|
2021-06-30 17:33:19 +02:00
|
|
|
},
|
|
|
|
"spectrumcard": {
|
2021-06-30 17:33:35 +02:00
|
|
|
"name": "Card",
|
2022-07-01 14:11:48 +02:00
|
|
|
"icon": "PersonalizationField",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-06-30 17:33:19 +02:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "title",
|
|
|
|
"label": "Title"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "subtitle",
|
|
|
|
"label": "Subtitle"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
2021-06-30 17:33:35 +02:00
|
|
|
"key": "description",
|
|
|
|
"label": "Description"
|
2021-06-30 17:33:19 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "imageURL",
|
|
|
|
"label": "Image URL"
|
|
|
|
},
|
2021-06-30 17:33:35 +02:00
|
|
|
{
|
|
|
|
"type": "url",
|
|
|
|
"key": "linkURL",
|
|
|
|
"label": "Link URL"
|
|
|
|
},
|
2021-11-10 16:52:36 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"key": "linkPeek",
|
|
|
|
"label": "Open link in modal"
|
|
|
|
},
|
2021-06-30 17:33:19 +02:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
2021-06-30 17:33:35 +02:00
|
|
|
"key": "horizontal",
|
|
|
|
"label": "Horizontal"
|
2021-11-08 15:35:58 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
2022-07-18 16:23:07 +02:00
|
|
|
"label": "Use button for click action",
|
2021-11-08 15:35:58 +01:00
|
|
|
"key": "showButton"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "buttonText",
|
2022-07-18 16:23:07 +02:00
|
|
|
"label": "Button text",
|
|
|
|
"dependsOn": "showButton"
|
2021-11-08 15:35:58 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "event",
|
2022-07-18 16:23:07 +02:00
|
|
|
"label": "Click action",
|
2021-11-08 15:35:58 +01:00
|
|
|
"key": "buttonOnClick"
|
2021-06-30 17:33:19 +02:00
|
|
|
}
|
|
|
|
]
|
2021-11-01 18:18:38 +01:00
|
|
|
},
|
2021-11-18 16:36:16 +01:00
|
|
|
"dynamicfilter": {
|
|
|
|
"name": "Dynamic Filter",
|
2022-07-01 14:11:48 +02:00
|
|
|
"icon": "Filter",
|
2021-11-22 15:48:34 +01:00
|
|
|
"showSettingsBar": true,
|
2021-11-18 16:36:16 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "dataProvider",
|
|
|
|
"label": "Provider",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "dataProvider",
|
|
|
|
"required": true
|
2021-11-18 16:43:51 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Allowed filter fields",
|
|
|
|
"key": "allowedFields",
|
|
|
|
"placeholder": "All fields"
|
|
|
|
},
|
2021-11-22 15:48:34 +01:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Button size",
|
|
|
|
"showInBar": true,
|
|
|
|
"key": "size",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Extra large",
|
|
|
|
"value": "XL"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "M"
|
2021-11-18 16:36:16 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-11-10 16:56:51 +01:00
|
|
|
"tableblock": {
|
2021-11-04 12:30:43 +01:00
|
|
|
"block": true,
|
2021-11-10 16:56:51 +01:00
|
|
|
"name": "Table block",
|
2021-11-01 18:18:38 +01:00
|
|
|
"icon": "Table",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-11-01 18:18:38 +01:00
|
|
|
"settings": [
|
2021-11-02 09:51:48 +01:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
2021-11-01 18:18:38 +01:00
|
|
|
{
|
|
|
|
"type": "dataSource",
|
|
|
|
"label": "Data",
|
2022-06-01 10:04:38 +02:00
|
|
|
"key": "dataSource",
|
|
|
|
"required": true
|
2021-11-01 18:18:38 +01:00
|
|
|
},
|
|
|
|
{
|
2022-01-14 18:42:14 +01:00
|
|
|
"type": "searchfield",
|
2021-11-01 18:18:38 +01:00
|
|
|
"label": "Search Columns",
|
|
|
|
"key": "searchColumns",
|
2022-08-30 11:53:58 +02:00
|
|
|
"placeholder": "Choose search columns",
|
2022-09-06 10:00:21 +02:00
|
|
|
"info": "Only the first 5 search columns will be used"
|
2021-11-01 18:18:38 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "filter",
|
|
|
|
"label": "Filtering",
|
|
|
|
"key": "filter"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Sort Column",
|
|
|
|
"key": "sortColumn"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Sort Order",
|
|
|
|
"key": "sortOrder",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Ascending",
|
|
|
|
"Descending"
|
|
|
|
],
|
2021-11-01 18:18:38 +01:00
|
|
|
"defaultValue": "Descending"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
|
|
|
"defaultValue": "spectrum--medium",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "spectrum--medium"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "spectrum--large"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-11-03 12:58:06 +01:00
|
|
|
{
|
2021-11-04 12:30:43 +01:00
|
|
|
"type": "boolean",
|
|
|
|
"label": "Paginate",
|
|
|
|
"key": "paginate",
|
|
|
|
"defaultValue": true
|
2021-11-03 12:58:06 +01:00
|
|
|
},
|
2021-11-01 18:18:38 +01:00
|
|
|
{
|
2021-11-04 12:30:43 +01:00
|
|
|
"section": true,
|
|
|
|
"name": "Table",
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "number",
|
2022-01-21 10:26:01 +01:00
|
|
|
"label": "Scroll Limit",
|
2021-11-04 12:30:43 +01:00
|
|
|
"key": "rowCount",
|
|
|
|
"defaultValue": 8
|
|
|
|
},
|
|
|
|
{
|
2022-02-14 14:11:01 +01:00
|
|
|
"type": "columns",
|
2021-11-04 12:30:43 +01:00
|
|
|
"label": "Table Columns",
|
|
|
|
"key": "tableColumns",
|
|
|
|
"dependsOn": "dataSource",
|
2022-03-24 11:25:27 +01:00
|
|
|
"placeholder": "All columns",
|
|
|
|
"nested": true
|
2021-11-04 12:30:43 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Quiet table variant",
|
|
|
|
"key": "quiet"
|
|
|
|
},
|
2022-02-21 16:45:39 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Compact",
|
|
|
|
"key": "compact"
|
|
|
|
},
|
2021-11-04 12:30:43 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Show auto columns",
|
2021-11-05 13:38:33 +01:00
|
|
|
"key": "showAutoColumns"
|
|
|
|
},
|
2022-02-11 12:55:35 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Allow row selection",
|
2022-08-30 11:53:58 +02:00
|
|
|
"key": "allowSelectRows",
|
|
|
|
"info": "Row selection is only compatible with internal or SQL tables"
|
2022-02-11 12:55:35 +01:00
|
|
|
},
|
2021-11-05 13:38:33 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Link table rows",
|
|
|
|
"key": "linkRows"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Open link in modal",
|
|
|
|
"key": "linkPeek"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "url",
|
|
|
|
"label": "Link screen",
|
|
|
|
"key": "linkURL"
|
2021-11-04 12:30:43 +01:00
|
|
|
}
|
|
|
|
]
|
2021-11-01 18:18:38 +01:00
|
|
|
},
|
|
|
|
{
|
2021-11-04 12:30:43 +01:00
|
|
|
"section": true,
|
2021-11-08 15:35:58 +01:00
|
|
|
"name": "Title button",
|
2021-11-04 12:30:43 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"key": "showTitleButton",
|
2021-11-10 16:52:36 +01:00
|
|
|
"label": "Show link button",
|
2021-11-04 12:30:43 +01:00
|
|
|
"defaultValue": false
|
|
|
|
},
|
2021-11-10 16:52:36 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Open link in modal",
|
|
|
|
"key": "titleButtonPeek"
|
|
|
|
},
|
2021-11-04 12:30:43 +01:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "titleButtonText",
|
2021-11-08 15:35:58 +01:00
|
|
|
"label": "Button text"
|
2021-11-04 12:30:43 +01:00
|
|
|
},
|
|
|
|
{
|
2021-11-10 16:52:36 +01:00
|
|
|
"type": "url",
|
|
|
|
"label": "Button link",
|
|
|
|
"key": "titleButtonURL"
|
2021-11-04 12:30:43 +01:00
|
|
|
}
|
|
|
|
]
|
2021-11-05 13:38:33 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"section": true,
|
|
|
|
"name": "Advanced",
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "ID column for linking (appended to URL)",
|
|
|
|
"key": "linkColumn",
|
|
|
|
"placeholder": "Default"
|
|
|
|
}
|
|
|
|
]
|
2021-11-01 18:18:38 +01:00
|
|
|
}
|
2021-11-08 15:35:58 +01:00
|
|
|
]
|
|
|
|
},
|
2021-11-10 16:56:51 +01:00
|
|
|
"cardsblock": {
|
2021-11-08 15:35:58 +01:00
|
|
|
"block": true,
|
2021-11-10 16:56:51 +01:00
|
|
|
"name": "Cards block",
|
2022-07-25 12:57:27 +02:00
|
|
|
"icon": "PersonalizationField",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2021-11-08 15:35:58 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "dataSource",
|
|
|
|
"label": "Data",
|
2022-06-01 10:04:38 +02:00
|
|
|
"key": "dataSource",
|
|
|
|
"required": true
|
2021-11-08 15:35:58 +01:00
|
|
|
},
|
|
|
|
{
|
2022-01-17 15:03:47 +01:00
|
|
|
"type": "searchfield",
|
2021-11-08 15:35:58 +01:00
|
|
|
"label": "Search Columns",
|
|
|
|
"key": "searchColumns",
|
2022-08-30 11:53:58 +02:00
|
|
|
"placeholder": "Choose search columns",
|
2022-09-06 10:00:21 +02:00
|
|
|
"info": "Only the first 5 search columns will be used"
|
2021-11-08 15:35:58 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "filter",
|
|
|
|
"label": "Filtering",
|
|
|
|
"key": "filter"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Sort Column",
|
|
|
|
"key": "sortColumn"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Sort Order",
|
|
|
|
"key": "sortOrder",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Ascending",
|
|
|
|
"Descending"
|
|
|
|
],
|
2021-11-08 15:35:58 +01:00
|
|
|
"defaultValue": "Descending"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"label": "Limit",
|
|
|
|
"key": "limit",
|
2021-11-08 17:54:43 +01:00
|
|
|
"defaultValue": 8
|
2021-11-08 15:35:58 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Paginate",
|
|
|
|
"key": "paginate"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"section": true,
|
|
|
|
"name": "Cards",
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "cardTitle",
|
|
|
|
"label": "Title",
|
|
|
|
"nested": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "cardSubtitle",
|
|
|
|
"label": "Subtitle",
|
|
|
|
"nested": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "cardDescription",
|
|
|
|
"label": "Description",
|
|
|
|
"nested": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "cardImageURL",
|
|
|
|
"label": "Image URL",
|
|
|
|
"nested": true
|
2021-11-10 16:52:36 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"key": "linkCardTitle",
|
|
|
|
"label": "Link card title"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"key": "cardPeek",
|
|
|
|
"label": "Open link in modal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "url",
|
|
|
|
"label": "Link screen",
|
|
|
|
"key": "cardURL",
|
|
|
|
"nested": true
|
2021-11-08 15:35:58 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"key": "cardHorizontal",
|
|
|
|
"label": "Horizontal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
2022-07-18 16:23:07 +02:00
|
|
|
"label": "Use button for click action",
|
2021-11-08 15:35:58 +01:00
|
|
|
"key": "showCardButton"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "cardButtonText",
|
|
|
|
"label": "Button text",
|
2022-07-18 16:23:07 +02:00
|
|
|
"nested": true,
|
|
|
|
"dependsOn": "showCardButton"
|
2021-11-08 15:35:58 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "event",
|
2022-07-18 16:23:07 +02:00
|
|
|
"label": "Click action",
|
2021-11-08 15:35:58 +01:00
|
|
|
"key": "cardButtonOnClick",
|
|
|
|
"nested": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"section": true,
|
|
|
|
"name": "Title button",
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"key": "showTitleButton",
|
2021-11-10 16:52:36 +01:00
|
|
|
"label": "Show link button"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Open link in modal",
|
|
|
|
"key": "titleButtonPeek"
|
2021-11-08 15:35:58 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "titleButtonText",
|
|
|
|
"label": "Button text"
|
|
|
|
},
|
|
|
|
{
|
2021-11-10 16:52:36 +01:00
|
|
|
"type": "url",
|
|
|
|
"label": "Button link",
|
|
|
|
"key": "titleButtonURL"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"section": true,
|
|
|
|
"name": "Advanced",
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "ID column for linking (appended to URL)",
|
|
|
|
"key": "linkColumn",
|
|
|
|
"placeholder": "Default"
|
2021-11-08 15:35:58 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-11-04 12:30:43 +01:00
|
|
|
],
|
|
|
|
"context": {
|
2021-11-08 15:35:58 +01:00
|
|
|
"type": "schema",
|
|
|
|
"suffix": "repeater"
|
2021-11-04 12:30:43 +01:00
|
|
|
}
|
2021-11-12 16:19:25 +01:00
|
|
|
},
|
2021-11-15 19:07:51 +01:00
|
|
|
"repeaterblock": {
|
2022-08-24 10:23:35 +02:00
|
|
|
"block": true,
|
2021-11-15 19:07:51 +01:00
|
|
|
"name": "Repeater block",
|
2021-11-12 16:19:25 +01:00
|
|
|
"icon": "ViewList",
|
2022-05-23 17:12:56 +02:00
|
|
|
"illegalChildren": [
|
|
|
|
"section"
|
|
|
|
],
|
2021-11-12 16:19:25 +01:00
|
|
|
"hasChildren": true,
|
|
|
|
"showSettingsBar": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "dataSource",
|
|
|
|
"label": "Data",
|
2022-06-01 10:04:38 +02:00
|
|
|
"key": "dataSource",
|
|
|
|
"required": true
|
2021-11-12 16:19:25 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "filter",
|
|
|
|
"label": "Filtering",
|
|
|
|
"key": "filter"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Sort Column",
|
|
|
|
"key": "sortColumn"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Sort Order",
|
|
|
|
"key": "sortOrder",
|
2022-05-23 17:12:56 +02:00
|
|
|
"options": [
|
|
|
|
"Ascending",
|
|
|
|
"Descending"
|
|
|
|
],
|
2021-11-12 16:19:25 +01:00
|
|
|
"defaultValue": "Descending"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"label": "Limit",
|
|
|
|
"key": "limit",
|
|
|
|
"defaultValue": 10
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Paginate",
|
|
|
|
"key": "paginate"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"section": true,
|
|
|
|
"name": "Layout settings",
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Empty Text",
|
|
|
|
"key": "noRowsMessage",
|
|
|
|
"defaultValue": "No rows found"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Direction",
|
|
|
|
"key": "direction",
|
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "buttons",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Column",
|
|
|
|
"value": "column",
|
|
|
|
"barIcon": "ViewRow",
|
|
|
|
"barTitle": "Column layout"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Row",
|
|
|
|
"value": "row",
|
|
|
|
"barIcon": "ViewColumn",
|
|
|
|
"barTitle": "Row layout"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "column"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Horiz. Align",
|
|
|
|
"key": "hAlign",
|
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "buttons",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Left",
|
|
|
|
"value": "left",
|
|
|
|
"barIcon": "AlignLeft",
|
|
|
|
"barTitle": "Align left"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Center",
|
|
|
|
"value": "center",
|
|
|
|
"barIcon": "AlignCenter",
|
|
|
|
"barTitle": "Align center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right",
|
|
|
|
"value": "right",
|
|
|
|
"barIcon": "AlignRight",
|
|
|
|
"barTitle": "Align right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Stretch",
|
|
|
|
"value": "stretch",
|
|
|
|
"barIcon": "MoveLeftRight",
|
|
|
|
"barTitle": "Align stretched horizontally"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "stretch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Vert. Align",
|
|
|
|
"key": "vAlign",
|
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "buttons",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Top",
|
|
|
|
"value": "top",
|
|
|
|
"barIcon": "AlignTop",
|
|
|
|
"barTitle": "Align top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Middle",
|
|
|
|
"value": "middle",
|
|
|
|
"barIcon": "AlignMiddle",
|
|
|
|
"barTitle": "Align middle"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Bottom",
|
|
|
|
"value": "bottom",
|
|
|
|
"barIcon": "AlignBottom",
|
|
|
|
"barTitle": "Align bottom"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Stretch",
|
|
|
|
"value": "stretch",
|
|
|
|
"barIcon": "MoveUpDown",
|
|
|
|
"barTitle": "Align stretched vertically"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Gap",
|
|
|
|
"key": "gap",
|
|
|
|
"showInBar": true,
|
|
|
|
"barStyle": "picker",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "None",
|
|
|
|
"value": "N"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "M"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"type": "static",
|
|
|
|
"suffix": "provider",
|
2022-03-15 12:16:51 +01:00
|
|
|
"values": [
|
2021-11-12 16:19:25 +01:00
|
|
|
{
|
|
|
|
"label": "Rows",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "rows",
|
|
|
|
"type": "array"
|
2021-11-12 16:19:25 +01:00
|
|
|
},
|
2022-03-15 12:16:51 +01:00
|
|
|
{
|
2021-12-15 20:20:19 +01:00
|
|
|
"label": "Extra Info",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "info",
|
|
|
|
"type": "string"
|
2021-12-15 20:20:19 +01:00
|
|
|
},
|
2021-11-12 16:19:25 +01:00
|
|
|
{
|
|
|
|
"label": "Rows Length",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "rowsLength",
|
|
|
|
"type": "number"
|
2021-11-12 16:19:25 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Schema",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "schema",
|
|
|
|
"type": "object"
|
2021-11-12 16:19:25 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Page Number",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "pageNumber",
|
|
|
|
"type": "number"
|
2021-11-12 16:19:25 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-11-30 09:47:21 +01:00
|
|
|
{
|
|
|
|
"type": "static",
|
|
|
|
"suffix": "repeater",
|
2022-03-15 12:16:51 +01:00
|
|
|
"values": [
|
2021-11-30 09:47:21 +01:00
|
|
|
{
|
|
|
|
"label": "Row Index",
|
2022-08-30 11:16:15 +02:00
|
|
|
"key": "index",
|
|
|
|
"type": "number"
|
2021-11-30 09:47:21 +01:00
|
|
|
}
|
2022-03-15 12:16:51 +01:00
|
|
|
]
|
2021-11-30 09:47:21 +01:00
|
|
|
},
|
2021-11-12 16:19:25 +01:00
|
|
|
{
|
|
|
|
"type": "schema",
|
|
|
|
"suffix": "repeater"
|
|
|
|
}
|
|
|
|
]
|
2022-01-11 15:01:21 +01:00
|
|
|
},
|
2022-02-02 22:23:28 +01:00
|
|
|
"markdownviewer": {
|
|
|
|
"name": "Markdown Viewer",
|
2022-07-01 14:11:48 +02:00
|
|
|
"icon": "Preview",
|
2022-05-23 17:12:56 +02:00
|
|
|
"styles": [
|
|
|
|
"size"
|
|
|
|
],
|
2022-02-02 22:23:28 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
2022-02-03 12:54:07 +01:00
|
|
|
"label": "Markdown",
|
2022-05-23 17:12:56 +02:00
|
|
|
"key": "value",
|
|
|
|
"required": true
|
2022-02-02 22:23:28 +01:00
|
|
|
}
|
|
|
|
]
|
2022-04-01 13:51:23 +02:00
|
|
|
},
|
|
|
|
"formblock": {
|
|
|
|
"name": "Form Block",
|
|
|
|
"icon": "Form",
|
|
|
|
"styles": ["size"],
|
|
|
|
"block": true,
|
2022-08-25 10:29:47 +02:00
|
|
|
"info": "Form blocks are only compatible with internal or SQL tables",
|
2022-04-01 13:51:23 +02:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Type",
|
|
|
|
"key": "actionType",
|
2022-08-23 15:58:56 +02:00
|
|
|
"options": ["Create", "Update", "View"],
|
2022-04-01 13:51:23 +02:00
|
|
|
"defaultValue": "Create"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "table",
|
2022-08-23 15:58:56 +02:00
|
|
|
"label": "Table",
|
2022-04-01 13:51:23 +02:00
|
|
|
"key": "dataSource"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
2022-08-23 16:08:39 +02:00
|
|
|
"label": "Row ID",
|
2022-04-01 13:51:23 +02:00
|
|
|
"key": "rowId",
|
2022-08-25 10:24:27 +02:00
|
|
|
"nested": true,
|
2022-04-01 13:51:23 +02:00
|
|
|
"dependsOn": {
|
|
|
|
"setting": "actionType",
|
2022-08-23 16:08:39 +02:00
|
|
|
"value": "Create",
|
|
|
|
"invert": true
|
2022-04-01 13:51:23 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title",
|
|
|
|
"nested": true
|
|
|
|
},
|
2022-08-23 16:08:39 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "spectrum--medium"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "spectrum--large"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "spectrum--medium"
|
|
|
|
},
|
2022-04-01 13:51:23 +02:00
|
|
|
{
|
|
|
|
"section": true,
|
|
|
|
"name": "Fields",
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Fields",
|
|
|
|
"key": "fields"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Field labels",
|
|
|
|
"key": "labelPosition",
|
|
|
|
"defaultValue": "left",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Left",
|
|
|
|
"value": "left"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Above",
|
|
|
|
"value": "above"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
2022-08-23 15:58:56 +02:00
|
|
|
"defaultValue": false,
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "actionType",
|
|
|
|
"value": "View",
|
|
|
|
"invert": true
|
|
|
|
}
|
2022-04-01 13:51:23 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"section": true,
|
|
|
|
"name": "Buttons",
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Show save button",
|
|
|
|
"key": "showSaveButton",
|
2022-08-23 15:58:56 +02:00
|
|
|
"defaultValue": true,
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "actionType",
|
|
|
|
"value": "View",
|
|
|
|
"invert": true
|
|
|
|
}
|
2022-04-01 13:51:23 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Show delete button",
|
|
|
|
"key": "showDeleteButton",
|
|
|
|
"defaultValue": false,
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "actionType",
|
|
|
|
"value": "Update"
|
|
|
|
}
|
2022-08-23 15:58:56 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "url",
|
|
|
|
"label": "Navigate after button press",
|
|
|
|
"key": "actionUrl",
|
|
|
|
"placeholder": "Choose a screen",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "actionType",
|
|
|
|
"value": "View",
|
|
|
|
"invert": true
|
|
|
|
}
|
2022-04-01 13:51:23 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"context": [
|
|
|
|
{
|
|
|
|
"type": "form",
|
|
|
|
"suffix": "form"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "schema",
|
|
|
|
"suffix": "repeater"
|
|
|
|
}
|
|
|
|
]
|
2021-01-12 21:00:35 +01:00
|
|
|
}
|
2022-05-23 17:12:56 +02:00
|
|
|
}
|