openmct/platform/representation/bundle.json
Victor Woeltjen 818510da14 [Representation] Add DnD service
Add service to communicate data after/during a drag-and-drop, to allow
drag contents to be checked during dragover, and to allow full JavaScript
objects to be passed during drags (within the same window.) WTD-988.
2015-03-19 12:34:52 -07:00

54 lines
1.6 KiB
JSON

{
"extensions": {
"directives": [
{
"key": "mctInclude",
"implementation": "MCTInclude.js",
"depends": [ "templates[]" ]
},
{
"key": "mctRepresentation",
"implementation": "MCTRepresentation.js",
"depends": [ "representations[]", "views[]", "representers[]", "$q", "$log" ]
}
],
"gestures": [
{
"key": "drag",
"implementation": "gestures/DragGesture.js",
"depends": [ "$log", "dndService" ]
},
{
"key": "drop",
"implementation": "gestures/DropGesture.js",
"depends": [ "$q" ]
},
{
"key": "menu",
"implementation": "gestures/ContextMenuGesture.js",
"depends": [ "$compile", "$document", "$window", "$rootScope" ]
}
],
"components": [
{
"provides": "gestureService",
"type": "provider",
"implementation": "gestures/GestureProvider.js",
"depends": ["gestures[]"]
}
],
"representers": [
{
"implementation": "gestures/GestureRepresenter.js",
"depends": [ "gestureService" ]
}
],
"services": [
{
"key": "dndService",
"implementation": "services/DndService.js",
"depends": [ "$log" ]
}
]
}
}