-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
45 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
...nio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/uploadsOverride.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// This file is part of InvenioRDM | ||
// Copyright (C) 2020-2022 CERN. | ||
// Copyright (C) 2020-2021 Northwestern University. | ||
// Copyright (C) 2021 Graz University of Technology. | ||
// Copyright (C) 2021 New York University. | ||
// | ||
// Invenio App RDM is free software; you can redistribute it and/or modify it | ||
// under the terms of the MIT License; see LICENSE file for more details. | ||
|
||
import { | ||
RDMCountComponent, | ||
RDMRecordSearchBarElement, | ||
RDMToggleComponent, | ||
} from "../search/components"; | ||
import { DashboardResultView } from "./base"; | ||
import { | ||
ContribBucketAggregationElement, | ||
ContribBucketAggregationValuesElement, | ||
} from "@js/invenio_search_ui/components"; | ||
import { | ||
ContribSearchAppFacetsWithConfig, | ||
DashboardUploadsSearchLayout, | ||
RDMEmptyResults, | ||
RDMRecordResultsGridItem, | ||
RDMRecordResultsListItem, | ||
} from "./uploads"; | ||
|
||
export const defaultComponents = { | ||
"BucketAggregation.element": ContribBucketAggregationElement, | ||
"BucketAggregationValues.element": ContribBucketAggregationValuesElement, | ||
"Count.element": RDMCountComponent, | ||
"EmptyResults.element": RDMEmptyResults, | ||
"ResultsList.item": RDMRecordResultsListItem, | ||
"ResultsGrid.item": RDMRecordResultsGridItem, | ||
"SearchApp.facets": ContribSearchAppFacetsWithConfig, | ||
"SearchApp.layout": DashboardUploadsSearchLayout, | ||
"SearchApp.results": DashboardResultView, | ||
"SearchBar.element": RDMRecordSearchBarElement, | ||
"SearchFilters.Toggle.element": RDMToggleComponent, | ||
}; |