prime-ngx-ar
v1.0.0-rc16
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.3.0.
Downloads
5
Readme
PrimeNgxAR
This library was generated with Angular CLI version 13.3.0.
Code scaffolding
Run ng generate component component-name --project prime-ngx-ar
to generate a new component. You can also
use ng generate directive|pipe|service|class|guard|interface|enum|module --project prime-ngx-ar
.
Note: Don't forget to add
--project prime-ngx-ar
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build prime-ngx-ar
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build prime-ngx-ar
, go to the dist folder cd dist/prime-ngx-ar
and
run npm publish
.
Running unit tests
Run ng test prime-ngx-ar
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 Overview and Command Reference page.
Installation
To install this library, run:
$ npm i prime-ngx-ar --save
$ npm i utilscore-ar --save
$ npm i primeng --save
$ npm i ngx-bootstrap --save
Modules
- AuthModule
- AuthGuard
- AuthService
- HttpBaseService
- ListTemplateModule
- ListManager
<list-template></list-template>
- Inputs:
- showPagination: boolean = true
- showToolbar: boolean = true
- showHeader: boolean = true
- showAddButton: boolean = true
- showCardLayout: boolean = true
- listTitle: string = "Lista"
- addButtonLabel: string = "Agregar nuevo"
- addButtonIcon: string = "fa fa-plus"
- requestSetting = new RequestSetting()
- pgRowsPerPage: number[] = []
- pgMaxSize: number = 4
- pgBoundaryLinks: boolean = true
- pgPreviousText: string = "&lsaquo"
- pgNextText: string = "&rsaquo"
- pgFirstText: string = "«"
- pgLastText: string = "»"
- pgShowTotalRows: boolean = true
- Outputs:
- onActionChange = new EventEmitter()
- Inputs:
- SearchTemplateModule
<search-template></search-template>
- Inputs:
- showPagination: boolean = true
- modalSize: string = "modal-xl"
- service: ServiceManager
- titleModal: string = "Busqueda"
- filter: boolean = true
- columns = new Array()
- dataKey: string = ""
- pgRowsPerPage = new Array()
- pgMaxSize: number = 4
- pgBoundaryLinks: boolean = true
- pgPreviousText: string = "&lsaquo"
- pgNextText: string = "&rsaquo"
- pgFirstText: string = "«"
- pgLastText: string = "»"
- pgShowTotalRows: boolean = true
- Outputs:
- onSearch = new EventEmitter()
- Inputs:
- SearchContentModule
<search-content></search-content>
- Inputs:
- searchTitle: string = "Busqueda"
- service: IServiceDataLoader
- columns: SearchColumn[]
- value: any
- host: string //'modal | overlay'
- pgMaxSize: number = 4
- pgBoundaryLinks: boolean = true
- pgPreviousText: string = "&lsaquo"
- pgNextText: string = "&rsaquo"
- pgFirstText: string = "«"
- pgLastText: string = "»"
- pgShowTotalRows: boolean = true
- method: string = "GetPage"
- activeColumn: SearchColumn
- Outputs:
- onClose = new EventEmitter()
- okAndNewChange = new EventEmitter()
- Inputs:
- SearchModalService
- VisibleColumnsPipe
<ng-container> {{value | visibleCols}} </ng-container>
- SearchOverlayModule
- Inputs: - searchTitle: string - service: IServiceDataLoader<any> - columns: Array<SearchColumn> - value: any - Outputs: - onClose = new EventEmitter() - appInjector - ComponentManager - SearchService - ServiceManager<T> - ServiceBase - DataService - MsgBoxModule - ```html <msgbox-content></msgbox-content> ``` - MsgBoxService
- PaginationModule
<pagination-ar></pagination-ar>
- Inputs:
- page = new Page()
- rowsPerPage: number[] = []
- maxSize: number = 4
- boundaryLinks: boolean = true
- previousText: string = "&lsaquo"
- nextText: string = "&rsaquo"
- firstText: string = "«"
- lastText: string = "»"
- showTotalRows: boolean = true
- showPageSize: boolean = true
- Outputs:
- onPaginate = new EventEmitter()
- Inputs:
- UploadButtonModule
- UploadButtonService
<upload-btn></upload-btn>
- Inputs:
- btnLabel: string = "Cargar archivo"
- btnClass: string = "btn-primary"
- acceptFiles: string = ""
- url: string = ""
- maxSizeMB: number = 5
- maxFiles: number = 1
- icon: string = "fa-cloud-upload"
- showIcon: boolean = true
- Outputs:
- onSuccess = new EventEmitter()
- onError = new EventEmitter()
- Inputs:
License
MIT © Desyco Logical Solutions