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,
|
|
|
|
"devicePreview": 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,
|
2021-06-23 23:26:46 +12: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",
|
|
|
|
"options": ["Top", "Left", "None"],
|
|
|
|
"defaultValue": "Top"
|
|
|
|
},
|
2021-06-18 00:05:12 +12:00
|
|
|
{
|
|
|
|
"type": "select",
|
2021-06-18 00:17:24 +12:00
|
|
|
"label": "Width",
|
|
|
|
"key": "width",
|
2021-07-10 22:56:32 +12: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",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "Sandbox",
|
2021-01-13 09:00:35 +13:00
|
|
|
"hasChildren": true,
|
2021-06-08 19:00:54 +12:00
|
|
|
"showSettingsBar": true,
|
2021-06-23 23:26:46 +12: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",
|
2021-06-11 22:37:05 +12: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",
|
2021-06-11 22:37:05 +12: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"
|
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,
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-06-15 04:41:18 +12:00
|
|
|
"showEmptyState": false,
|
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",
|
|
|
|
"editable": false
|
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-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-01-14 22:45:09 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Text",
|
|
|
|
"key": "text"
|
|
|
|
},
|
2021-06-17 05:14:23 +12:00
|
|
|
{
|
|
|
|
"type": "select",
|
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"
|
|
|
|
}, {
|
|
|
|
"label": "Secondary",
|
|
|
|
"value": "secondary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Action",
|
|
|
|
"value": "cta"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Warning",
|
|
|
|
"value": "warning"
|
2021-08-13 23:22:35 +12:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Over Background",
|
|
|
|
"value": "overBackground"
|
2021-06-25 19:55:45 +12:00
|
|
|
}
|
|
|
|
],
|
2021-06-17 05:14:23 +12:00
|
|
|
"defaultValue": "primary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"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",
|
|
|
|
"key": "quiet"
|
|
|
|
},
|
2021-01-14 22:45:09 +13:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
2021-01-15 04:39:50 +13:00
|
|
|
"key": "disabled"
|
2021-01-14 22:45:09 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "event",
|
|
|
|
"label": "On Click",
|
|
|
|
"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",
|
|
|
|
"illegalChildren": ["section"],
|
|
|
|
"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.",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "ViewList",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-01-15 04:39:50 +13:00
|
|
|
"hasChildren": true,
|
2021-06-24 22:44:33 +12:00
|
|
|
"showSettingsBar": true,
|
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",
|
2021-03-17 08:11:00 +13:00
|
|
|
"key": "dataProvider"
|
2021-02-05 12:17:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
2021-02-11 07:34:45 +13:00
|
|
|
"label": "Empty Text",
|
|
|
|
"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",
|
|
|
|
"barIcon": "ViewRow",
|
|
|
|
"barTitle": "Column layout"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Row",
|
|
|
|
"value": "row",
|
|
|
|
"barIcon": "ViewColumn",
|
|
|
|
"barTitle": "Row layout"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"defaultValue": "column"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Horiz. Align",
|
|
|
|
"key": "hAlign",
|
|
|
|
"showInBar": true,
|
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",
|
|
|
|
"label": "Vert. Align",
|
|
|
|
"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-03-30 04:37:17 +13:00
|
|
|
"context": {
|
|
|
|
"type": "schema"
|
2021-03-17 02:54:34 +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.",
|
2021-06-19 01:03:55 +12: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": {
|
|
|
|
"name": "Vertical Card",
|
|
|
|
"description": "A basic card component that can contain content and actions.",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "ViewColumn",
|
2021-06-19 01:03:55 +12: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",
|
|
|
|
"label": "Link Text",
|
|
|
|
"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",
|
|
|
|
"label": "Link Color",
|
|
|
|
"key": "linkColor",
|
|
|
|
"defaultValue": "#000"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Hover Color",
|
|
|
|
"key": "linkHoverColor",
|
|
|
|
"defaultValue": "#222"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Image Height",
|
|
|
|
"key": "imageHeight",
|
|
|
|
"options": ["auto", "12rem", "16rem", "20rem", "24rem"],
|
|
|
|
"defaultValue": "auto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Card Width",
|
|
|
|
"key": "cardWidth",
|
|
|
|
"options": ["16rem", "20rem", "24rem"],
|
|
|
|
"defaultValue": "20rem"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"text": {
|
|
|
|
"name": "Paragraph",
|
|
|
|
"description": "A component for displaying paragraph text.",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "TextParagraph",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-06-24 01:21:37 +12:00
|
|
|
"showSettingsBar": true,
|
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",
|
|
|
|
"options": [{
|
2021-08-13 23:07:45 +12:00
|
|
|
"label": "Extra Small",
|
|
|
|
"value": "XS"
|
|
|
|
}, {
|
2021-06-24 01:21:37 +12:00
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
}, {
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
}, {
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
2021-08-13 23:07:45 +12:00
|
|
|
}, {
|
|
|
|
"label": "Extra Large",
|
|
|
|
"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",
|
|
|
|
"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",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-06-24 01:21:37 +12:00
|
|
|
"showSettingsBar": true,
|
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",
|
|
|
|
"options": [{
|
2021-08-13 23:07:45 +12:00
|
|
|
"label": "Extra Small",
|
|
|
|
"value": "XS"
|
|
|
|
}, {
|
2021-06-24 01:21:37 +12:00
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
}, {
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
}, {
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
2021-08-13 23:07:45 +12:00
|
|
|
}, {
|
|
|
|
"label": "Extra Large",
|
|
|
|
"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",
|
|
|
|
"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
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"name": "Image",
|
|
|
|
"description": "A basic component for displaying images",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "Image",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-06-26 02:29:24 +12:00
|
|
|
"styles": ["size"],
|
2021-01-20 00:49:52 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "URL",
|
|
|
|
"key": "url"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
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",
|
2021-06-26 02:36:51 +12:00
|
|
|
"styles": ["size"],
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-02-26 22:58:11 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "URL",
|
|
|
|
"key": "url"
|
2021-03-02 03:05:54 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Position",
|
|
|
|
"key": "position",
|
|
|
|
"defaultValue": "center center",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Center Top",
|
|
|
|
"value": "center top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Center",
|
|
|
|
"value": "center center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Center Bottom",
|
|
|
|
"value": "center bottom"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Left Top",
|
|
|
|
"value": "left top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Left Center",
|
|
|
|
"value": "left center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Left Bottom",
|
|
|
|
"value": "left bottom"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right Top",
|
|
|
|
"value": "right top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right Center",
|
|
|
|
"value": "right center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right Bottom",
|
|
|
|
"value": "right bottom"
|
|
|
|
}
|
|
|
|
]
|
2021-02-26 22:58:11 +13:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-20 00:49:52 +13:00
|
|
|
"icon": {
|
|
|
|
"name": "Icon",
|
|
|
|
"description": "A basic component for displaying icons",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "Bell",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-01-20 00:49:52 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "icon",
|
|
|
|
"label": "Icon",
|
|
|
|
"key": "icon"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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": [
|
2021-06-30 19:46:18 +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",
|
|
|
|
"label": "On Click",
|
|
|
|
"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",
|
2021-06-19 01:03:55 +12: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-06-26 02:56:22 +12:00
|
|
|
"showSettingsBar": true,
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
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",
|
|
|
|
"label": "New Tab",
|
|
|
|
"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",
|
|
|
|
"options": [{
|
|
|
|
"label": "Small",
|
|
|
|
"value": "S"
|
|
|
|
}, {
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "M"
|
|
|
|
}, {
|
|
|
|
"label": "Large",
|
|
|
|
"value": "L"
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
|
|
|
"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": {
|
|
|
|
"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-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
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",
|
|
|
|
"label": "Link Text",
|
|
|
|
"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",
|
|
|
|
"label": "Link Color",
|
|
|
|
"key": "linkColor",
|
|
|
|
"defaultValue": "#000"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Hover Color",
|
|
|
|
"key": "linkHoverColor",
|
|
|
|
"defaultValue": "#222"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Card Width",
|
|
|
|
"key": "cardWidth",
|
|
|
|
"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",
|
|
|
|
"label": "Image Width",
|
|
|
|
"key": "imageWidth",
|
|
|
|
"options": ["auto", "8rem", "12rem", "16rem"],
|
|
|
|
"defaultValue": "8rem"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Image Height",
|
|
|
|
"key": "imageHeight",
|
|
|
|
"options": ["auto", "8rem", "12rem", "16rem", "auto"],
|
|
|
|
"defaultValue": "auto"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"cardstat": {
|
|
|
|
"name": "Stat Card",
|
|
|
|
"description": "A card component for displaying numbers.",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "Card",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-01-20 00:49:52 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title",
|
|
|
|
"placeholder": "Total Revenue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Value",
|
|
|
|
"key": "value",
|
|
|
|
"placeholder": "$1,981,983"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label",
|
|
|
|
"placeholder": "Stripe"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"embed": {
|
|
|
|
"name": "Embed",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "Code",
|
2021-01-20 00:49:52 +13:00
|
|
|
"description": "Embed content from 3rd party sources",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-06-26 03:04:42 +12:00
|
|
|
"styles": ["size"],
|
2021-01-20 00:49:52 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Embed",
|
|
|
|
"key": "embed"
|
|
|
|
}
|
|
|
|
]
|
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",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
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",
|
2021-03-19 06:34:51 +13:00
|
|
|
"key": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2021-03-19 06:34:51 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Data Cols.",
|
|
|
|
"key": "valueColumns",
|
2021-03-19 06:34:51 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Format",
|
|
|
|
"key": "yAxisUnits",
|
|
|
|
"options": ["Default", "Thousands", "Millions"],
|
|
|
|
"defaultValue": "Default"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Y Axis Label",
|
|
|
|
"key": "yAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "X Axis Label",
|
|
|
|
"key": "xAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Width",
|
|
|
|
"key": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Height",
|
|
|
|
"key": "height",
|
|
|
|
"defaultValue": "400"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Colours",
|
|
|
|
"key": "palette",
|
|
|
|
"defaultValue": "Palette 1",
|
|
|
|
"options": [
|
|
|
|
"Palette 1",
|
|
|
|
"Palette 2",
|
|
|
|
"Palette 3",
|
|
|
|
"Palette 4",
|
|
|
|
"Palette 5",
|
|
|
|
"Palette 6",
|
|
|
|
"Palette 7",
|
|
|
|
"Palette 8",
|
|
|
|
"Palette 9",
|
|
|
|
"Palette 10"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
|
|
|
"label": "Data Labels",
|
|
|
|
"key": "dataLabels",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Legend",
|
|
|
|
"key": "legend",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line": {
|
|
|
|
"name": "Line Chart",
|
|
|
|
"description": "Line chart",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "GraphTrend",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
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",
|
2021-03-19 06:34:51 +13:00
|
|
|
"key": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2021-03-19 06:34:51 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Data Cols.",
|
|
|
|
"key": "valueColumns",
|
2021-03-19 06:34:51 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Format",
|
|
|
|
"key": "yAxisUnits",
|
|
|
|
"options": ["Default", "Thousands", "Millions"],
|
|
|
|
"defaultValue": "Default"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Y Axis Label",
|
|
|
|
"key": "yAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "X Axis Label",
|
|
|
|
"key": "xAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Width",
|
|
|
|
"key": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Height",
|
|
|
|
"key": "height",
|
|
|
|
"defaultValue": "400"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Colours",
|
|
|
|
"key": "palette",
|
|
|
|
"defaultValue": "Palette 1",
|
|
|
|
"options": [
|
|
|
|
"Palette 1",
|
|
|
|
"Palette 2",
|
|
|
|
"Palette 3",
|
|
|
|
"Palette 4",
|
|
|
|
"Palette 5",
|
|
|
|
"Palette 6",
|
|
|
|
"Palette 7",
|
|
|
|
"Palette 8",
|
|
|
|
"Palette 9",
|
|
|
|
"Palette 10"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Curve",
|
|
|
|
"key": "curve",
|
|
|
|
"options": ["Smooth", "Straight", "Stepline"],
|
|
|
|
"defaultValue": "Smooth"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Data Labels",
|
|
|
|
"key": "dataLabels",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Legend",
|
|
|
|
"key": "legend",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"area": {
|
|
|
|
"name": "Area Chart",
|
|
|
|
"description": "Line chart",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "GraphAreaStacked",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
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",
|
2021-03-19 06:34:51 +13:00
|
|
|
"key": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2021-03-19 06:34:51 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Data Cols.",
|
|
|
|
"key": "valueColumns",
|
2021-03-19 06:34:51 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Format",
|
|
|
|
"key": "yAxisUnits",
|
|
|
|
"options": ["Default", "Thousands", "Millions"],
|
|
|
|
"defaultValue": "Default"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Y Axis Label",
|
|
|
|
"key": "yAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "X Axis Label",
|
|
|
|
"key": "xAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Width",
|
|
|
|
"key": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Height",
|
|
|
|
"key": "height",
|
|
|
|
"defaultValue": "400"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Colours",
|
|
|
|
"key": "palette",
|
|
|
|
"defaultValue": "Palette 1",
|
|
|
|
"options": [
|
|
|
|
"Palette 1",
|
|
|
|
"Palette 2",
|
|
|
|
"Palette 3",
|
|
|
|
"Palette 4",
|
|
|
|
"Palette 5",
|
|
|
|
"Palette 6",
|
|
|
|
"Palette 7",
|
|
|
|
"Palette 8",
|
|
|
|
"Palette 9",
|
|
|
|
"Palette 10"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Curve",
|
|
|
|
"key": "curve",
|
|
|
|
"options": ["Smooth", "Straight", "Stepline"],
|
|
|
|
"defaultValue": "Smooth"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Data Labels",
|
|
|
|
"key": "dataLabels",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Legend",
|
|
|
|
"key": "legend",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Stacked",
|
|
|
|
"key": "stacked",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Gradient",
|
|
|
|
"key": "gradient",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"pie": {
|
|
|
|
"name": "Pie Chart",
|
|
|
|
"description": "Pie chart",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "GraphPie",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
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",
|
2021-03-19 06:34:51 +13:00
|
|
|
"key": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2021-03-19 06:34:51 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Data Col.",
|
|
|
|
"key": "valueColumn",
|
2021-03-19 06:34:51 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Width",
|
|
|
|
"key": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Height",
|
|
|
|
"key": "height",
|
|
|
|
"defaultValue": "400"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Colours",
|
|
|
|
"key": "palette",
|
|
|
|
"defaultValue": "Palette 1",
|
|
|
|
"options": [
|
|
|
|
"Palette 1",
|
|
|
|
"Palette 2",
|
|
|
|
"Palette 3",
|
|
|
|
"Palette 4",
|
|
|
|
"Palette 5",
|
|
|
|
"Palette 6",
|
|
|
|
"Palette 7",
|
|
|
|
"Palette 8",
|
|
|
|
"Palette 9",
|
|
|
|
"Palette 10"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Data Labels",
|
|
|
|
"key": "dataLabels",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Legend",
|
|
|
|
"key": "legend",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"donut": {
|
|
|
|
"name": "Donut Chart",
|
|
|
|
"description": "Donut chart",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "GraphDonut",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
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",
|
2021-03-19 06:34:51 +13:00
|
|
|
"key": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2021-03-19 06:34:51 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Data Col.",
|
|
|
|
"key": "valueColumn",
|
2021-03-19 06:34:51 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Width",
|
|
|
|
"key": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Height",
|
|
|
|
"key": "height",
|
|
|
|
"defaultValue": "400"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Colours",
|
|
|
|
"key": "palette",
|
|
|
|
"defaultValue": "Palette 1",
|
|
|
|
"options": [
|
|
|
|
"Palette 1",
|
|
|
|
"Palette 2",
|
|
|
|
"Palette 3",
|
|
|
|
"Palette 4",
|
|
|
|
"Palette 5",
|
|
|
|
"Palette 6",
|
|
|
|
"Palette 7",
|
|
|
|
"Palette 8",
|
|
|
|
"Palette 9",
|
|
|
|
"Palette 10"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Data Labels",
|
|
|
|
"key": "dataLabels",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Legend",
|
|
|
|
"key": "legend",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"candlestick": {
|
|
|
|
"name": "Candlestick Chart",
|
|
|
|
"description": "Candlestick chart",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "GraphBarVerticalStacked",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
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",
|
2021-03-19 06:34:51 +13:00
|
|
|
"key": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Date Col.",
|
|
|
|
"key": "dateColumn",
|
2021-03-19 06:34:51 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Open Col.",
|
|
|
|
"key": "openColumn",
|
2021-03-19 06:34:51 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Close Col.",
|
|
|
|
"key": "closeColumn",
|
2021-03-19 07:45:11 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "High Col.",
|
|
|
|
"key": "highColumn",
|
2021-03-19 07:45:11 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Low Col.",
|
|
|
|
"key": "lowColumn",
|
2021-03-19 07:45:11 +13:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-20 08:24:49 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Format",
|
|
|
|
"key": "yAxisUnits",
|
|
|
|
"options": ["Default", "Thousands", "Millions"],
|
|
|
|
"defaultValue": "Default"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Y Axis Label",
|
|
|
|
"key": "yAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "X Axis Label",
|
|
|
|
"key": "xAxisLabel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Width",
|
|
|
|
"key": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Height",
|
|
|
|
"key": "height",
|
|
|
|
"defaultValue": "400"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
}
|
|
|
|
]
|
2021-01-26 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,
|
2021-08-21 02:16:20 +12:00
|
|
|
"illegalChildren": ["section", "form"],
|
2021-03-19 07:45:11 +13:00
|
|
|
"actions": [
|
2021-07-27 01:05:22 +12:00
|
|
|
"ValidateForm",
|
2021-08-19 01:58:58 +12:00
|
|
|
"ClearForm",
|
2021-08-20 20:54:54 +12:00
|
|
|
"ChangeFormStep"
|
2021-03-19 07:45:11 +13:00
|
|
|
],
|
2021-07-05 21:19:07 +12:00
|
|
|
"styles": ["size"],
|
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",
|
2021-06-09 23:53:12 +12:00
|
|
|
"options": ["Create", "Update"],
|
|
|
|
"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"
|
|
|
|
}, {
|
|
|
|
"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",
|
|
|
|
"values": [
|
|
|
|
{
|
|
|
|
"label": "Valid",
|
2021-08-23 22:10:07 +12:00
|
|
|
"key": "__valid"
|
2021-08-19 01:58:58 +12:00
|
|
|
},
|
|
|
|
{
|
2021-08-19 23:53:31 +12:00
|
|
|
"label": "Current Step",
|
2021-08-23 22:10:07 +12:00
|
|
|
"key": "__currentStep"
|
2021-08-19 23:53:31 +12:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Current Step Valid",
|
2021-08-23 22:10:07 +12:00
|
|
|
"key": "__currentStepValid"
|
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,
|
2021-08-21 02:16:20 +12:00
|
|
|
"illegalChildren": ["section", "form", "form step"],
|
2021-08-19 01:58:58 +12:00
|
|
|
"styles": ["size"],
|
|
|
|
"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",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-07-30 02:21:02 +12:00
|
|
|
"styles": ["size"],
|
2021-01-28 07:25:57 +13:00
|
|
|
"hasChildren": true,
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
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",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-07-30 02:21:02 +12:00
|
|
|
"styles": ["size"],
|
2021-01-26 21:55:44 +13:00
|
|
|
"settings": [
|
2021-01-27 03:40:44 +13:00
|
|
|
{
|
|
|
|
"type": "field/string",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
},
|
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-27 03:40:44 +13:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"numberfield": {
|
|
|
|
"name": "Number Field",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "123",
|
2021-07-30 02:21:02 +12:00
|
|
|
"styles": ["size"],
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-01-27 03:40:44 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/number",
|
2021-01-26 21:55:44 +13:00
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
},
|
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",
|
2021-07-30 02:21:02 +12:00
|
|
|
"styles": ["size"],
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-03-02 03:13:11 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/string",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
},
|
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",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "ViewList",
|
2021-07-30 02:21:02 +12:00
|
|
|
"styles": ["size"],
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-01-27 03:40:44 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/options",
|
2021-10-15 04:36:45 +13:00
|
|
|
"fieldTypes": ["field/options", "field/string"],
|
2021-01-27 03:40:44 +13:00
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
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
|
|
|
},
|
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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
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"
|
|
|
|
}
|
|
|
|
},
|
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",
|
|
|
|
"label": "Options Provider",
|
|
|
|
"key": "dataProvider",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "provider"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Column",
|
|
|
|
"key": "labelColumn",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "provider"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Value Column",
|
|
|
|
"key": "valueColumn",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "provider"
|
|
|
|
}
|
2021-09-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",
|
|
|
|
"styles": ["size"],
|
|
|
|
"illegalChildren": ["section"],
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/array",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder",
|
|
|
|
"placeholder": "Choose an option"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Default value",
|
|
|
|
"key": "defaultValue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Autocomplete",
|
|
|
|
"key": "autocomplete",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Options source",
|
|
|
|
"key": "optionsSource",
|
|
|
|
"defaultValue": "schema",
|
|
|
|
"placeholder": "Pick an options source",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Schema",
|
|
|
|
"value": "schema"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Data provider",
|
|
|
|
"value": "provider"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Custom",
|
|
|
|
"value": "custom"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "dataProvider",
|
|
|
|
"label": "Options Provider",
|
|
|
|
"key": "dataProvider",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "provider"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Column",
|
|
|
|
"key": "labelColumn",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "provider"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Value Column",
|
|
|
|
"key": "valueColumn",
|
|
|
|
"dependsOn": {
|
|
|
|
"setting": "optionsSource",
|
|
|
|
"value": "provider"
|
|
|
|
}
|
2021-08-17 21:32:01 +12: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",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "Checkmark",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-01-29 05:31:55 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/boolean",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
},
|
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": {
|
|
|
|
"name": "Rich Text",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "TextParagraph",
|
2021-07-30 02:21:02 +12:00
|
|
|
"styles": ["size"],
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-01-29 07:03:44 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/longform",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
},
|
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",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "DateInput",
|
2021-07-30 02:21:02 +12:00
|
|
|
"styles": ["size"],
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-01-29 07:53:40 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/datetime",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder"
|
2021-01-29 23:18:41 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Show Time",
|
|
|
|
"key": "enableTime",
|
|
|
|
"defaultValue": true
|
2021-02-18 04:16:44 +13:00
|
|
|
},
|
2021-08-04 23:52:48 +12:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Default value",
|
|
|
|
"key": "defaultValue"
|
|
|
|
},
|
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
|
|
|
},
|
|
|
|
"attachmentfield": {
|
|
|
|
"name": "Attachment",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "Attach",
|
2021-07-30 02:21:02 +12:00
|
|
|
"styles": ["size"],
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-01-30 02:22:38 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/attachment",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
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",
|
2021-07-30 02:21:02 +12:00
|
|
|
"styles": ["size"],
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
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",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
|
|
},
|
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
|
|
|
},
|
|
|
|
"dataprovider": {
|
|
|
|
"name": "Data Provider",
|
2021-05-15 02:00:30 +12:00
|
|
|
"info": "Pagination is only available for data stored in internal tables.",
|
2021-04-29 00:42:17 +12:00
|
|
|
"icon": "Data",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-03-17 02:54:34 +13:00
|
|
|
"hasChildren": true,
|
2021-09-24 06:34:01 +12:00
|
|
|
"actions": ["RefreshDatasource"],
|
2021-03-17 02:54:34 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "dataSource",
|
|
|
|
"label": "Data",
|
|
|
|
"key": "dataSource"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "filter",
|
|
|
|
"label": "Filtering",
|
|
|
|
"key": "filter"
|
2021-03-17 08:11:00 +13:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Sort Column",
|
|
|
|
"key": "sortColumn"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Sort Order",
|
|
|
|
"key": "sortOrder",
|
|
|
|
"options": ["Ascending", "Descending"],
|
|
|
|
"defaultValue": "Descending"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"label": "Limit",
|
2021-05-13 23:26:18 +12:00
|
|
|
"key": "limit",
|
|
|
|
"defaultValue": 50
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Paginate",
|
|
|
|
"key": "paginate",
|
|
|
|
"defaultValue": true
|
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",
|
|
|
|
"values": [
|
|
|
|
{
|
|
|
|
"label": "Rows",
|
|
|
|
"key": "rows"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Rows Length",
|
|
|
|
"key": "rowsLength"
|
|
|
|
},
|
2021-03-19 06:34:51 +13:00
|
|
|
{
|
|
|
|
"label": "Schema",
|
|
|
|
"key": "schema"
|
|
|
|
},
|
2021-05-01 03:29:53 +12:00
|
|
|
{
|
|
|
|
"label": "Page Number",
|
|
|
|
"key": "pageNumber"
|
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",
|
2021-06-19 01:03:55 +12:00
|
|
|
"illegalChildren": ["section"],
|
2021-03-25 21:02:41 +13:00
|
|
|
"hasChildren": true,
|
2021-06-11 19:49:06 +12:00
|
|
|
"showEmptyState": false,
|
2021-03-25 04:51:57 +13:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "dataProvider",
|
2021-04-20 01:04:07 +12:00
|
|
|
"label": "Provider",
|
2021-03-25 04:51:57 +13:00
|
|
|
"key": "dataProvider"
|
|
|
|
},
|
2021-03-25 08:06:02 +13:00
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"label": "Row Count",
|
|
|
|
"key": "rowCount",
|
|
|
|
"defaultValue": 8
|
|
|
|
},
|
2021-03-30 03:36:26 +13:00
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Columns",
|
|
|
|
"key": "columns",
|
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"placeholder": "All columns"
|
|
|
|
},
|
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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-03-30 03:36:26 +13:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
2021-06-23 23:26:46 +12:00
|
|
|
"label": "Quiet",
|
|
|
|
"key": "quiet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Auto Columns",
|
2021-03-30 03:36:26 +13:00
|
|
|
"key": "showAutoColumns",
|
|
|
|
"defaultValue": false
|
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",
|
|
|
|
"icon": "Date",
|
2021-07-30 02:21:02 +12:00
|
|
|
"styles": ["size"],
|
2021-06-02 01:59:42 +12:00
|
|
|
"hasChildren": false,
|
2021-06-02 19:38:19 +12:00
|
|
|
"info": "Your data provider will be automatically filtered to the given date range.",
|
2021-06-02 01:59:42 +12:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "dataProvider",
|
|
|
|
"label": "Provider",
|
|
|
|
"key": "dataProvider"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Date field",
|
|
|
|
"key": "field"
|
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",
|
2021-07-01 03:33:19 +12:00
|
|
|
"icon": "Card",
|
|
|
|
"styles": ["size"],
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "title",
|
|
|
|
"label": "Title"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "subtitle",
|
|
|
|
"label": "Subtitle"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
2021-07-01 03:33:35 +12:00
|
|
|
"key": "description",
|
|
|
|
"label": "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-07-01 03:33:19 +12:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
2021-07-01 03:33:35 +12:00
|
|
|
"key": "horizontal",
|
|
|
|
"label": "Horizontal"
|
2021-07-01 03:33:19 +12:00
|
|
|
}
|
|
|
|
]
|
2021-01-13 09:00:35 +13:00
|
|
|
}
|
|
|
|
}
|