sigesp 0.8.96-20220530 → 0.8.99-20220616

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -366,12 +366,13 @@ export declare class SigespService {
366
366
  */
367
367
  getAbstractControl(formGroup: FormGroup, name: string): AbstractControl;
368
368
  /**
369
- * @description Función para escribir solo decimales (Usar en evento keypress)
369
+ * @description Previene que se escriban letras en el input (Usar en keypress)
370
370
  * @param event Evento del teclado
371
371
  * @return boolean
372
372
  * @author Miguel Ramírez
373
+ * @modificado como onlyNumero para corregir codigo, usar currency-input si quiere usar decimales
373
374
  */
374
- onlyDecimal(event: any): boolean;
375
+ onlyDecimal(event?: any): boolean;
375
376
  /**
376
377
  * @description Previene que se escriban letras en el input (Usar en keypress)
377
378
  * @param event Evento del teclado
@@ -740,11 +741,13 @@ export declare class SigespService {
740
741
  getHojaTiempo(tipo: string, idPersonal?: number, idNomina?: number): Observable<any>;
741
742
  userHasRights(column: 'administrador' | 'insertar' | 'actualizar' | 'consultar' | 'eliminar' | 'anular' | 'descargar' | 'ejecutar__procesar_' | 'imprimir' | 'enviar__correo_' | 'visible'): Observable<IResponse>;
742
743
  /**
743
- * @description Retorna los headers para hacer las peticiones
744
- * @return HttpHeaders
745
- * @author Miguel Ramírez
746
- */
747
- getHttpHeaders(): HttpHeaders;
744
+ * @description Retorna los headers para hacer las peticiones
745
+ * @params type: Tipo MIME permitido por defecto se toma application/json
746
+ * @return HttpHeaders
747
+ * @author Miguel Ramírez
748
+ * @date-update: 15-06-2022
749
+ */
750
+ getHttpHeaders(type?: string): HttpHeaders;
748
751
  /**
749
752
  * @description Obtiene el servidor guardado en el sessionStorage
750
753
  * @return string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigesp",
3
- "version": "0.8.96-20220530",
3
+ "version": "0.8.99-20220616",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },