mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 15:02:23 +00:00
f4d34a2a9c
Attempting to generalize the searchbar using mct-control. In progress.
69 lines
2.2 KiB
JSON
69 lines
2.2 KiB
JSON
{
|
|
"name": "Search View",
|
|
"description": "Allows the user to search through the file tree.",
|
|
"extensions": {
|
|
"controllers": [
|
|
{
|
|
"key": "SearchController",
|
|
"implementation": "controllers/SearchController.js",
|
|
"depends": [ "$scope", "$timeout", "searchService" ]
|
|
},
|
|
{
|
|
"key": "SearchItemController",
|
|
"implementation": "controllers/SearchItemController.js",
|
|
"depends": [ "$scope" ]
|
|
},
|
|
{
|
|
"key": "ToggleController",
|
|
"implementation": "controllers/ToggleController.js",
|
|
"depends": [ ]
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"key": "searchbar",
|
|
"templateUrl": "templates/searchbar.html"
|
|
}
|
|
],
|
|
"templates": [
|
|
{
|
|
"key": "search",
|
|
"templateUrl": "templates/search.html",
|
|
"uses": [ "composition" ]
|
|
}
|
|
],
|
|
"representations": [
|
|
{
|
|
"key": "search-item",
|
|
"templateUrl": "templates/search-item.html",
|
|
"uses": [ "composition" ]
|
|
}
|
|
],
|
|
"components": [
|
|
{
|
|
"provides": "searchService",
|
|
"type": "provider",
|
|
"implementation": "providers/GenericSearchProvider.js",
|
|
"depends": [ "$rootScope", "objectService", "workerService", "roots[]" ]
|
|
},
|
|
{
|
|
"provides": "searchService",
|
|
"type": "provider",
|
|
"implementation": "providers/ElasticsearchSearchProvider.js",
|
|
"depends": [ "$http", "objectService", "ELASTIC_ROOT" ]
|
|
},
|
|
{
|
|
"provides": "searchService",
|
|
"type": "aggregator",
|
|
"implementation": "SearchAggregator.js"
|
|
}
|
|
],
|
|
"workers": [
|
|
{
|
|
"key": "genericSearchWorker",
|
|
"scriptUrl": "workers/GenericSearchWorker.js",
|
|
"depends": [ "objectService" ]
|
|
}
|
|
]
|
|
}
|
|
} |