@credithub/harlan-components 1.39.8 → 1.40.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.
- package/dist/components/chart/chartSystem.js +18 -13
- package/dist/components/chart/hooks/useChartData.js +10 -4
- package/dist/components/dossie/llama/llama.js +0 -1
- package/dist/components/webservice.d.ts +10 -0
- package/dist/components/webservice.js +27 -21
- package/dist/consultaSimples.js +33 -28
- package/lib/cjs/index.js +88 -67
- package/lib/esm/index.js +88 -67
- package/package.json +1 -1
|
@@ -24,6 +24,7 @@ var ChartSystem = function (_a) {
|
|
|
24
24
|
var consultaBoaVista = (_e = (_d = ctxConsultasComplementares === null || ctxConsultasComplementares === void 0 ? void 0 : ctxConsultasComplementares.consultasComplementares) === null || _d === void 0 ? void 0 : _d.refinBoaVista) === null || _e === void 0 ? void 0 : _e.data;
|
|
25
25
|
var _k = useChartData(documento, consultaSerasa, consultaBoaVista), data = _k.data, isLoadingChart = _k.isLoading, errorChart = _k.error, refetchChart = _k.refetch, chartDataProgress = _k.loadingProgress;
|
|
26
26
|
var _l = useState(false), refetchTriggered = _l[0], setRefetchTriggered = _l[1];
|
|
27
|
+
var _m = useDividasPublicas(), quantidadeDividas = _m.quantidade, valorTotalDividas = _m.valorTotal, ultimaOcorrenciaDividas = _m.ultimaOcorrencia, dividasProgress = _m.loadingProgress;
|
|
27
28
|
useEffect(function () {
|
|
28
29
|
if (consultaSerasa || consultaBoaVista) {
|
|
29
30
|
refetchChart();
|
|
@@ -31,11 +32,10 @@ var ChartSystem = function (_a) {
|
|
|
31
32
|
}
|
|
32
33
|
}, [consultaSerasa, consultaBoaVista, refetchChart]);
|
|
33
34
|
useEffect(function () {
|
|
34
|
-
if (refetchTriggered
|
|
35
|
+
if (refetchTriggered) {
|
|
35
36
|
setRefetchTriggered(false);
|
|
36
37
|
}
|
|
37
|
-
}, [
|
|
38
|
-
var _m = useDividasPublicas(), quantidadeDividas = _m.quantidade, valorTotalDividas = _m.valorTotal, ultimaOcorrenciaDividas = _m.ultimaOcorrencia, dividasProgress = _m.loadingProgress;
|
|
38
|
+
}, [refetchTriggered]);
|
|
39
39
|
var errorMessage = typeof errorChart === 'string' ? new Error(errorChart) : errorChart;
|
|
40
40
|
var isOpen = useToggle(true)[0];
|
|
41
41
|
var ultimaOcorrenciaCCF = useUltimaOcorrenciaCCF();
|
|
@@ -50,9 +50,15 @@ var ChartSystem = function (_a) {
|
|
|
50
50
|
.map(function (categoria) { return categoria.ultimaOcorrencia; })
|
|
51
51
|
.filter(Boolean)
|
|
52
52
|
.map(function (data) {
|
|
53
|
-
|
|
53
|
+
var formattedDate = converterParaFormatoValido(data);
|
|
54
|
+
var dateInstance = new Date(formattedDate);
|
|
55
|
+
if (isNaN(dateInstance.getTime())) {
|
|
56
|
+
console.error("Invalid date: ".concat(formattedDate));
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
return dateInstance.getTime();
|
|
54
60
|
})
|
|
55
|
-
.filter(function (timestamp) { return
|
|
61
|
+
.filter(function (timestamp) { return timestamp !== null; });
|
|
56
62
|
if (datasOcorrencias.length > 0) {
|
|
57
63
|
ultimaOcorrenciaProtestos = new Date(Math.max.apply(Math, datasOcorrencias)).toLocaleDateString();
|
|
58
64
|
}
|
|
@@ -72,14 +78,13 @@ var ChartSystem = function (_a) {
|
|
|
72
78
|
Section: Section
|
|
73
79
|
}, title: "Resumo de Negativa\u00E7\u00F5es", subtitle: "Veja a quantidade de ocorr\u00EAncias conforme o documento foi consultado ao longo do tempo", icon: ResumoDeNegativacoesIcon, onSuccess: function () {
|
|
74
80
|
var _a;
|
|
75
|
-
return (React.createElement(
|
|
76
|
-
React.createElement(
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
: undefined }))));
|
|
81
|
+
return (React.createElement(Content, { isOpen: isOpen },
|
|
82
|
+
data && React.createElement(ChartContent, { dataInput: data }),
|
|
83
|
+
React.createElement(QuantidadeResultados, { data: data, quantidadeProtestos: quantidadeProtestos, quantidadeProcessos: (_a = data === null || data === void 0 ? void 0 : data.pieChartTotalConfig) === null || _a === void 0 ? void 0 : _a.processosJuridicos, quantidadeDividas: quantidadeDividas, quantidadeDividasSerasa: quantidadeSerasa, quantidadeDividasBoaVista: quantidadeBoaVista, quantidadeChequesSemFundos: quantidadeCCFs, ultimaOcorrenciaChequesSemFundos: ultimaOcorrenciaCCF, valorTotalDividasSerasa: valorTotalSerasa, valorTotalDividasBoaVista: valorTotalBoaVista, valorTotalProtestos: valorTotalProtestos, valorTotalDividas: valorTotalDividas, ultimaOcorrenciaProtestos: ultimaOcorrenciaProtestos, ultimaOcorrenciaDividas: ultimaOcorrenciaDividas, ultimaOcorrenciaPefinBoaVista: quantidadeBoaVista > 0
|
|
84
|
+
? (ultimaOcorrenciaBoaVista !== null && ultimaOcorrenciaBoaVista !== void 0 ? ultimaOcorrenciaBoaVista : undefined)
|
|
85
|
+
: undefined, ultimaOcorrenciaPefinSerasa: quantidadeSerasa > 0
|
|
86
|
+
? (ultimaOcorrenciaSerasa !== null && ultimaOcorrenciaSerasa !== void 0 ? ultimaOcorrenciaSerasa : undefined)
|
|
87
|
+
: undefined })));
|
|
83
88
|
}, isError: function (err) { return ({
|
|
84
89
|
children: React.createElement(React.Fragment, null),
|
|
85
90
|
description: (React.createElement(StatusMessage, { type: "error" },
|
|
@@ -56,9 +56,10 @@ var useChartData = function (documento, consultaSerasa, consultaBoaVista) {
|
|
|
56
56
|
var _a = useState(null), data = _a[0], setData = _a[1];
|
|
57
57
|
var _b = useState(null), errorState = _b[0], setErrorState = _b[1];
|
|
58
58
|
var _c = useState(0), loadingProgress = _c[0], setLoadingProgress = _c[1];
|
|
59
|
-
var _d =
|
|
59
|
+
var _d = useState(false), shouldFetch = _d[0], setShouldFetch = _d[1];
|
|
60
|
+
var _e = useQuery("SELECT FROM 'DOCUMENTHISTORY'.'BASICHISTORY'", {
|
|
60
61
|
documento: documento
|
|
61
|
-
}), response =
|
|
62
|
+
}), response = _e.response, queryError = _e.error, isLoading = _e.isLoading, refetch = _e.refetch;
|
|
62
63
|
var ctxProtestos = useContext(Queries.Protestos);
|
|
63
64
|
var ctxCCF = useContext(Queries.CCF);
|
|
64
65
|
var ctxProcessosJuridicos = useContext(Queries.ProcessosJuridicos);
|
|
@@ -86,10 +87,15 @@ var useChartData = function (documento, consultaSerasa, consultaBoaVista) {
|
|
|
86
87
|
return [];
|
|
87
88
|
}, [ctxProtestos]);
|
|
88
89
|
useEffect(function () {
|
|
89
|
-
if (liveQueriesIsFinish
|
|
90
|
+
if (liveQueriesIsFinish && !shouldFetch) {
|
|
91
|
+
setShouldFetch(true);
|
|
92
|
+
}
|
|
93
|
+
}, [liveQueriesIsFinish, shouldFetch]);
|
|
94
|
+
useEffect(function () {
|
|
95
|
+
if (shouldFetch || consultaSerasa || consultaBoaVista) {
|
|
90
96
|
refetch();
|
|
91
97
|
}
|
|
92
|
-
}, [
|
|
98
|
+
}, [shouldFetch, refetch, consultaSerasa, consultaBoaVista]);
|
|
93
99
|
useEffect(function () {
|
|
94
100
|
if (isLoading) {
|
|
95
101
|
setLoadingProgress(function (prev) { return Math.min(prev + 15, 90); });
|
|
@@ -167,7 +167,6 @@ var Llama = function (_a) {
|
|
|
167
167
|
}, [queryEnabled]);
|
|
168
168
|
useEffect(function () {
|
|
169
169
|
if (response && !isLoading && !error) {
|
|
170
|
-
console.log('%c Resposta recebida do Llama API:', 'color: green; font-weight: bold;', response);
|
|
171
170
|
handleIncrementalResponse(response);
|
|
172
171
|
setIsProcessing(false);
|
|
173
172
|
}
|
|
@@ -44,6 +44,7 @@ export type ISectionProps<R> = {
|
|
|
44
44
|
export type ISection<R> = React.FC<ISectionProps<R>>;
|
|
45
45
|
export declare function CustomProvider<T extends Client.Form = Client.Form, R = unknown>(Provider: Context<RequestContext<R>>, query: string): FC<PropsWithChildren<{
|
|
46
46
|
data?: T;
|
|
47
|
+
depends?: RequestContext<unknown>[];
|
|
47
48
|
urlData?: Client.Form;
|
|
48
49
|
}>>;
|
|
49
50
|
export declare function useQuery<R = unknown, T extends Client.Form = Client.Form>(query: string, data?: T, enabled?: boolean): {
|
|
@@ -62,6 +63,7 @@ export declare function useMutation<R = unknown, T extends Client.Form = Client.
|
|
|
62
63
|
export declare function query<T extends Client.Form = Client.Form, R = unknown>(query: string): React.Context<RequestContext<R>> & {
|
|
63
64
|
Request: React.FC<React.PropsWithChildren<{
|
|
64
65
|
data?: T | undefined;
|
|
66
|
+
depends?: RequestContext<unknown>[];
|
|
65
67
|
urlData?: Client.Form;
|
|
66
68
|
}>>;
|
|
67
69
|
};
|
|
@@ -71,6 +73,7 @@ export declare const Queries: {
|
|
|
71
73
|
data?: {
|
|
72
74
|
documento: string;
|
|
73
75
|
} | undefined;
|
|
76
|
+
depends?: RequestContext<unknown>[];
|
|
74
77
|
urlData?: Client.Form;
|
|
75
78
|
}>>;
|
|
76
79
|
};
|
|
@@ -79,6 +82,7 @@ export declare const Queries: {
|
|
|
79
82
|
data?: {
|
|
80
83
|
documento: string;
|
|
81
84
|
} | undefined;
|
|
85
|
+
depends?: RequestContext<unknown>[];
|
|
82
86
|
urlData?: Client.Form;
|
|
83
87
|
}>>;
|
|
84
88
|
};
|
|
@@ -87,6 +91,7 @@ export declare const Queries: {
|
|
|
87
91
|
data?: {
|
|
88
92
|
documento: string;
|
|
89
93
|
} | undefined;
|
|
94
|
+
depends?: RequestContext<unknown>[];
|
|
90
95
|
urlData?: Client.Form;
|
|
91
96
|
}>>;
|
|
92
97
|
};
|
|
@@ -98,6 +103,7 @@ export declare const Queries: {
|
|
|
98
103
|
estado?: string;
|
|
99
104
|
pf?: string;
|
|
100
105
|
} | undefined;
|
|
106
|
+
depends?: RequestContext<unknown>[];
|
|
101
107
|
urlData?: Client.Form;
|
|
102
108
|
}>>;
|
|
103
109
|
};
|
|
@@ -106,6 +112,7 @@ export declare const Queries: {
|
|
|
106
112
|
data?: {
|
|
107
113
|
documento: string;
|
|
108
114
|
} | undefined;
|
|
115
|
+
depends?: RequestContext<unknown>[];
|
|
109
116
|
urlData?: Client.Form;
|
|
110
117
|
}>>;
|
|
111
118
|
};
|
|
@@ -114,6 +121,7 @@ export declare const Queries: {
|
|
|
114
121
|
data?: {
|
|
115
122
|
documento: string;
|
|
116
123
|
} | undefined;
|
|
124
|
+
depends?: RequestContext<unknown>[];
|
|
117
125
|
urlData?: Client.Form;
|
|
118
126
|
}>>;
|
|
119
127
|
};
|
|
@@ -123,6 +131,7 @@ export declare const Queries: {
|
|
|
123
131
|
documento: string;
|
|
124
132
|
cnpj: string;
|
|
125
133
|
} | undefined;
|
|
134
|
+
depends?: RequestContext<unknown>[];
|
|
126
135
|
urlData?: Client.Form;
|
|
127
136
|
}>>;
|
|
128
137
|
};
|
|
@@ -131,6 +140,7 @@ export declare const Queries: {
|
|
|
131
140
|
data?: {
|
|
132
141
|
documento: string;
|
|
133
142
|
} | undefined;
|
|
143
|
+
depends?: RequestContext<unknown>[];
|
|
134
144
|
urlData?: Client.Form;
|
|
135
145
|
}>>;
|
|
136
146
|
};
|
|
@@ -15,16 +15,17 @@ export var RequestStatus;
|
|
|
15
15
|
})(RequestStatus || (RequestStatus = {}));
|
|
16
16
|
export function CustomProvider(Provider, query) {
|
|
17
17
|
return function (_a) {
|
|
18
|
-
var children = _a.children, data = _a.data, urlData = _a.urlData;
|
|
18
|
+
var children = _a.children, data = _a.data, urlData = _a.urlData, _b = _a.depends, depends = _b === void 0 ? [] : _b;
|
|
19
19
|
var client = useContext(WebService);
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
20
|
+
var _c = useState(null), response = _c[0], setResponse = _c[1];
|
|
21
|
+
var _d = useState(null), error = _d[0], setError = _d[1];
|
|
22
|
+
var _e = useState(false), loading = _e[0], setLoading = _e[1];
|
|
23
|
+
var _f = useState(0), progress = _f[0], setProgress = _f[1];
|
|
24
|
+
var _g = useState(new Map()), requestsMap = _g[0], setRequestsMap = _g[1];
|
|
25
|
+
var _h = useState(false), showLoadingBar = _h[0], setShowLoadingBar = _h[1];
|
|
26
|
+
var _j = useState(false), shouldRetry = _j[0], setShouldRetry = _j[1];
|
|
27
|
+
var _k = useState(false), requestCompleted = _k[0], setRequestCompleted = _k[1];
|
|
28
|
+
var dependentRequestsCompleted = useMemo(function () { return depends === null || depends === void 0 ? void 0 : depends.every(function (request) { return ((request === null || request === void 0 ? void 0 : request.type) === RequestStatus.Success) || ((request === null || request === void 0 ? void 0 : request.type) === (RequestStatus === null || RequestStatus === void 0 ? void 0 : RequestStatus.Error)); }); }, [depends]);
|
|
28
29
|
var simulateProgress = useCallback(function () {
|
|
29
30
|
setProgress(0);
|
|
30
31
|
var currentProgress = 0;
|
|
@@ -38,7 +39,7 @@ export function CustomProvider(Provider, query) {
|
|
|
38
39
|
return function () { return clearInterval(interval); };
|
|
39
40
|
}, []);
|
|
40
41
|
var fetchData = useCallback(function () {
|
|
41
|
-
if (loading || requestCompleted)
|
|
42
|
+
if (loading || requestCompleted || !dependentRequestsCompleted)
|
|
42
43
|
return;
|
|
43
44
|
setLoading(true);
|
|
44
45
|
setError(null);
|
|
@@ -95,16 +96,18 @@ export function CustomProvider(Provider, query) {
|
|
|
95
96
|
urlData,
|
|
96
97
|
loading,
|
|
97
98
|
simulateProgress,
|
|
98
|
-
requestCompleted
|
|
99
|
+
requestCompleted,
|
|
100
|
+
dependentRequestsCompleted
|
|
99
101
|
]);
|
|
100
102
|
useEffect(function () {
|
|
101
103
|
if (!response &&
|
|
102
104
|
!loading &&
|
|
103
105
|
requestsMap.size === 0 &&
|
|
104
|
-
!requestCompleted
|
|
106
|
+
!requestCompleted &&
|
|
107
|
+
dependentRequestsCompleted) {
|
|
105
108
|
fetchData();
|
|
106
109
|
}
|
|
107
|
-
}, [fetchData, response, loading, requestsMap, requestCompleted]);
|
|
110
|
+
}, [fetchData, response, loading, requestsMap, requestCompleted, dependentRequestsCompleted]);
|
|
108
111
|
useEffect(function () {
|
|
109
112
|
if (shouldRetry) {
|
|
110
113
|
setShouldRetry(false);
|
|
@@ -170,7 +173,7 @@ export function useQuery(query, data, enabled) {
|
|
|
170
173
|
return function () { return clearInterval(interval); };
|
|
171
174
|
}, []);
|
|
172
175
|
var fetch = useCallback(function () {
|
|
173
|
-
if (!shouldFetch || isLoading
|
|
176
|
+
if (!shouldFetch || isLoading)
|
|
174
177
|
return;
|
|
175
178
|
setIsLoading(true);
|
|
176
179
|
simulateProgress();
|
|
@@ -201,23 +204,26 @@ export function useQuery(query, data, enabled) {
|
|
|
201
204
|
setShouldFetch(false);
|
|
202
205
|
});
|
|
203
206
|
return function () { return abortController.abort(); };
|
|
204
|
-
}, [shouldFetch, isLoading,
|
|
207
|
+
}, [shouldFetch, isLoading, client, query, data, simulateProgress]);
|
|
208
|
+
useEffect(function () {
|
|
209
|
+
if (enabled && shouldFetch) {
|
|
210
|
+
fetch();
|
|
211
|
+
}
|
|
212
|
+
}, [fetch, shouldFetch, enabled]);
|
|
205
213
|
useEffect(function () {
|
|
206
214
|
if (enabled && !isLoading && !shouldFetch && !response && !error) {
|
|
207
215
|
setShouldFetch(true);
|
|
208
216
|
}
|
|
209
217
|
}, [enabled, isLoading, shouldFetch, response, error]);
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
}, [fetch, shouldFetch]);
|
|
218
|
+
var refetch = useCallback(function () {
|
|
219
|
+
setShouldFetch(true);
|
|
220
|
+
}, [query]);
|
|
215
221
|
return {
|
|
216
222
|
response: response,
|
|
217
223
|
error: error,
|
|
218
224
|
isLoading: isLoading,
|
|
219
225
|
loadingProgress: loadingProgressRef.current,
|
|
220
|
-
refetch:
|
|
226
|
+
refetch: refetch
|
|
221
227
|
};
|
|
222
228
|
}
|
|
223
229
|
export function useMutation(query, data) {
|
package/dist/consultaSimples.js
CHANGED
|
@@ -3,7 +3,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
return cooked;
|
|
4
4
|
};
|
|
5
5
|
import { Chart, registerables } from 'chart.js';
|
|
6
|
-
import React from 'react';
|
|
6
|
+
import React, { useContext } from 'react';
|
|
7
7
|
import styled, { ThemeProvider } from 'styled-components';
|
|
8
8
|
import { Addresses, BankAccounts, CCF, ChartSystem, Contacts, DividasPublicas, Dossie, Partners, ProcessosJuridicos, Protestos, Queries, RefinBoaVista, RefinSerasa, Veiculos, WebServiceProvider } from './';
|
|
9
9
|
import { ConsultaRfbProvider } from './components/consultaRfb';
|
|
@@ -19,6 +19,12 @@ import GlobalStyle from './styles/globalStyle';
|
|
|
19
19
|
import theme from './styles/theme';
|
|
20
20
|
Chart.register.apply(Chart, registerables);
|
|
21
21
|
var Wrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: 'Open Sans Condensed';\n display: flex;\n flex-direction: column;\n gap: 20px;\n\n * {\n -webkit-print-color-adjust: exact !important;\n print-color-adjust: exact !important;\n }\n\n @media print {\n @page {\n size: auto;\n margin: 5mm;\n }\n }\n"], ["\n font-family: 'Open Sans Condensed';\n display: flex;\n flex-direction: column;\n gap: 20px;\n\n * {\n -webkit-print-color-adjust: exact !important;\n print-color-adjust: exact !important;\n }\n\n @media print {\n @page {\n size: auto;\n margin: 5mm;\n }\n }\n"])));
|
|
22
|
+
var FinderDependency = function (_a) {
|
|
23
|
+
var children = _a.children, documento = _a.documento;
|
|
24
|
+
var ctxFinder = useContext(Queries.Finder);
|
|
25
|
+
return (React.createElement(Queries.CCF.Request, { data: { documento: documento }, depends: [ctxFinder] },
|
|
26
|
+
React.createElement(Queries.Protestos.Request, { data: { documento: documento }, depends: [ctxFinder] }, children)));
|
|
27
|
+
};
|
|
22
28
|
var ConsultaSimples = function (_a) {
|
|
23
29
|
var _documento = _a.documento, onClickConsultarProcessoJuridico = _a.onClickConsultarProcessoJuridico, onClickQSA = _a.onClickQSA, onClickPrint = _a.onClickPrint, apiKey = _a.apiKey, onClose = _a.onClose, hasCredits = _a.hasCredits, _b = _a.initRefinBoaVista, initRefinBoaVista = _b === void 0 ? false : _b, _c = _a.initRefinSerasa, initRefinSerasa = _c === void 0 ? false : _c, _d = _a.initVeiculos, initVeiculos = _d === void 0 ? false : _d;
|
|
24
30
|
var documento = _documento.replace(/\D+/g, '');
|
|
@@ -27,33 +33,32 @@ var ConsultaSimples = function (_a) {
|
|
|
27
33
|
React.createElement(WebServiceProvider, { credential: apiKey },
|
|
28
34
|
React.createElement(Queries.Dominios.Request, { data: { documento: documento, cnpj: documento } },
|
|
29
35
|
React.createElement(Queries.Finder.Request, { data: { documento: documento } },
|
|
30
|
-
React.createElement(
|
|
31
|
-
React.createElement(Queries.
|
|
32
|
-
React.createElement(Queries.
|
|
33
|
-
React.createElement(
|
|
34
|
-
React.createElement(
|
|
35
|
-
React.createElement(
|
|
36
|
-
React.createElement(
|
|
37
|
-
React.createElement(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
React.createElement(
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
React.createElement(ProcessosJuridicos, { onClickConsultarProcessoJuridico: onClickConsultarProcessoJuridico })))))))))))),
|
|
36
|
+
React.createElement(FinderDependency, { documento: documento },
|
|
37
|
+
React.createElement(Queries.ProcessosJuridicos.Request, { data: { documento: documento } },
|
|
38
|
+
React.createElement(Queries.Liminar.Request, { data: { documento: documento } },
|
|
39
|
+
React.createElement(Wrapper, null,
|
|
40
|
+
React.createElement(GlobalDataProvider, null,
|
|
41
|
+
React.createElement(ConsultaSimplesSection, { documento: documento, onClose: onClose, onClickPrint: onClickPrint },
|
|
42
|
+
React.createElement(ConsultaRfbProvider, { documento: documento },
|
|
43
|
+
React.createElement(Dossie, { documento: documento }),
|
|
44
|
+
React.createElement(Liminar, null),
|
|
45
|
+
React.createElement(Addresses, { apiKey: apiKey }),
|
|
46
|
+
React.createElement(Contacts, null),
|
|
47
|
+
React.createElement(Partners, { onClickQSA: onClickQSA })),
|
|
48
|
+
React.createElement(Dominios, null),
|
|
49
|
+
React.createElement(BankAccounts, null),
|
|
50
|
+
React.createElement(Queries.GraficosAnaliticos.Request, { data: { documento: documento } },
|
|
51
|
+
React.createElement(ChartSystem, { documento: documento }),
|
|
52
|
+
React.createElement(ConsultaSCR, { documento: documento }),
|
|
53
|
+
React.createElement(RefinBoaVista, { documento: documento }),
|
|
54
|
+
React.createElement(RefinSerasa, { documento: documento }),
|
|
55
|
+
React.createElement(ConsultaScore, { documento: documento }),
|
|
56
|
+
React.createElement(ConsultaImoveis, { documento: documento }),
|
|
57
|
+
React.createElement(Veiculos, { documento: documento })),
|
|
58
|
+
React.createElement(Protestos, null),
|
|
59
|
+
React.createElement(CCF, null),
|
|
60
|
+
React.createElement(DividasPublicas, null),
|
|
61
|
+
React.createElement(ProcessosJuridicos, { onClickConsultarProcessoJuridico: onClickConsultarProcessoJuridico }))))))))))),
|
|
57
62
|
React.createElement(GlobalStyle, null)));
|
|
58
63
|
};
|
|
59
64
|
export default ConsultaSimples;
|