@credithub/harlan-components 1.24.0 → 1.24.2
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.
|
@@ -57,7 +57,7 @@ var ProcessosJuridicosList = function (_a) {
|
|
|
57
57
|
return (React.createElement(ResultList, { resultContentStriped: false }, processos.map(function (processo, i) { return (React.createElement("div", { key: i },
|
|
58
58
|
React.createElement(ProcessoJuridicoItem, { processo: processo },
|
|
59
59
|
React.createElement(ConsultarProcessoBtn, { onClick: onClickConsultarProcessoJuridico
|
|
60
|
-
? function () { return onClickConsultarProcessoJuridico(processo.
|
|
60
|
+
? function () { return onClickConsultarProcessoJuridico(processo.id); }
|
|
61
61
|
: undefined, smallContent: "R$ 1" }, "Consultar Processo")))); })));
|
|
62
62
|
};
|
|
63
63
|
export default ProcessosJuridicosList;
|
|
@@ -99,7 +99,7 @@ function getResumoDeModalidades(scr) {
|
|
|
99
99
|
var _a;
|
|
100
100
|
return ({
|
|
101
101
|
modalidade: !/^Limite/.test(modalidade)
|
|
102
|
-
? "Cr\u00E9ditos
|
|
102
|
+
? "Cr\u00E9ditos ".concat((_a = vencimento === null || vencimento === void 0 ? void 0 : vencimento.descricao) === null || _a === void 0 ? void 0 : _a.toLowerCase())
|
|
103
103
|
: vencimento === null || vencimento === void 0 ? void 0 : vencimento.descricao,
|
|
104
104
|
valor: vencimento === null || vencimento === void 0 ? void 0 : vencimento.valor
|
|
105
105
|
});
|
|
@@ -198,7 +198,7 @@ var Section = function (_a) {
|
|
|
198
198
|
React.createElement(StatusMessage, { type: "warning" }, err.message))),
|
|
199
199
|
actions: (React.createElement(React.Fragment, null,
|
|
200
200
|
React.createElement(Button, { onClick: function () { return ctx.refetch(); } }, "Tentar Novamente")))
|
|
201
|
-
}); } : _b, _c = _a.onLoading, onLoading = _c === void 0 ? function () { return React.createElement(React.Fragment, null); } : _c, ctx = _a.ctx,
|
|
201
|
+
}); } : _b, _c = _a.onLoading, onLoading = _c === void 0 ? function () { return React.createElement(React.Fragment, null); } : _c, ctx = _a.ctx, className = _a.className, _d = _a.hideHeader, hideHeader = _d === void 0 ? false : _d, _e = _a.minimized, minimized = _e === void 0 ? true : _e, headerProps = __rest(_a, ["onSuccess", "isError", "onLoading", "ctx", "className", "hideHeader", "minimized"]);
|
|
202
202
|
var _f = useToggle(!minimized), isOpen = _f[0], toggleOpen = _f[1];
|
|
203
203
|
if (!ctx)
|
|
204
204
|
return null;
|