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