2014-11-23 23:41:20 +00:00
|
|
|
{
|
|
|
|
"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" ]
|
|
|
|
},
|
|
|
|
{
|
2014-11-24 15:49:50 +00:00
|
|
|
"key": "ToggleController",
|
|
|
|
"implementation": "ToggleController.js"
|
2014-11-23 23:41:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ContextMenuController",
|
|
|
|
"implementation": "ContextMenuController.js",
|
|
|
|
"depends": [ "$scope" ]
|
2014-11-24 15:12:45 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ClickAwayController",
|
|
|
|
"implementation": "ClickAwayController.js",
|
|
|
|
"depends": [ "$scope", "$document" ]
|
2014-11-23 23:41:20 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"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"
|
|
|
|
},
|
|
|
|
{
|
2014-11-24 23:42:09 +00:00
|
|
|
"key": "tree-node",
|
|
|
|
"templateUrl": "templates/tree-node.html",
|
2014-11-23 23:41:20 +00:00
|
|
|
"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" ]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|