README
e5core-angular-ui in 1.3.3
Copyright 2019 e5 Workflow Inc
This package contains a collection of UI components for use with the e5 Workflow Inc e5 Anywhere system. This library requires the e5core-angular-services in order to communicate with the REST API. Please see e5core-angular-services for information and instructions on installing and configuring that library.
Quick Start
The following is a quick example of how to add the e5 Anywhere Components to your application.
- Install the following NPM packages
npm install --save e5core-angular-services e5core-angular-ui
npm install --save @angular/material @angular/cdk @angular/animations
npm install --save highcharts highcharts-angular
npm install --save ngx-material-timepicker
npm install --save primeng primeicons
- Setup the
e5core-angular-servicesas described in https://www.npmjs.com/package/e5core-angular-services. - Add the following models to the
app.module.ts
import { CommonModule } from '@angular/common';
import { E5coreAngularUiModule } from 'e5core-angular-ui' ;
import { BrowserAnimationsModule } from '@angular/platform-browser/animations' ;
- Add the following linked to the
index.html.
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
- Add the following to the
styles.css.
@import "~@angular/material/prebuilt-themes/indigo-pink.css";
@import "~primeicons/primeicons.css";
@import "~primeng/resources/themes/nova-light/theme.css";
@import "~primeng/resources/primeng.min.css";
Upgrade to Angular 7 [Added 1.3.0]
As of version 1.3.0 - e5core-angular-ui requires Angular 7 as a per dependency
Work Related Items [Added 1.2.4]
The work related items component can be inserted into a page using the <e5core-ui-work-related-items> tag as shown below. The component requires a work item observable as a parameter and will respond to changes in the work item. By default the Category 1, Category 2, Category 3 and Status of the child work item are displayed. The number of items on page can be changed by the “items per page” drop down in the bottom right corner, and the sort order can be changes by clicking on the column heading.
<e5core-ui-work-related-items [workItem$]='workItem