23 lines
721 B
TypeScript
23 lines
721 B
TypeScript
import {Component} from '@angular/core';
|
|
import {properties} from "../../../environments/environment";
|
|
import {EnvProperties} from "../../openaireLibrary/utils/properties/env-properties";
|
|
import {SearchForm} from "../../openaireLibrary/searchPages/searchUtils/newSearchPage.component";
|
|
|
|
@Component({
|
|
selector: 'openaire-advanced-search-projects',
|
|
template: `
|
|
<search-projects [simpleView]="false" [hasPrefix]="false" [searchForm]="searchForm">
|
|
</search-projects>
|
|
|
|
`
|
|
})
|
|
|
|
export class OpenaireAdvancedSearchProjectsComponent {
|
|
properties: EnvProperties;
|
|
public searchForm: SearchForm = {class: 'search-form', dark: true};
|
|
constructor ( ) {}
|
|
ngOnInit() {
|
|
this.properties = properties;
|
|
}
|
|
}
|