# asi-ngtools

This project is a little components library, simple to use, which will help you to simplify your project.

This library have an angular 4/5/6 version.

##### To use it with angular 6 :

`npm install -save @asi-ngtools/lib@^6.0.0`

##### To use it with angular 5 :

`npm install -save @asi-ngtools/lib@^5.0.0`

#### To use it with angular 4 :  

`npm install -save @asi-ngtools/lib@^4.0.0`

This library also work with **angular universal**

The documentation can be found on this website : https://ng-tools.asi.fr

Here's the list of components that can be found in the library :

|  Name | Description    |
| :------------: | :------------: |
| asi-select | A simple or multi selection listbox component |
| asi-autocomplete | A typeahead component  |
| asi-autocomplete-multiple | A multi selection typeahead component   |
| asi-input  | Simple input  |
| asi-input-icon | Simple input with an fa-icon |
| asi-textarea | Simple textarea |
| asi-checkbox | Simple checkbox |
| asi-button | Simple button   |
| asi-link-button | A href with the design of a button |
| asi-switch | Simple switch |
| asi-radio-group | Radio button component |
| asi-datepicker | A datepicker   |
| asi-dmy-picker | A day month year picker |
| asi-calendar |  A calendar  |
| asi-error-messages | A component used to display error message  |
| asi-notification | Display success/warning/error/info notification   |
| asi-dialog | Display dialog box |
| asi-table | Display a table with pagination |
| asi-tree-view | Display a tree view |
| asi-tab-group | Display a tab group |
| asi-file-chooser | Used to choose a file |
| asi-image-chooser | Used to choose an image |
| asi-fa-icon | Used to display font awesome icon |
| asi-bind-html | Allow you to load and inject html |
| asi-bind-and-compile-html | Allow you to load and injected angular compilated html |
| asi-code-viewer | Allow you to display code |

Here's  the list of services that can be found in the library :

|  Name | Description    |
| :------------: | :------------: |
| AsiCssInjectorService  | Allow you load and inject css |
| AsiFileService  | Allow you manage file easily |
| AsiPaginationService | Simple service to paginate data  |
| AsiSessionStorageService | Simple service to save data in sessionStorage  |
| AsiLocalStorageStorageService | Simple service to save data in localStorage  |

Here's  the list of validators that can be found in the library :

|  Name | Description    |
| :------------: | :------------: |
| AsiValidators.email | Allow you to validate a none required email  |
| AsiValidators.minDateFromControl  | Allow you to dynamically validate a min date from formControl |
| AsiValidators.minDateFromControl  | Allow you to dynamically validate a max date from formControl |

## Greeting

The base of this project library is created with : https://github.com/jvandemo/generator-angular2-library
So, thanks @jvandemo @izifortune and other contributors !

## License

MIT © [xrobert](mailto:xrobert@asi.fr)

