sigesp 0.8.50-211115 → 0.8.54-220105

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.
@@ -124,6 +124,7 @@ export interface IConfiguracionSNO {
124
124
  regasiinc: string;
125
125
  manindmod: string;
126
126
  digcodcon: string;
127
+ segper: string;
127
128
  }
128
129
  export interface IIncidencia {
129
130
  valor: string;
@@ -125,6 +125,7 @@ export declare class MConfiguracionSNO extends MBasicModel {
125
125
  registroasistenciaincidencia: string;
126
126
  manejoIndependienteModulo: number;
127
127
  digitosCodigoConcepto: number;
128
+ segmentarPersonal: number;
128
129
  constructor(I?: IConfiguracionSNO);
129
130
  dataInterface(): IConfiguracionSNO;
130
131
  }
@@ -35,6 +35,7 @@ export declare class SigespService {
35
35
  usuarioActivo: MUsuario;
36
36
  URL: string;
37
37
  currentComponent: MComponent;
38
+ userMenu: any;
38
39
  constructor(http: HttpClient, dialog: MatDialog, toast: ToastrService);
39
40
  /**
40
41
  * @description Valida que selo se escriban guiones y 9
@@ -726,6 +727,20 @@ export declare class SigespService {
726
727
  * @author Miguel Ramírez
727
728
  */
728
729
  showToastError(message: string): void;
730
+ /**
731
+ * @description Muestra un sweetalert2 de éxito
732
+ * @param message Mensaje que se va a mostrar
733
+ * @return void
734
+ * @date 22-11-2021
735
+ */
736
+ showToastSuccessSwal(message: string): void;
737
+ /**
738
+ * @description Muestra un sweetalert2 de error
739
+ * @param message Mensaje que se va a mostrar
740
+ * @return void
741
+ * @date 22-11-2021
742
+ */
743
+ showToastErrorSwal(message: string): void;
729
744
  /**
730
745
  * @description Guarda el usuario logueado en el SessionStorage
731
746
  * @param user Usuario que se va a guardar en el SessionStorage
@@ -760,11 +775,17 @@ export declare class SigespService {
760
775
  */
761
776
  getPersonal(dato?: any): Observable<any>;
762
777
  /**
763
- * @description obtener personal Nomina segun filtro
764
- * @return Observable<IResponse>
765
- * @date 15-11-2021
766
- */
778
+ * @description obtener personal Nomina segun filtro
779
+ * @return Observable<IResponse>
780
+ * @date 15-11-2021
781
+ */
767
782
  getPersonalNomina(dato?: any): Observable<any>;
783
+ /**
784
+ * @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
785
+ * @return Json data
786
+ * @author Ing. Wilmer Briceno
787
+ */
788
+ getJsonMenu(id_usuario: number, sistema: string): Observable<any>;
768
789
  }
769
790
  interface filtroCuentasPresupuesto {
770
791
  tipo?: 'E' | 'R';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigesp",
3
- "version": "0.8.50-211115",
3
+ "version": "0.8.54-220105",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },