mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 06:52:24 +00:00
7080ca585e
Auto-expand tree nodes on a timeout, instead of immediately. This is necessary in cases where auto-expansion several layers deep occurs; if done immediately, each expansion will trigger a new digest cycle, which at a certain depth will appear to Angular as unstable. Done in the context of WTD-535.
110 lines
3.4 KiB
JSON
110 lines
3.4 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": "action-button",
|
|
"templateUrl": "templates/controls/action-button.html"
|
|
}
|
|
],
|
|
"controllers": [
|
|
{
|
|
"key": "TreeNodeController",
|
|
"implementation": "TreeNodeController.js",
|
|
"depends": [ "$scope", "$timeout" ]
|
|
},
|
|
{
|
|
"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" ]
|
|
},
|
|
{
|
|
"key": "ViewSwitcherController",
|
|
"implementation": "ViewSwitcherController.js",
|
|
"depends": [ "$scope" ]
|
|
}
|
|
],
|
|
"directives": [
|
|
{
|
|
"key": "mctContainer",
|
|
"implementation": "MCTContainer.js",
|
|
"depends": [ "containers[]" ]
|
|
},
|
|
{
|
|
"key": "mctDrag",
|
|
"implementation": "MCTDrag.js",
|
|
"depends": [ "$document" ]
|
|
}
|
|
],
|
|
"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-node",
|
|
"templateUrl": "templates/tree-node.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" ]
|
|
},
|
|
{
|
|
"key": "switcher",
|
|
"templateUrl": "templates/controls/switcher.html",
|
|
"uses": [ "view" ]
|
|
}
|
|
]
|
|
}
|
|
} |