![CI](https://github.deutsche-boerse.de/dev/risk-angular-common/workflows/CI/badge.svg?event=push)
![lint-bash](https://github.deutsche-boerse.de/dev/risk-angular-common/workflows/lint-bash/badge.svg?event=push)
![lint-docker](https://github.deutsche-boerse.de/dev/risk-angular-common/workflows/lint-docker/badge.svg?event=push)

# risk-angular-common (Angular 13 and @angular/material based library for RiskIT applications)

Used by:
 - [dev/DAVe-UI](https://github.deutsche-boerse.de/dev/DAVe-UI)
 - [dev/DAVe-MarginEstimator-UI](https://github.deutsche-boerse.de/dev/DAVe-MarginEstimator-UI)
 - [dev/MDH-UI](https://github.deutsche-boerse.de/dev/MDH-UI)
 - [RiskIT/openid-k8s-token-generator](https://github.deutsche-boerse.de/RiskIT/openid-k8s-token-generator)

## Packages

To use in your application add the following packages into your app:
```       
@dbg-riskit/common - Common code and types 
@dbg-riskit/angular-auth - JWT based auth module 
@dbg-riskit/angular-common - Angular specific common code 
@dbg-riskit/angular-datatable - Data table module
@dbg-riskit/angular-dbg-layout - Layout that contains all DBG fonts and logotypes (not available
    in public NPM registry)
@dbg-riskit/angular-eurex-layout - Layout that contains all Eurex fonts and logotypes (not available
    in public NPM registry)
@dbg-riskit/angular-dummy-layout - Layout without fonts and logotypes
@dbg-riskit/angular-error - Errors handling
@dbg-riskit/angular-file - Components for file upload/download
@dbg-riskit/angular-http - HTTP service implementation
@dbg-riskit/angular-graphql - GraphQL service implementation
@dbg-riskit/angular-logging - Logging service
@dbg-riskit/angular-login - Login components
@dbg-riskit/angular-polyfill - Module that includes all polyfills required to run Angular with 
    this library
@dbg-riskit/angular-testing - Testing utilities
@dbg-riskit/angular-view - Common view components
@dbg-riskit/graphql - Common GraphQL types
@dbg-riskit/graphql-codegen-plugin - GraphQL codegen generator plugin
```

## Usage

Tokens to be provided by application:
```
// For all other modules:
// -------------------------------------
// Date format string (eg. 'dd. MM. yyyy HH:mm:ss')
{
    provide : DATE_FORMAT,
    useValue: 'dd/MM/yyyy HH:mm'
}
// -------------------------------------
```

FIXME: Add full description. Maybe a skeleton project. PR is welcome ;)

## Contributing
Follow the guide [here](develop_guide.md).
