mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 09:58:52 +00:00
112622ab9f
Reorganize sources for bundle platform/commonUI/general; number of classes here has grown as a consequence of additions for WTD-614 and so an additional layer of organization is helpful. Conflicts: platform/commonUI/general/bundle.json platform/commonUI/general/src/directives/MCTResize.js
134 lines
4.3 KiB
JSON
134 lines
4.3 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"
|
|
},
|
|
{
|
|
"key": "input-filter",
|
|
"templateUrl": "templates/controls/input-filter.html"
|
|
},
|
|
{
|
|
"key": "indicator",
|
|
"templateUrl": "templates/indicator.html"
|
|
}
|
|
],
|
|
"controllers": [
|
|
{
|
|
"key": "TreeNodeController",
|
|
"implementation": "controllers/TreeNodeController.js",
|
|
"depends": [ "$scope", "$timeout" ]
|
|
},
|
|
{
|
|
"key": "ActionGroupController",
|
|
"implementation": "controllers/ActionGroupController.js",
|
|
"depends": [ "$scope" ]
|
|
},
|
|
{
|
|
"key": "ToggleController",
|
|
"implementation": "controllers/ToggleController.js"
|
|
},
|
|
{
|
|
"key": "ContextMenuController",
|
|
"implementation": "controllers/ContextMenuController.js",
|
|
"depends": [ "$scope" ]
|
|
},
|
|
{
|
|
"key": "ClickAwayController",
|
|
"implementation": "controllers/ClickAwayController.js",
|
|
"depends": [ "$scope", "$document" ]
|
|
},
|
|
{
|
|
"key": "ViewSwitcherController",
|
|
"implementation": "controllers/ViewSwitcherController.js",
|
|
"depends": [ "$scope" ]
|
|
},
|
|
{
|
|
"key": "BottomBarController",
|
|
"implementation": "controllers/BottomBarController.js",
|
|
"depends": [ "indicators[]" ]
|
|
},
|
|
{
|
|
"key": "GetterSetterController",
|
|
"implementation": "controllers/GetterSetterController.js",
|
|
"depends": [ "$scope" ]
|
|
}
|
|
],
|
|
"directives": [
|
|
{
|
|
"key": "mctContainer",
|
|
"implementation": "directives/MCTContainer.js",
|
|
"depends": [ "containers[]" ]
|
|
},
|
|
{
|
|
"key": "mctDrag",
|
|
"implementation": "directives/MCTDrag.js",
|
|
"depends": [ "$document" ]
|
|
},
|
|
{
|
|
"key": "mctResize",
|
|
"implementation": "directives/MCTResize.js",
|
|
"depends": [ "$timeout" ]
|
|
}
|
|
],
|
|
"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" ]
|
|
}
|
|
]
|
|
}
|
|
}
|