@credithub/harlan-components 1.116.3 → 1.116.5
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/components/liminar/liminar.js +7 -6
- package/lib/cjs/index.js +15 -120
- package/lib/esm/index.js +15 -120
- package/package.json +1 -1
|
@@ -232,8 +232,8 @@ var Liminar = function (_a) {
|
|
|
232
232
|
}
|
|
233
233
|
setIsLoadingLiminarProtestosDoPassado(false);
|
|
234
234
|
finalStatus = indiciosApi ||
|
|
235
|
-
processosComAssuntoValido.length
|
|
236
|
-
|
|
235
|
+
processosComAssuntoValido.length /*||
|
|
236
|
+
indiciosDeLiminarProtestosDoPassado*/
|
|
237
237
|
? 'Encontrado'
|
|
238
238
|
: 'Não encontrado';
|
|
239
239
|
invertedIdsRef.current = newIds;
|
|
@@ -314,7 +314,7 @@ var Liminar = function (_a) {
|
|
|
314
314
|
* marcou `indicioDeLiminar = true`.
|
|
315
315
|
* ------------------------------------------------------------------*/
|
|
316
316
|
var typesForHistory = useMemo(function () {
|
|
317
|
-
var _a, _b, _c
|
|
317
|
+
var _a, _b, _c;
|
|
318
318
|
var set = new Set();
|
|
319
319
|
/* 1) API (Cenprot/Serasa) */
|
|
320
320
|
var apiIndicio = ((_a = ctx.document) === null || _a === void 0 ? void 0 : _a.indiciosDeLiminar) === true;
|
|
@@ -326,9 +326,9 @@ var Liminar = function (_a) {
|
|
|
326
326
|
.forEach(function (t) { return set.add(String(t).toLowerCase()); });
|
|
327
327
|
}
|
|
328
328
|
/* 2) Cenprot – detectado por protestos desaparecidos */
|
|
329
|
-
if (
|
|
330
|
-
|
|
331
|
-
}
|
|
329
|
+
/*if (globalData?.liminar?.indiciosDeLiminarProtestosDoPassado) {
|
|
330
|
+
set.add('cenprot');
|
|
331
|
+
}*/
|
|
332
332
|
/* 3) Judicial */
|
|
333
333
|
if (processosComAssuntoValido.length > 0) {
|
|
334
334
|
set.add('judicial');
|
|
@@ -432,6 +432,7 @@ var Liminar = function (_a) {
|
|
|
432
432
|
return [2 /*return*/];
|
|
433
433
|
});
|
|
434
434
|
}); };
|
|
435
|
+
return null;
|
|
435
436
|
if (!isFinancial || !shouldRender)
|
|
436
437
|
return null;
|
|
437
438
|
return (React.createElement(React.Fragment, null,
|