@credithub/harlan-components 1.24.1 → 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.
@@ -99,7 +99,7 @@ function getResumoDeModalidades(scr) {
99
99
  var _a;
100
100
  return ({
101
101
  modalidade: !/^Limite/.test(modalidade)
102
- ? "Cr\u00E9ditos baixados como ".concat((_a = vencimento === null || vencimento === void 0 ? void 0 : vencimento.descricao) === null || _a === void 0 ? void 0 : _a.toLowerCase())
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, children = _a.children, 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", "children", "className", "hideHeader", "minimized"]);
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;