sigo-package 1.2.68 → 1.2.69
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/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +12 -0
- package/dist/index.mjs +11 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -570,4 +570,6 @@ declare function buildTenantCollectionName(countryName: string, delegation: stri
|
|
|
570
570
|
|
|
571
571
|
declare function formatNumberSmart(value: number | string): number;
|
|
572
572
|
|
|
573
|
-
|
|
573
|
+
declare function formatCurrencyV1(num: number, maximumFractionDigits?: number, symbol?: string): string;
|
|
574
|
+
|
|
575
|
+
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL02, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, EstadoEspecialidad9612, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDPContrato, type IDocumentacion, type IMOAndMaterialsRules, type IMORules, type IMateriales, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, MapeoEspecialidades9612, MapeoMOBOMAL04, MapeoMatBOMAL04, type MatRetiradosType, type MatStockAlmacenType, type MatStockPersonalType$1 as MatStockPersonalType, type MatUtilizadosType$1 as MatUtilizadosType, type MoUoType$1 as MoUoType, ModelDataFlujosDocumentacionReplanteo, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, SEGMENT_TY, type TARGET, UpdateNodosDocDP, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildTenantCollectionName, checkAndBuildMaterialsFromStock, checkMaterialAvailability, codBalizaAL04, codClientes, codMOClientesAL02, codMOClientesAL02Asfaltado, codMOClientesAL02OC, codMOClientesAL02Soplado, codMOClientes_ReglaLiquidacion1, codMODROPAL04, codMODROPAL04OC, codMODROPAL04Soplado, codMOFTTFAL04, codMONoClientesAL02, codMONoClientesAL02Asfaltado, codMONoClientesAL02OC, codMONoClientesAL02Soplado, codMONoClientes_ReglaLiquidacion1, codMOOcultosAL04, codMOPublico, codMOTroncalAL02, codMOTroncalAL02Asfaltado, codMOTroncalAL02OC, codMOTroncalAL02Soplado, codMOTroncalAL04, codMOTroncalAL04Asfaltado, codMOTroncalAL04Issue, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, consumirStockPersonal, convertDates, dataFlujosHomePass, empresas, esCadenaFechaISOValida, esObjetoFecha, formatCurrencyV1, formatNumberSmart, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getContainerName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Amap, getNextID_AsignacionValorizacion, getNextID_Valorizacion, getPrecioContratista, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaDPContratoPrecioFullAL02, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, newCodMOTroncalReglaLiquidacion1, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioContratistaMaterial, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, searchCurrentContractorSpecialtyPrice, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, validateNoLookup };
|
package/dist/index.d.ts
CHANGED
|
@@ -570,4 +570,6 @@ declare function buildTenantCollectionName(countryName: string, delegation: stri
|
|
|
570
570
|
|
|
571
571
|
declare function formatNumberSmart(value: number | string): number;
|
|
572
572
|
|
|
573
|
-
|
|
573
|
+
declare function formatCurrencyV1(num: number, maximumFractionDigits?: number, symbol?: string): string;
|
|
574
|
+
|
|
575
|
+
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL02, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, EstadoEspecialidad9612, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDPContrato, type IDocumentacion, type IMOAndMaterialsRules, type IMORules, type IMateriales, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, MapeoEspecialidades9612, MapeoMOBOMAL04, MapeoMatBOMAL04, type MatRetiradosType, type MatStockAlmacenType, type MatStockPersonalType$1 as MatStockPersonalType, type MatUtilizadosType$1 as MatUtilizadosType, type MoUoType$1 as MoUoType, ModelDataFlujosDocumentacionReplanteo, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, SEGMENT_TY, type TARGET, UpdateNodosDocDP, buildDataMOFromMaterialRules, buildDataMaterialsRule, buildTenantCollectionName, checkAndBuildMaterialsFromStock, checkMaterialAvailability, codBalizaAL04, codClientes, codMOClientesAL02, codMOClientesAL02Asfaltado, codMOClientesAL02OC, codMOClientesAL02Soplado, codMOClientes_ReglaLiquidacion1, codMODROPAL04, codMODROPAL04OC, codMODROPAL04Soplado, codMOFTTFAL04, codMONoClientesAL02, codMONoClientesAL02Asfaltado, codMONoClientesAL02OC, codMONoClientesAL02Soplado, codMONoClientes_ReglaLiquidacion1, codMOOcultosAL04, codMOPublico, codMOTroncalAL02, codMOTroncalAL02Asfaltado, codMOTroncalAL02OC, codMOTroncalAL02Soplado, codMOTroncalAL04, codMOTroncalAL04Asfaltado, codMOTroncalAL04Issue, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, consumirStockPersonal, convertDates, dataFlujosHomePass, empresas, esCadenaFechaISOValida, esObjetoFecha, formatCurrencyV1, formatNumberSmart, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getContainerName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Amap, getNextID_AsignacionValorizacion, getNextID_Valorizacion, getPrecioContratista, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaDPContratoPrecioFullAL02, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, newCodMOTroncalReglaLiquidacion1, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioContratistaMaterial, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, searchCurrentContractorSpecialtyPrice, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, validateNoLookup };
|
package/dist/index.js
CHANGED
|
@@ -102,6 +102,7 @@ __export(index_exports, {
|
|
|
102
102
|
empresas: () => empresas,
|
|
103
103
|
esCadenaFechaISOValida: () => esCadenaFechaISOValida,
|
|
104
104
|
esObjetoFecha: () => esObjetoFecha,
|
|
105
|
+
formatCurrencyV1: () => formatCurrencyV1,
|
|
105
106
|
formatNumberSmart: () => formatNumberSmart,
|
|
106
107
|
generateUniqueNumber: () => generateUniqueNumber,
|
|
107
108
|
generateUniqueNumberArray: () => generateUniqueNumberArray,
|
|
@@ -15309,6 +15310,16 @@ function formatNumberSmart(value) {
|
|
|
15309
15310
|
}
|
|
15310
15311
|
__name(formatNumberSmart, "formatNumberSmart");
|
|
15311
15312
|
|
|
15313
|
+
// src/shared/Utils/formatCurrencyV1.ts
|
|
15314
|
+
function formatCurrencyV1(num, maximumFractionDigits = 2, symbol = "$") {
|
|
15315
|
+
const options = {
|
|
15316
|
+
minimumFractionDigits: 0,
|
|
15317
|
+
maximumFractionDigits
|
|
15318
|
+
};
|
|
15319
|
+
return symbol + " " + new Intl.NumberFormat("es-ES", options).format(num);
|
|
15320
|
+
}
|
|
15321
|
+
__name(formatCurrencyV1, "formatCurrencyV1");
|
|
15322
|
+
|
|
15312
15323
|
// src/Programados/Procesos/Preliquidar/ObtenerPrecioContratistaVigente.ts
|
|
15313
15324
|
function ObtenerPrecioContratistaVigente({ actividad, FechaVerificar }) {
|
|
15314
15325
|
const fechaVerificar = new Date(FechaVerificar);
|
|
@@ -15455,6 +15466,7 @@ var getNextID_AsignacionValorizacion = /* @__PURE__ */ __name((Valorizaciones) =
|
|
|
15455
15466
|
empresas,
|
|
15456
15467
|
esCadenaFechaISOValida,
|
|
15457
15468
|
esObjetoFecha,
|
|
15469
|
+
formatCurrencyV1,
|
|
15458
15470
|
formatNumberSmart,
|
|
15459
15471
|
generateUniqueNumber,
|
|
15460
15472
|
generateUniqueNumberArray,
|
package/dist/index.mjs
CHANGED
|
@@ -15169,6 +15169,16 @@ function formatNumberSmart(value) {
|
|
|
15169
15169
|
}
|
|
15170
15170
|
__name(formatNumberSmart, "formatNumberSmart");
|
|
15171
15171
|
|
|
15172
|
+
// src/shared/Utils/formatCurrencyV1.ts
|
|
15173
|
+
function formatCurrencyV1(num, maximumFractionDigits = 2, symbol = "$") {
|
|
15174
|
+
const options = {
|
|
15175
|
+
minimumFractionDigits: 0,
|
|
15176
|
+
maximumFractionDigits
|
|
15177
|
+
};
|
|
15178
|
+
return symbol + " " + new Intl.NumberFormat("es-ES", options).format(num);
|
|
15179
|
+
}
|
|
15180
|
+
__name(formatCurrencyV1, "formatCurrencyV1");
|
|
15181
|
+
|
|
15172
15182
|
// src/Programados/Procesos/Preliquidar/ObtenerPrecioContratistaVigente.ts
|
|
15173
15183
|
function ObtenerPrecioContratistaVigente({ actividad, FechaVerificar }) {
|
|
15174
15184
|
const fechaVerificar = new Date(FechaVerificar);
|
|
@@ -15314,6 +15324,7 @@ export {
|
|
|
15314
15324
|
empresas,
|
|
15315
15325
|
esCadenaFechaISOValida,
|
|
15316
15326
|
esObjetoFecha,
|
|
15327
|
+
formatCurrencyV1,
|
|
15317
15328
|
formatNumberSmart,
|
|
15318
15329
|
generateUniqueNumber,
|
|
15319
15330
|
generateUniqueNumberArray,
|