2021-01-12 21:00:35 +01:00
|
|
|
{
|
|
|
|
"container": {
|
|
|
|
"name": "Container",
|
|
|
|
"description": "This component contains things within itself",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Sandbox",
|
2021-01-12 21:00:35 +01:00
|
|
|
"hasChildren": true,
|
|
|
|
"styleable": true,
|
2021-03-01 16:53:37 +01:00
|
|
|
"transitionable": true,
|
2021-03-03 14:51:53 +01:00
|
|
|
"settings": []
|
2021-01-12 21:00:35 +01:00
|
|
|
},
|
|
|
|
"screenslot": {
|
|
|
|
"name": "Screenslot",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "WebPage",
|
2021-01-12 21:00:35 +01:00
|
|
|
"description": "Contains your app screens",
|
|
|
|
"styleable": true
|
2021-01-14 10:45:09 +01:00
|
|
|
},
|
|
|
|
"button": {
|
|
|
|
"name": "Button",
|
|
|
|
"description": "A basic html button that is ready for styling",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Button",
|
2021-01-14 10:45:09 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Text",
|
|
|
|
"key": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
2021-01-14 16:39:50 +01:00
|
|
|
"key": "disabled"
|
2021-01-14 10:45:09 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "event",
|
|
|
|
"label": "On Click",
|
|
|
|
"key": "onClick"
|
|
|
|
}
|
|
|
|
]
|
2021-01-14 16:39:50 +01:00
|
|
|
},
|
2021-03-24 16:51:57 +01:00
|
|
|
"repeater": {
|
2021-01-14 16:39:50 +01:00
|
|
|
"name": "Repeater",
|
|
|
|
"description": "A configurable data list that attaches to your backend tables.",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "ViewList",
|
2021-01-14 16:39:50 +01:00
|
|
|
"styleable": true,
|
|
|
|
"hasChildren": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
2021-03-16 14:54:34 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2021-03-16 20:11:00 +01:00
|
|
|
"key": "dataProvider"
|
2021-02-05 00:17:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
2021-02-10 19:34:45 +01:00
|
|
|
"label": "Empty Text",
|
|
|
|
"key": "noRowsMessage",
|
|
|
|
"defaultValue": "No rows found."
|
2021-02-11 14:03:22 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "filter",
|
|
|
|
"label": "Filtering",
|
|
|
|
"key": "filter"
|
2021-01-14 16:39:50 +01:00
|
|
|
}
|
2021-03-16 14:54:34 +01:00
|
|
|
],
|
2021-03-29 17:37:17 +02:00
|
|
|
"context": {
|
|
|
|
"type": "schema"
|
2021-03-16 14:54:34 +01:00
|
|
|
}
|
2021-01-14 16:39:50 +01:00
|
|
|
},
|
|
|
|
"stackedlist": {
|
2021-04-28 15:12:06 +02:00
|
|
|
"name": "Stacked List",
|
|
|
|
"icon": "TaskList",
|
2021-01-14 16:39:50 +01:00
|
|
|
"description": "A basic card component that can contain content and actions.",
|
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Image",
|
|
|
|
"key": "imageUrl"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Heading",
|
|
|
|
"key": "heading"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
2021-02-02 14:08:01 +01:00
|
|
|
"label": "Subheading",
|
|
|
|
"key": "subheading"
|
2021-01-14 16:39:50 +01:00
|
|
|
},
|
|
|
|
{
|
2021-02-15 21:03:29 +01:00
|
|
|
"type": "text",
|
2021-01-14 16:39:50 +01:00
|
|
|
"label": "Link URL",
|
2021-02-15 21:03:29 +01:00
|
|
|
"key": "destinationUrl",
|
|
|
|
"placeholder": "/screen"
|
2021-01-14 16:39:50 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"card": {
|
|
|
|
"name": "Vertical Card",
|
|
|
|
"description": "A basic card component that can contain content and actions.",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "ViewColumn",
|
2021-01-14 16:39:50 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Image",
|
|
|
|
"key": "imageUrl"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Heading",
|
|
|
|
"key": "heading"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Description",
|
|
|
|
"key": "description"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Link Text",
|
|
|
|
"key": "linkText"
|
|
|
|
},
|
|
|
|
{
|
2021-02-15 21:03:29 +01:00
|
|
|
"type": "text",
|
|
|
|
"label": "Link URL",
|
|
|
|
"key": "linkUrl",
|
|
|
|
"placeholder": "/screen"
|
2021-01-14 16:39:50 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Link Color",
|
|
|
|
"key": "linkColor",
|
|
|
|
"defaultValue": "#000"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Hover Color",
|
|
|
|
"key": "linkHoverColor",
|
|
|
|
"defaultValue": "#222"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Image Height",
|
|
|
|
"key": "imageHeight",
|
|
|
|
"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-28 14:42:17 +02:00
|
|
|
"icon": "TextParagraph",
|
2021-01-14 16:39:50 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Text",
|
|
|
|
"key": "text"
|
|
|
|
}
|
|
|
|
]
|
2021-01-15 11:59:22 +01:00
|
|
|
},
|
2021-01-19 12:49:52 +01:00
|
|
|
"heading": {
|
|
|
|
"name": "Headline",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "TextBold",
|
2021-01-19 12:49:52 +01:00
|
|
|
"description": "A component for displaying heading text",
|
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"key": "text",
|
|
|
|
"label": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"key": "type",
|
|
|
|
"label": "Type",
|
|
|
|
"options": ["h1", "h2", "h3", "h4", "h5", "h6"],
|
|
|
|
"defaultValue": "h1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"name": "Image",
|
|
|
|
"description": "A basic component for displaying images",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Image",
|
2021-01-19 12:49:52 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "URL",
|
|
|
|
"key": "url"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-02-26 10:58:11 +01:00
|
|
|
"backgroundimage": {
|
|
|
|
"name": "Background Image",
|
|
|
|
"description": "A background image",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Images",
|
2021-02-26 10:58:11 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "URL",
|
|
|
|
"key": "url"
|
2021-03-01 15:05:54 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Position",
|
|
|
|
"key": "position",
|
|
|
|
"defaultValue": "center center",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Center Top",
|
|
|
|
"value": "center top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Center",
|
|
|
|
"value": "center center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Center Bottom",
|
|
|
|
"value": "center bottom"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Left Top",
|
|
|
|
"value": "left top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Left Center",
|
|
|
|
"value": "left center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Left Bottom",
|
|
|
|
"value": "left bottom"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right Top",
|
|
|
|
"value": "right top"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right Center",
|
|
|
|
"value": "right center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right Bottom",
|
|
|
|
"value": "right bottom"
|
|
|
|
}
|
|
|
|
]
|
2021-02-26 10:58:11 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-19 12:49:52 +01:00
|
|
|
"icon": {
|
|
|
|
"name": "Icon",
|
|
|
|
"description": "A basic component for displaying icons",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Bell",
|
2021-01-19 12:49:52 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "icon",
|
|
|
|
"label": "Icon",
|
|
|
|
"key": "icon"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
2021-01-20 12:14:36 +01:00
|
|
|
"defaultValue": "md",
|
2021-01-19 12:49:52 +01:00
|
|
|
"options": [
|
2021-01-20 12:14:36 +01:00
|
|
|
{ "value": "ri-xxs", "label": "xxs" },
|
|
|
|
{ "value": "ri-xs", "label": "xs" },
|
|
|
|
{ "value": "ri-sm", "label": "sm" },
|
|
|
|
{ "value": "ri-1x", "label": "md" },
|
|
|
|
{ "value": "ri-lg", "label": "lg" },
|
|
|
|
{ "value": "ri-xl", "label": "xl" },
|
|
|
|
{ "value": "ri-2x", "label": "2x" },
|
|
|
|
{ "value": "ri-3x", "label": "3x" },
|
|
|
|
{ "value": "ri-4x", "label": "4x" },
|
|
|
|
{ "value": "ri-5x", "label": "5x" },
|
|
|
|
{ "value": "ri-6x", "label": "6x" },
|
|
|
|
{ "value": "ri-7x", "label": "7x" },
|
|
|
|
{ "value": "ri-8x", "label": "8x" },
|
|
|
|
{ "value": "ri-9x", "label": "9x" },
|
|
|
|
{ "value": "ri-10x", "label": "10x" }
|
2021-01-19 12:49:52 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Color",
|
|
|
|
"key": "color",
|
|
|
|
"defaultValue": "#000"
|
2021-03-25 17:18:19 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "event",
|
|
|
|
"label": "On Click",
|
|
|
|
"key": "onClick"
|
2021-01-19 12:49:52 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-15 11:59:22 +01:00
|
|
|
"login": {
|
2021-01-19 14:46:25 +01:00
|
|
|
"name": "Login Form",
|
2021-01-15 11:59:22 +01:00
|
|
|
"description": "A component that automatically generates a login screen for your app.",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Login",
|
2021-01-15 11:59:22 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Logo",
|
|
|
|
"key": "logo"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Button Text",
|
|
|
|
"key": "buttonText"
|
|
|
|
}
|
|
|
|
]
|
2021-01-19 11:47:00 +01:00
|
|
|
},
|
|
|
|
"navigation": {
|
|
|
|
"name": "Nav Bar",
|
|
|
|
"description": "A component for handling the navigation within your app.",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "BreadcrumbNavigation",
|
2021-01-19 11:47:00 +01:00
|
|
|
"styleable": true,
|
|
|
|
"hasChildren": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Logo URL",
|
|
|
|
"key": "logoUrl"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"link": {
|
|
|
|
"name": "Link",
|
|
|
|
"description": "A basic link component for internal and external links",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Link",
|
2021-01-19 11:47:00 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Text",
|
|
|
|
"key": "text"
|
|
|
|
},
|
|
|
|
{
|
2021-02-15 21:03:29 +01:00
|
|
|
"type": "text",
|
2021-01-19 11:47:00 +01:00
|
|
|
"label": "URL",
|
2021-02-15 21:03:29 +01:00
|
|
|
"key": "url",
|
|
|
|
"placeholder": "/screen"
|
2021-01-19 11:47:00 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "New Tab",
|
|
|
|
"key": "openInNewTab"
|
2021-02-26 10:58:11 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "External",
|
|
|
|
"key": "external"
|
2021-01-19 11:47:00 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-19 12:49:52 +01:00
|
|
|
"cardhorizontal": {
|
|
|
|
"name": "Horizontal Card",
|
|
|
|
"description": "A basic card component that can contain content and actions.",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "ViewRow",
|
2021-01-19 12:49:52 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Image",
|
|
|
|
"key": "imageUrl"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Heading",
|
|
|
|
"key": "heading"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Description",
|
|
|
|
"key": "description"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Subtext",
|
|
|
|
"key": "subtext"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Link Text",
|
|
|
|
"key": "linkText"
|
|
|
|
},
|
|
|
|
{
|
2021-02-15 21:03:29 +01:00
|
|
|
"type": "text",
|
2021-01-19 12:49:52 +01:00
|
|
|
"label": "Link URL",
|
2021-02-15 21:03:29 +01:00
|
|
|
"key": "linkUrl",
|
|
|
|
"placeholder": "/screen"
|
2021-01-19 12:49:52 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Link Color",
|
|
|
|
"key": "linkColor",
|
|
|
|
"defaultValue": "#000"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "color",
|
|
|
|
"label": "Hover Color",
|
|
|
|
"key": "linkHoverColor",
|
|
|
|
"defaultValue": "#222"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Card Width",
|
|
|
|
"key": "cardWidth",
|
|
|
|
"options": ["24rem", "28rem", "32rem", "40rem", "48rem", "60rem", "100%"],
|
2021-01-19 12:57:01 +01:00
|
|
|
"defaultValue": "32rem"
|
2021-01-19 12:49:52 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Image Width",
|
|
|
|
"key": "imageWidth",
|
|
|
|
"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-28 14:42:17 +02:00
|
|
|
"icon": "Card",
|
2021-01-19 12:49:52 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title",
|
|
|
|
"placeholder": "Total Revenue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Value",
|
|
|
|
"key": "value",
|
|
|
|
"placeholder": "$1,981,983"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label",
|
|
|
|
"placeholder": "Stripe"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"embed": {
|
|
|
|
"name": "Embed",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Code",
|
2021-01-19 12:49:52 +01:00
|
|
|
"description": "Embed content from 3rd party sources",
|
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Embed",
|
|
|
|
"key": "embed"
|
|
|
|
}
|
|
|
|
]
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
"bar": {
|
|
|
|
"name": "Bar Chart",
|
|
|
|
"description": "Bar chart",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "GraphBarVertical",
|
2021-01-19 20:24:49 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
2021-03-18 18:34:51 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2021-03-18 18:34:51 +01:00
|
|
|
"key": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2021-03-18 18:34:51 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Data Cols.",
|
|
|
|
"key": "valueColumns",
|
2021-03-18 18:34:51 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01: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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Data Labels",
|
|
|
|
"key": "dataLabels",
|
|
|
|
"defaultValue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Animate",
|
|
|
|
"key": "animate",
|
|
|
|
"defaultValue": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Legend",
|
|
|
|
"key": "legend",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line": {
|
|
|
|
"name": "Line Chart",
|
|
|
|
"description": "Line chart",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "GraphTrend",
|
2021-01-19 20:24:49 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
2021-03-18 18:34:51 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2021-03-18 18:34:51 +01:00
|
|
|
"key": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2021-03-18 18:34:51 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Data Cols.",
|
|
|
|
"key": "valueColumns",
|
2021-03-18 18:34:51 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01: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-28 14:42:17 +02:00
|
|
|
"icon": "GraphAreaStacked",
|
2021-01-19 20:24:49 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
2021-03-18 18:34:51 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2021-03-18 18:34:51 +01:00
|
|
|
"key": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2021-03-18 18:34:51 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Data Cols.",
|
|
|
|
"key": "valueColumns",
|
2021-03-18 18:34:51 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01: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-28 14:42:17 +02:00
|
|
|
"icon": "GraphPie",
|
2021-01-19 20:24:49 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
2021-03-18 18:34:51 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2021-03-18 18:34:51 +01:00
|
|
|
"key": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2021-03-18 18:34:51 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Data Col.",
|
|
|
|
"key": "valueColumn",
|
2021-03-18 18:34:51 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01: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-28 14:42:17 +02:00
|
|
|
"icon": "GraphDonut",
|
2021-01-19 20:24:49 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
2021-03-18 18:34:51 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2021-03-18 18:34:51 +01:00
|
|
|
"key": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Label Col.",
|
|
|
|
"key": "labelColumn",
|
2021-03-18 18:34:51 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Data Col.",
|
|
|
|
"key": "valueColumn",
|
2021-03-18 18:34:51 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01: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-28 14:42:17 +02:00
|
|
|
"icon": "GraphBarVerticalStacked",
|
2021-01-19 20:24:49 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title",
|
|
|
|
"key": "title"
|
|
|
|
},
|
|
|
|
{
|
2021-03-18 18:34:51 +01:00
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2021-03-18 18:34:51 +01:00
|
|
|
"key": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Date Col.",
|
|
|
|
"key": "dateColumn",
|
2021-03-18 18:34:51 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Open Col.",
|
|
|
|
"key": "openColumn",
|
2021-03-18 18:34:51 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Close Col.",
|
|
|
|
"key": "closeColumn",
|
2021-03-18 19:45:11 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "High Col.",
|
|
|
|
"key": "highColumn",
|
2021-03-18 19:45:11 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Low Col.",
|
|
|
|
"key": "lowColumn",
|
2021-03-18 19:45:11 +01:00
|
|
|
"dependsOn": "dataProvider"
|
2021-01-19 20:24:49 +01: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 09:55:44 +01:00
|
|
|
},
|
2021-01-27 11:59:05 +01:00
|
|
|
"form": {
|
|
|
|
"name": "Form",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Form",
|
2021-01-27 11:59:05 +01:00
|
|
|
"styleable": true,
|
|
|
|
"hasChildren": true,
|
2021-03-18 19:45:11 +01:00
|
|
|
"actions": [
|
|
|
|
"ValidateForm"
|
|
|
|
],
|
2021-01-27 11:59:05 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
2021-02-04 19:00:02 +01:00
|
|
|
"type": "schema",
|
|
|
|
"label": "Schema",
|
2021-03-19 14:09:22 +01:00
|
|
|
"key": "dataSource"
|
2021-01-27 11:59:05 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Theme",
|
|
|
|
"key": "theme",
|
|
|
|
"defaultValue": "spectrum--light",
|
|
|
|
"options": [
|
2021-02-04 16:10:51 +01:00
|
|
|
{
|
|
|
|
"label": "Lightest",
|
|
|
|
"value": "spectrum--lightest"
|
|
|
|
},
|
2021-01-27 11:59:05 +01:00
|
|
|
{
|
|
|
|
"label": "Light",
|
|
|
|
"value": "spectrum--light"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Dark",
|
|
|
|
"value": "spectrum--dark"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Darkest",
|
|
|
|
"value": "spectrum--darkest"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
|
|
|
"defaultValue": "spectrum--medium",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "spectrum--medium"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "spectrum--large"
|
|
|
|
}
|
|
|
|
]
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-01-27 19:25:57 +01:00
|
|
|
}
|
2021-03-18 19:45:11 +01:00
|
|
|
],
|
2021-03-29 17:37:17 +02:00
|
|
|
"context": {
|
2021-03-18 19:45:11 +01:00
|
|
|
"type": "form"
|
|
|
|
}
|
2021-01-27 19:25:57 +01:00
|
|
|
},
|
|
|
|
"fieldgroup": {
|
|
|
|
"name": "Field Group",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Group",
|
2021-01-27 19:25:57 +01:00
|
|
|
"styleable": true,
|
|
|
|
"hasChildren": true,
|
|
|
|
"settings": [
|
2021-01-27 11:59:05 +01:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Labels",
|
|
|
|
"key": "labelPosition",
|
2021-01-27 19:25:57 +01:00
|
|
|
"defaultValue": "above",
|
2021-01-27 11:59:05 +01:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Left",
|
|
|
|
"value": "left"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Right",
|
|
|
|
"value": "right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Above",
|
|
|
|
"value": "above"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-26 15:40:44 +01:00
|
|
|
"stringfield": {
|
2021-01-26 09:55:44 +01:00
|
|
|
"name": "Text Field",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Text",
|
2021-01-26 09:55:44 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
2021-01-26 15:40:44 +01:00
|
|
|
{
|
|
|
|
"type": "field/string",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
2021-01-26 09:55:44 +01:00
|
|
|
{
|
|
|
|
"type": "text",
|
2021-01-26 15:40:44 +01:00
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder"
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-01-26 15:40:44 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"numberfield": {
|
|
|
|
"name": "Number Field",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "123",
|
2021-01-26 15:40:44 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/number",
|
2021-01-26 09:55:44 +01:00
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder"
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-01-26 15:40:44 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-03-01 15:13:11 +01:00
|
|
|
"passwordfield": {
|
|
|
|
"name": "Password Field",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "LockClosed",
|
2021-03-01 15:13:11 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/string",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-01-26 15:40:44 +01:00
|
|
|
"optionsfield": {
|
|
|
|
"name": "Options Picker",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "ViewList",
|
2021-01-26 15:40:44 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/options",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
2021-01-26 09:55:44 +01:00
|
|
|
},
|
|
|
|
{
|
2021-01-26 15:40:44 +01:00
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
2021-01-27 11:59:05 +01:00
|
|
|
"key": "placeholder",
|
|
|
|
"placeholder": "Choose an option"
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-01-26 09:55:44 +01:00
|
|
|
}
|
|
|
|
]
|
2021-01-28 17:31:55 +01:00
|
|
|
},
|
|
|
|
"booleanfield": {
|
|
|
|
"name": "Checkbox",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Checkmark",
|
2021-01-28 17:31:55 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/boolean",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Text",
|
|
|
|
"key": "text"
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-01-28 17:31:55 +01:00
|
|
|
}
|
|
|
|
]
|
2021-01-28 19:03:44 +01:00
|
|
|
},
|
|
|
|
"longformfield": {
|
|
|
|
"name": "Rich Text",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "TextParagraph",
|
2021-01-28 19:03:44 +01:00
|
|
|
"styleable": true,
|
|
|
|
"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-17 16:16:44 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-01-28 19:03:44 +01:00
|
|
|
}
|
|
|
|
]
|
2021-01-28 19:53:40 +01:00
|
|
|
},
|
|
|
|
"datetimefield": {
|
|
|
|
"name": "Date Picker",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "DateInput",
|
2021-01-28 19:53:40 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/datetime",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder"
|
2021-01-29 11:18:41 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Show Time",
|
|
|
|
"key": "enableTime",
|
|
|
|
"defaultValue": true
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-01-28 19:53:40 +01:00
|
|
|
}
|
|
|
|
]
|
2021-01-29 14:22:38 +01:00
|
|
|
},
|
|
|
|
"attachmentfield": {
|
|
|
|
"name": "Attachment",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Attach",
|
2021-01-29 14:22:38 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "field/attachment",
|
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-01-29 14:22:38 +01:00
|
|
|
}
|
|
|
|
]
|
2021-02-01 14:15:35 +01:00
|
|
|
},
|
|
|
|
"relationshipfield": {
|
|
|
|
"name": "Relationship Picker",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "TaskList",
|
2021-02-01 14:15:35 +01:00
|
|
|
"styleable": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
2021-02-04 14:01:49 +01:00
|
|
|
"type": "field/link",
|
2021-02-01 14:15:35 +01:00
|
|
|
"label": "Field",
|
|
|
|
"key": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Label",
|
|
|
|
"key": "label"
|
2021-02-17 16:16:44 +01:00
|
|
|
},
|
2021-02-12 16:47:20 +01:00
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"label": "Placeholder",
|
|
|
|
"key": "placeholder"
|
2021-02-19 13:55:17 +01:00
|
|
|
},
|
2021-02-17 16:16:44 +01:00
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Disabled",
|
|
|
|
"key": "disabled",
|
|
|
|
"defaultValue": false
|
2021-02-01 14:15:35 +01:00
|
|
|
}
|
|
|
|
]
|
2021-03-16 14:54:34 +01:00
|
|
|
},
|
|
|
|
"dataprovider": {
|
|
|
|
"name": "Data Provider",
|
2021-05-14 16:00:30 +02:00
|
|
|
"info": "Pagination is only available for data stored in internal tables.",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Data",
|
2021-03-16 14:54:34 +01:00
|
|
|
"styleable": false,
|
|
|
|
"hasChildren": true,
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "dataSource",
|
|
|
|
"label": "Data",
|
|
|
|
"key": "dataSource"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "filter",
|
|
|
|
"label": "Filtering",
|
|
|
|
"key": "filter"
|
2021-03-16 20:11:00 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"label": "Sort Column",
|
|
|
|
"key": "sortColumn"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Sort Order",
|
|
|
|
"key": "sortOrder",
|
|
|
|
"options": ["Ascending", "Descending"],
|
|
|
|
"defaultValue": "Descending"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"label": "Limit",
|
2021-05-13 13:26:18 +02:00
|
|
|
"key": "limit",
|
|
|
|
"defaultValue": 50
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Paginate",
|
|
|
|
"key": "paginate",
|
|
|
|
"defaultValue": true
|
2021-03-16 14:54:34 +01:00
|
|
|
}
|
|
|
|
],
|
2021-03-29 17:37:17 +02:00
|
|
|
"context": {
|
2021-03-16 14:54:34 +01:00
|
|
|
"type": "static",
|
|
|
|
"values": [
|
|
|
|
{
|
|
|
|
"label": "Rows",
|
|
|
|
"key": "rows"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Rows Length",
|
|
|
|
"key": "rowsLength"
|
|
|
|
},
|
2021-03-18 18:34:51 +01:00
|
|
|
{
|
|
|
|
"label": "Schema",
|
|
|
|
"key": "schema"
|
|
|
|
},
|
2021-04-30 17:29:53 +02:00
|
|
|
{
|
|
|
|
"label": "Page Number",
|
|
|
|
"key": "pageNumber"
|
2021-03-16 14:54:34 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-03-24 16:51:57 +01:00
|
|
|
},
|
|
|
|
"table": {
|
|
|
|
"name": "Table",
|
2021-04-28 14:42:17 +02:00
|
|
|
"icon": "Table",
|
2021-03-24 16:51:57 +01:00
|
|
|
"styleable": true,
|
2021-03-25 09:02:41 +01:00
|
|
|
"hasChildren": true,
|
2021-03-24 16:51:57 +01:00
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"type": "dataProvider",
|
2021-04-19 15:04:07 +02:00
|
|
|
"label": "Provider",
|
2021-03-24 16:51:57 +01:00
|
|
|
"key": "dataProvider"
|
|
|
|
},
|
2021-03-24 20:06:02 +01:00
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"label": "Row Count",
|
|
|
|
"key": "rowCount",
|
|
|
|
"defaultValue": 8
|
|
|
|
},
|
2021-03-24 16:51:57 +01:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Theme",
|
|
|
|
"key": "theme",
|
|
|
|
"defaultValue": "spectrum--light",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Lightest",
|
|
|
|
"value": "spectrum--lightest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Light",
|
|
|
|
"value": "spectrum--light"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Dark",
|
|
|
|
"value": "spectrum--dark"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Darkest",
|
|
|
|
"value": "spectrum--darkest"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"label": "Size",
|
|
|
|
"key": "size",
|
|
|
|
"defaultValue": "spectrum--medium",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"label": "Medium",
|
|
|
|
"value": "spectrum--medium"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Large",
|
|
|
|
"value": "spectrum--large"
|
|
|
|
}
|
|
|
|
]
|
2021-03-25 10:10:21 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Quiet",
|
|
|
|
"key": "quiet"
|
2021-03-29 16:36:26 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "multifield",
|
|
|
|
"label": "Columns",
|
|
|
|
"key": "columns",
|
|
|
|
"dependsOn": "dataProvider",
|
|
|
|
"placeholder": "All columns"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Auto Cols.",
|
|
|
|
"key": "showAutoColumns",
|
|
|
|
"defaultValue": false
|
2021-03-24 16:51:57 +01:00
|
|
|
}
|
2021-03-25 09:02:41 +01:00
|
|
|
],
|
2021-03-29 17:37:17 +02:00
|
|
|
"context": {
|
|
|
|
"type": "schema"
|
2021-03-25 09:02:41 +01:00
|
|
|
}
|
2021-01-12 21:00:35 +01:00
|
|
|
}
|
|
|
|
}
|