@credithub/harlan-components 1.10.1 → 1.11.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.
|
@@ -5,6 +5,7 @@ type ConsultaSimplesProps = {
|
|
|
5
5
|
apiKey: string;
|
|
6
6
|
onClose: () => void;
|
|
7
7
|
hasCredits?: HasCreditsType;
|
|
8
|
+
onClickConsultarProcessoJuridico: (processoId: string) => void;
|
|
8
9
|
};
|
|
9
10
|
declare const ConsultaSimples: React.FC<ConsultaSimplesProps>;
|
|
10
11
|
export default ConsultaSimples;
|
|
@@ -60,7 +60,7 @@ var statusMessage_1 = __importDefault(require("./components/interface/statusMess
|
|
|
60
60
|
var consultaRfb_1 = require("./components/consultaRfb");
|
|
61
61
|
var resultado_da_pesquisa_1 = __importDefault(require("./components/resultadoDaPesquisa/resultado-da-pesquisa"));
|
|
62
62
|
var ConsultaSimples = function (_a) {
|
|
63
|
-
var _documento = _a.documento, apiKey = _a.apiKey, onClose = _a.onClose, hasCredits = _a.hasCredits;
|
|
63
|
+
var _documento = _a.documento, onClickConsultarProcessoJuridico = _a.onClickConsultarProcessoJuridico, apiKey = _a.apiKey, onClose = _a.onClose, hasCredits = _a.hasCredits;
|
|
64
64
|
var documento = _documento.replace(/\D+/, "");
|
|
65
65
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
66
66
|
react_1.default.createElement(globalStyle_1.default, null),
|
|
@@ -88,7 +88,7 @@ var ConsultaSimples = function (_a) {
|
|
|
88
88
|
react_1.default.createElement(_1.Veiculos, { documento: documento })),
|
|
89
89
|
react_1.default.createElement(_1.Protestos, null),
|
|
90
90
|
react_1.default.createElement(_1.CCF, null),
|
|
91
|
-
react_1.default.createElement(_1.ProcessosJuridicos, { onClickConsultarProcessoJuridico:
|
|
91
|
+
react_1.default.createElement(_1.ProcessosJuridicos, { onClickConsultarProcessoJuridico: onClickConsultarProcessoJuridico }))))))))));
|
|
92
92
|
};
|
|
93
93
|
var ConsultaSimplesSection = function (_a) {
|
|
94
94
|
var children = _a.children, onClose = _a.onClose, rest = __rest(_a, ["children", "onClose"]);
|
|
@@ -5,6 +5,7 @@ type ConsultaSimplesProps = {
|
|
|
5
5
|
apiKey: string;
|
|
6
6
|
onClose: () => void;
|
|
7
7
|
hasCredits?: HasCreditsType;
|
|
8
|
+
onClickConsultarProcessoJuridico: (processoId: string) => void;
|
|
8
9
|
};
|
|
9
10
|
declare const ConsultaSimples: React.FC<ConsultaSimplesProps>;
|
|
10
11
|
export default ConsultaSimples;
|
|
@@ -32,7 +32,7 @@ import StatusMessage from "./components/interface/statusMessage";
|
|
|
32
32
|
import { ConsultaRfbProvider } from "./components/consultaRfb";
|
|
33
33
|
import ResultadoDaPesquisa from "./components/resultadoDaPesquisa/resultado-da-pesquisa";
|
|
34
34
|
var ConsultaSimples = function (_a) {
|
|
35
|
-
var _documento = _a.documento, apiKey = _a.apiKey, onClose = _a.onClose, hasCredits = _a.hasCredits;
|
|
35
|
+
var _documento = _a.documento, onClickConsultarProcessoJuridico = _a.onClickConsultarProcessoJuridico, apiKey = _a.apiKey, onClose = _a.onClose, hasCredits = _a.hasCredits;
|
|
36
36
|
var documento = _documento.replace(/\D+/, "");
|
|
37
37
|
return (React.createElement(React.Fragment, null,
|
|
38
38
|
React.createElement(GlobalStyle, null),
|
|
@@ -60,7 +60,7 @@ var ConsultaSimples = function (_a) {
|
|
|
60
60
|
React.createElement(Veiculos, { documento: documento })),
|
|
61
61
|
React.createElement(Protestos, null),
|
|
62
62
|
React.createElement(CCF, null),
|
|
63
|
-
React.createElement(ProcessosJuridicos, { onClickConsultarProcessoJuridico:
|
|
63
|
+
React.createElement(ProcessosJuridicos, { onClickConsultarProcessoJuridico: onClickConsultarProcessoJuridico }))))))))));
|
|
64
64
|
};
|
|
65
65
|
var ConsultaSimplesSection = function (_a) {
|
|
66
66
|
var children = _a.children, onClose = _a.onClose, rest = __rest(_a, ["children", "onClose"]);
|