@credithub/harlan-components 1.116.4 → 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.
@@ -132,7 +132,7 @@ var ConsultaSimplesSection = function (_a) {
132
132
  : 'Processos Jurídicos')
133
133
  : '', (_o = data.processosJuridicosData) === null || _o === void 0 ? void 0 : _o.error),
134
134
  makeItem('Liminar', (_p = data.liminar) === null || _p === void 0 ? void 0 : _p.isLoaded, ((_q = data.liminar) === null || _q === void 0 ? void 0 : _q.message) === 'Encontrado'
135
- ? '' //'Indício de Liminar'
135
+ ? 'Indício de Liminar'
136
136
  : '', (_r = data.liminar) === null || _r === void 0 ? void 0 : _r.error),
137
137
  makeItem('Potenciais Protestos Entrantes', true, ((_s = data.editalData) === null || _s === void 0 ? void 0 : _s.recentesCount)
138
138
  ? "".concat(data.editalData.recentesCount === 1 ? '1 Potencial Protesto Entrante' : "".concat(data.editalData.recentesCount, " Potenciais Protestos Entrantes"))
@@ -232,8 +232,8 @@ var Liminar = function (_a) {
232
232
  }
233
233
  setIsLoadingLiminarProtestosDoPassado(false);
234
234
  finalStatus = indiciosApi ||
235
- processosComAssuntoValido.length ||
236
- indiciosDeLiminarProtestosDoPassado
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, _d;
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 ((_d = globalData === null || globalData === void 0 ? void 0 : globalData.liminar) === null || _d === void 0 ? void 0 : _d.indiciosDeLiminarProtestosDoPassado) {
330
- set.add('cenprot');
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');