sigesp 0.8.58-220110 → 0.8.62-220119
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.
- package/bundles/sigesp.umd.js +123 -19
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/Lugares.js +1 -1
- package/esm2015/lib/core/interfaces/Seguridad.js +1 -1
- package/esm2015/lib/core/models/SSS/log.model.js +29 -0
- package/esm2015/lib/core/models/locations.model.js +1 -1
- package/esm2015/lib/sigesp.service.js +88 -16
- package/esm2015/public-api.js +3 -2
- package/fesm2015/sigesp.js +116 -16
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Seguridad.d.ts +12 -0
- package/lib/core/models/SSS/log.model.d.ts +15 -0
- package/lib/sigesp.service.d.ts +59 -14
- package/package.json +1 -1
- package/public-api.d.ts +3 -2
- package/sigesp.metadata.json +1 -1
|
@@ -85,3 +85,15 @@ export interface IUserPermit {
|
|
|
85
85
|
codusu: string;
|
|
86
86
|
isNew?: string;
|
|
87
87
|
}
|
|
88
|
+
export interface ILog {
|
|
89
|
+
id_usuario: number;
|
|
90
|
+
id_component: number;
|
|
91
|
+
codsis: string;
|
|
92
|
+
evento: string;
|
|
93
|
+
deslog: string;
|
|
94
|
+
equlog: string;
|
|
95
|
+
fecsys?: string;
|
|
96
|
+
feclog?: string;
|
|
97
|
+
id_empresa?: number;
|
|
98
|
+
id_log?: string;
|
|
99
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MBasicModel } from '../basic-model.model';
|
|
2
|
+
import { ILog } from '../../interfaces/Seguridad';
|
|
3
|
+
export declare class MLog extends MBasicModel {
|
|
4
|
+
id_usuario: number;
|
|
5
|
+
id_component: number;
|
|
6
|
+
codsis: string;
|
|
7
|
+
evento: string;
|
|
8
|
+
deslog: string;
|
|
9
|
+
equlog: string;
|
|
10
|
+
fecsys: string;
|
|
11
|
+
feclog: string;
|
|
12
|
+
id_empresa: number;
|
|
13
|
+
id_log: number;
|
|
14
|
+
constructor(record?: ILog);
|
|
15
|
+
}
|
package/lib/sigesp.service.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import { MCuentaIngresos } from './core/models/IncomeAccount';
|
|
|
28
28
|
import { MCountry, MState, MMunicipality, MParish } from './core/models/locations.model';
|
|
29
29
|
import { IResponse } from './core/interfaces/Response';
|
|
30
30
|
import { MComponent } from './core/models/SSS/component.model';
|
|
31
|
+
import { MLog } from './core/models/SSS/log.model';
|
|
31
32
|
export declare class SigespService {
|
|
32
33
|
private http;
|
|
33
34
|
private dialog;
|
|
@@ -486,16 +487,19 @@ export declare class SigespService {
|
|
|
486
487
|
*/
|
|
487
488
|
getServiceCharges(serviceId?: number): Observable<IResponse>;
|
|
488
489
|
/**
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
490
|
+
* @description Obtiene los paises
|
|
491
|
+
* @return Observable<MCountry>
|
|
492
|
+
* @author Carlos Albornoz
|
|
493
|
+
* @modified 10-01-2022
|
|
494
|
+
* @param codigo: Codigo del pais
|
|
495
|
+
*/
|
|
493
496
|
getCountries(codigo?: string): Observable<MCountry[]>;
|
|
494
497
|
/**
|
|
495
498
|
* @description Obtiene los estados
|
|
496
499
|
* @return Observable<MState>
|
|
497
500
|
* @author Carlos Albornoz
|
|
498
501
|
* @modificado 10-01-2022
|
|
502
|
+
* @param codigo: Codigo del pais
|
|
499
503
|
*/
|
|
500
504
|
getStates(codigo?: string): Observable<MState[]>;
|
|
501
505
|
/**
|
|
@@ -503,6 +507,8 @@ export declare class SigespService {
|
|
|
503
507
|
* @return Observable<MMunicipality>
|
|
504
508
|
* @author Carlos Albornoz
|
|
505
509
|
* @modificado 10-01-2022
|
|
510
|
+
* @param pais: Codigo del pais, estado:Codigo del estado
|
|
511
|
+
|
|
506
512
|
*/
|
|
507
513
|
getMunicipalities(pais?: string, estado?: string): Observable<MMunicipality[]>;
|
|
508
514
|
/**
|
|
@@ -510,15 +516,17 @@ export declare class SigespService {
|
|
|
510
516
|
* @return Observable<MParish>
|
|
511
517
|
* @author Carlos Albornoz
|
|
512
518
|
* @modificado 10-01-2022
|
|
513
|
-
*
|
|
519
|
+
* @param codigo: Codigo del pais, estado:Codigo del estado, municipio:codigo Municipio
|
|
514
520
|
*/
|
|
515
521
|
getParishes(codigo?: string, estado?: string, municipio?: string): Observable<MParish[]>;
|
|
516
522
|
/**
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
523
|
+
* @description Obtiene las ciudades
|
|
524
|
+
* @return Observable<MParish>
|
|
525
|
+
* @author Carlos Albornoz
|
|
526
|
+
* @modificado 10-01-2022
|
|
527
|
+
* @param codigo: Codigo del pais
|
|
528
|
+
|
|
529
|
+
*/
|
|
522
530
|
getCitys(codigo?: string): Observable<MParish[]>;
|
|
523
531
|
/**
|
|
524
532
|
* @description Obtiene los sistemas activas
|
|
@@ -792,11 +800,48 @@ export declare class SigespService {
|
|
|
792
800
|
*/
|
|
793
801
|
getPersonalNomina(dato?: any): Observable<any>;
|
|
794
802
|
/**
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
803
|
+
* @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
|
|
804
|
+
* @return Json data
|
|
805
|
+
* @author Ing. Wilmer Briceno
|
|
806
|
+
*/
|
|
799
807
|
getJsonMenu(id_usuario: number, sistema: string): Observable<any>;
|
|
808
|
+
/**
|
|
809
|
+
* @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
|
|
810
|
+
* @return Json data
|
|
811
|
+
* @author Ing. Wilmer Briceno
|
|
812
|
+
*/
|
|
813
|
+
log(body: MLog): Observable<any>;
|
|
814
|
+
/**
|
|
815
|
+
* @name EncryptData
|
|
816
|
+
* @description Enscripta una expresion data
|
|
817
|
+
* @author Ing. Wilmer Briceño
|
|
818
|
+
*/
|
|
819
|
+
EncryptData(expresion: string): any;
|
|
820
|
+
/**
|
|
821
|
+
* @name DecryptData
|
|
822
|
+
* @description Desencripta una expresion data
|
|
823
|
+
* @author Ing. Wilmer Briceño
|
|
824
|
+
*/
|
|
825
|
+
DecryptData(expresion: string): any;
|
|
826
|
+
/**
|
|
827
|
+
* @name getResponsePerfilToolbar
|
|
828
|
+
* @description Metodo que obtiene una respuesta true o false basado en una estructura sring binanria segun
|
|
829
|
+
* la posicion dada del toolbar. se pasa string binario que contiene 1 y 0 en representacion
|
|
830
|
+
* de las propiestades administrador,consultar,ejecutar,imprimir etc ... cada posicion secuencial
|
|
831
|
+
* si esta en 1 es true y 0 en false y devuleve el valor segun lo requiera el usuario:
|
|
832
|
+
* stringbinario : '1011' y posicion es 2, por tanto se tare 0 y es false que representa opcion consultar.
|
|
833
|
+
* Estructura string binario:
|
|
834
|
+
* Posición :
|
|
835
|
+
* 0. Administrador 6. Descargar
|
|
836
|
+
* 1. insertar 7. Ejecutar
|
|
837
|
+
* 2. Actualizar 8. Enviar
|
|
838
|
+
* 3. consultar 9. Imprimir
|
|
839
|
+
* 4. Eliminar 10. Visible
|
|
840
|
+
* 5. Anular
|
|
841
|
+
*
|
|
842
|
+
* @author Ing. Wilmer Briceño
|
|
843
|
+
*/
|
|
844
|
+
getResponsePerfilToolbar(stringbinario: string, position: number): boolean;
|
|
800
845
|
}
|
|
801
846
|
interface filtroCuentasPresupuesto {
|
|
802
847
|
tipo?: 'E' | 'R';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export { MFuenteFinanciamiento } from './lib/core/models/fuenteFinanciamiento.mo
|
|
|
17
17
|
export { MCuentaEgresos } from './lib/core/models/expensiveAccount.model';
|
|
18
18
|
export { MComprobantePresupuestarioIngresos, MComprobantePresupuestarioEgresos } from './lib/core/models/comprobantePresupuestario.model';
|
|
19
19
|
export { MEstructuraPresupuestariaOne, MEstructuraPresupuestariaTwo, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaFiveComplete, MAllStructure } from './lib/core/models/estructuraPresupuestaria.model';
|
|
20
|
-
export { MCountry, MMunicipality, MParish, MState, MCity } from './lib/core/models/locations.model';
|
|
20
|
+
export { MCountry, MMunicipality, MParish, MState, MCity, } from './lib/core/models/locations.model';
|
|
21
21
|
export { MClasification } from './lib/core/models/clasification.model';
|
|
22
22
|
export { MDocument } from './lib/core/models/document.model';
|
|
23
23
|
export { MOrganizationType } from './lib/core/models/organizationType.model';
|
|
@@ -41,6 +41,7 @@ export { MSistema } from './lib/core/models/sistema';
|
|
|
41
41
|
export { MComponent } from './lib/core/models/SSS/component.model';
|
|
42
42
|
export { MRights } from './lib/core/models/SSS/userRights.model';
|
|
43
43
|
export { MUserPermit } from './lib/core/models/SSS/userPermit.model';
|
|
44
|
+
export { MLog } from './lib/core/models/SSS/log.model';
|
|
44
45
|
export { MAdministrativeUnit } from './lib/core/models/SPG/administrativeUnit.model';
|
|
45
46
|
export { MServiceCharge } from './lib/core/models/SOC/serviceCharge.model';
|
|
46
47
|
export { MBasicModel } from './lib/core/models/basic-model.model';
|
|
@@ -115,7 +116,7 @@ export { IServiceType, IService, IClause, IConfigSOC, IClauseModality, IServiceC
|
|
|
115
116
|
export { IDeductionType, ICargo, IDeduction } from './lib/core/interfaces/Tributos';
|
|
116
117
|
export { customPaginator } from './lib/shared/material/customPaginator';
|
|
117
118
|
export { ICuentaIngresos } from './lib/core/interfaces/CuentaIngreso';
|
|
118
|
-
export { IConfigSSS, IUserDetail, IGroup, IComponent, IRights, IUserPermit } from './lib/core/interfaces/Seguridad';
|
|
119
|
+
export { IConfigSSS, IUserDetail, IGroup, IComponent, IRights, IUserPermit, ILog } from './lib/core/interfaces/Seguridad';
|
|
119
120
|
export { ISistema } from './lib/core/interfaces/Sistema';
|
|
120
121
|
export { IUnitAdministrative } from './lib/core/interfaces/Presupuesto';
|
|
121
122
|
export { IServiceCharge, IConceptosCXP, ITipoDocumentoCXP } from './lib/core/interfaces/CuentasPorPagar';
|