mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 09:58:52 +00:00
818510da14
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.
54 lines
1.6 KiB
JSON
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" ]
|
|
}
|
|
]
|
|
}
|
|
} |