@credithub/harlan-components 1.67.0 → 1.68.0

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.
@@ -157,7 +157,8 @@ var Liminar = function () {
157
157
  return __assign(__assign({}, prev), { liminar: {
158
158
  indiciosDeLiminar: indiciosApi,
159
159
  message: finalStatus,
160
- isLoaded: true
160
+ isLoaded: true,
161
+ processosComLiminarIds: processosComAssuntoValido.map(function (p) { return p.id; })
161
162
  } });
162
163
  });
163
164
  resultRef.current = finalStatus;
@@ -46,7 +46,7 @@ var ProcessoJuridicoItem = memo(function (_a) {
46
46
  var processo = _a.processo, children = _a.children, highlighted = _a.highlighted;
47
47
  var global = useGlobalData().data;
48
48
  var hasLiminar = ((_b = global === null || global === void 0 ? void 0 : global.liminar) === null || _b === void 0 ? void 0 : _b.message) === 'Encontrado' &&
49
- ((_d = (_c = global === null || global === void 0 ? void 0 : global.processosJuridicosData) === null || _c === void 0 ? void 0 : _c.empresa) === null || _d === void 0 ? void 0 : _d.some(function (p) { return p.id === processo.id; }));
49
+ ((_d = (_c = global === null || global === void 0 ? void 0 : global.liminar) === null || _c === void 0 ? void 0 : _c.processosComLiminarIds) === null || _d === void 0 ? void 0 : _d.includes(processo.id));
50
50
  return (React.createElement(ProcessoJuridicoWrapper, { id: processo.id, className: highlighted ? 'highlighted-process' : '' },
51
51
  React.createElement(ResultWrapper, null,
52
52
  React.createElement(ResultContent, { fullWidth: true, desktop: "1.5fr 1.5fr repeat(3, 1fr)", tablet: "repeat(3, 1fr)" },