2015-07-08 15:32:20 -07:00
|
|
|
{
|
2015-08-03 09:38:30 -07:00
|
|
|
"name": "Search",
|
2015-07-09 11:16:55 -07:00
|
|
|
"description": "Allows the user to search through the file tree.",
|
2015-07-08 15:32:20 -07:00
|
|
|
"extensions": {
|
2015-08-04 13:10:29 -07:00
|
|
|
"constants": [
|
|
|
|
{
|
|
|
|
"key": "GENERIC_SEARCH_ROOTS",
|
|
|
|
"value": [ "ROOT" ],
|
|
|
|
"priority": "fallback"
|
|
|
|
}
|
|
|
|
],
|
2015-07-23 12:15:14 -07:00
|
|
|
"controllers": [
|
2015-07-15 13:29:45 -07:00
|
|
|
{
|
2015-07-22 15:43:28 -07:00
|
|
|
"key": "SearchController",
|
|
|
|
"implementation": "controllers/SearchController.js",
|
2015-08-17 12:34:50 -07:00
|
|
|
"depends": [ "$scope", "searchService" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "SearchMenuController",
|
|
|
|
"implementation": "controllers/SearchMenuController.js",
|
|
|
|
"depends": [ "$scope", "types[]" ]
|
2015-07-22 14:48:14 -07:00
|
|
|
},
|
|
|
|
{
|
2015-07-22 15:43:28 -07:00
|
|
|
"key": "SearchItemController",
|
|
|
|
"implementation": "controllers/SearchItemController.js",
|
2015-07-22 14:48:14 -07:00
|
|
|
"depends": [ "$scope" ]
|
2015-08-13 13:59:56 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ClickAwayController",
|
|
|
|
"implementation": "controllers/ClickAwayController.js",
|
|
|
|
"depends": [ "$scope", "$document" ]
|
2015-07-15 13:29:45 -07:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"templates": [
|
|
|
|
{
|
2015-07-22 15:43:28 -07:00
|
|
|
"key": "search",
|
2015-07-24 16:52:55 -07:00
|
|
|
"templateUrl": "templates/search.html",
|
2015-08-17 11:47:35 -07:00
|
|
|
"uses": [ "control" ]
|
2015-08-17 12:34:50 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "search-menu",
|
|
|
|
"templateUrl": "templates/search-menu.html"
|
2015-07-08 15:32:20 -07:00
|
|
|
}
|
2015-07-08 16:20:12 -07:00
|
|
|
],
|
|
|
|
"representations": [
|
|
|
|
{
|
2015-07-22 15:43:28 -07:00
|
|
|
"key": "search-item",
|
2015-07-24 15:08:43 -07:00
|
|
|
"templateUrl": "templates/search-item.html"
|
2015-07-08 16:20:12 -07:00
|
|
|
}
|
2015-07-13 10:34:06 -07:00
|
|
|
],
|
2015-07-16 10:35:26 -07:00
|
|
|
"components": [
|
2015-07-13 10:34:06 -07:00
|
|
|
{
|
2015-07-16 10:35:26 -07:00
|
|
|
"provides": "searchService",
|
|
|
|
"type": "provider",
|
2015-08-04 13:03:34 -07:00
|
|
|
"implementation": "services/GenericSearchProvider.js",
|
2015-08-12 10:06:27 -07:00
|
|
|
"depends": [ "$q", "$timeout", "objectService", "workerService", "GENERIC_SEARCH_ROOTS" ]
|
2015-07-16 10:35:26 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "searchService",
|
|
|
|
"type": "aggregator",
|
2015-08-04 13:03:34 -07:00
|
|
|
"implementation": "services/SearchAggregator.js",
|
2015-07-29 15:07:13 -07:00
|
|
|
"depends": [ "$q" ]
|
2015-07-13 10:34:06 -07:00
|
|
|
}
|
2015-07-21 09:44:14 -07:00
|
|
|
],
|
|
|
|
"workers": [
|
|
|
|
{
|
|
|
|
"key": "genericSearchWorker",
|
2015-08-04 16:45:23 -07:00
|
|
|
"scriptUrl": "services/GenericSearchWorker.js"
|
2015-07-21 09:44:14 -07:00
|
|
|
}
|
2015-07-08 15:32:20 -07:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|