This package contains many of the features available in the GeoNetwork-UI project.
Its contents are:
- all the libraries in the
libs
folder - all translations
- various configuration files
This package does not contain:
- applications (Datahub, etc.)
- unit and E2E tests
- docker composition
- documentation
- anything related to NX
This is what using this package looks like in an Angular application:
// ...
import { UiElementsModule, provideRepositoryUrl, provideI18n, ThemeService } from 'geonetwork-ui'
@NgModule({
imports: [
// ...
UiElementsModule,
],
providers: [
// ...
provideRepositoryUrl('http://localhost:8080/geonetwork/srv/api'),
provideI18n(),
],
bootstrap: [AppComponent],
})
export class AppModule {
constructor() {
ThemeService.applyCssVariables('#e73f51', '#c2e9dc', '#212029', '#fdfbff')
}
}
Please read the documentation on how to create a Custom Application for more information!