@credithub/harlan-components 1.49.1 → 1.50.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.
|
@@ -68,7 +68,7 @@ function deepCleanData(data) {
|
|
|
68
68
|
export var selectRelevantData = function (data) {
|
|
69
69
|
var _a, _b, _c, _d, _e, _f;
|
|
70
70
|
var _g = data || {}, protestosDeCredito = _g.protestos, chequesSemFundo = _g.ccf, dividasPublicas = _g.dividasPublicas, contasBancarias = _g.bankAccounts, dadosDeChequesSemFundo = _g.ccfData, dividas = _g.divida, _h = _g.dossie, dossie = _h === void 0 ? {} : _h, liminar = _g.liminar, socios = _g.partners, dadosPessoasExpostasPoliticamente = _g.pepData, detalhesProcessosJuridicos = _g.processosJuridicosData, dadosReclameAqui = _g.reclameAqui, relatoriosRefinBoaVista = _g.refinBoaVista, relatoriosRefinSerasa = _g.refinSerasa, dadosScore = _g.scoreData, relatoriosSCR = _g.scr, registrosDeVeiculos = _g.veiculos, ResumoDosDados = _g.documentHistory;
|
|
71
|
-
var tipoPessoa = ((_b = (_a = dossie === null || dossie === void 0 ? void 0 : dossie.carousel) === null || _a === void 0 ? void 0 : _a.document) === null || _b === void 0 ? void 0 : _b.length) === 11
|
|
71
|
+
var tipoPessoa = ((_b = (_a = dossie === null || dossie === void 0 ? void 0 : dossie.carousel) === null || _a === void 0 ? void 0 : _a.document) === null || _b === void 0 ? void 0 : _b.replace(/\D/g, '').length) === 11
|
|
72
72
|
? 'Pessoa Física'
|
|
73
73
|
: 'Pessoa Jurídica';
|
|
74
74
|
var sociosAnonimizados = (_c = socios === null || socios === void 0 ? void 0 : socios.partners) === null || _c === void 0 ? void 0 : _c.map(function (socio, index) { return ({
|
package/dist/consultaSimples.js
CHANGED
|
@@ -17,6 +17,7 @@ import ConsultaSCR from './components/scr/scr';
|
|
|
17
17
|
import { GlobalDataProvider } from './contexts/globalDataContext';
|
|
18
18
|
import GlobalStyle from './styles/globalStyle';
|
|
19
19
|
import theme from './styles/theme';
|
|
20
|
+
import ProtestosSP from './components/protestos/protestosSp';
|
|
20
21
|
Chart.register.apply(Chart, registerables);
|
|
21
22
|
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
23
|
var FinderDependency = function (_a) {
|
|
@@ -55,6 +56,7 @@ var ConsultaSimples = function (_a) {
|
|
|
55
56
|
React.createElement(ConsultaScore, { documento: documento }),
|
|
56
57
|
React.createElement(ConsultaImoveis, { documento: documento }),
|
|
57
58
|
React.createElement(Veiculos, { documento: documento })),
|
|
59
|
+
React.createElement(ProtestosSP, null),
|
|
58
60
|
React.createElement(Protestos, null),
|
|
59
61
|
React.createElement(CCF, null),
|
|
60
62
|
React.createElement(DividasPublicas, null),
|