2.0.2 • Published 4 months ago

sdp-job v2.0.2

Weekly downloads
177
License
-
Repository
-
Last release
4 months ago

SdpJob

This is a smart widget for the SDP Project

This widget is used to show a global menu in all the forthcoming SDP Modules.

How to use

Backend for frontend

In the global config/config.js file, setup the correct API url like:

... API_URL_MENU: process.env.API_URL_MENU || 'https://sdpmenu-api-aaaa.bbbb.be/...', ...

Frontend

1) Install this smartwidget:

npm install sdp-menu

2) Now you include the menu as follows:

<sdp-menu [isLoggedIn]="!!(ss.loggedInUser$ | async)"
          [unsavedChanges]="ss.unsavedChanges$ | async"
          [customerSelected]="customerSelected$ | async"
          [privileges]="privileges"
          (onMenu)="onMenu($event: MenuNode)"
          (onSelect)="onSelect({ event: MouseEvent, item: MenuNode })"></sdp-menu>

This library was generated with Angular CLI version 8.2.14.

Code scaffolding

Run ng generate component component-name --project sdp-menu to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project sdp-menu.

Note: Don't forget to add --project sdp-menu or else it will be added to the default project in your angular.json file.

Build

Run ng build sdp-menu to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build sdp-menu, go to the dist folder cd dist/sdp-menu and run npm publish.

Running unit tests

Run ng test sdp-menu to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

2.0.2

4 months ago

2.0.1

8 months ago

2.0.0

10 months ago

1.0.8

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.0

2 years ago

0.3.13

2 years ago

0.3.11

2 years ago

0.3.10

3 years ago

0.3.9

3 years ago

0.3.6

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.0

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.17

3 years ago

0.1.18

3 years ago

0.1.15

3 years ago

0.1.16

3 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.10

3 years ago

0.1.11

3 years ago

0.1.12

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.2

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago