sigesp 0.9.7-20221204 → 0.9.9-20221205
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 +155 -27
- 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/Configuracion.js +1 -1
- package/esm2015/lib/core/interfaces/Lugares.js +1 -1
- package/esm2015/lib/core/models/CFG/Enterprise.model.js +67 -0
- package/esm2015/lib/core/models/CFG/locations.model.js +39 -1
- package/esm2015/lib/sigesp.service.js +19 -3
- package/esm2015/public-api.js +3 -2
- package/esm2015/sigesp.js +11 -11
- package/fesm2015/sigesp.js +136 -17
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Configuracion.d.ts +19 -0
- package/lib/core/interfaces/Lugares.d.ts +8 -0
- package/lib/core/models/CFG/Enterprise.model.d.ts +23 -0
- package/lib/core/models/CFG/locations.model.d.ts +11 -1
- package/lib/sigesp.service.d.ts +10 -2
- package/package.json +1 -1
- package/public-api.d.ts +3 -2
- package/sigesp.d.ts +27 -26
- package/sigesp.metadata.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -348,6 +348,75 @@
|
|
|
348
348
|
return MBasicModel;
|
|
349
349
|
}());
|
|
350
350
|
|
|
351
|
+
var MEnterprise = /** @class */ (function (_super) {
|
|
352
|
+
__extends(MEnterprise, _super);
|
|
353
|
+
function MEnterprise(e) {
|
|
354
|
+
var _this = _super.call(this) || this;
|
|
355
|
+
_this.idEmpresa = 0;
|
|
356
|
+
_this.idEnterprise = 0;
|
|
357
|
+
_this.codigo = '';
|
|
358
|
+
_this.razonSocial = '';
|
|
359
|
+
_this.titulo = '';
|
|
360
|
+
_this.logo = '';
|
|
361
|
+
_this.rif = '';
|
|
362
|
+
_this.direccion = '';
|
|
363
|
+
_this.cuentaIngreso = '';
|
|
364
|
+
_this.CuentaPorCobrar = '';
|
|
365
|
+
_this.CuentaIva = '';
|
|
366
|
+
_this.cuentaInventario = '';
|
|
367
|
+
_this.cuentaUtilidad = '';
|
|
368
|
+
_this.cuentaPerdida = '';
|
|
369
|
+
_this.cuentaPasivoDiferido = '';
|
|
370
|
+
_this.cuentAnterior = '';
|
|
371
|
+
_this.cuentSobrante = '';
|
|
372
|
+
if (e) {
|
|
373
|
+
_this.idEmpresa = +e.id_empresa;
|
|
374
|
+
_this.idEnterprise = +e.id_enterprise;
|
|
375
|
+
_this.codigo = e.codigo;
|
|
376
|
+
_this.razonSocial = e.denominacion;
|
|
377
|
+
_this.titulo = e.titulo;
|
|
378
|
+
_this.logo = e.logo;
|
|
379
|
+
_this.rif = e.rif;
|
|
380
|
+
_this.direccion = e.direccion;
|
|
381
|
+
_this.cuentaIngreso = e.spi_cuenta;
|
|
382
|
+
_this.CuentaPorCobrar = e.sc_cuenta_cxc;
|
|
383
|
+
_this.CuentaIva = e.sc_cuenta_iva;
|
|
384
|
+
_this.cuentaInventario = e.sc_cuenta_inventario;
|
|
385
|
+
_this.cuentaUtilidad = e.sc_cuenta_utilidad;
|
|
386
|
+
_this.cuentaPerdida = e.sc_cuenta_perdida;
|
|
387
|
+
_this.cuentaPasivoDiferido = e.sc_cuenta_pasivo_diferido;
|
|
388
|
+
_this.cuentAnterior = e.sc_cuenta_ant;
|
|
389
|
+
_this.cuentSobrante = e.spi_cuenta_sobrante;
|
|
390
|
+
}
|
|
391
|
+
else {
|
|
392
|
+
_this.isNew = true;
|
|
393
|
+
}
|
|
394
|
+
return _this;
|
|
395
|
+
}
|
|
396
|
+
MEnterprise.prototype.dataInterface = function () {
|
|
397
|
+
return {
|
|
398
|
+
id_empresa: this.idEmpresa.toString(),
|
|
399
|
+
id_enterprise: this.idEnterprise.toString(),
|
|
400
|
+
codigo: this.codigo,
|
|
401
|
+
denominacion: this.razonSocial,
|
|
402
|
+
titulo: this.titulo,
|
|
403
|
+
logo: this.logo,
|
|
404
|
+
rif: this.rif,
|
|
405
|
+
direccion: this.direccion,
|
|
406
|
+
spi_cuenta: this.cuentaIngreso,
|
|
407
|
+
sc_cuenta_cxc: this.CuentaPorCobrar,
|
|
408
|
+
sc_cuenta_iva: this.CuentaIva,
|
|
409
|
+
sc_cuenta_inventario: this.cuentaInventario,
|
|
410
|
+
sc_cuenta_utilidad: this.cuentaUtilidad,
|
|
411
|
+
sc_cuenta_perdida: this.cuentaPerdida,
|
|
412
|
+
sc_cuenta_pasivo_diferido: this.cuentaPasivoDiferido,
|
|
413
|
+
sc_cuenta_ant: this.cuentAnterior,
|
|
414
|
+
spi_cuenta_sobrante: this.cuentSobrante
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
return MEnterprise;
|
|
418
|
+
}(MBasicModel));
|
|
419
|
+
|
|
351
420
|
var MPersonalNomina = /** @class */ (function (_super) {
|
|
352
421
|
__extends(MPersonalNomina, _super);
|
|
353
422
|
function MPersonalNomina(e) {
|
|
@@ -949,22 +1018,6 @@
|
|
|
949
1018
|
return MMonedaConfig;
|
|
950
1019
|
}());
|
|
951
1020
|
|
|
952
|
-
var MComunidad = /** @class */ (function () {
|
|
953
|
-
function MComunidad(comunidad) {
|
|
954
|
-
this.codestado = comunidad.codestado;
|
|
955
|
-
this.codigo = comunidad.codigo;
|
|
956
|
-
this.codmunicipio = comunidad.codmunicipio;
|
|
957
|
-
this.codparroquia = comunidad.codparroquia;
|
|
958
|
-
this.comunidad = comunidad.comunidad;
|
|
959
|
-
this.estado = comunidad.estado;
|
|
960
|
-
this.municipio = comunidad.municipio;
|
|
961
|
-
this.pais = comunidad.pais;
|
|
962
|
-
this.parroquia = comunidad.parroquia;
|
|
963
|
-
this.prefijo = comunidad.prefijo;
|
|
964
|
-
}
|
|
965
|
-
return MComunidad;
|
|
966
|
-
}());
|
|
967
|
-
|
|
968
1021
|
var MUnidadTributaria = /** @class */ (function () {
|
|
969
1022
|
function MUnidadTributaria(unidad) {
|
|
970
1023
|
this.año = unidad.anno;
|
|
@@ -2217,6 +2270,9 @@
|
|
|
2217
2270
|
_this.municipalityCode = parish.codmun.trim();
|
|
2218
2271
|
_this.name = parish.despar.trim();
|
|
2219
2272
|
}
|
|
2273
|
+
else {
|
|
2274
|
+
_this.isNew = true;
|
|
2275
|
+
}
|
|
2220
2276
|
return _this;
|
|
2221
2277
|
}
|
|
2222
2278
|
MParish.prototype.dataInterface = function () {
|
|
@@ -2244,6 +2300,9 @@
|
|
|
2244
2300
|
_this.stateCode = city.codest.trim();
|
|
2245
2301
|
_this.name = city.desciu.trim();
|
|
2246
2302
|
}
|
|
2303
|
+
else {
|
|
2304
|
+
_this.isNew = true;
|
|
2305
|
+
}
|
|
2247
2306
|
return _this;
|
|
2248
2307
|
}
|
|
2249
2308
|
MCity.prototype.dataInterface = function () {
|
|
@@ -2255,6 +2314,41 @@
|
|
|
2255
2314
|
};
|
|
2256
2315
|
};
|
|
2257
2316
|
return MCity;
|
|
2317
|
+
}(MBasicModel));
|
|
2318
|
+
var MCommunity = /** @class */ (function (_super) {
|
|
2319
|
+
__extends(MCommunity, _super);
|
|
2320
|
+
function MCommunity(parish) {
|
|
2321
|
+
var _this = _super.call(this) || this;
|
|
2322
|
+
_this.code = null;
|
|
2323
|
+
_this.countryCode = null;
|
|
2324
|
+
_this.stateCode = null;
|
|
2325
|
+
_this.municipalityCode = null;
|
|
2326
|
+
_this.parishCode = null;
|
|
2327
|
+
_this.name = null;
|
|
2328
|
+
if (parish) {
|
|
2329
|
+
_this.code = parish.codcom.trim();
|
|
2330
|
+
_this.countryCode = parish.codpai.trim();
|
|
2331
|
+
_this.stateCode = parish.codest.trim();
|
|
2332
|
+
_this.municipalityCode = parish.codmun.trim();
|
|
2333
|
+
_this.parishCode = parish.codpar.trim();
|
|
2334
|
+
_this.name = parish.descom.trim();
|
|
2335
|
+
}
|
|
2336
|
+
else {
|
|
2337
|
+
_this.isNew = true;
|
|
2338
|
+
}
|
|
2339
|
+
return _this;
|
|
2340
|
+
}
|
|
2341
|
+
MCommunity.prototype.dataInterface = function () {
|
|
2342
|
+
return {
|
|
2343
|
+
codpai: this.countryCode,
|
|
2344
|
+
codest: this.stateCode,
|
|
2345
|
+
codmun: this.municipalityCode,
|
|
2346
|
+
codpar: this.parishCode,
|
|
2347
|
+
codcom: this.code,
|
|
2348
|
+
descom: this.name,
|
|
2349
|
+
};
|
|
2350
|
+
};
|
|
2351
|
+
return MCommunity;
|
|
2258
2352
|
}(MBasicModel));
|
|
2259
2353
|
|
|
2260
2354
|
var MProviderBeneficiary = /** @class */ (function (_super) {
|
|
@@ -5589,6 +5683,22 @@
|
|
|
5589
5683
|
return MTipoDepositos;
|
|
5590
5684
|
}(MBasicModel));
|
|
5591
5685
|
|
|
5686
|
+
var MComunidad = /** @class */ (function () {
|
|
5687
|
+
function MComunidad(comunidad) {
|
|
5688
|
+
this.codestado = comunidad.codestado;
|
|
5689
|
+
this.codigo = comunidad.codigo;
|
|
5690
|
+
this.codmunicipio = comunidad.codmunicipio;
|
|
5691
|
+
this.codparroquia = comunidad.codparroquia;
|
|
5692
|
+
this.comunidad = comunidad.comunidad;
|
|
5693
|
+
this.estado = comunidad.estado;
|
|
5694
|
+
this.municipio = comunidad.municipio;
|
|
5695
|
+
this.pais = comunidad.pais;
|
|
5696
|
+
this.parroquia = comunidad.parroquia;
|
|
5697
|
+
this.prefijo = comunidad.prefijo;
|
|
5698
|
+
}
|
|
5699
|
+
return MComunidad;
|
|
5700
|
+
}());
|
|
5701
|
+
|
|
5592
5702
|
var SigespService = /** @class */ (function () {
|
|
5593
5703
|
// public URL: string = "http://192.168.1.67/sigesp_php";
|
|
5594
5704
|
// usuarioActivo: MUsuario = {
|
|
@@ -6781,7 +6891,7 @@
|
|
|
6781
6891
|
* @actualizado: 4-12-20222
|
|
6782
6892
|
*/
|
|
6783
6893
|
SigespService.prototype.getCurrentCurrency = function () {
|
|
6784
|
-
return this.http.get(this.URL + "/dao/cfg/moneda_dao.php?tipo=
|
|
6894
|
+
return this.http.get(this.URL + "/dao/cfg/moneda_dao.php?tipo=" + 'actual', { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
6785
6895
|
if (res.success) {
|
|
6786
6896
|
res.data = new MMonedaConfig(res.data);
|
|
6787
6897
|
}
|
|
@@ -6789,6 +6899,22 @@
|
|
|
6789
6899
|
}));
|
|
6790
6900
|
};
|
|
6791
6901
|
/**
|
|
6902
|
+
* @description Obtiene la linea empresa
|
|
6903
|
+
* @return Observable<IResponse>
|
|
6904
|
+
* @author Dimaly Crespo
|
|
6905
|
+
* @actualizado: 5-12-20222
|
|
6906
|
+
* @tipo
|
|
6907
|
+
*/
|
|
6908
|
+
SigespService.prototype.getEnterprise = function (tipo, id) {
|
|
6909
|
+
if (tipo === void 0) { tipo = null; }
|
|
6910
|
+
return this.http.get(this.URL + "/dao/cfg/enterprise_dao.php?", { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
6911
|
+
if (res.success) {
|
|
6912
|
+
res.data = new MEnterprise(res.data);
|
|
6913
|
+
}
|
|
6914
|
+
return res;
|
|
6915
|
+
}));
|
|
6916
|
+
};
|
|
6917
|
+
/**
|
|
6792
6918
|
* @description Obtiene los tipos de organizacion
|
|
6793
6919
|
* @return Observable<IResponse>
|
|
6794
6920
|
* @author Carlos Albornoz
|
|
@@ -13483,6 +13609,7 @@
|
|
|
13483
13609
|
exports.MClause = MClause;
|
|
13484
13610
|
exports.MClauseModality = MClauseModality;
|
|
13485
13611
|
exports.MCodigoUnicoRac = MCodigoUnicoRac;
|
|
13612
|
+
exports.MCommunity = MCommunity;
|
|
13486
13613
|
exports.MComponent = MComponent;
|
|
13487
13614
|
exports.MComponete = MComponete;
|
|
13488
13615
|
exports.MComprobantePresupuestarioEgresos = MComprobantePresupuestarioEgresos;
|
|
@@ -13521,6 +13648,7 @@
|
|
|
13521
13648
|
exports.MDocument = MDocument;
|
|
13522
13649
|
exports.MEmpresa = MEmpresa;
|
|
13523
13650
|
exports.MEncargaduria = MEncargaduria;
|
|
13651
|
+
exports.MEnterprise = MEnterprise;
|
|
13524
13652
|
exports.MEntradaSuministros = MEntradaSuministros;
|
|
13525
13653
|
exports.MEscalaEvaluacion = MEscalaEvaluacion;
|
|
13526
13654
|
exports.MEscalaEvaluacionDt = MEscalaEvaluacionDt;
|
|
@@ -13651,16 +13779,16 @@
|
|
|
13651
13779
|
exports.academico = academico;
|
|
13652
13780
|
exports.camposConstaciaTrabajo = camposConstaciaTrabajo;
|
|
13653
13781
|
exports.customPaginator = customPaginator;
|
|
13654
|
-
exports.ɵ
|
|
13655
|
-
exports.ɵ
|
|
13656
|
-
exports.ɵ
|
|
13657
|
-
exports.ɵ
|
|
13658
|
-
exports.ɵ
|
|
13659
|
-
exports.ɵ
|
|
13660
|
-
exports.ɵ
|
|
13661
|
-
exports.ɵ
|
|
13662
|
-
exports.ɵ
|
|
13663
|
-
exports.ɵ
|
|
13782
|
+
exports.ɵf = AppComponent;
|
|
13783
|
+
exports.ɵg = SharedModule;
|
|
13784
|
+
exports.ɵh = CatalogoComponent;
|
|
13785
|
+
exports.ɵj = ConfirmComponent;
|
|
13786
|
+
exports.ɵk = IconComponent;
|
|
13787
|
+
exports.ɵl = TableSelectComponent;
|
|
13788
|
+
exports.ɵm = CatalogoEstructurasComponent;
|
|
13789
|
+
exports.ɵn = CatalogoDobleInputComponent;
|
|
13790
|
+
exports.ɵo = IsoCurrencyPipe;
|
|
13791
|
+
exports.ɵp = CustonMaterialModule;
|
|
13664
13792
|
|
|
13665
13793
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
13666
13794
|
|