0.0.45 • Published 3 years ago

diu-angular-navigation v0.0.45

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

DiuAngularNavigation

This Angular Library is to house the Navigation Components for applications managed by the Digital Intelligence Unit.

Components

Navigation Menu (lib-diu-angular-navigation)

Shows the left-side Navigation Menu of links, input using the following:

[menuItems]="showMenuItems"

Where shownMenuItems is of type Menu with the following exported structure:

export interface Menu {
  state: string;
  name: string;
  type: string;
  icon: string;
  badge?: BadgeItem[];
  saperator?: Saperator[];
  children?: ChildrenItems[];
  isAdmin?: boolean;
}

The side menu also includes the Digital Intelligence Logo and Site logo, collapsable using the boolean isMinisidebar.

Example use:

<lib-diu-angular-navigation [isMinisidebar]="false" [menuItems]="showMenuItems"></lib-diu-angular-navigation>

Speed Dial Menu (lib-diu-angular-speed-dial)

Speed Dial Component for improved mobile and responsive browser navigation.

Requires a valid DIU JWT to manage MFA functions. Passed through to component using:

[token]="jwtToken"

Subscribing to the output event newMFAToken will pass back an upgraded JWT when the user successfully completes Multi-factor authentication.

Subscribing to the output event errorMessage will inform you when an error has occured in any of the Speed Dial's functions.

Example use:

<lib-diu-angular-speed-dial [token]="jwtToken" (errorMessage)="showErrors($event)" (newMFAToken)="updateToken($event)"></lib-diu-angular-speed-dial>
0.0.45

3 years ago

0.0.44

3 years ago

0.0.43

3 years ago

0.0.42

3 years ago

0.0.41

3 years ago

0.0.4

3 years ago

0.0.34

3 years ago

0.0.33

3 years ago

0.0.32

3 years ago

0.0.31

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago