openmct/platform/features/layout/bundle.json
Victor Woeltjen 6a6797bf53 [Forms] Handle required flag in composite controls
Handle the ng-required flag in composite controls.
WTD-593.
2014-12-03 15:51:42 -08:00

63 lines
2.4 KiB
JSON

{
"name": "Layout components.",
"description": "Plug in adding Layout capabiltiies.",
"extensions": {
"types": [
{
"key": "telemetry.panel",
"name": "Telemetry Panel",
"glyph": "t",
"description": "A panel for collecting telemetry elements.",
"delegates": [ "telemetry" ],
"features": "creation",
"model": { "composition": [] },
"properties": [
{
"name": "Preferred Size",
"control": "composite",
"items": [
{
"name": "Width (px)",
"control": "textfield"
},
{
"name": "Height (px)",
"control": "textfield"
}
],
"pattern": "^(\\d*[1-9]\\d*)?$",
"property": "preferredSize",
"conversion": "number[]"
},
{
"name": "Layout Grid",
"control": "composite",
"items": [
{
"name": "Horizontal grid (px)",
"control": "textfield"
},
{
"name": "Vertical grid (px)",
"control": "textfield"
}
],
"pattern": "^(\\d*[1-9]\\d*)?$",
"property": "layoutGrid",
"conversion": "number[]"
},
{
"name": "Default View",
"control": "select",
"options": [
{ "name": "Plot", "value": "plot" },
{ "name": "Scrolling", "value": "scrolling" }
],
"comment": "TODO: Infer values from type",
"key": "defaultView"
}
]
}
]
}
}