sigo-package 1.0.13 → 1.0.15
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/lib/index.js +18 -0
- package/lib/index.js.map +1 -0
- package/lib/programados/index.js +18 -0
- package/lib/programados/index.js.map +1 -0
- package/lib/programados/procesos/index.js +20 -0
- package/lib/programados/procesos/index.js.map +1 -0
- package/{src/Programados/Procesos/Modelos/DocumentacionReplanteo.ts → lib/programados/procesos/modelos/DocumentacionReplanteo.js} +58 -54
- package/lib/programados/procesos/modelos/DocumentacionReplanteo.js.map +1 -0
- package/lib/programados/procesos/modelos/index.js +18 -0
- package/lib/programados/procesos/modelos/index.js.map +1 -0
- package/lib/programados/procesos/parteDiario/index.js +7 -0
- package/lib/programados/procesos/parteDiario/index.js.map +1 -0
- package/{src/Programados/ActualizarDataResumenLiquidaciones.ts → lib/programados/procesos/shared/ActualizarDataResumenLiquidaciones.js} +32 -39
- package/lib/programados/procesos/shared/ActualizarDataResumenLiquidaciones.js.map +1 -0
- package/lib/programados/procesos/shared/CalcularResumenLiquidaciones.js +67 -0
- package/lib/programados/procesos/shared/CalcularResumenLiquidaciones.js.map +1 -0
- package/lib/programados/procesos/shared/index.js +19 -0
- package/lib/programados/procesos/shared/index.js.map +1 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/programados/index.d.ts +1 -0
- package/lib/types/programados/procesos/index.d.ts +3 -0
- package/{dist/Programados/Procesos/Modelos → lib/types/programados/procesos/modelos}/DocumentacionReplanteo.d.ts +1 -1
- package/lib/types/programados/procesos/modelos/index.d.ts +1 -0
- package/lib/types/programados/procesos/parteDiario/index.d.ts +1 -0
- package/{dist/Programados → lib/types/programados/procesos/shared}/ActualizarDataResumenLiquidaciones.d.ts +6 -6
- package/{dist/Programados → lib/types/programados/procesos/shared}/CalcularResumenLiquidaciones.d.ts +39 -39
- package/lib/types/programados/procesos/shared/index.d.ts +2 -0
- package/package.json +45 -24
- package/dist/Programados/Dtos/CentroCostosDto.d.ts +0 -9
- package/dist/Programados/Dtos/CertificacionDto.d.ts +0 -10
- package/dist/Programados/Dtos/ContrataDto.d.ts +0 -6
- package/dist/Programados/Dtos/DetalleChileReservaMODto.d.ts +0 -30
- package/dist/Programados/Dtos/FilesDocDto.d.ts +0 -19
- package/dist/Programados/Dtos/FlujoDocDto.d.ts +0 -11
- package/dist/Programados/Dtos/HomePassSimpleDto.d.ts +0 -9
- package/dist/Programados/Dtos/MaterialesUtiRetDto.d.ts +0 -19
- package/dist/Programados/Dtos/ParteDiarioDto.d.ts +0 -30
- package/dist/Programados/Dtos/PeriodoDto.d.ts +0 -9
- package/dist/Programados/Dtos/PreliquidacionDto.d.ts +0 -4
- package/dist/Programados/Dtos/ProduccionDto.d.ts +0 -12
- package/dist/Programados/Dtos/SubMOValDto.d.ts +0 -9
- package/dist/Programados/Dtos/ValorizacionDto.d.ts +0 -46
- package/dist/Programados/Entitys/EstadoInternoEntity.d.ts +0 -22
- package/dist/Programados/Entitys/GestionDocumentalEntity.d.ts +0 -2
- package/dist/Programados/Entitys/TrabajoEntity.d.ts +0 -16
- package/dist/Programados/Procesos/Modelos/ModelDataFlujosDocumentacionReplanteo.d.ts +0 -10
- package/dist/Programados/Procesos/Modelos/index.d.ts +0 -3
- package/dist/Programados/Procesos/ParteDiario/CompararFechas.d.ts +0 -1
- package/dist/Programados/Procesos/ParteDiario/generarParteDiarioPDF.d.ts +0 -3
- package/dist/Programados/Procesos/ParteDiario/index.d.ts +0 -3
- package/dist/Programados/Procesos/ParteDiario/trabajo.d.ts +0 -2
- package/dist/Programados/Procesos/index.d.ts +0 -3
- package/dist/Programados/index.d.ts +0 -4
- package/dist/Shared/AdapterFileSystem/getFileToServer.d.ts +0 -3
- package/dist/Shared/AdapterFileSystem/index.d.ts +0 -5
- package/dist/Shared/AdapterFileSystem/utils.d.ts +0 -3
- package/dist/Shared/Dtos/AnexoDto.d.ts +0 -9
- package/dist/Shared/Dtos/BitacoraDto.d.ts +0 -7
- package/dist/Shared/Dtos/CodigoDescripcionDto.d.ts +0 -4
- package/dist/Shared/Dtos/CodigoNombreDto.d.ts +0 -4
- package/dist/Shared/Dtos/CodigoNombreUnidadDto.d.ts +0 -5
- package/dist/Shared/Dtos/CoordenadasDto.d.ts +0 -4
- package/dist/Shared/Dtos/EstadoDto.d.ts +0 -4
- package/dist/Shared/Dtos/EstadoInternoDto.d.ts +0 -15
- package/dist/Shared/Dtos/FileReady.d.ts +0 -4
- package/dist/Shared/Dtos/ParamsGetSetFiles.d.ts +0 -6
- package/dist/Shared/Dtos/PersonalDto.d.ts +0 -8
- package/dist/Shared/Dtos/SizeDto.d.ts +0 -4
- package/dist/Shared/Dtos/UnidadMedidadDto.d.ts +0 -4
- package/dist/Shared/Dtos/UsuarioDto.d.ts +0 -6
- package/dist/Shared/Dtos/UsuarioEdicionDto.d.ts +0 -5
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -8
- package/dist/sigo-package.cjs.development.js +0 -999
- package/dist/sigo-package.cjs.development.js.map +0 -1
- package/dist/sigo-package.cjs.production.min.js +0 -2
- package/dist/sigo-package.cjs.production.min.js.map +0 -1
- package/dist/sigo-package.esm.js +0 -988
- package/dist/sigo-package.esm.js.map +0 -1
- package/dist/utils/base64ToFile.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -2
- package/src/Programados/CalcularResumenLiquidaciones.ts +0 -110
- package/src/Programados/Dtos/CentroCostosDto.ts +0 -10
- package/src/Programados/Dtos/CertificacionDto.ts +0 -11
- package/src/Programados/Dtos/ContrataDto.ts +0 -7
- package/src/Programados/Dtos/DetalleChileReservaMODto.ts +0 -31
- package/src/Programados/Dtos/FilesDocDto.ts +0 -20
- package/src/Programados/Dtos/FlujoDocDto.ts +0 -12
- package/src/Programados/Dtos/HomePassSimpleDto.ts +0 -9
- package/src/Programados/Dtos/MaterialesUtiRetDto.ts +0 -20
- package/src/Programados/Dtos/ParteDiarioDto.ts +0 -33
- package/src/Programados/Dtos/PeriodoDto.ts +0 -9
- package/src/Programados/Dtos/PreliquidacionDto.ts +0 -19
- package/src/Programados/Dtos/ProduccionDto.ts +0 -13
- package/src/Programados/Dtos/SubMOValDto.ts +0 -10
- package/src/Programados/Dtos/ValorizacionDto.ts +0 -47
- package/src/Programados/Entitys/EstadoInternoEntity.ts +0 -23
- package/src/Programados/Entitys/GestionDocumentalEntity.ts +0 -3
- package/src/Programados/Entitys/TrabajoEntity.ts +0 -28
- package/src/Programados/Procesos/Modelos/ModelDataFlujosDocumentacionReplanteo.ts +0 -52
- package/src/Programados/Procesos/Modelos/index.ts +0 -7
- package/src/Programados/Procesos/ParteDiario/CompararFechas.ts +0 -7
- package/src/Programados/Procesos/ParteDiario/generarParteDiarioPDF.ts +0 -190
- package/src/Programados/Procesos/ParteDiario/index.ts +0 -7
- package/src/Programados/Procesos/ParteDiario/trabajo.ts +0 -1647
- package/src/Programados/Procesos/index.ts +0 -9
- package/src/Programados/index.ts +0 -17
- package/src/Shared/AdapterFileSystem/getFileToServer.ts +0 -67
- package/src/Shared/AdapterFileSystem/index.ts +0 -9
- package/src/Shared/AdapterFileSystem/utils.ts +0 -76
- package/src/Shared/Dtos/AnexoDto.ts +0 -10
- package/src/Shared/Dtos/BitacoraDto.ts +0 -8
- package/src/Shared/Dtos/CodigoDescripcionDto.ts +0 -4
- package/src/Shared/Dtos/CodigoNombreDto.ts +0 -4
- package/src/Shared/Dtos/CodigoNombreUnidadDto.ts +0 -5
- package/src/Shared/Dtos/CoordenadasDto.ts +0 -4
- package/src/Shared/Dtos/EstadoDto.ts +0 -4
- package/src/Shared/Dtos/EstadoInternoDto.ts +0 -16
- package/src/Shared/Dtos/FileReady.ts +0 -4
- package/src/Shared/Dtos/ParamsGetSetFiles.ts +0 -6
- package/src/Shared/Dtos/PersonalDto.ts +0 -8
- package/src/Shared/Dtos/SizeDto.ts +0 -4
- package/src/Shared/Dtos/UnidadMedidadDto.ts +0 -4
- package/src/Shared/Dtos/UsuarioDto.ts +0 -6
- package/src/Shared/Dtos/UsuarioEdicionDto.ts +0 -5
- package/src/index.ts +0 -17
- package/src/utils/base64ToFile.ts +0 -10
- package/src/utils/index.ts +0 -5
- package/tsconfig.json +0 -19
package/lib/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./programados"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./procesos"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/programados/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./shared"), exports);
|
|
18
|
+
__exportStar(require("./modelos"), exports);
|
|
19
|
+
__exportStar(require("./parteDiario"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/programados/procesos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,4CAAyB;AACzB,gDAA6B"}
|
|
@@ -1,54 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
],
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
],
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DocumentacionReplanteo = void 0;
|
|
4
|
+
exports.DocumentacionReplanteo = [
|
|
5
|
+
{
|
|
6
|
+
"id": 1,
|
|
7
|
+
"label": "REGISTRO FOTOGRAFICO",
|
|
8
|
+
"Children": [],
|
|
9
|
+
"IsDebug": false,
|
|
10
|
+
"Titulo": "REGISTRO FOTOGRAFICO",
|
|
11
|
+
"Codigo": "Cod1",
|
|
12
|
+
"Descripcion": "REGISTRO FOTO GRAFICO",
|
|
13
|
+
"Files": [],
|
|
14
|
+
"Extension": [
|
|
15
|
+
"ALL"
|
|
16
|
+
],
|
|
17
|
+
"Size": {
|
|
18
|
+
"IsDebug": false,
|
|
19
|
+
"Size": 50,
|
|
20
|
+
"UM": "mb"
|
|
21
|
+
},
|
|
22
|
+
"Requerido": false,
|
|
23
|
+
"Estado": {
|
|
24
|
+
"IsDebug": false,
|
|
25
|
+
"ID_Estado": 1,
|
|
26
|
+
"Nombre": "ACTIVO"
|
|
27
|
+
},
|
|
28
|
+
"CantidadMin": 0.0,
|
|
29
|
+
"CantidadMax": 0.0
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": 2,
|
|
33
|
+
"label": "PLANO AUXILIAR",
|
|
34
|
+
"Children": [],
|
|
35
|
+
"IsDebug": false,
|
|
36
|
+
"Titulo": "PLANO AUXILIAR",
|
|
37
|
+
"Codigo": "Cod2",
|
|
38
|
+
"Descripcion": "PLANO AUXILIAR",
|
|
39
|
+
"Files": [],
|
|
40
|
+
"Extension": [
|
|
41
|
+
"ALL"
|
|
42
|
+
],
|
|
43
|
+
"Size": {
|
|
44
|
+
"IsDebug": false,
|
|
45
|
+
"Size": 50,
|
|
46
|
+
"UM": "mb"
|
|
47
|
+
},
|
|
48
|
+
"Requerido": true,
|
|
49
|
+
"Estado": {
|
|
50
|
+
"IsDebug": false,
|
|
51
|
+
"ID_Estado": 1,
|
|
52
|
+
"Nombre": "ACTIVO"
|
|
53
|
+
},
|
|
54
|
+
"CantidadMin": 0.0,
|
|
55
|
+
"CantidadMax": 0.0
|
|
56
|
+
}
|
|
57
|
+
];
|
|
58
|
+
//# sourceMappingURL=DocumentacionReplanteo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentacionReplanteo.js","sourceRoot":"","sources":["../../../../src/programados/procesos/modelos/DocumentacionReplanteo.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAU;IACzC;QACI,IAAI,EAAE,CAAC;QACP,OAAO,EAAE,sBAAsB;QAC/B,UAAU,EAAE,EAAE;QACd,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,sBAAsB;QAChC,QAAQ,EAAE,MAAM;QAChB,aAAa,EAAE,uBAAuB;QACtC,OAAO,EAAE,EAAE;QACX,WAAW,EAAE;YACT,KAAK;SACR;QACD,MAAM,EAAE;YACJ,SAAS,EAAE,KAAK;YAChB,MAAM,EAAE,EAAE;YACV,IAAI,EAAE,IAAI;SACb;QACD,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE;YACN,SAAS,EAAE,KAAK;YAChB,WAAW,EAAE,CAAC;YACd,QAAQ,EAAE,QAAQ;SACrB;QACD,aAAa,EAAE,GAAG;QAClB,aAAa,EAAE,GAAG;KACrB;IACD;QACI,IAAI,EAAE,CAAC;QACP,OAAO,EAAE,gBAAgB;QACzB,UAAU,EAAE,EAAE;QACd,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,gBAAgB;QAC1B,QAAQ,EAAE,MAAM;QAChB,aAAa,EAAE,gBAAgB;QAC/B,OAAO,EAAE,EAAE;QACX,WAAW,EAAE;YACT,KAAK;SACR;QACD,MAAM,EAAE;YACJ,SAAS,EAAE,KAAK;YAChB,MAAM,EAAE,EAAE;YACV,IAAI,EAAE,IAAI;SACb;QACD,WAAW,EAAE,IAAI;QACjB,QAAQ,EAAE;YACN,SAAS,EAAE,KAAK;YAChB,WAAW,EAAE,CAAC;YACd,QAAQ,EAAE,QAAQ;SACrB;QACD,aAAa,EAAE,GAAG;QAClB,aAAa,EAAE,GAAG;KACrB;CACJ,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./DocumentacionReplanteo"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/programados/procesos/modelos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/programados/procesos/parteDiario/index.ts"],"names":[],"mappings":";;;AAAO,MAAM,qBAAqB,GAAG,GAAG,EAAE;AAE1C,CAAC,CAAA;AAFY,QAAA,qBAAqB,yBAEjC"}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (ManoObra && ManoObra.Valorizacion && Array.isArray(ManoObra.Valorizacion)) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
interface Funcion {
|
|
38
|
-
(ManoObra: any, Reserva: any, StockPersonal: any[], ResumenPreLiquidado: ResumenLiquidacionesType): void;
|
|
39
|
-
}
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActualizarDataResumenLiquidaciones = void 0;
|
|
4
|
+
const ActualizarDataResumenLiquidaciones = (ManoObra, Reserva, StockPersonal, ResumenPreLiquidado) => {
|
|
5
|
+
if (ManoObra && ManoObra.Valorizacion && Array.isArray(ManoObra.Valorizacion)) {
|
|
6
|
+
for (const valorizacion of ManoObra.Valorizacion) {
|
|
7
|
+
valorizacion.CantidadUsado = 0;
|
|
8
|
+
const val = ResumenPreLiquidado.MoUo.find(e => e.LineaCodigoCub === valorizacion.DetalleChile.LineaCodigoCub);
|
|
9
|
+
if (val)
|
|
10
|
+
valorizacion.CantidadUsado = val.Cantidad;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
if (Reserva && Reserva.Item && Array.isArray(Reserva.Item)) {
|
|
14
|
+
for (const item of Reserva.Item) {
|
|
15
|
+
item.CantidadUsados = 0;
|
|
16
|
+
const itemAUX = ResumenPreLiquidado.MatUtilizados.find(e => e.Codigo === item.Codigo);
|
|
17
|
+
if (itemAUX)
|
|
18
|
+
item.CantidadUsados = itemAUX.Cantidad;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
if (StockPersonal && Array.isArray(StockPersonal)) {
|
|
22
|
+
for (const stockPersonal of StockPersonal) {
|
|
23
|
+
stockPersonal.Liquidacion = 0;
|
|
24
|
+
const stock = ResumenPreLiquidado.MatStockPersonal.find(e => e.ID_Trabajo === stockPersonal.ID_Trabajo &&
|
|
25
|
+
e.Identificacion === stockPersonal.Personal.Identificacion && e.Codigo === stockPersonal.Reserva);
|
|
26
|
+
if (stock)
|
|
27
|
+
stockPersonal.Liquidacion = stock.Cantidad;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports.ActualizarDataResumenLiquidaciones = ActualizarDataResumenLiquidaciones;
|
|
32
|
+
//# sourceMappingURL=ActualizarDataResumenLiquidaciones.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActualizarDataResumenLiquidaciones.js","sourceRoot":"","sources":["../../../../src/programados/procesos/shared/ActualizarDataResumenLiquidaciones.ts"],"names":[],"mappings":";;;AAEO,MAAM,kCAAkC,GAAY,CAAC,QAAQ,EAAE,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,EAAE;IAEjH,IAAI,QAAQ,IAAI,QAAQ,CAAC,YAAY,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE;QAE3E,KAAK,MAAM,YAAY,IAAI,QAAQ,CAAC,YAAY,EAAE;YAC9C,YAAY,CAAC,aAAa,GAAG,CAAC,CAAC;YAC/B,MAAM,GAAG,GAAG,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,cAAc,KAAK,YAAY,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;YAC9G,IAAI,GAAG;gBAAE,YAAY,CAAC,aAAa,GAAG,GAAG,CAAC,QAAQ,CAAC;SACtD;KAEJ;IAED,IAAI,OAAO,IAAI,OAAO,CAAC,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QAExD,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,IAAI,EAAE;YAC7B,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC;YACxB,MAAM,OAAO,GAAG,mBAAmB,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM,CAAC,CAAC;YACtF,IAAI,OAAO;gBAAE,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC,QAAQ,CAAC;SACvD;KAEJ;IAED,IAAI,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE;QAE/C,KAAK,MAAM,aAAa,IAAI,aAAa,EAAE;YACvC,aAAa,CAAC,WAAW,GAAG,CAAC,CAAC;YAC9B,MAAM,KAAK,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,KAAK,aAAa,CAAC,UAAU;gBAClG,CAAC,CAAC,cAAc,KAAK,aAAa,CAAC,QAAQ,CAAC,cAAc,IAAI,CAAC,CAAC,MAAM,KAAK,aAAa,CAAC,OAAO,CAAC,CAAC;YACtG,IAAI,KAAK;gBAAE,aAAa,CAAC,WAAW,GAAG,KAAK,CAAC,QAAQ,CAAC;SACzD;KACJ;AAEL,CAAC,CAAA;AAhCY,QAAA,kCAAkC,sCAgC9C"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CalcularResumenLiquidaciones = void 0;
|
|
4
|
+
const CalcularResumenLiquidaciones = (trabajo, trabajos) => {
|
|
5
|
+
let MoUo = [];
|
|
6
|
+
let MatUtilizados = [];
|
|
7
|
+
let MatRetirados = [];
|
|
8
|
+
let MatStockPersonal = [];
|
|
9
|
+
for (const trabajoDB of trabajos) {
|
|
10
|
+
if (trabajoDB.ID_Trabajo === trabajo.ID_Trabajo) {
|
|
11
|
+
trabajoDB.Ultima_PreLiquidacion.Valorizacion = trabajo.Ultima_PreLiquidacion.Valorizacion;
|
|
12
|
+
}
|
|
13
|
+
for (const valorizacion of trabajoDB.Ultima_PreLiquidacion.Valorizacion) {
|
|
14
|
+
if (['PRODUCCION', 'CERTIFICADA', 'PRELIQUIDADA', 'LIQUIDADA'].includes(valorizacion.Ultimo_Estado_Interno.Descripcion.trim())) {
|
|
15
|
+
const val = MoUo.find(e => e.LineaCodigoCub === valorizacion.DetalleChile.LineaCodigoCub);
|
|
16
|
+
if (val) {
|
|
17
|
+
val.Cantidad += valorizacion.Cantidad;
|
|
18
|
+
val.CantidadUO += valorizacion.CantidadUO;
|
|
19
|
+
}
|
|
20
|
+
else
|
|
21
|
+
MoUo.push({
|
|
22
|
+
LineaCodigoCub: valorizacion.DetalleChile.LineaCodigoCub,
|
|
23
|
+
Cantidad: valorizacion.Cantidad,
|
|
24
|
+
CantidadUO: valorizacion.CantidadUO,
|
|
25
|
+
});
|
|
26
|
+
for (const mu of valorizacion.MaterialesUtilizados) {
|
|
27
|
+
if (mu.Estado.ID_Estado === 1) {
|
|
28
|
+
const muAux = MatUtilizados.find((e) => e.Codigo === mu.Codigo);
|
|
29
|
+
if (muAux)
|
|
30
|
+
muAux.Cantidad += mu.Cantidad;
|
|
31
|
+
else
|
|
32
|
+
MatUtilizados.push({
|
|
33
|
+
Codigo: mu.Codigo,
|
|
34
|
+
Cantidad: mu.Cantidad,
|
|
35
|
+
});
|
|
36
|
+
const matStockPersonal = MatStockPersonal.find(e => e.ID_Trabajo === trabajoDB.ID_Trabajo && e.Codigo === mu.Codigo && e.Identificacion === trabajoDB.Ultima_asignacion.Personal[0].Identificacion);
|
|
37
|
+
if (matStockPersonal)
|
|
38
|
+
matStockPersonal.Cantidad += mu.Cantidad;
|
|
39
|
+
else
|
|
40
|
+
MatStockPersonal.push({
|
|
41
|
+
ID_Trabajo: trabajoDB.ID_Trabajo,
|
|
42
|
+
Identificacion: trabajoDB.Ultima_asignacion.Personal[0].Identificacion,
|
|
43
|
+
Codigo: mu.Codigo,
|
|
44
|
+
Cantidad: mu.Cantidad,
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
for (const mr of valorizacion.MaterialesRetirados) {
|
|
49
|
+
if (mr.Estado.ID_Estado === 1) {
|
|
50
|
+
const muAux = MatRetirados.find(e => e.Codigo === mr.Codigo);
|
|
51
|
+
if (muAux)
|
|
52
|
+
muAux.Cantidad += mr.Cantidad;
|
|
53
|
+
else
|
|
54
|
+
MatRetirados.push({
|
|
55
|
+
Codigo: mr.Codigo,
|
|
56
|
+
Cantidad: mr.Cantidad,
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return { MoUo, MatUtilizados, MatRetirados, MatStockPersonal };
|
|
64
|
+
};
|
|
65
|
+
exports.CalcularResumenLiquidaciones = CalcularResumenLiquidaciones;
|
|
66
|
+
;
|
|
67
|
+
//# sourceMappingURL=CalcularResumenLiquidaciones.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalcularResumenLiquidaciones.js","sourceRoot":"","sources":["../../../../src/programados/procesos/shared/CalcularResumenLiquidaciones.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ActualizarDataResumenLiquidaciones"), exports);
|
|
18
|
+
__exportStar(require("./CalcularResumenLiquidaciones"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/programados/procesos/shared/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAoD;AACpD,iEAA8C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './programados';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './procesos';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DocumentacionReplanteo: any[];
|
|
1
|
+
export declare const DocumentacionReplanteo: any[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DocumentacionReplanteo';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const generarParteDiarioPDF: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ResumenLiquidacionesType } from "./CalcularResumenLiquidaciones";
|
|
2
|
-
export declare const ActualizarDataResumenLiquidaciones: Funcion;
|
|
3
|
-
interface Funcion {
|
|
4
|
-
(ManoObra: any, Reserva: any, StockPersonal: any[], ResumenPreLiquidado: ResumenLiquidacionesType): void;
|
|
5
|
-
}
|
|
6
|
-
export {};
|
|
1
|
+
import { ResumenLiquidacionesType } from "./CalcularResumenLiquidaciones";
|
|
2
|
+
export declare const ActualizarDataResumenLiquidaciones: Funcion;
|
|
3
|
+
interface Funcion {
|
|
4
|
+
(ManoObra: any, Reserva: any, StockPersonal: any[], ResumenPreLiquidado: ResumenLiquidacionesType): void;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
package/{dist/Programados → lib/types/programados/procesos/shared}/CalcularResumenLiquidaciones.d.ts
RENAMED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
export declare const CalcularResumenLiquidaciones: Funcion;
|
|
2
|
-
interface Funcion {
|
|
3
|
-
(trabajo: TrabajoType, trabajos: any[]): ResumenLiquidacionesType;
|
|
4
|
-
}
|
|
5
|
-
export interface ResumenLiquidacionesType {
|
|
6
|
-
MoUo: MoUoType[];
|
|
7
|
-
MatUtilizados: MatUtilizadosType[];
|
|
8
|
-
MatRetirados: MatRetiradosType[];
|
|
9
|
-
MatStockPersonal: MatStockPersonalType[];
|
|
10
|
-
}
|
|
11
|
-
export interface MatStockPersonalType {
|
|
12
|
-
ID_Trabajo: number;
|
|
13
|
-
Identificacion: string;
|
|
14
|
-
Codigo: string;
|
|
15
|
-
Cantidad: number;
|
|
16
|
-
}
|
|
17
|
-
export interface MatRetiradosType {
|
|
18
|
-
Codigo: string;
|
|
19
|
-
Cantidad: number;
|
|
20
|
-
}
|
|
21
|
-
export interface MatUtilizadosType {
|
|
22
|
-
Codigo: string;
|
|
23
|
-
Cantidad: number;
|
|
24
|
-
}
|
|
25
|
-
export interface MoUoType {
|
|
26
|
-
LineaCodigoCub: string;
|
|
27
|
-
Cantidad: number;
|
|
28
|
-
CantidadUO: number;
|
|
29
|
-
}
|
|
30
|
-
interface TrabajoType {
|
|
31
|
-
ID_Trabajo: number;
|
|
32
|
-
Ultima_PreLiquidacion: PreLiquidacionType;
|
|
33
|
-
}
|
|
34
|
-
interface PreLiquidacionType {
|
|
35
|
-
Valorizacion: ValorizacionType[];
|
|
36
|
-
}
|
|
37
|
-
interface ValorizacionType {
|
|
38
|
-
}
|
|
39
|
-
export {};
|
|
1
|
+
export declare const CalcularResumenLiquidaciones: Funcion;
|
|
2
|
+
interface Funcion {
|
|
3
|
+
(trabajo: TrabajoType, trabajos: any[]): ResumenLiquidacionesType;
|
|
4
|
+
}
|
|
5
|
+
export interface ResumenLiquidacionesType {
|
|
6
|
+
MoUo: MoUoType[];
|
|
7
|
+
MatUtilizados: MatUtilizadosType[];
|
|
8
|
+
MatRetirados: MatRetiradosType[];
|
|
9
|
+
MatStockPersonal: MatStockPersonalType[];
|
|
10
|
+
}
|
|
11
|
+
export interface MatStockPersonalType {
|
|
12
|
+
ID_Trabajo: number;
|
|
13
|
+
Identificacion: string;
|
|
14
|
+
Codigo: string;
|
|
15
|
+
Cantidad: number;
|
|
16
|
+
}
|
|
17
|
+
export interface MatRetiradosType {
|
|
18
|
+
Codigo: string;
|
|
19
|
+
Cantidad: number;
|
|
20
|
+
}
|
|
21
|
+
export interface MatUtilizadosType {
|
|
22
|
+
Codigo: string;
|
|
23
|
+
Cantidad: number;
|
|
24
|
+
}
|
|
25
|
+
export interface MoUoType {
|
|
26
|
+
LineaCodigoCub: string;
|
|
27
|
+
Cantidad: number;
|
|
28
|
+
CantidadUO: number;
|
|
29
|
+
}
|
|
30
|
+
interface TrabajoType {
|
|
31
|
+
ID_Trabajo: number;
|
|
32
|
+
Ultima_PreLiquidacion: PreLiquidacionType;
|
|
33
|
+
}
|
|
34
|
+
interface PreLiquidacionType {
|
|
35
|
+
Valorizacion: ValorizacionType[];
|
|
36
|
+
}
|
|
37
|
+
interface ValorizacionType {
|
|
38
|
+
}
|
|
39
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,24 +1,45 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sigo-package",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Funciones compartidas sigo",
|
|
5
|
-
"main": "
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
},
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "sigo-package",
|
|
3
|
+
"version": "1.0.15",
|
|
4
|
+
"description": "Funciones compartidas sigo",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"types": "lib/types/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"lib/**/*"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"clean": "rm -rf lib",
|
|
12
|
+
"build": "npm run clean && tsc",
|
|
13
|
+
"build:watch": "npm run build -- -w",
|
|
14
|
+
"lint": "ts-standard",
|
|
15
|
+
"lint:fix": "ts-standard --fix",
|
|
16
|
+
"test": "ava",
|
|
17
|
+
"test:watch": "ava --watch",
|
|
18
|
+
"coverage": "nyc ava"
|
|
19
|
+
},
|
|
20
|
+
"ts-standard": {
|
|
21
|
+
"ignore": [
|
|
22
|
+
"lib",
|
|
23
|
+
"test"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"keywords": [],
|
|
27
|
+
"author": "Antonio Mejia",
|
|
28
|
+
"license": "ISC",
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@commitlint/cli": "^17.8.0",
|
|
31
|
+
"@commitlint/config-conventional": "^17.8.0",
|
|
32
|
+
"@commitlint/format": "^17.4.4",
|
|
33
|
+
"@types/node": "^20.8.6",
|
|
34
|
+
"ava": "^5.3.1",
|
|
35
|
+
"husky": "^8.0.3",
|
|
36
|
+
"nyc": "^15.1.0",
|
|
37
|
+
"standard-version": "^9.5.0",
|
|
38
|
+
"ts-standard": "^12.0.2",
|
|
39
|
+
"typescript": "^5.2.2"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"compressorjs": "^1.2.1",
|
|
43
|
+
"puppeteer": "^21.3.8"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UsuarioEdicionDto } from "Shared/Dtos/UsuarioEdicionDto";
|
|
2
|
-
import { PeriodoDto } from "./PeriodoDto";
|
|
3
|
-
export declare class CertificacionDto {
|
|
4
|
-
Mes: number;
|
|
5
|
-
Anio: number;
|
|
6
|
-
UltimoPeriodo: PeriodoDto;
|
|
7
|
-
Periodos: PeriodoDto[];
|
|
8
|
-
UsuarioEdicion: UsuarioEdicionDto;
|
|
9
|
-
FechaRegistro: Date;
|
|
10
|
-
}
|