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": "action-button",
|
|
|
|
"templateUrl": "templates/controls/action-button.html"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"controllers": [
|
|
|
|
{
|
|
|
|
"key": "TreeNodeController",
|
|
|
|
"implementation": "TreeNodeController.js",
|
2014-12-05 21:31:57 +00:00
|
|
|
"depends": [ "$scope", "$timeout" ]
|
2014-11-23 23:41:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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-12-04 20:12:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ViewSwitcherController",
|
|
|
|
"implementation": "ViewSwitcherController.js",
|
|
|
|
"depends": [ "$scope" ]
|
2014-11-23 23:41:20 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"directives": [
|
|
|
|
{
|
|
|
|
"key": "mctContainer",
|
|
|
|
"implementation": "MCTContainer.js",
|
|
|
|
"depends": [ "containers[]" ]
|
2014-12-04 22:45:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "mctDrag",
|
|
|
|
"implementation": "MCTDrag.js",
|
|
|
|
"depends": [ "$document" ]
|
2014-11-23 23:41:20 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"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" ]
|
2014-12-04 20:12:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "switcher",
|
|
|
|
"templateUrl": "templates/controls/switcher.html",
|
|
|
|
"uses": [ "view" ]
|
2014-11-23 23:41:20 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|