sigo-package 1.2.68 → 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 +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +24 -0
- package/dist/index.mjs +22 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -570,4 +570,8 @@ 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
|
+
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
|
@@ -570,4 +570,8 @@ 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
|
+
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
|
@@ -102,7 +102,9 @@ __export(index_exports, {
|
|
|
102
102
|
empresas: () => empresas,
|
|
103
103
|
esCadenaFechaISOValida: () => esCadenaFechaISOValida,
|
|
104
104
|
esObjetoFecha: () => esObjetoFecha,
|
|
105
|
+
formatCurrencyV1: () => formatCurrencyV1,
|
|
105
106
|
formatNumberSmart: () => formatNumberSmart,
|
|
107
|
+
formatPercentageV1: () => formatPercentageV1,
|
|
106
108
|
generateUniqueNumber: () => generateUniqueNumber,
|
|
107
109
|
generateUniqueNumberArray: () => generateUniqueNumberArray,
|
|
108
110
|
getChannelName: () => getChannelName,
|
|
@@ -15309,6 +15311,26 @@ function formatNumberSmart(value) {
|
|
|
15309
15311
|
}
|
|
15310
15312
|
__name(formatNumberSmart, "formatNumberSmart");
|
|
15311
15313
|
|
|
15314
|
+
// src/shared/Utils/formatCurrencyV1.ts
|
|
15315
|
+
function formatCurrencyV1(num, maximumFractionDigits = 2, symbol = "$") {
|
|
15316
|
+
const options = {
|
|
15317
|
+
minimumFractionDigits: 0,
|
|
15318
|
+
maximumFractionDigits
|
|
15319
|
+
};
|
|
15320
|
+
return symbol + " " + new Intl.NumberFormat("es-ES", options).format(num);
|
|
15321
|
+
}
|
|
15322
|
+
__name(formatCurrencyV1, "formatCurrencyV1");
|
|
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
|
+
|
|
15312
15334
|
// src/Programados/Procesos/Preliquidar/ObtenerPrecioContratistaVigente.ts
|
|
15313
15335
|
function ObtenerPrecioContratistaVigente({ actividad, FechaVerificar }) {
|
|
15314
15336
|
const fechaVerificar = new Date(FechaVerificar);
|
|
@@ -15455,7 +15477,9 @@ var getNextID_AsignacionValorizacion = /* @__PURE__ */ __name((Valorizaciones) =
|
|
|
15455
15477
|
empresas,
|
|
15456
15478
|
esCadenaFechaISOValida,
|
|
15457
15479
|
esObjetoFecha,
|
|
15480
|
+
formatCurrencyV1,
|
|
15458
15481
|
formatNumberSmart,
|
|
15482
|
+
formatPercentageV1,
|
|
15459
15483
|
generateUniqueNumber,
|
|
15460
15484
|
generateUniqueNumberArray,
|
|
15461
15485
|
getChannelName,
|
package/dist/index.mjs
CHANGED
|
@@ -15169,6 +15169,26 @@ 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
|
+
|
|
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
|
+
|
|
15172
15192
|
// src/Programados/Procesos/Preliquidar/ObtenerPrecioContratistaVigente.ts
|
|
15173
15193
|
function ObtenerPrecioContratistaVigente({ actividad, FechaVerificar }) {
|
|
15174
15194
|
const fechaVerificar = new Date(FechaVerificar);
|
|
@@ -15314,7 +15334,9 @@ export {
|
|
|
15314
15334
|
empresas,
|
|
15315
15335
|
esCadenaFechaISOValida,
|
|
15316
15336
|
esObjetoFecha,
|
|
15337
|
+
formatCurrencyV1,
|
|
15317
15338
|
formatNumberSmart,
|
|
15339
|
+
formatPercentageV1,
|
|
15318
15340
|
generateUniqueNumber,
|
|
15319
15341
|
generateUniqueNumberArray,
|
|
15320
15342
|
getChannelName,
|