mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 06:03:08 +00:00
2ab3f5f5f9
Add a general-purpose ToggleController for things that need to expand and contract. WTD-574.
99 lines
3.0 KiB
JSON
99 lines
3.0 KiB
JSON
{
|
|
"name": "General UI elements",
|
|
"description": "General UI elements, meant to be reused across modes.",
|
|
"resources": "res",
|
|
"extensions": {
|
|
"templates": [
|
|
{
|
|
"key": "bottombar",
|
|
"templateUrl": "templates/bottombar.html"
|
|
},
|
|
{
|
|
"key": "switcher",
|
|
"templateUrl": "templates/controls/switcher.html"
|
|
},
|
|
{
|
|
"key": "action-button",
|
|
"templateUrl": "templates/controls/action-button.html"
|
|
}
|
|
],
|
|
"controllers": [
|
|
{
|
|
"key": "TreeNodeController",
|
|
"implementation": "TreeNodeController.js",
|
|
"depends": [ "$scope", "navigationService" ]
|
|
},
|
|
{
|
|
"key": "ActionGroupController",
|
|
"implementation": "ActionGroupController.js",
|
|
"depends": [ "$scope" ]
|
|
},
|
|
{
|
|
"key": "ToggleController",
|
|
"implementation": "ToggleController.js"
|
|
},
|
|
{
|
|
"key": "ContextMenuController",
|
|
"implementation": "ContextMenuController.js",
|
|
"depends": [ "$scope" ]
|
|
},
|
|
{
|
|
"key": "ClickAwayController",
|
|
"implementation": "ClickAwayController.js",
|
|
"depends": [ "$scope", "$document" ]
|
|
}
|
|
],
|
|
"directives": [
|
|
{
|
|
"key": "mctContainer",
|
|
"implementation": "MCTContainer.js",
|
|
"depends": [ "containers[]" ]
|
|
}
|
|
],
|
|
"containers": [
|
|
{
|
|
"key": "accordion",
|
|
"templateUrl": "templates/containers/accordion.html",
|
|
"attributes": [ "title" ]
|
|
}
|
|
],
|
|
"representations": [
|
|
{
|
|
"key": "tree",
|
|
"templateUrl": "templates/tree.html",
|
|
"uses": [ "composition" ]
|
|
},
|
|
{
|
|
"key": "test",
|
|
"templateUrl": "templates/test.html"
|
|
},
|
|
{
|
|
"key": "tree-item",
|
|
"templateUrl": "templates/tree-item.html",
|
|
"uses": [ "action" ]
|
|
},
|
|
{
|
|
"key": "label",
|
|
"templateUrl": "templates/label.html",
|
|
"uses": [ "type" ],
|
|
"gestures": [ "drag", "menu" ]
|
|
},
|
|
{
|
|
"key": "node",
|
|
"templateUrl": "templates/label.html",
|
|
"uses": [ "type" ],
|
|
"gestures": [ "drag", "menu" ]
|
|
},
|
|
{
|
|
"key": "action-group",
|
|
"templateUrl": "templates/controls/action-group.html",
|
|
"uses": [ "action" ]
|
|
},
|
|
{
|
|
"key": "context-menu",
|
|
"templateUrl": "templates/menu/context-menu.html",
|
|
"uses": [ "action" ]
|
|
}
|
|
]
|
|
}
|
|
} |