sigo-package 1.2.69 → 1.2.70
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
|
@@ -572,4 +572,6 @@ declare function formatNumberSmart(value: number | string): number;
|
|
|
572
572
|
|
|
573
573
|
declare function formatCurrencyV1(num: number, maximumFractionDigits?: number, symbol?: string): string;
|
|
574
574
|
|
|
575
|
-
|
|
575
|
+
declare function formatPercentageV1(num: number, maximumFractionDigits?: number): string;
|
|
576
|
+
|
|
577
|
+
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, formatPercentageV1, 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
|
@@ -572,4 +572,6 @@ declare function formatNumberSmart(value: number | string): number;
|
|
|
572
572
|
|
|
573
573
|
declare function formatCurrencyV1(num: number, maximumFractionDigits?: number, symbol?: string): string;
|
|
574
574
|
|
|
575
|
-
|
|
575
|
+
declare function formatPercentageV1(num: number, maximumFractionDigits?: number): string;
|
|
576
|
+
|
|
577
|
+
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, formatPercentageV1, 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
|
@@ -104,6 +104,7 @@ __export(index_exports, {
|
|
|
104
104
|
esObjetoFecha: () => esObjetoFecha,
|
|
105
105
|
formatCurrencyV1: () => formatCurrencyV1,
|
|
106
106
|
formatNumberSmart: () => formatNumberSmart,
|
|
107
|
+
formatPercentageV1: () => formatPercentageV1,
|
|
107
108
|
generateUniqueNumber: () => generateUniqueNumber,
|
|
108
109
|
generateUniqueNumberArray: () => generateUniqueNumberArray,
|
|
109
110
|
getChannelName: () => getChannelName,
|
|
@@ -15320,6 +15321,16 @@ function formatCurrencyV1(num, maximumFractionDigits = 2, symbol = "$") {
|
|
|
15320
15321
|
}
|
|
15321
15322
|
__name(formatCurrencyV1, "formatCurrencyV1");
|
|
15322
15323
|
|
|
15324
|
+
// src/shared/Utils/formatPercentageV1.ts
|
|
15325
|
+
function formatPercentageV1(num, maximumFractionDigits = 2) {
|
|
15326
|
+
const options = {
|
|
15327
|
+
minimumFractionDigits: 0,
|
|
15328
|
+
maximumFractionDigits
|
|
15329
|
+
};
|
|
15330
|
+
return new Intl.NumberFormat("es-ES", options).format(num) + " %";
|
|
15331
|
+
}
|
|
15332
|
+
__name(formatPercentageV1, "formatPercentageV1");
|
|
15333
|
+
|
|
15323
15334
|
// src/Programados/Procesos/Preliquidar/ObtenerPrecioContratistaVigente.ts
|
|
15324
15335
|
function ObtenerPrecioContratistaVigente({ actividad, FechaVerificar }) {
|
|
15325
15336
|
const fechaVerificar = new Date(FechaVerificar);
|
|
@@ -15468,6 +15479,7 @@ var getNextID_AsignacionValorizacion = /* @__PURE__ */ __name((Valorizaciones) =
|
|
|
15468
15479
|
esObjetoFecha,
|
|
15469
15480
|
formatCurrencyV1,
|
|
15470
15481
|
formatNumberSmart,
|
|
15482
|
+
formatPercentageV1,
|
|
15471
15483
|
generateUniqueNumber,
|
|
15472
15484
|
generateUniqueNumberArray,
|
|
15473
15485
|
getChannelName,
|
package/dist/index.mjs
CHANGED
|
@@ -15179,6 +15179,16 @@ function formatCurrencyV1(num, maximumFractionDigits = 2, symbol = "$") {
|
|
|
15179
15179
|
}
|
|
15180
15180
|
__name(formatCurrencyV1, "formatCurrencyV1");
|
|
15181
15181
|
|
|
15182
|
+
// src/shared/Utils/formatPercentageV1.ts
|
|
15183
|
+
function formatPercentageV1(num, maximumFractionDigits = 2) {
|
|
15184
|
+
const options = {
|
|
15185
|
+
minimumFractionDigits: 0,
|
|
15186
|
+
maximumFractionDigits
|
|
15187
|
+
};
|
|
15188
|
+
return new Intl.NumberFormat("es-ES", options).format(num) + " %";
|
|
15189
|
+
}
|
|
15190
|
+
__name(formatPercentageV1, "formatPercentageV1");
|
|
15191
|
+
|
|
15182
15192
|
// src/Programados/Procesos/Preliquidar/ObtenerPrecioContratistaVigente.ts
|
|
15183
15193
|
function ObtenerPrecioContratistaVigente({ actividad, FechaVerificar }) {
|
|
15184
15194
|
const fechaVerificar = new Date(FechaVerificar);
|
|
@@ -15326,6 +15336,7 @@ export {
|
|
|
15326
15336
|
esObjetoFecha,
|
|
15327
15337
|
formatCurrencyV1,
|
|
15328
15338
|
formatNumberSmart,
|
|
15339
|
+
formatPercentageV1,
|
|
15329
15340
|
generateUniqueNumber,
|
|
15330
15341
|
generateUniqueNumberArray,
|
|
15331
15342
|
getChannelName,
|