@credithub/harlan-components 1.19.2 → 1.19.4
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/lib/cjs/index.js +113 -112
- package/lib/esm/components/chart/chartSystem.js +1 -1
- package/lib/esm/components/chart/components/MixedChart.js +2 -2
- package/lib/esm/components/chart/components/PieChart.js +1 -1
- package/lib/esm/components/chart/components/categoryProtestos.js +1 -1
- package/lib/esm/components/chart/quantityResult.js +2 -2
- package/lib/esm/components/common/content.js +1 -1
- package/lib/esm/components/consultaSimplesSection/consultaSimplesSection.js +1 -1
- package/lib/esm/components/contacts/contacts.js +9 -1
- package/lib/esm/components/dossie/summary/summary.js +2 -2
- package/lib/esm/components/dossie/summary/utils.js +1 -1
- package/lib/esm/components/interface/globalStyle.js +2 -2
- package/lib/esm/components/interface/header.js +1 -1
- package/lib/esm/components/interface/responsiveGrid.js +1 -1
- package/lib/esm/components/partners/partnerList.js +1 -1
- package/lib/esm/components/processos-juridicos/processosJuridicosList.js +2 -2
- package/lib/esm/components/protestos/protestosCategory.js +1 -7
- package/lib/esm/components/webservice.js +1 -1
- package/lib/esm/consultaSimples.js +1 -1
- package/package.json +1 -1
package/lib/cjs/index.js
CHANGED
|
@@ -1554,7 +1554,7 @@ var HeaderUI = styled(function (_a) {
|
|
|
1554
1554
|
var HeaderContainer = styled.div(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject$w(["\n display: flex;\n gap: 20px;\n"], ["\n display: flex;\n gap: 20px;\n"])));
|
|
1555
1555
|
var ActionsList = styled.div(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject$w(["\n display: flex;\n flex-direction: row;\n gap: 10px;\n"], ["\n display: flex;\n flex-direction: row;\n gap: 10px;\n"])));
|
|
1556
1556
|
var IconWrapper$1 = styled.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject$w(["\n display: flex;\n align-items: center;\n width: 30px;\n"], ["\n display: flex;\n align-items: center;\n width: 30px;\n"])));
|
|
1557
|
-
var TextWrapper = styled.div(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject$w(["\n display: flex;\n flex-direction: column;\n gap: 10px;\n\n .text-wrapper-subtitle-description {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 20px;\n align-items: center;\n }\n"], ["\n display: flex;\n flex-direction: column;\n gap: 10px;\n\n .text-wrapper-subtitle-description {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 20px;\n align-items: center;\n }\n"])));
|
|
1557
|
+
var TextWrapper = styled.div(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject$w(["\n display: flex;\n flex-direction: column;\n gap: 10px;\n\n .text-wrapper-subtitle-description {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 20px;\n align-items: center;\n\n @media (max-width: 768px) {\n align-items: flex-start;\n }\n }\n"], ["\n display: flex;\n flex-direction: column;\n gap: 10px;\n\n .text-wrapper-subtitle-description {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 20px;\n align-items: center;\n\n @media (max-width: 768px) {\n align-items: flex-start;\n }\n }\n"])));
|
|
1558
1558
|
var Header$1 = function (_a) {
|
|
1559
1559
|
var title = _a.title, subtitle = _a.subtitle, description = _a.description, actions = _a.actions, Icon = _a.icon, type = _a.variant, iconProps = _a.iconProps, loadingProps = _a.loadingProps, className = _a.className, titleClassName = _a.titleClassName, subtitleClassName = _a.subtitleClassName, descriptionClassName = _a.descriptionClassName, containerClassName = _a.containerClassName, actionsClassName = _a.actionsClassName, innerRef = _a.innerRef, props = __rest$e(_a, ["title", "subtitle", "description", "actions", "icon", "variant", "iconProps", "loadingProps", "className", "titleClassName", "subtitleClassName", "descriptionClassName", "containerClassName", "actionsClassName", "innerRef"]);
|
|
1560
1560
|
var headerClass = cx(className);
|
|
@@ -1673,7 +1673,7 @@ var __makeTemplateObject$v = (undefined && undefined.__makeTemplateObject) || fu
|
|
|
1673
1673
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
1674
1674
|
return cooked;
|
|
1675
1675
|
};
|
|
1676
|
-
var BtnWrapper = styled.div(templateObject_1$v || (templateObject_1$v = __makeTemplateObject$v(["\n width: 30px;\n height: 30px;\n background-color: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n"], ["\n width: 30px;\n height: 30px;\n background-color: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n"])), theme.colors.cinza85);
|
|
1676
|
+
var BtnWrapper$1 = styled.div(templateObject_1$v || (templateObject_1$v = __makeTemplateObject$v(["\n width: 30px;\n height: 30px;\n background-color: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n"], ["\n width: 30px;\n height: 30px;\n background-color: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n"])), theme.colors.cinza85);
|
|
1677
1677
|
var templateObject_1$v;
|
|
1678
1678
|
|
|
1679
1679
|
var __makeTemplateObject$u = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
@@ -1689,8 +1689,8 @@ var Section$1 = function (_a) {
|
|
|
1689
1689
|
var sectionContentClass = cx(contentClassName);
|
|
1690
1690
|
return (React.createElement(SectionContaner, { className: sectionClass },
|
|
1691
1691
|
React.createElement(Header$1, { title: title, subtitle: subtitle, description: description, loadingProps: loadingProps, icon: icon, variant: variant, actions: React.createElement(React.Fragment, null,
|
|
1692
|
-
children && (React.createElement(BtnWrapper, { hidden: variant === 'loading', onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null))),
|
|
1693
|
-
onClose && (React.createElement(BtnWrapper, { onClick: onClose },
|
|
1692
|
+
children && (React.createElement(BtnWrapper$1, { hidden: variant === 'loading', onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null))),
|
|
1693
|
+
onClose && (React.createElement(BtnWrapper$1, { onClick: onClose },
|
|
1694
1694
|
React.createElement(CloseIcon, null))),
|
|
1695
1695
|
actions) }),
|
|
1696
1696
|
React.createElement(ResultContainer, { className: sectionContentClass, hide: !isOpen }, children)));
|
|
@@ -1749,7 +1749,7 @@ var __makeTemplateObject$s = (undefined && undefined.__makeTemplateObject) || fu
|
|
|
1749
1749
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
1750
1750
|
return cooked;
|
|
1751
1751
|
};
|
|
1752
|
-
var ResponsiveGrid = styled.div(templateObject_1$s || (templateObject_1$s = __makeTemplateObject$s(["\n display: grid;\n ", ";\n\n @media
|
|
1752
|
+
var ResponsiveGrid = styled.div(templateObject_1$s || (templateObject_1$s = __makeTemplateObject$s(["\n display: grid;\n ", ";\n\n @media (max-width: 768px) {\n grid-template-columns: ", ";\n gap: 16px;\n }\n\n @media (min-width: 768px) {\n grid-template-columns: ", ";\n }\n\n @media (min-width: 1000px) {\n grid-template-columns: ", ";\n }\n"], ["\n display: grid;\n ", ";\n\n @media (max-width: 768px) {\n grid-template-columns: ", ";\n gap: 16px;\n }\n\n @media (min-width: 768px) {\n grid-template-columns: ", ";\n }\n\n @media (min-width: 1000px) {\n grid-template-columns: ", ";\n }\n"])), function (props) { return props.fullWidth && 'width: 100%'; }, function (props) { return props.mobile || 'auto'; }, function (props) { return props.tablet || 'auto'; }, function (props) { return props.desktop || 'auto'; });
|
|
1753
1753
|
var templateObject_1$s;
|
|
1754
1754
|
|
|
1755
1755
|
var __makeTemplateObject$r = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
@@ -13339,7 +13339,7 @@ var Section = function (_a) {
|
|
|
13339
13339
|
};
|
|
13340
13340
|
var renderedResponse = renderResponse();
|
|
13341
13341
|
var defaultHeaderActions = (React.createElement(React.Fragment, null,
|
|
13342
|
-
React.createElement(BtnWrapper, { hidden: (ctx === null || ctx === void 0 ? void 0 : ctx.type) === exports.RequestStatus.Loading, onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null))));
|
|
13342
|
+
React.createElement(BtnWrapper$1, { hidden: (ctx === null || ctx === void 0 ? void 0 : ctx.type) === exports.RequestStatus.Loading, onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null))));
|
|
13343
13343
|
if (React.isValidElement(renderedResponse)) {
|
|
13344
13344
|
return (React.createElement("div", null,
|
|
13345
13345
|
!hideHeader && (React.createElement(Header$1, __assign$j({}, headerProps, { className: cx(className, headerStatus[ctx.type]), hidden: hideHeader, variant: ctx.type === exports.RequestStatus.Loading
|
|
@@ -13359,7 +13359,7 @@ var Section = function (_a) {
|
|
|
13359
13359
|
renderedChildren && defaultHeaderActions) }))),
|
|
13360
13360
|
React.createElement(ShowRenderedChildren, { isOpen: isOpen }, renderedChildren)));
|
|
13361
13361
|
};
|
|
13362
|
-
var ShowRenderedChildren = styled.div(templateObject_1$p || (templateObject_1$p = __makeTemplateObject$p(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
|
|
13362
|
+
var ShowRenderedChildren = styled.div(templateObject_1$p || (templateObject_1$p = __makeTemplateObject$p(["\n display: ", ";\n\n @media print {\n display: block;\n }\n"], ["\n display: ", ";\n\n @media print {\n display: block;\n }\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
|
|
13363
13363
|
var headerStatus = (_a = {},
|
|
13364
13364
|
_a[exports.RequestStatus.Loading] = 'external-source loading',
|
|
13365
13365
|
_a[exports.RequestStatus.Success] = 'success',
|
|
@@ -13578,6 +13578,10 @@ var Button$1 = function (_a) {
|
|
|
13578
13578
|
};
|
|
13579
13579
|
var templateObject_1$m, templateObject_2$a;
|
|
13580
13580
|
|
|
13581
|
+
var __makeTemplateObject$l = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13582
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13583
|
+
return cooked;
|
|
13584
|
+
};
|
|
13581
13585
|
var __spreadArray$7 = (undefined && undefined.__spreadArray) || function (to, from, pack) {
|
|
13582
13586
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
13583
13587
|
if (ar || !(i in from)) {
|
|
@@ -13592,6 +13596,7 @@ var ContactType;
|
|
|
13592
13596
|
ContactType["TELEFONE"] = "Telefone";
|
|
13593
13597
|
ContactType["EMAIL"] = "Email";
|
|
13594
13598
|
})(ContactType || (ContactType = {}));
|
|
13599
|
+
var BtnWrapper = styled.div(templateObject_1$l || (templateObject_1$l = __makeTemplateObject$l(["\n @media print {\n display: none;\n }\n"], ["\n @media print {\n display: none;\n }\n"])));
|
|
13595
13600
|
var Contacts = function (_a) {
|
|
13596
13601
|
var onClickConsultarEmail = _a.onClickConsultarEmail;
|
|
13597
13602
|
var ctx = React.useContext(Queries.Finder);
|
|
@@ -13617,21 +13622,23 @@ var Contacts = function (_a) {
|
|
|
13617
13622
|
}))));
|
|
13618
13623
|
return {
|
|
13619
13624
|
children: children,
|
|
13620
|
-
actions: (React.createElement(
|
|
13625
|
+
actions: (React.createElement(BtnWrapper, null,
|
|
13626
|
+
React.createElement(Button$1, { onClick: onClickConsultarEmail }, "Consultar E-mail em Dom\u00EDnio")))
|
|
13621
13627
|
};
|
|
13622
13628
|
} }));
|
|
13623
13629
|
};
|
|
13630
|
+
var templateObject_1$l;
|
|
13624
13631
|
|
|
13625
|
-
var __makeTemplateObject$
|
|
13632
|
+
var __makeTemplateObject$k = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13626
13633
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13627
13634
|
return cooked;
|
|
13628
13635
|
};
|
|
13629
|
-
var ButtonPartner = styled(Button$1)(templateObject_1$
|
|
13636
|
+
var ButtonPartner = styled(Button$1)(templateObject_1$k || (templateObject_1$k = __makeTemplateObject$k(["\n max-width: 100px;\n margin: 0;\n"], ["\n max-width: 100px;\n margin: 0;\n"])));
|
|
13630
13637
|
var PartnerList = React.memo(function (_a) {
|
|
13631
13638
|
var partners = _a.partners, onClickQSA = _a.onClickQSA;
|
|
13632
13639
|
return partners.map(function (partner, key) {
|
|
13633
13640
|
var _a, _b;
|
|
13634
|
-
return (React.createElement(ResultContent, { key: key, desktop: "2fr 1fr 0.7fr 1fr 1fr 1fr", tablet: "2fr repeat(2, 1fr)" },
|
|
13641
|
+
return (React.createElement(ResultContent, { key: key, desktop: "2fr 1fr 0.7fr 1fr 1fr 1fr", tablet: "2fr repeat(2, 1fr)", mobile: "repeat(2, 1fr)" },
|
|
13635
13642
|
React.createElement(AddItemField, { name: partner.cnpj ? 'Empresa' : (_a = partner.cargo) !== null && _a !== void 0 ? _a : '', value: partner.nome }),
|
|
13636
13643
|
React.createElement(AddItemField, { name: partner.cnpj ? 'CNPJ' : 'CPF', value: (_b = (partner.cnpj || partner.cpf)) !== null && _b !== void 0 ? _b : '', onClick: function () { var _a, _b; return (_a = partner.onClickCpfCnpj) === null || _a === void 0 ? void 0 : _a.call(partner, (_b = (partner.cnpj || partner.cpf)) !== null && _b !== void 0 ? _b : ''); } }),
|
|
13637
13644
|
React.createElement(AddItemField, { name: "Protestos", value: partner === null || partner === void 0 ? void 0 : partner.protestos }),
|
|
@@ -13643,7 +13650,7 @@ var PartnerList = React.memo(function (_a) {
|
|
|
13643
13650
|
} }, "Abrir")))));
|
|
13644
13651
|
});
|
|
13645
13652
|
});
|
|
13646
|
-
var templateObject_1$
|
|
13653
|
+
var templateObject_1$k;
|
|
13647
13654
|
|
|
13648
13655
|
function formatCpf(cpf) {
|
|
13649
13656
|
cpf = cpf.replace(/[^0-9]/g, '');
|
|
@@ -13785,10 +13792,13 @@ var Partners = function (_a) {
|
|
|
13785
13792
|
return (React.createElement(Section, { ctx: ctx, title: "Quadro Societ\u00E1rio", minimized: false, subtitle: "Informa\u00E7\u00F5es sobre o quadro societ\u00E1rio da pessoa pesquisada.", icon: QuadroSocietarioIcon, isError: function () { return response(undefined); }, onSuccess: response }));
|
|
13786
13793
|
};
|
|
13787
13794
|
|
|
13788
|
-
var __makeTemplateObject$
|
|
13795
|
+
var __makeTemplateObject$j = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13789
13796
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13790
13797
|
return cooked;
|
|
13791
13798
|
};
|
|
13799
|
+
var Content$1 = styled.div(templateObject_1$j || (templateObject_1$j = __makeTemplateObject$j(["\n display: ", ";\n\n @media print {\n display: block;\n }\n"], ["\n display: ", ";\n\n @media print {\n display: block;\n }\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
|
|
13800
|
+
var templateObject_1$j;
|
|
13801
|
+
|
|
13792
13802
|
var __assign$f = (undefined && undefined.__assign) || function () {
|
|
13793
13803
|
__assign$f = Object.assign || function(t) {
|
|
13794
13804
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -13811,22 +13821,20 @@ var __rest$7 = (undefined && undefined.__rest) || function (s, e) {
|
|
|
13811
13821
|
}
|
|
13812
13822
|
return t;
|
|
13813
13823
|
};
|
|
13814
|
-
var Content$2 = styled.div(templateObject_1$k || (templateObject_1$k = __makeTemplateObject$k(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
|
|
13815
13824
|
var ProtestosCategory = function (_a) {
|
|
13816
13825
|
var registros = _a.registros, title = _a.title, subtitle = _a.subtitle, children = _a.children, rest = __rest$7(_a, ["registros", "title", "subtitle", "children"]);
|
|
13817
13826
|
var _b = useToggle(), isOpen = _b[0], toggleOpen = _b[1];
|
|
13818
13827
|
var defaultHeaderActions = (React.createElement(React.Fragment, null,
|
|
13819
|
-
React.createElement(BtnWrapper, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null))));
|
|
13828
|
+
React.createElement(BtnWrapper$1, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null))));
|
|
13820
13829
|
return (React.createElement("div", null,
|
|
13821
13830
|
React.createElement(Header$1, __assign$f({ title: title, subtitle: subtitle, description: React.createElement(StatusMessage, { type: registros ? 'error' : 'default' }, !registros
|
|
13822
13831
|
? 'Não foram encontradas ocorrências'
|
|
13823
13832
|
: registros === 1
|
|
13824
13833
|
? 'Foi encontrado um protesto'
|
|
13825
13834
|
: "Foram encontrados ".concat(registros, " protestos")), variant: registros ? 'error' : 'default', actions: registros ? defaultHeaderActions : null }, rest)),
|
|
13826
|
-
React.createElement(Content$
|
|
13835
|
+
React.createElement(Content$1, { isOpen: isOpen },
|
|
13827
13836
|
React.createElement(Result, null, children))));
|
|
13828
13837
|
};
|
|
13829
|
-
var templateObject_1$k;
|
|
13830
13838
|
|
|
13831
13839
|
var __awaiter$1 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13832
13840
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -13980,11 +13988,11 @@ var ProtestosImpostosIcon = function (_a) {
|
|
|
13980
13988
|
React.createElement("path", { d: "M18.25 15.125L17.575 14.45C17.425 14.3 17.25 14.2292 17.05 14.2375C16.85 14.2458 16.675 14.325 16.525 14.475C16.375 14.625 16.3 14.8 16.3 15C16.3 15.2 16.375 15.375 16.525 15.525L18.3 17.3C18.5 17.5 18.7333 17.6 19 17.6C19.2667 17.6 19.5 17.5 19.7 17.3L21.475 15.525C21.625 15.375 21.7 15.2 21.7 15C21.7 14.8 21.625 14.625 21.475 14.475C21.325 14.325 21.1458 14.25 20.9375 14.25C20.7292 14.25 20.55 14.325 20.4 14.475L19.75 15.125V12.75C19.75 12.5333 19.6792 12.3542 19.5375 12.2125C19.3958 12.0708 19.2167 12 19 12C18.7833 12 18.6042 12.0708 18.4625 12.2125C18.3208 12.3542 18.25 12.5333 18.25 12.75V15.125ZM7 23C6.45 23 5.97917 22.8042 5.5875 22.4125C5.19583 22.0208 5 21.55 5 21V9C5 8.45 5.19583 7.97917 5.5875 7.5875C5.97917 7.19583 6.45 7 7 7H23C23.55 7 24.0208 7.19583 24.4125 7.5875C24.8042 7.97917 25 8.45 25 9V21C25 21.55 24.8042 22.0208 24.4125 22.4125C24.0208 22.8042 23.55 23 23 23H7ZM7 21H23V9H7V21ZM10 13.5H11V15.75C11 15.9667 11.0708 16.1458 11.2125 16.2875C11.3542 16.4292 11.5333 16.5 11.75 16.5C11.9667 16.5 12.1458 16.4292 12.2875 16.2875C12.4292 16.1458 12.5 15.9667 12.5 15.75V13.5H13.5V17.25C13.5 17.4667 13.5708 17.6458 13.7125 17.7875C13.8542 17.9292 14.0333 18 14.25 18C14.4667 18 14.6458 17.9292 14.7875 17.7875C14.9292 17.6458 15 17.4667 15 17.25V13C15 12.7167 14.9042 12.4792 14.7125 12.2875C14.5208 12.0958 14.2833 12 14 12H9.5C9.21667 12 8.97917 12.0958 8.7875 12.2875C8.59583 12.4792 8.5 12.7167 8.5 13V17.25C8.5 17.4667 8.57083 17.6458 8.7125 17.7875C8.85417 17.9292 9.03333 18 9.25 18C9.46667 18 9.64583 17.9292 9.7875 17.7875C9.92917 17.6458 10 17.4667 10 17.25V13.5Z", fill: "white" }))));
|
|
13981
13989
|
};
|
|
13982
13990
|
|
|
13983
|
-
var __makeTemplateObject$
|
|
13991
|
+
var __makeTemplateObject$i = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13984
13992
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13985
13993
|
return cooked;
|
|
13986
13994
|
};
|
|
13987
|
-
var ResultProtestos = styled.div(templateObject_1$
|
|
13995
|
+
var ResultProtestos = styled.div(templateObject_1$i || (templateObject_1$i = __makeTemplateObject$i(["\n display: flex;\n flex-direction: column;\n row-gap: 20px;\n margin-top: 20px;\n"], ["\n display: flex;\n flex-direction: column;\n row-gap: 20px;\n margin-top: 20px;\n"])));
|
|
13988
13996
|
var Protestos = function () {
|
|
13989
13997
|
var ctx = React.useContext(Queries.Protestos);
|
|
13990
13998
|
var Section = ctx.Section;
|
|
@@ -14038,7 +14046,7 @@ var Protestos = function () {
|
|
|
14038
14046
|
};
|
|
14039
14047
|
} }));
|
|
14040
14048
|
};
|
|
14041
|
-
var templateObject_1$
|
|
14049
|
+
var templateObject_1$i;
|
|
14042
14050
|
|
|
14043
14051
|
/**
|
|
14044
14052
|
* @name toDate
|
|
@@ -21838,7 +21846,7 @@ var getFieldRfb = function (path, response, formatter) {
|
|
|
21838
21846
|
return formatter ? formatter(value) : value;
|
|
21839
21847
|
};
|
|
21840
21848
|
var getProductsPrices = function (isPF) { return ({
|
|
21841
|
-
refinBoaVista: isPF ? 2
|
|
21849
|
+
refinBoaVista: isPF ? 1.2 : 2.7,
|
|
21842
21850
|
scoreBoaVista: isPF ? 3 : 6,
|
|
21843
21851
|
refinSerasa: 4.2,
|
|
21844
21852
|
veiculos: 10,
|
|
@@ -22091,7 +22099,7 @@ var useCardsAndProducts = function (_a) {
|
|
|
22091
22099
|
return { cards: cards, products: products };
|
|
22092
22100
|
};
|
|
22093
22101
|
|
|
22094
|
-
var __makeTemplateObject$
|
|
22102
|
+
var __makeTemplateObject$h = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
22095
22103
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
22096
22104
|
return cooked;
|
|
22097
22105
|
};
|
|
@@ -22131,12 +22139,12 @@ var __generator = (undefined && undefined.__generator) || function (thisArg, bod
|
|
|
22131
22139
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
22132
22140
|
}
|
|
22133
22141
|
};
|
|
22134
|
-
var ContainerSummary$1 = styled.div(templateObject_1$
|
|
22135
|
-
var ContentSummary = styled.div(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject$
|
|
22136
|
-
var FieldSummary = styled.div(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject$
|
|
22137
|
-
var ButtonsSummary = styled.div(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject$
|
|
22138
|
-
var ButtonsWrapper = styled.div(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject$
|
|
22139
|
-
var SummaryButton = styled(Button$1)(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject$
|
|
22142
|
+
var ContainerSummary$1 = styled.div(templateObject_1$h || (templateObject_1$h = __makeTemplateObject$h(["\n display: flex;\n padding: 0 20px;\n width: 100%;\n justify-content: space-between;\n @media (max-width: 768px) {\n padding: 0px;\n }\n\n @media (max-width: 992px) {\n flex-direction: column;\n }\n"], ["\n display: flex;\n padding: 0 20px;\n width: 100%;\n justify-content: space-between;\n @media (max-width: 768px) {\n padding: 0px;\n }\n\n @media (max-width: 992px) {\n flex-direction: column;\n }\n"])));
|
|
22143
|
+
var ContentSummary = styled.div(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject$h(["\n display: grid;\n grid-row: 1 / 8;\n grid-template-columns: repeat(4, 1fr);\n gap: 0 16px;\n\n @media (max-width: 1280px) {\n grid-template-columns: repeat(3, 1fr);\n justify-content: center;\n align-items: center;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n width: 100%;\n }\n"], ["\n display: grid;\n grid-row: 1 / 8;\n grid-template-columns: repeat(4, 1fr);\n gap: 0 16px;\n\n @media (max-width: 1280px) {\n grid-template-columns: repeat(3, 1fr);\n justify-content: center;\n align-items: center;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n width: 100%;\n }\n"])));
|
|
22144
|
+
var FieldSummary = styled.div(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject$h(["\n align-items: center;\n margin-bottom: 16px;\n grid-column: ", ";\n"], ["\n align-items: center;\n margin-bottom: 16px;\n grid-column: ", ";\n"])), function (props) { return (props.fullRow ? '1 / 3' : 'auto'); });
|
|
22145
|
+
var ButtonsSummary = styled.div(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject$h(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 8px;\n\n @media (max-width: 768px) {\n align-items: center;\n max-width: 100%;\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 8px;\n\n @media (max-width: 768px) {\n align-items: center;\n max-width: 100%;\n }\n"])));
|
|
22146
|
+
var ButtonsWrapper = styled.div(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject$h(["\n display: flex;\n gap: 10px;\n flex-direction: column;\n\n @media (max-width: 1000px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n }\n\n @media print {\n display: none;\n }\n"], ["\n display: flex;\n gap: 10px;\n flex-direction: column;\n\n @media (max-width: 1000px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n }\n\n @media print {\n display: none;\n }\n"])));
|
|
22147
|
+
var SummaryButton = styled(Button$1)(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject$h(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
|
|
22140
22148
|
var Summary = function (_a) {
|
|
22141
22149
|
var finderResponse = _a.finderResponse, rfbResponse = _a.rfbResponse, document = _a.document;
|
|
22142
22150
|
var _b = useCardsAndProducts({
|
|
@@ -22170,7 +22178,7 @@ var PrintButton = function (_a) {
|
|
|
22170
22178
|
return (React.createElement(ButtonsSummary, null,
|
|
22171
22179
|
React.createElement(SummaryButton, { onClick: onClick }, "PDF para Impress\u00E3o")));
|
|
22172
22180
|
};
|
|
22173
|
-
var templateObject_1$
|
|
22181
|
+
var templateObject_1$h, templateObject_2$9, templateObject_3$4, templateObject_4$3, templateObject_5$2, templateObject_6$2;
|
|
22174
22182
|
|
|
22175
22183
|
var IconePessoa = function (_a) {
|
|
22176
22184
|
var _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.size, size = _c === void 0 ? 98 : _c, _d = _a.circleFill, circleFill = _d === void 0 ? '#fff' : _d, _e = _a.pathFill, pathFill = _e === void 0 ? theme.colors.cinzaClaro : _e;
|
|
@@ -22182,16 +22190,16 @@ var IconePessoa = function (_a) {
|
|
|
22182
22190
|
React.createElement("path", { d: "M49 49C46.2097 49 43.821 48.0065 41.834 46.0195C39.847 44.0325 38.8535 41.6438 38.8535 38.8535C38.8535 36.0632 39.847 33.6746 41.834 31.6876C43.821 29.7006 46.2097 28.7071 49 28.7071C51.7902 28.7071 54.1789 29.7006 56.1659 31.6876C58.1529 33.6746 59.1464 36.0632 59.1464 38.8535C59.1464 41.6438 58.1529 44.0325 56.1659 46.0195C54.1789 48.0065 51.7902 49 49 49ZM28.707 64.2197V62.1904C28.707 60.753 29.077 59.4318 29.8168 58.2269C30.5566 57.022 31.5396 56.1025 32.7656 55.4684C35.3868 54.1578 38.0502 53.1748 40.756 52.5195C43.4617 51.8643 46.2097 51.5366 49 51.5366C51.7902 51.5366 54.5382 51.8643 57.244 52.5195C59.9497 53.1748 62.6131 54.1578 65.2343 55.4684C66.4603 56.1025 67.4433 57.022 68.1831 58.2269C68.923 59.4318 69.2929 60.753 69.2929 62.1904V64.2197C69.2929 65.6148 68.7961 66.8092 67.8026 67.8027C66.8091 68.7962 65.6148 69.2929 64.2197 69.2929H33.7803C32.3851 69.2929 31.1908 68.7962 30.1973 67.8027C29.2038 66.8092 28.707 65.6148 28.707 64.2197ZM33.7803 64.2197H64.2197V62.1904C64.2197 61.7253 64.1034 61.3026 63.8709 60.9221C63.6383 60.5416 63.3318 60.2457 62.9513 60.0343C60.6684 58.8928 58.3643 58.0367 56.0391 57.4659C53.7138 56.8952 51.3675 56.6098 49 56.6098C46.6325 56.6098 44.2861 56.8952 41.9608 57.4659C39.6356 58.0367 37.3315 58.8928 35.0486 60.0343C34.6681 60.2457 34.3616 60.5416 34.129 60.9221C33.8965 61.3026 33.7803 61.7253 33.7803 62.1904V64.2197ZM49 43.9268C50.3951 43.9268 51.5894 43.43 52.5829 42.4365C53.5764 41.443 54.0732 40.2487 54.0732 38.8535C54.0732 37.4584 53.5764 36.2641 52.5829 35.2706C51.5894 34.277 50.3951 33.7803 49 33.7803C47.6048 33.7803 46.4105 34.277 45.417 35.2706C44.4235 36.2641 43.9267 37.4584 43.9267 38.8535C43.9267 40.2487 44.4235 41.443 45.417 42.4365C46.4105 43.43 47.6048 43.9268 49 43.9268Z", fill: pathFill }))));
|
|
22183
22191
|
};
|
|
22184
22192
|
|
|
22185
|
-
var __makeTemplateObject$
|
|
22193
|
+
var __makeTemplateObject$g = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
22186
22194
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
22187
22195
|
return cooked;
|
|
22188
22196
|
};
|
|
22189
|
-
var StyledContainer = styled.div(templateObject_1$
|
|
22190
|
-
var Header = styled.div(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject$
|
|
22191
|
-
var Title$2 = styled.span(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject$
|
|
22192
|
-
var TransactionContent = styled.div(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject$
|
|
22193
|
-
var UserField = styled.span(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject$
|
|
22194
|
-
var DateField = styled.span(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject$
|
|
22197
|
+
var StyledContainer = styled.div(templateObject_1$g || (templateObject_1$g = __makeTemplateObject$g(["\n display: grid;\n grid-template-columns: 1fr 2fr;\n margin-bottom: 20px;\n border-top: 1.6px solid ", ";\n padding: 16px;\n @media (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n"], ["\n display: grid;\n grid-template-columns: 1fr 2fr;\n margin-bottom: 20px;\n border-top: 1.6px solid ", ";\n padding: 16px;\n @media (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n"])), theme.colors.cinzaClaro);
|
|
22198
|
+
var Header = styled.div(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject$g(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n grid-row: 1 / 6;\n padding: 16px;\n margin: 16px;\n row-gap: 20px;\n @media (max-width: 992px) {\n padding: 0 0 16px 0;\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n grid-row: 1 / 6;\n padding: 16px;\n margin: 16px;\n row-gap: 20px;\n @media (max-width: 992px) {\n padding: 0 0 16px 0;\n }\n"])));
|
|
22199
|
+
var Title$2 = styled.span(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject$g(["\n font-size: 18px;\n font-weight: bold;\n text-align: center;\n"], ["\n font-size: 18px;\n font-weight: bold;\n text-align: center;\n"])));
|
|
22200
|
+
var TransactionContent = styled.div(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject$g(["\n display: flex;\n align-items: center;\n padding: 16px;\n align-items: flex-start;\n"], ["\n display: flex;\n align-items: center;\n padding: 16px;\n align-items: flex-start;\n"])));
|
|
22201
|
+
var UserField = styled.span(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject$g(["\n flex: 1;\n padding-right: 16px;\n"], ["\n flex: 1;\n padding-right: 16px;\n"])));
|
|
22202
|
+
var DateField = styled.span(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject$g(["\n flex: 1;\n text-align: right;\n"], ["\n flex: 1;\n text-align: right;\n"])));
|
|
22195
22203
|
var TransactionsTable = function (_a) {
|
|
22196
22204
|
var _b = _a.events, events = _b === void 0 ? [] : _b;
|
|
22197
22205
|
return (React.createElement(StyledContainer, null,
|
|
@@ -22207,7 +22215,7 @@ var TransactionsTable = function (_a) {
|
|
|
22207
22215
|
React.createElement(AddItemField, { name: "Data", value: (_a = new Date(XPathUtils.select('string(./ultimaConsulta)', event))) === null || _a === void 0 ? void 0 : _a.toLocaleDateString(), style: { display: 'inline-block' } }))));
|
|
22208
22216
|
})));
|
|
22209
22217
|
};
|
|
22210
|
-
var templateObject_1$
|
|
22218
|
+
var templateObject_1$g, templateObject_2$8, templateObject_3$3, templateObject_4$2, templateObject_5$1, templateObject_6$1;
|
|
22211
22219
|
|
|
22212
22220
|
var IconeEmpresa = function (_a) {
|
|
22213
22221
|
var _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.size, size = _c === void 0 ? 98 : _c, _d = _a.circleFill, circleFill = _d === void 0 ? theme.colors.cinzaClaro : _d;
|
|
@@ -22219,13 +22227,13 @@ var IconeEmpresa = function (_a) {
|
|
|
22219
22227
|
React.createElement("path", { d: "M23.6338 69.2929V31.8778C23.6338 31.4551 23.7183 31.0746 23.8875 30.7364C24.0566 30.3982 24.3102 30.1022 24.6484 29.8486L34.7949 22.2387C35.2599 21.9005 35.7673 21.7314 36.3169 21.7314C36.8665 21.7314 37.3738 21.9005 37.8388 22.2387L47.9853 29.8486C48.3235 30.1022 48.5772 30.3982 48.7463 30.7364C48.9154 31.0746 49 31.4551 49 31.8778V36.3169H71.8295C72.5482 36.3169 73.1507 36.56 73.6368 37.0462C74.123 37.5324 74.3661 38.1348 74.3661 38.8535V69.2929C74.3661 70.0116 74.123 70.6141 73.6368 71.1003C73.1507 71.5865 72.5482 71.8296 71.8295 71.8296H26.1704C25.4517 71.8296 24.8493 71.5865 24.3631 71.1003C23.8769 70.6141 23.6338 70.0116 23.6338 69.2929ZM28.707 66.7563H33.7803V61.6831H28.707V66.7563ZM28.707 56.6099H33.7803V51.5366H28.707V56.6099ZM28.707 46.4634H33.7803V41.3902H28.707V46.4634ZM28.707 36.3169H33.7803V31.2437H28.707V36.3169ZM38.8535 36.3169H43.9267V31.2437H38.8535V36.3169ZM38.8535 66.7563H69.2929V41.3902H38.8535V66.7563ZM56.6098 46.4634H61.683C62.4017 46.4634 63.0042 46.7065 63.4904 47.1927C63.9766 47.6789 64.2197 48.2813 64.2197 49C64.2197 49.7187 63.9766 50.3212 63.4904 50.8073C63.0042 51.2935 62.4017 51.5366 61.683 51.5366H56.6098C55.8911 51.5366 55.2886 51.2935 54.8025 50.8073C54.3163 50.3212 54.0732 49.7187 54.0732 49C54.0732 48.2813 54.3163 47.6789 54.8025 47.1927C55.2886 46.7065 55.8911 46.4634 56.6098 46.4634ZM56.6098 56.6099H61.683C62.4017 56.6099 63.0042 56.8529 63.4904 57.3391C63.9766 57.8253 64.2197 58.4278 64.2197 59.1465C64.2197 59.8652 63.9766 60.4676 63.4904 60.9538C63.0042 61.44 62.4017 61.6831 61.683 61.6831H56.6098C55.8911 61.6831 55.2886 61.44 54.8025 60.9538C54.3163 60.4676 54.0732 59.8652 54.0732 59.1465C54.0732 58.4278 54.3163 57.8253 54.8025 57.3391C55.2886 56.8529 55.8911 56.6099 56.6098 56.6099ZM49 49C49 49.7187 48.7569 50.3212 48.2707 50.8073C47.7845 51.2935 47.182 51.5366 46.4633 51.5366C45.7446 51.5366 45.1422 51.2935 44.656 50.8073C44.1698 50.3212 43.9267 49.7187 43.9267 49C43.9267 48.2813 44.1698 47.6789 44.656 47.1927C45.1422 46.7065 45.7446 46.4634 46.4633 46.4634C47.182 46.4634 47.7845 46.7065 48.2707 47.1927C48.7569 47.6789 49 48.2813 49 49ZM46.4633 61.6831C45.7446 61.6831 45.1422 61.44 44.656 60.9538C44.1698 60.4676 43.9267 59.8652 43.9267 59.1465C43.9267 58.4278 44.1698 57.8253 44.656 57.3391C45.1422 56.8529 45.7446 56.6099 46.4633 56.6099C47.182 56.6099 47.7845 56.8529 48.2707 57.3391C48.7569 57.8253 49 58.4278 49 59.1465C49 59.8652 48.7569 60.4676 48.2707 60.9538C47.7845 61.44 47.182 61.6831 46.4633 61.6831Z", fill: theme.colors.cinzaEscuro }))));
|
|
22220
22228
|
};
|
|
22221
22229
|
|
|
22222
|
-
var __makeTemplateObject$
|
|
22230
|
+
var __makeTemplateObject$f = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
22223
22231
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
22224
22232
|
return cooked;
|
|
22225
22233
|
};
|
|
22226
|
-
var LogoContainer$1 = styled.div(templateObject_1$
|
|
22227
|
-
var CompanyName$1 = styled.span(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject$
|
|
22228
|
-
var DocumentContainer$1 = styled.span(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject$
|
|
22234
|
+
var LogoContainer$1 = styled.div(templateObject_1$f || (templateObject_1$f = __makeTemplateObject$f(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n row-gap: 20px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n row-gap: 20px;\n"])));
|
|
22235
|
+
var CompanyName$1 = styled.span(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject$f(["\n font-size: ", ";\n color: ", ";\n text-align: center;\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n color: ", ";\n text-align: center;\n line-height: ", ";\n font-weight: ", ";\n"])), theme.typography.headline14.fontSize, theme.colors.cinzaEscuro, theme.typography.headline14.lineHeight, theme.typography.headline14.fontWeight);
|
|
22236
|
+
var DocumentContainer$1 = styled.span(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject$f(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n\n color: ", ";\n background-color: ", ";\n\n text-align: center;\n position: relative;\n padding: 5px 20px;\n border-radius: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n\n color: ", ";\n background-color: ", ";\n\n text-align: center;\n position: relative;\n padding: 5px 20px;\n border-radius: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), theme.typography.body14.fontSize, theme.typography.body14.fontWeight, theme.typography.body14.lineHeight, theme.colors.cinzaEscuro, theme.colors.cinzaClaro);
|
|
22229
22237
|
var Companylogo = function (_a) {
|
|
22230
22238
|
var name = _a.name, document = _a.document;
|
|
22231
22239
|
return (React.createElement(React.Fragment, null,
|
|
@@ -22236,19 +22244,19 @@ var Companylogo = function (_a) {
|
|
|
22236
22244
|
isDocumentoPF(document) ? 'CPF: ' : 'CNPJ: ',
|
|
22237
22245
|
document))));
|
|
22238
22246
|
};
|
|
22239
|
-
var templateObject_1$
|
|
22247
|
+
var templateObject_1$f, templateObject_2$7, templateObject_3$2;
|
|
22240
22248
|
|
|
22241
|
-
var __makeTemplateObject$
|
|
22249
|
+
var __makeTemplateObject$e = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
22242
22250
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
22243
22251
|
return cooked;
|
|
22244
22252
|
};
|
|
22245
|
-
var CarouselContainer = styled.div(templateObject_1$
|
|
22253
|
+
var CarouselContainer = styled.div(templateObject_1$e || (templateObject_1$e = __makeTemplateObject$e(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
|
|
22246
22254
|
var Carrousel = function (_a) {
|
|
22247
22255
|
var name = _a.name, document = _a.document;
|
|
22248
22256
|
return (React.createElement(CarouselContainer, null,
|
|
22249
22257
|
React.createElement(Companylogo, { name: name, document: document })));
|
|
22250
22258
|
};
|
|
22251
|
-
var templateObject_1$
|
|
22259
|
+
var templateObject_1$e;
|
|
22252
22260
|
|
|
22253
22261
|
var propTypes = {exports: {}};
|
|
22254
22262
|
|
|
@@ -28157,7 +28165,7 @@ function ChevronRight(_a) {
|
|
|
28157
28165
|
React.createElement("path", { fill: fill, d: "M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z" })));
|
|
28158
28166
|
}
|
|
28159
28167
|
|
|
28160
|
-
var __makeTemplateObject$
|
|
28168
|
+
var __makeTemplateObject$d = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
28161
28169
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
28162
28170
|
return cooked;
|
|
28163
28171
|
};
|
|
@@ -28172,16 +28180,16 @@ var __assign$a = (undefined && undefined.__assign) || function () {
|
|
|
28172
28180
|
};
|
|
28173
28181
|
return __assign$a.apply(this, arguments);
|
|
28174
28182
|
};
|
|
28175
|
-
var ContainerSummary = styled.div(templateObject_1$
|
|
28176
|
-
var ReclameAquiStatsContainer = styled.div(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject$
|
|
28177
|
-
var LogoContainer = styled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject$
|
|
28178
|
-
var StyledImage = styled.img(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject$
|
|
28179
|
-
var StatsImage = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject$
|
|
28180
|
-
var CompanyName = styled.span(templateObject_6 || (templateObject_6 = __makeTemplateObject$
|
|
28181
|
-
var DocumentContainer = styled.span(templateObject_7 || (templateObject_7 = __makeTemplateObject$
|
|
28182
|
-
var DocumentPrefix = styled.span(templateObject_8 || (templateObject_8 = __makeTemplateObject$
|
|
28183
|
-
var ProblemsSolved = styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject$
|
|
28184
|
-
var CarrouselBtn = styled.span(templateObject_10 || (templateObject_10 = __makeTemplateObject$
|
|
28183
|
+
var ContainerSummary = styled.div(templateObject_1$d || (templateObject_1$d = __makeTemplateObject$d(["\n display: grid;\n gap: 16px;\n padding: 16px;\n width: 90%;\n"], ["\n display: grid;\n gap: 16px;\n padding: 16px;\n width: 90%;\n"])));
|
|
28184
|
+
var ReclameAquiStatsContainer = styled.div(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject$d(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
|
|
28185
|
+
var LogoContainer = styled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject$d(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 16px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 16px;\n"])));
|
|
28186
|
+
var StyledImage = styled.img(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject$d(["\n width: 60px;\n height: 60px;\n object-fit: cover;\n border-radius: 50%;\n border: 2px solid #fff;\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);\n margin-bottom: 16px;\n"], ["\n width: 60px;\n height: 60px;\n object-fit: cover;\n border-radius: 50%;\n border: 2px solid #fff;\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);\n margin-bottom: 16px;\n"])));
|
|
28187
|
+
var StatsImage = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject$d(["\n width: 60px;\n height: 60px;\n border-radius: 50%;\n object-fit: contain;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center center;\n border: 2px solid #fff;\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);\n background-image: url(", ");\n margin-bottom: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n width: 60px;\n height: 60px;\n border-radius: 50%;\n object-fit: contain;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center center;\n border: 2px solid #fff;\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);\n background-image: url(", ");\n margin-bottom: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (props) { return props.src; });
|
|
28188
|
+
var CompanyName = styled.span(templateObject_6 || (templateObject_6 = __makeTemplateObject$d(["\n font-size: 16px;\n color: ", ";\n text-align: center;\n margin-bottom: 8px;\n line-height: 18px;\n font-weight: bold;\n"], ["\n font-size: 16px;\n color: ", ";\n text-align: center;\n margin-bottom: 8px;\n line-height: 18px;\n font-weight: bold;\n"])), theme.colors.cinzaEscuro);
|
|
28189
|
+
var DocumentContainer = styled.span(templateObject_7 || (templateObject_7 = __makeTemplateObject$d(["\n font-size: 16px;\n color: ", ";\n text-align: center;\n position: relative;\n background-color: ", ";\n padding: 4px 8px;\n border-radius: 60px;\n margin-top: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n font-size: 16px;\n color: ", ";\n text-align: center;\n position: relative;\n background-color: ", ";\n padding: 4px 8px;\n border-radius: 60px;\n margin-top: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), theme.colors.cinzaEscuro, theme.colors.cinzaClaro);
|
|
28190
|
+
var DocumentPrefix = styled.span(templateObject_8 || (templateObject_8 = __makeTemplateObject$d(["\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
|
|
28191
|
+
var ProblemsSolved = styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject$d(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n padding: 16px 0;\n\n a {\n text-decoration: none;\n color: inherit;\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n padding: 16px 0;\n\n a {\n text-decoration: none;\n color: inherit;\n }\n"])));
|
|
28192
|
+
var CarrouselBtn = styled.span(templateObject_10 || (templateObject_10 = __makeTemplateObject$d(["\n cursor: pointer;\n height: fit-content;\n"], ["\n cursor: pointer;\n height: fit-content;\n"])));
|
|
28185
28193
|
var statusMap = {
|
|
28186
28194
|
GREAT: 'Ótimo',
|
|
28187
28195
|
GOOD: 'Bom',
|
|
@@ -28246,14 +28254,14 @@ var ReclameAquiCarousel = React.memo(function (_a) {
|
|
|
28246
28254
|
};
|
|
28247
28255
|
}).map(function (empresa, index) { return (React.createElement(ReclameAquiStats, __assign$a({ key: index }, empresa))); }))));
|
|
28248
28256
|
});
|
|
28249
|
-
var templateObject_1$
|
|
28257
|
+
var templateObject_1$d, templateObject_2$6, templateObject_3$1, templateObject_4$1, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
|
|
28250
28258
|
|
|
28251
|
-
var __makeTemplateObject$
|
|
28259
|
+
var __makeTemplateObject$c = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
28252
28260
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
28253
28261
|
return cooked;
|
|
28254
28262
|
};
|
|
28255
|
-
var DossieContent = styled.div(templateObject_1$
|
|
28256
|
-
var DossieContainer = styled.div(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject$
|
|
28263
|
+
var DossieContent = styled.div(templateObject_1$c || (templateObject_1$c = __makeTemplateObject$c(["\n display: grid;\n grid-template-columns: 1fr 2fr;\n justify-items: center;\n align-items: flex-start;\n margin-bottom: 20px;\n gap: 20px;\n\n @media (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n"], ["\n display: grid;\n grid-template-columns: 1fr 2fr;\n justify-items: center;\n align-items: flex-start;\n margin-bottom: 20px;\n gap: 20px;\n\n @media (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n"])));
|
|
28264
|
+
var DossieContainer = styled.div(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject$c(["\n padding: 0px 70px;\n\n @media (max-width: 1000px) {\n padding: 0px 30px;\n }\n"], ["\n padding: 0px 70px;\n\n @media (max-width: 1000px) {\n padding: 0px 30px;\n }\n"])));
|
|
28257
28265
|
var Dossie = function (_a) {
|
|
28258
28266
|
var documento = _a.documento;
|
|
28259
28267
|
var finderCtx = React.useContext(Queries.Finder);
|
|
@@ -28278,14 +28286,14 @@ var Dossie = function (_a) {
|
|
|
28278
28286
|
};
|
|
28279
28287
|
return (React.createElement(Section, { ctx: finderCtx, hideHeader: true, minimized: false, isError: function (e) { return response(e); }, onSuccess: response }));
|
|
28280
28288
|
};
|
|
28281
|
-
var templateObject_1$
|
|
28289
|
+
var templateObject_1$c, templateObject_2$5;
|
|
28282
28290
|
|
|
28283
|
-
var __makeTemplateObject$
|
|
28291
|
+
var __makeTemplateObject$b = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
28284
28292
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
28285
28293
|
return cooked;
|
|
28286
28294
|
};
|
|
28287
|
-
var EnvolvidosListWrapper = styled(ResultContent)(templateObject_1$
|
|
28288
|
-
var EnvolvidosUltimaMovimentacaoTitle = styled.div(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject$
|
|
28295
|
+
var EnvolvidosListWrapper = styled(ResultContent)(templateObject_1$b || (templateObject_1$b = __makeTemplateObject$b(["\n gap: 8px;\n color: ", ";\n width: 100%;\n .field > .value,\n .name {\n color: ", ";\n }\n"], ["\n gap: 8px;\n color: ", ";\n width: 100%;\n .field > .value,\n .name {\n color: ", ";\n }\n"])), theme.colors.prata, theme.colors.prata);
|
|
28296
|
+
var EnvolvidosUltimaMovimentacaoTitle = styled.div(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject$b(["\n font-weight: ", ";\n"], ["\n font-weight: ", ";\n"])), theme.typography.headline16.fontWeight);
|
|
28289
28297
|
var EnvolvidosList = function (_a) {
|
|
28290
28298
|
var _b = _a.envolvidos, envolvidos = _b === void 0 ? [] : _b;
|
|
28291
28299
|
if (!envolvidos.length)
|
|
@@ -28296,9 +28304,9 @@ var EnvolvidosList = function (_a) {
|
|
|
28296
28304
|
React.createElement(AddItemField, { name: "Nome", value: envolvido.nome }),
|
|
28297
28305
|
React.createElement(AddItemField, { name: "Envolvimento", value: envolvido.envolvido_tipo || 'Não Informado' }))); }))));
|
|
28298
28306
|
};
|
|
28299
|
-
var templateObject_1$
|
|
28307
|
+
var templateObject_1$b, templateObject_2$4;
|
|
28300
28308
|
|
|
28301
|
-
var __makeTemplateObject$
|
|
28309
|
+
var __makeTemplateObject$a = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
28302
28310
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
28303
28311
|
return cooked;
|
|
28304
28312
|
};
|
|
@@ -28328,9 +28336,9 @@ var AddProcessoJuridicoField = function (_a) {
|
|
|
28328
28336
|
var value = _a.value, props = __rest$4(_a, ["value"]);
|
|
28329
28337
|
return (React.createElement(AddItemField, __assign$9({}, props, { value: value || 'Não Informado' })));
|
|
28330
28338
|
};
|
|
28331
|
-
var ProcessoJuridicoWrapper = styled.div(templateObject_1$
|
|
28332
|
-
var ConsultarProcessoBtn = styled(Button$1)(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject$
|
|
28333
|
-
var ResultWrapper = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject$
|
|
28339
|
+
var ProcessoJuridicoWrapper = styled.div(templateObject_1$a || (templateObject_1$a = __makeTemplateObject$a(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n @media (min-width: 1000px) {\n flex-direction: row;\n }\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n @media (min-width: 1000px) {\n flex-direction: row;\n }\n"])));
|
|
28340
|
+
var ConsultarProcessoBtn = styled(Button$1)(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject$a(["\n @media (min-width: 1000px) {\n width: 100%;\n max-width: 150px;\n height: max-content;\n }\n"], ["\n @media (min-width: 1000px) {\n width: 100%;\n max-width: 150px;\n height: max-content;\n }\n"])));
|
|
28341
|
+
var ResultWrapper = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject$a(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
|
|
28334
28342
|
var ProcessoJuridicoItem = React.memo(function (_a) {
|
|
28335
28343
|
var processo = _a.processo, children = _a.children;
|
|
28336
28344
|
return (React.createElement(ProcessoJuridicoWrapper, null,
|
|
@@ -28344,7 +28352,7 @@ var ProcessoJuridicoItem = React.memo(function (_a) {
|
|
|
28344
28352
|
React.createElement(EnvolvidosList, { envolvidos: processo === null || processo === void 0 ? void 0 : processo.envolvidos_ultima_movimentacao })),
|
|
28345
28353
|
children));
|
|
28346
28354
|
});
|
|
28347
|
-
var ResultList = styled(Result)(templateObject_4 || (templateObject_4 = __makeTemplateObject$
|
|
28355
|
+
var ResultList = styled(Result)(templateObject_4 || (templateObject_4 = __makeTemplateObject$a(["\n > div {\n padding: 16px 0px;\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n"], ["\n > div {\n padding: 16px 0px;\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n"])), theme.colors.cinzaClaro);
|
|
28348
28356
|
var ProcessosJuridicosList = function (_a) {
|
|
28349
28357
|
var processos = _a.processos, onClickConsultarProcessoJuridico = _a.onClickConsultarProcessoJuridico;
|
|
28350
28358
|
return (React.createElement(ResultList, { resultContentStriped: false }, processos.map(function (processo, i) { return (React.createElement("div", { key: i },
|
|
@@ -28353,7 +28361,7 @@ var ProcessosJuridicosList = function (_a) {
|
|
|
28353
28361
|
? function () { return onClickConsultarProcessoJuridico(processo.numero_novo); }
|
|
28354
28362
|
: undefined, smallContent: "R$ 1" }, "Consultar Processo")))); })));
|
|
28355
28363
|
};
|
|
28356
|
-
var templateObject_1$
|
|
28364
|
+
var templateObject_1$a, templateObject_2$3, templateObject_3, templateObject_4;
|
|
28357
28365
|
|
|
28358
28366
|
var ProcessosJuridicosIcon = function (_a) {
|
|
28359
28367
|
var _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.size, size = _c === void 0 ? 30 : _c, _d = _a.circleFill, circleFill = _d === void 0 ? theme.colors.azulCredithub : _d;
|
|
@@ -47730,7 +47738,7 @@ var useDividasPublicas = function () {
|
|
|
47730
47738
|
return dividasPublicasData;
|
|
47731
47739
|
};
|
|
47732
47740
|
|
|
47733
|
-
var __makeTemplateObject$
|
|
47741
|
+
var __makeTemplateObject$9 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
47734
47742
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
47735
47743
|
return cooked;
|
|
47736
47744
|
};
|
|
@@ -47738,12 +47746,12 @@ var QuantityContainer = function (_a) {
|
|
|
47738
47746
|
var children = _a.children;
|
|
47739
47747
|
return (React.createElement("div", { className: "t" }, children));
|
|
47740
47748
|
};
|
|
47741
|
-
var QuantidadeResultadosWrapper = styled(ResultContent)(templateObject_1$
|
|
47749
|
+
var QuantidadeResultadosWrapper = styled(ResultContent)(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject$9(["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n @media (max-width: 768px) {\n > * {\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n }\n"], ["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n @media (max-width: 768px) {\n > * {\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n }\n"])), theme.colors.cinzaClaro);
|
|
47742
47750
|
var QuantidadeResultados = function (_a) {
|
|
47743
47751
|
var _b, _c, _d, _e;
|
|
47744
47752
|
var data = _a.data, _f = _a.quantidadeProtestos, quantidadeProtestos = _f === void 0 ? 0 : _f, _g = _a.quantidadeProcessos, quantidadeProcessos = _g === void 0 ? 0 : _g, _h = _a.quantidadeDividas, quantidadeDividas = _h === void 0 ? 0 : _h, _j = _a.quantidadeChequesSemFundos, quantidadeChequesSemFundos = _j === void 0 ? 0 : _j, _k = _a.quantidadeDividasSerasa, quantidadeDividasSerasa = _k === void 0 ? 0 : _k, _l = _a.quantidadeDividasBoaVista, quantidadeDividasBoaVista = _l === void 0 ? 0 : _l, _m = _a.valorTotalProtestos, valorTotalProtestos = _m === void 0 ? 0 : _m, _o = _a.valorTotalDividas, valorTotalDividas = _o === void 0 ? 0 : _o, _p = _a.valorTotalDividasSerasa, valorTotalDividasSerasa = _p === void 0 ? 0 : _p, _q = _a.valorTotalDividasBoaVista, valorTotalDividasBoaVista = _q === void 0 ? 0 : _q, _r = _a.ultimaOcorrenciaProtestos, ultimaOcorrenciaProtestos = _r === void 0 ? null : _r, _s = _a.ultimaOcorrenciaChequesSemFundos, ultimaOcorrenciaChequesSemFundos = _s === void 0 ? null : _s;
|
|
47745
47753
|
return (React.createElement(Result, { resultContentStriped: false },
|
|
47746
|
-
React.createElement(QuantidadeResultadosWrapper, { desktop: "repeat(6, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr" },
|
|
47754
|
+
React.createElement(QuantidadeResultadosWrapper, { desktop: "repeat(6, 1fr)", tablet: "repeat(3, 1fr)", mobile: "repeat(2, 1fr)" },
|
|
47747
47755
|
React.createElement(QuantityContainer, null,
|
|
47748
47756
|
React.createElement(AddItemField, { name: "Total Protestos", value: formatValue(quantidadeProtestos) }),
|
|
47749
47757
|
React.createElement(AddItemField, { name: "Valor Total Protestos", value: formatMoney(valorTotalProtestos) }),
|
|
@@ -47763,7 +47771,7 @@ var QuantidadeResultados = function (_a) {
|
|
|
47763
47771
|
React.createElement(AddItemField, { hidden: !((_d = data === null || data === void 0 ? void 0 : data.boaVista) === null || _d === void 0 ? void 0 : _d.length), name: "Pefin Refin Boa Vista", value: formatValue(quantidadeDividasBoaVista) }),
|
|
47764
47772
|
React.createElement(AddItemField, { hidden: !((_e = data === null || data === void 0 ? void 0 : data.boaVista) === null || _e === void 0 ? void 0 : _e.length), name: "Total Pefin Refin Boa Vista", value: formatMoney(valorTotalDividasBoaVista) })))));
|
|
47765
47773
|
};
|
|
47766
|
-
var templateObject_1$
|
|
47774
|
+
var templateObject_1$9;
|
|
47767
47775
|
|
|
47768
47776
|
/*!
|
|
47769
47777
|
* @kurkle/color v0.3.2
|
|
@@ -62744,18 +62752,18 @@ var useCategoryProtestos = function (dataInput) {
|
|
|
62744
62752
|
return { data: data, options: options };
|
|
62745
62753
|
};
|
|
62746
62754
|
|
|
62747
|
-
var __makeTemplateObject$
|
|
62755
|
+
var __makeTemplateObject$8 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
62748
62756
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
62749
62757
|
return cooked;
|
|
62750
62758
|
};
|
|
62751
|
-
var ChartContainer$1 = styled.div(templateObject_1$
|
|
62759
|
+
var ChartContainer$1 = styled.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject$8(["\n height: 400px;\n width: 100%;\n"], ["\n height: 400px;\n width: 100%;\n"])));
|
|
62752
62760
|
var CategoriaProtesto = function (_a) {
|
|
62753
62761
|
var dataInput = _a.dataInput;
|
|
62754
62762
|
var _b = useCategoryProtestos(dataInput), data = _b.data, options = _b.options;
|
|
62755
62763
|
return (React.createElement(ChartContainer$1, null,
|
|
62756
|
-
React.createElement(Bar, { data: data, options: options })));
|
|
62764
|
+
React.createElement(Bar, { className: "categoria-protesto", data: data, options: options })));
|
|
62757
62765
|
};
|
|
62758
|
-
var templateObject_1$
|
|
62766
|
+
var templateObject_1$8;
|
|
62759
62767
|
|
|
62760
62768
|
function useWindowSize() {
|
|
62761
62769
|
var _a = React.useState({
|
|
@@ -62867,7 +62875,7 @@ var usePieChartData = function (dataInput) {
|
|
|
62867
62875
|
var PieChart = function (_a) {
|
|
62868
62876
|
var dataInput = _a.dataInput;
|
|
62869
62877
|
var _b = usePieChartData(dataInput), data = _b.data, options = _b.options;
|
|
62870
|
-
return React.createElement(Pie, { data: data, options: options });
|
|
62878
|
+
return React.createElement(Pie, { className: "pie-chart", data: data, options: options });
|
|
62871
62879
|
};
|
|
62872
62880
|
|
|
62873
62881
|
/*!
|
|
@@ -63267,12 +63275,12 @@ var useMixedChartData = function (dataInput, timeFilter) {
|
|
|
63267
63275
|
}, [dataInput, timeFilter]);
|
|
63268
63276
|
};
|
|
63269
63277
|
|
|
63270
|
-
var __makeTemplateObject$
|
|
63278
|
+
var __makeTemplateObject$7 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
63271
63279
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
63272
63280
|
return cooked;
|
|
63273
63281
|
};
|
|
63274
|
-
var TimeFilterButton = styled.button(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject$
|
|
63275
|
-
return props.isActive && Ne(templateObject_1$
|
|
63282
|
+
var TimeFilterButton = styled.button(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject$7(["\n padding: 8px 16px;\n margin-right: 5px;\n background-color: #f0f0f0;\n border: 1px solid #ccc;\n border-radius: 8px;\n cursor: pointer;\n width: 100px;\n min-width: 100px;\n text-align: center;\n\n ", "\n\n &:hover {\n background-color: #007af2;\n color: white;\n }\n\n @media print {\n button {\n display: none !important;\n }\n }\n"], ["\n padding: 8px 16px;\n margin-right: 5px;\n background-color: #f0f0f0;\n border: 1px solid #ccc;\n border-radius: 8px;\n cursor: pointer;\n width: 100px;\n min-width: 100px;\n text-align: center;\n\n ", "\n\n &:hover {\n background-color: #007af2;\n color: white;\n }\n\n @media print {\n button {\n display: none !important;\n }\n }\n"])), function (props) {
|
|
63283
|
+
return props.isActive && Ne(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject$7(["\n background-color: #007af2;\n color: white;\n border-color: #007af2;\n "], ["\n background-color: #007af2;\n color: white;\n border-color: #007af2;\n "])));
|
|
63276
63284
|
});
|
|
63277
63285
|
var MixedChart = function (_a) {
|
|
63278
63286
|
var dataInput = _a.dataInput;
|
|
@@ -63289,9 +63297,9 @@ var MixedChart = function (_a) {
|
|
|
63289
63297
|
: filter === '6m'
|
|
63290
63298
|
? '6 Meses'
|
|
63291
63299
|
: '1 Mês')); })),
|
|
63292
|
-
React.createElement(Chart, { type: chartType, data: data, options: options })));
|
|
63300
|
+
React.createElement(Chart, { className: "mixed-chart", type: chartType, data: data, options: options })));
|
|
63293
63301
|
};
|
|
63294
|
-
var templateObject_1$
|
|
63302
|
+
var templateObject_1$7, templateObject_2$2;
|
|
63295
63303
|
|
|
63296
63304
|
/*!
|
|
63297
63305
|
* chartjs-plugin-datalabels v2.2.0
|
|
@@ -64641,7 +64649,7 @@ var plugin = {
|
|
|
64641
64649
|
}
|
|
64642
64650
|
};
|
|
64643
64651
|
|
|
64644
|
-
var __makeTemplateObject$
|
|
64652
|
+
var __makeTemplateObject$6 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
64645
64653
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
64646
64654
|
return cooked;
|
|
64647
64655
|
};
|
|
@@ -64655,7 +64663,7 @@ var __spreadArray$3 = (undefined && undefined.__spreadArray) || function (to, fr
|
|
|
64655
64663
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
64656
64664
|
};
|
|
64657
64665
|
Chart$1.register.apply(Chart$1, __spreadArray$3([plugin], registerables, false));
|
|
64658
|
-
var Title = styled.h2(templateObject_1$
|
|
64666
|
+
var Title = styled.h2(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject$6(["\n text-align: left;\n margin-bottom: 20px;\n"], ["\n text-align: left;\n margin-bottom: 20px;\n"])));
|
|
64659
64667
|
var getWidth = function (windowWidth, chartType) {
|
|
64660
64668
|
var baseWidth = windowWidth <= 768 ? '98%' : windowWidth <= 1200 ? '92%' : '100%';
|
|
64661
64669
|
if (chartType === 'pie') {
|
|
@@ -64663,7 +64671,7 @@ var getWidth = function (windowWidth, chartType) {
|
|
|
64663
64671
|
}
|
|
64664
64672
|
return baseWidth;
|
|
64665
64673
|
};
|
|
64666
|
-
var ChartContainer = styled.div(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject$
|
|
64674
|
+
var ChartContainer = styled.div(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject$6(["\n width: ", ";\n"], ["\n width: ", ";\n"])), function (_a) {
|
|
64667
64675
|
var windowWidth = _a.windowWidth, chartType = _a.chartType;
|
|
64668
64676
|
return getWidth(windowWidth, chartType);
|
|
64669
64677
|
});
|
|
@@ -64680,7 +64688,7 @@ var ChartContent = function (_a) {
|
|
|
64680
64688
|
React.createElement(MixedChart, { dataInput: dataInput }))),
|
|
64681
64689
|
React.createElement(CategoriaProtesto, { dataInput: dataInput.protestosCategory || [] })));
|
|
64682
64690
|
};
|
|
64683
|
-
var templateObject_1$
|
|
64691
|
+
var templateObject_1$6, templateObject_2$1;
|
|
64684
64692
|
|
|
64685
64693
|
var __assign$6 = (undefined && undefined.__assign) || function () {
|
|
64686
64694
|
__assign$6 = Object.assign || function(t) {
|
|
@@ -64835,11 +64843,11 @@ var ResumoDeNegativacoesIcon = function (_a) {
|
|
|
64835
64843
|
React.createElement("path", { fill: "#fff", d: "M11 12c.283 0 .52-.096.713-.287A.968.968 0 0012 11a.968.968 0 00-.287-.713A.968.968 0 0011 10a.968.968 0 00-.713.287A.968.968 0 0010 11c0 .283.096.52.287.713.192.191.43.287.713.287zm0 4c.283 0 .52-.096.713-.287A.968.968 0 0012 15a.968.968 0 00-.287-.713A.968.968 0 0011 14a.968.968 0 00-.713.287A.968.968 0 0010 15c0 .283.096.52.287.713.192.191.43.287.713.287zm0 4c.283 0 .52-.096.713-.288A.968.968 0 0012 19a.968.968 0 00-.287-.712A.968.968 0 0011 18a.968.968 0 00-.713.288A.968.968 0 0010 19c0 .283.096.52.287.712.192.192.43.288.713.288zm-3 4c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 016 22V8c0-.55.196-1.02.588-1.412A1.926 1.926 0 018 6h10.175a1.975 1.975 0 011.4.575l3.85 3.85a1.975 1.975 0 01.575 1.4V22c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0122 24H8zm0-2h14V12h-3a.968.968 0 01-.712-.287A.968.968 0 0118 11V8H8v14z" })));
|
|
64836
64844
|
};
|
|
64837
64845
|
|
|
64838
|
-
var __makeTemplateObject$
|
|
64846
|
+
var __makeTemplateObject$5 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
64839
64847
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
64840
64848
|
return cooked;
|
|
64841
64849
|
};
|
|
64842
|
-
var Content
|
|
64850
|
+
var Content = styled.div(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject$5(["\n display: ", ";\n padding: 0px 30px;\n\n @media print {\n display: block;\n }\n"], ["\n display: ", ";\n padding: 0px 30px;\n\n @media print {\n display: block;\n }\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
|
|
64843
64851
|
var ChartSystem = function (_a) {
|
|
64844
64852
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
64845
64853
|
var documento = _a.documento;
|
|
@@ -64865,12 +64873,12 @@ var ChartSystem = function (_a) {
|
|
|
64865
64873
|
refetch();
|
|
64866
64874
|
}, [consultaPefinBoaVista, consultaPefinSerasa]);
|
|
64867
64875
|
return (React.createElement(React.Fragment, null,
|
|
64868
|
-
React.createElement(Header$1, { title: "Resumo de Negativa\u00E7\u00F5es", subtitle: "Veja a quantidade de ocorr\u00EAncias conforme o documento foi consultado ao longo do tempo", description: errorMessage && (React.createElement(StatusMessage, { type: "error" }, errorMessage)), variant: isLoading ? 'loading' : 'default', icon: ResumoDeNegativacoesIcon, actions: React.createElement(BtnWrapper, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)) }),
|
|
64869
|
-
React.createElement(Content
|
|
64876
|
+
React.createElement(Header$1, { title: "Resumo de Negativa\u00E7\u00F5es", subtitle: "Veja a quantidade de ocorr\u00EAncias conforme o documento foi consultado ao longo do tempo", description: errorMessage && (React.createElement(StatusMessage, { type: "error" }, errorMessage)), variant: isLoading ? 'loading' : 'default', icon: ResumoDeNegativacoesIcon, actions: React.createElement(BtnWrapper$1, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)) }),
|
|
64877
|
+
React.createElement(Content, { isOpen: isOpen },
|
|
64870
64878
|
data && React.createElement(ChartContent, { dataInput: data }),
|
|
64871
64879
|
!isLoading && (React.createElement(QuantidadeResultados, { data: data, quantidadeProtestos: quantidadeProtestos, quantidadeProcessos: (_k = data === null || data === void 0 ? void 0 : data.pieChartTotalConfig) === null || _k === void 0 ? void 0 : _k.processosJuridicos, quantidadeDividas: quantidadeDividas, quantidadeDividasSerasa: quantidadeSerasa, quantidadeDividasBoaVista: quantidadeBoaVista, quantidadeChequesSemFundos: quantidadeCCFs, ultimaOcorrenciaChequesSemFundos: ultimaOcorrenciaCCF, valorTotalDividasSerasa: valorTotalSerasa, valorTotalDividasBoaVista: valorTotalBoaVista, valorTotalProtestos: valorTotalProtestos, valorTotalDividas: valorTotalDividas, ultimaOcorrenciaProtestos: ultimaOcorrenciaProtestos })))));
|
|
64872
64880
|
};
|
|
64873
|
-
var templateObject_1$
|
|
64881
|
+
var templateObject_1$5;
|
|
64874
64882
|
|
|
64875
64883
|
var ContasBancariasIcon = function (_a) {
|
|
64876
64884
|
var _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.size, size = _c === void 0 ? 30 : _c, _d = _a.circleFill, circleFill = _d === void 0 ? theme.colors.azulCredithub : _d;
|
|
@@ -65125,13 +65133,6 @@ var ScrIcon = function (_a) {
|
|
|
65125
65133
|
React.createElement("path", { fill: "#fff", d: "M14 21v.5c0 .133.05.25.15.35.1.1.217.15.35.15h1a.48.48 0 00.35-.15c.1-.1.15-.217.15-.35V21h1c.283 0 .52-.096.712-.288A.968.968 0 0018 20v-3a.968.968 0 00-.288-.712A.968.968 0 0017 16h-3v-1h3c.283 0 .52-.096.712-.287A.968.968 0 0018 14a.968.968 0 00-.288-.713A.968.968 0 0017 13h-1v-.5a.48.48 0 00-.15-.35.48.48 0 00-.35-.15h-1a.48.48 0 00-.35.15.48.48 0 00-.15.35v.5h-1a.968.968 0 00-.713.287A.968.968 0 0012 14v3c0 .283.096.52.287.712.192.192.43.288.713.288h3v1h-3a.968.968 0 00-.713.288A.968.968 0 0012 20c0 .283.096.52.287.712.192.192.43.288.713.288h1zm-5 4c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 017 23V7c0-.55.196-1.02.588-1.412A1.926 1.926 0 019 5h9l5 5v13c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0121 25H9zm0-2h12V11h-3a.968.968 0 01-.712-.287A.968.968 0 0117 10V7H9v16z" })));
|
|
65126
65134
|
};
|
|
65127
65135
|
|
|
65128
|
-
var __makeTemplateObject$5 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
65129
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
65130
|
-
return cooked;
|
|
65131
|
-
};
|
|
65132
|
-
var Content = styled.div(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject$5(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
|
|
65133
|
-
var templateObject_1$5;
|
|
65134
|
-
|
|
65135
65136
|
var __makeTemplateObject$4 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
65136
65137
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
65137
65138
|
return cooked;
|
|
@@ -65184,7 +65185,7 @@ function ConsultaSCR(_a) {
|
|
|
65184
65185
|
}, [response]);
|
|
65185
65186
|
return consultaSCRRealizada ? (React.createElement(React.Fragment, null,
|
|
65186
65187
|
React.createElement("div", null,
|
|
65187
|
-
React.createElement(Header$1, { innerRef: scrRef, title: "SCR", variant: isLoading ? 'loading' : error ? 'error' : 'default', subtitle: "Resumo do Cliente", description: error ? (React.createElement(StatusMessage, { type: "error" }, error.message)) : null, actions: React.createElement(BtnWrapper, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)), icon: ScrIcon }),
|
|
65188
|
+
React.createElement(Header$1, { innerRef: scrRef, title: "SCR", variant: isLoading ? 'loading' : error ? 'error' : 'default', subtitle: "Resumo do Cliente", description: error ? (React.createElement(StatusMessage, { type: "error" }, error.message)) : null, actions: React.createElement(BtnWrapper$1, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)), icon: ScrIcon }),
|
|
65188
65189
|
isOpen && scr && !isLoading && (React.createElement(Result, null,
|
|
65189
65190
|
React.createElement(ResultContent, { desktop: "repeat(4, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr 1fr" },
|
|
65190
65191
|
React.createElement(AddItemField, { name: "CNPJ da IF Solicitante", value: scr === null || scr === void 0 ? void 0 : scr.cnpjDaIFSolicitante }),
|
|
@@ -65201,8 +65202,8 @@ var FluxosDeVencimentosConsolidados = function (_a) {
|
|
|
65201
65202
|
var scr = _a.scr, isLoading = _a.isLoading, error = _a.error;
|
|
65202
65203
|
var _c = useToggle(false), isOpen = _c[0], toggleOpen = _c[1];
|
|
65203
65204
|
return (React.createElement("div", null,
|
|
65204
|
-
React.createElement(Header$1, { title: "SCR", subtitle: "Fluxo De Vencimentos Consolidados", variant: isLoading ? 'loading' : error ? 'error' : 'default', icon: ScrIcon, actions: React.createElement(BtnWrapper, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)) }),
|
|
65205
|
-
scr && !isLoading && (React.createElement(Content, { isOpen: isOpen },
|
|
65205
|
+
React.createElement(Header$1, { title: "SCR", subtitle: "Fluxo De Vencimentos Consolidados", variant: isLoading ? 'loading' : error ? 'error' : 'default', icon: ScrIcon, actions: React.createElement(BtnWrapper$1, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)) }),
|
|
65206
|
+
scr && !isLoading && (React.createElement(Content$1, { isOpen: isOpen },
|
|
65206
65207
|
React.createElement(Result, null,
|
|
65207
65208
|
React.createElement(ResultContent, { desktop: "repeat(4, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr 1fr" },
|
|
65208
65209
|
React.createElement(AddItemField, { name: "Data-base", value: scr.dataBaseConsultada }),
|
|
@@ -65225,8 +65226,8 @@ var ResumoList = function (_a) {
|
|
|
65225
65226
|
if (!isLoading && !resumos.length)
|
|
65226
65227
|
return null;
|
|
65227
65228
|
return (React.createElement("div", null,
|
|
65228
|
-
React.createElement(Header$1, __assign$4({}, props, { variant: isLoading ? 'loading' : error ? 'error' : 'default', icon: ScrIcon, actions: React.createElement(BtnWrapper, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)) })),
|
|
65229
|
-
!isLoading && (React.createElement(Content, { isOpen: isOpen },
|
|
65229
|
+
React.createElement(Header$1, __assign$4({}, props, { variant: isLoading ? 'loading' : error ? 'error' : 'default', icon: ScrIcon, actions: React.createElement(BtnWrapper$1, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)) })),
|
|
65230
|
+
!isLoading && (React.createElement(Content$1, { isOpen: isOpen },
|
|
65230
65231
|
React.createElement(Result, null,
|
|
65231
65232
|
React.createElement(ResultContent, { desktop: "repeat(4, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr 1fr" }, resumos.map(function (item, index) { return (React.createElement(AddItemField, { key: "".concat(item.descricao, "-").concat(index), name: item.descricao, value: item.valor })); })))))));
|
|
65232
65233
|
};
|
|
@@ -65237,8 +65238,8 @@ var ResumoModalidades = function (_a) {
|
|
|
65237
65238
|
if (!isLoading && !(resumoModalidades === null || resumoModalidades === void 0 ? void 0 : resumoModalidades.length))
|
|
65238
65239
|
return null;
|
|
65239
65240
|
return (React.createElement("div", null,
|
|
65240
|
-
React.createElement(Header$1, { title: "SCR", subtitle: "Modalidade x Data Base", variant: isLoading ? 'loading' : error ? 'error' : 'default', icon: ScrIcon, actions: React.createElement(BtnWrapper, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)) }),
|
|
65241
|
-
!isLoading && (React.createElement(Content, { isOpen: isOpen },
|
|
65241
|
+
React.createElement(Header$1, { title: "SCR", subtitle: "Modalidade x Data Base", variant: isLoading ? 'loading' : error ? 'error' : 'default', icon: ScrIcon, actions: React.createElement(BtnWrapper$1, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)) }),
|
|
65242
|
+
!isLoading && (React.createElement(Content$1, { isOpen: isOpen },
|
|
65242
65243
|
React.createElement(Result, null, resumoModalidades.map(function (resumo, index) { return (React.createElement(ResultContent, { key: "".concat(resumo.modalidade, "-").concat(index), desktop: "repeat(4, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr 1fr" },
|
|
65243
65244
|
React.createElement(AddItemField, { name: "Modalidade", value: resumo.modalidade }),
|
|
65244
65245
|
React.createElement(AddItemField, { name: "Vencido", value: resumo.vencido && formatMoney(resumo.vencido) }),
|
|
@@ -65342,8 +65343,8 @@ var __makeTemplateObject$3 = (undefined && undefined.__makeTemplateObject) || fu
|
|
|
65342
65343
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
65343
65344
|
return cooked;
|
|
65344
65345
|
};
|
|
65345
|
-
var OpenSansFont = Ne(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject$3(["\n @import url('https://fonts.googleapis.com/css?family=
|
|
65346
|
-
var GlobalStyle = He(templateObject_2 || (templateObject_2 = __makeTemplateObject$3(["\n ", "\n
|
|
65346
|
+
var OpenSansFont = Ne(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject$3(["\n @import url('https://fonts.googleapis.com/css?family=Open%20Sans%20Condensed:300');\n"], ["\n @import url('https://fonts.googleapis.com/css?family=Open%20Sans%20Condensed:300');\n"])));
|
|
65347
|
+
var GlobalStyle = He(templateObject_2 || (templateObject_2 = __makeTemplateObject$3(["\n * {\n ", "\n font-family: 'Open Sans Condensed';\n }\n\n @media print {\n button {\n display: none !important;\n }\n }\n"], ["\n * {\n ", "\n font-family: 'Open Sans Condensed';\n }\n\n @media print {\n button {\n display: none !important;\n }\n }\n"])), OpenSansFont);
|
|
65347
65348
|
var templateObject_1$3, templateObject_2;
|
|
65348
65349
|
|
|
65349
65350
|
var DominiosIcon = function (_a) {
|
|
@@ -65431,7 +65432,7 @@ var __rest$1 = (undefined && undefined.__rest) || function (s, e) {
|
|
|
65431
65432
|
}
|
|
65432
65433
|
return t;
|
|
65433
65434
|
};
|
|
65434
|
-
var StatusMessageContainer = styled.div(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject$1(["\n display: flex;\n gap: 10px;\n\n span {\n width: fit-content;\n }\n\n @media
|
|
65435
|
+
var StatusMessageContainer = styled.div(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject$1(["\n display: flex;\n gap: 10px;\n\n span {\n width: fit-content;\n }\n\n @media (max-width: 768px) {\n flex-direction: column;\n }\n"], ["\n display: flex;\n gap: 10px;\n\n span {\n width: fit-content;\n }\n\n @media (max-width: 768px) {\n flex-direction: column;\n }\n"])));
|
|
65435
65436
|
var getPossuiPendenciaText = function (_a) {
|
|
65436
65437
|
var ccf = _a.ccf, ultimoRegistroCCF = _a.ultimoRegistroCCF, dividasPublicas = _a.dividasPublicas, protestos = _a.protestos, processosJuridicos = _a.processosJuridicos;
|
|
65437
65438
|
return [
|
|
@@ -65501,7 +65502,7 @@ var __makeTemplateObject = (undefined && undefined.__makeTemplateObject) || func
|
|
|
65501
65502
|
return cooked;
|
|
65502
65503
|
};
|
|
65503
65504
|
Chart$1.register.apply(Chart$1, registerables);
|
|
65504
|
-
var Wrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: 20px;\n"], ["\n display: flex;\n flex-direction: column;\n gap: 20px;\n"])));
|
|
65505
|
+
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 font-family: 'Open Sans Condensed';\n display: flex;\n flex-direction: column;\n gap: 20px;\n"])));
|
|
65505
65506
|
var ConsultaSimples = function (_a) {
|
|
65506
65507
|
var _documento = _a.documento, onClickConsultarProcessoJuridico = _a.onClickConsultarProcessoJuridico, onClickQSA = _a.onClickQSA, apiKey = _a.apiKey, onClose = _a.onClose, hasCredits = _a.hasCredits;
|
|
65507
65508
|
var documento = _documento.replace(/\D+/g, '');
|
|
@@ -16,7 +16,7 @@ import ChevronDown from '../../assets/btn/chevronDown';
|
|
|
16
16
|
import useChartData from './hooks/useChartData';
|
|
17
17
|
import ResumoDeNegativacoesIcon from '../../assets/icones/resumoNegativacoes';
|
|
18
18
|
import { ConsultasComplementaresContext } from '../consultasComplementares';
|
|
19
|
-
var Content = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
|
|
19
|
+
var Content = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: ", ";\n padding: 0px 30px;\n\n @media print {\n display: block;\n }\n"], ["\n display: ", ";\n padding: 0px 30px;\n\n @media print {\n display: block;\n }\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
|
|
20
20
|
var ChartSystem = function (_a) {
|
|
21
21
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
22
22
|
var documento = _a.documento;
|
|
@@ -6,7 +6,7 @@ import React, { useState } from 'react';
|
|
|
6
6
|
import { Chart } from 'react-chartjs-2';
|
|
7
7
|
import { useMixedChartData } from '../hooks/useMixedChartData';
|
|
8
8
|
import styled, { css } from 'styled-components';
|
|
9
|
-
var TimeFilterButton = styled.button(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 8px 16px;\n margin-right: 5px;\n background-color: #f0f0f0;\n border: 1px solid #ccc;\n border-radius: 8px;\n cursor: pointer;\n width: 100px;\n min-width: 100px;\n text-align: center;\n\n ", "\n\n &:hover {\n background-color: #007af2;\n color: white;\n }\n"], ["\n padding: 8px 16px;\n margin-right: 5px;\n background-color: #f0f0f0;\n border: 1px solid #ccc;\n border-radius: 8px;\n cursor: pointer;\n width: 100px;\n min-width: 100px;\n text-align: center;\n\n ", "\n\n &:hover {\n background-color: #007af2;\n color: white;\n }\n"])), function (props) {
|
|
9
|
+
var TimeFilterButton = styled.button(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 8px 16px;\n margin-right: 5px;\n background-color: #f0f0f0;\n border: 1px solid #ccc;\n border-radius: 8px;\n cursor: pointer;\n width: 100px;\n min-width: 100px;\n text-align: center;\n\n ", "\n\n &:hover {\n background-color: #007af2;\n color: white;\n }\n\n @media print {\n button {\n display: none !important;\n }\n }\n"], ["\n padding: 8px 16px;\n margin-right: 5px;\n background-color: #f0f0f0;\n border: 1px solid #ccc;\n border-radius: 8px;\n cursor: pointer;\n width: 100px;\n min-width: 100px;\n text-align: center;\n\n ", "\n\n &:hover {\n background-color: #007af2;\n color: white;\n }\n\n @media print {\n button {\n display: none !important;\n }\n }\n"])), function (props) {
|
|
10
10
|
return props.isActive && css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: #007af2;\n color: white;\n border-color: #007af2;\n "], ["\n background-color: #007af2;\n color: white;\n border-color: #007af2;\n "])));
|
|
11
11
|
});
|
|
12
12
|
var MixedChart = function (_a) {
|
|
@@ -24,7 +24,7 @@ var MixedChart = function (_a) {
|
|
|
24
24
|
: filter === '6m'
|
|
25
25
|
? '6 Meses'
|
|
26
26
|
: '1 Mês')); })),
|
|
27
|
-
React.createElement(Chart, { type: chartType, data: data, options: options })));
|
|
27
|
+
React.createElement(Chart, { className: "mixed-chart", type: chartType, data: data, options: options })));
|
|
28
28
|
};
|
|
29
29
|
export default MixedChart;
|
|
30
30
|
var templateObject_1, templateObject_2;
|
|
@@ -4,6 +4,6 @@ import { usePieChartData } from '../hooks/usePieChartData';
|
|
|
4
4
|
var PieChart = function (_a) {
|
|
5
5
|
var dataInput = _a.dataInput;
|
|
6
6
|
var _b = usePieChartData(dataInput), data = _b.data, options = _b.options;
|
|
7
|
-
return React.createElement(Pie, { data: data, options: options });
|
|
7
|
+
return React.createElement(Pie, { className: "pie-chart", data: data, options: options });
|
|
8
8
|
};
|
|
9
9
|
export default PieChart;
|
|
@@ -11,7 +11,7 @@ var CategoriaProtesto = function (_a) {
|
|
|
11
11
|
var dataInput = _a.dataInput;
|
|
12
12
|
var _b = useCategoryProtestos(dataInput), data = _b.data, options = _b.options;
|
|
13
13
|
return (React.createElement(ChartContainer, null,
|
|
14
|
-
React.createElement(Bar, { data: data, options: options })));
|
|
14
|
+
React.createElement(Bar, { className: "categoria-protesto", data: data, options: options })));
|
|
15
15
|
};
|
|
16
16
|
export default CategoriaProtesto;
|
|
17
17
|
var templateObject_1;
|
|
@@ -13,12 +13,12 @@ var QuantityContainer = function (_a) {
|
|
|
13
13
|
var children = _a.children;
|
|
14
14
|
return (React.createElement("div", { className: "t" }, children));
|
|
15
15
|
};
|
|
16
|
-
var QuantidadeResultadosWrapper = styled(ResultContent)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n @media
|
|
16
|
+
var QuantidadeResultadosWrapper = styled(ResultContent)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n @media (max-width: 768px) {\n > * {\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n }\n"], ["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n @media (max-width: 768px) {\n > * {\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n }\n"])), theme.colors.cinzaClaro);
|
|
17
17
|
var QuantidadeResultados = function (_a) {
|
|
18
18
|
var _b, _c, _d, _e;
|
|
19
19
|
var data = _a.data, _f = _a.quantidadeProtestos, quantidadeProtestos = _f === void 0 ? 0 : _f, _g = _a.quantidadeProcessos, quantidadeProcessos = _g === void 0 ? 0 : _g, _h = _a.quantidadeDividas, quantidadeDividas = _h === void 0 ? 0 : _h, _j = _a.quantidadeChequesSemFundos, quantidadeChequesSemFundos = _j === void 0 ? 0 : _j, _k = _a.quantidadeDividasSerasa, quantidadeDividasSerasa = _k === void 0 ? 0 : _k, _l = _a.quantidadeDividasBoaVista, quantidadeDividasBoaVista = _l === void 0 ? 0 : _l, _m = _a.valorTotalProtestos, valorTotalProtestos = _m === void 0 ? 0 : _m, _o = _a.valorTotalDividas, valorTotalDividas = _o === void 0 ? 0 : _o, _p = _a.valorTotalDividasSerasa, valorTotalDividasSerasa = _p === void 0 ? 0 : _p, _q = _a.valorTotalDividasBoaVista, valorTotalDividasBoaVista = _q === void 0 ? 0 : _q, _r = _a.ultimaOcorrenciaProtestos, ultimaOcorrenciaProtestos = _r === void 0 ? null : _r, _s = _a.ultimaOcorrenciaChequesSemFundos, ultimaOcorrenciaChequesSemFundos = _s === void 0 ? null : _s;
|
|
20
20
|
return (React.createElement(Result, { resultContentStriped: false },
|
|
21
|
-
React.createElement(QuantidadeResultadosWrapper, { desktop: "repeat(6, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr" },
|
|
21
|
+
React.createElement(QuantidadeResultadosWrapper, { desktop: "repeat(6, 1fr)", tablet: "repeat(3, 1fr)", mobile: "repeat(2, 1fr)" },
|
|
22
22
|
React.createElement(QuantityContainer, null,
|
|
23
23
|
React.createElement(AddItemField, { name: "Total Protestos", value: formatValue(quantidadeProtestos) }),
|
|
24
24
|
React.createElement(AddItemField, { name: "Valor Total Protestos", value: formatMoney(valorTotalProtestos) }),
|
|
@@ -3,6 +3,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
return cooked;
|
|
4
4
|
};
|
|
5
5
|
import styled from 'styled-components';
|
|
6
|
-
var Content = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
|
|
6
|
+
var Content = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: ", ";\n\n @media print {\n display: block;\n }\n"], ["\n display: ", ";\n\n @media print {\n display: block;\n }\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
|
|
7
7
|
export default Content;
|
|
8
8
|
var templateObject_1;
|
|
@@ -33,7 +33,7 @@ import ConsultaSimplesIcon from '../../assets/icones/consultaSimples';
|
|
|
33
33
|
import XPathUtils from '../../utils/xpath';
|
|
34
34
|
import { formatMoney } from '../../utils/number';
|
|
35
35
|
import styled from 'styled-components';
|
|
36
|
-
var StatusMessageContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n gap: 10px;\n\n span {\n width: fit-content;\n }\n\n @media
|
|
36
|
+
var StatusMessageContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n gap: 10px;\n\n span {\n width: fit-content;\n }\n\n @media (max-width: 768px) {\n flex-direction: column;\n }\n"], ["\n display: flex;\n gap: 10px;\n\n span {\n width: fit-content;\n }\n\n @media (max-width: 768px) {\n flex-direction: column;\n }\n"])));
|
|
37
37
|
var getPossuiPendenciaText = function (_a) {
|
|
38
38
|
var ccf = _a.ccf, ultimoRegistroCCF = _a.ultimoRegistroCCF, dividasPublicas = _a.dividasPublicas, protestos = _a.protestos, processosJuridicos = _a.processosJuridicos;
|
|
39
39
|
return [
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
1
5
|
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
2
6
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
3
7
|
if (ar || !(i in from)) {
|
|
@@ -15,11 +19,13 @@ import { phoneMask } from '../../utils/number';
|
|
|
15
19
|
import ContactLikeDislikeSection from './contactLikeDislikeSection';
|
|
16
20
|
import ContatoIcon from '../../assets/icones/contato';
|
|
17
21
|
import Button from '../common/button';
|
|
22
|
+
import styled from 'styled-components';
|
|
18
23
|
export var ContactType;
|
|
19
24
|
(function (ContactType) {
|
|
20
25
|
ContactType["TELEFONE"] = "Telefone";
|
|
21
26
|
ContactType["EMAIL"] = "Email";
|
|
22
27
|
})(ContactType || (ContactType = {}));
|
|
28
|
+
var BtnWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n @media print {\n display: none;\n }\n"], ["\n @media print {\n display: none;\n }\n"])));
|
|
23
29
|
var Contacts = function (_a) {
|
|
24
30
|
var onClickConsultarEmail = _a.onClickConsultarEmail;
|
|
25
31
|
var ctx = useContext(Queries.Finder);
|
|
@@ -45,8 +51,10 @@ var Contacts = function (_a) {
|
|
|
45
51
|
}))));
|
|
46
52
|
return {
|
|
47
53
|
children: children,
|
|
48
|
-
actions: (React.createElement(
|
|
54
|
+
actions: (React.createElement(BtnWrapper, null,
|
|
55
|
+
React.createElement(Button, { onClick: onClickConsultarEmail }, "Consultar E-mail em Dom\u00EDnio")))
|
|
49
56
|
};
|
|
50
57
|
} }));
|
|
51
58
|
};
|
|
52
59
|
export default Contacts;
|
|
60
|
+
var templateObject_1;
|
|
@@ -46,10 +46,10 @@ import useCardsAndProducts from './cardsAndProducts';
|
|
|
46
46
|
import styled from 'styled-components';
|
|
47
47
|
import { WebService } from '../../../components/webservice';
|
|
48
48
|
var ContainerSummary = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n padding: 0 20px;\n width: 100%;\n justify-content: space-between;\n @media (max-width: 768px) {\n padding: 0px;\n }\n\n @media (max-width: 992px) {\n flex-direction: column;\n }\n"], ["\n display: flex;\n padding: 0 20px;\n width: 100%;\n justify-content: space-between;\n @media (max-width: 768px) {\n padding: 0px;\n }\n\n @media (max-width: 992px) {\n flex-direction: column;\n }\n"])));
|
|
49
|
-
var ContentSummary = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: grid;\n grid-row: 1 / 8;\n grid-template-columns: repeat(4, 1fr);\n gap: 0 16px;\n\n @media (max-width: 1280px) {\n grid-template-columns: repeat(3, 1fr);\n justify-content: center;\n align-items: center;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(
|
|
49
|
+
var ContentSummary = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: grid;\n grid-row: 1 / 8;\n grid-template-columns: repeat(4, 1fr);\n gap: 0 16px;\n\n @media (max-width: 1280px) {\n grid-template-columns: repeat(3, 1fr);\n justify-content: center;\n align-items: center;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n width: 100%;\n }\n"], ["\n display: grid;\n grid-row: 1 / 8;\n grid-template-columns: repeat(4, 1fr);\n gap: 0 16px;\n\n @media (max-width: 1280px) {\n grid-template-columns: repeat(3, 1fr);\n justify-content: center;\n align-items: center;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n width: 100%;\n }\n"])));
|
|
50
50
|
var FieldSummary = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n margin-bottom: 16px;\n grid-column: ", ";\n"], ["\n align-items: center;\n margin-bottom: 16px;\n grid-column: ", ";\n"])), function (props) { return (props.fullRow ? '1 / 3' : 'auto'); });
|
|
51
51
|
var ButtonsSummary = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 8px;\n\n @media (max-width: 768px) {\n align-items: center;\n max-width: 100%;\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 8px;\n\n @media (max-width: 768px) {\n align-items: center;\n max-width: 100%;\n }\n"])));
|
|
52
|
-
var ButtonsWrapper = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n gap: 10px;\n flex-direction: column;\n\n @media (max-width: 1000px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n }\n"], ["\n display: flex;\n gap: 10px;\n flex-direction: column;\n\n @media (max-width: 1000px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n }\n"])));
|
|
52
|
+
var ButtonsWrapper = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n gap: 10px;\n flex-direction: column;\n\n @media (max-width: 1000px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n }\n\n @media print {\n display: none;\n }\n"], ["\n display: flex;\n gap: 10px;\n flex-direction: column;\n\n @media (max-width: 1000px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n }\n\n @media print {\n display: none;\n }\n"])));
|
|
53
53
|
var SummaryButton = styled(Button)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
|
|
54
54
|
export var Summary = function (_a) {
|
|
55
55
|
var finderResponse = _a.finderResponse, rfbResponse = _a.rfbResponse, document = _a.document;
|
|
@@ -20,7 +20,7 @@ export var getFieldRfb = function (path, response, formatter) {
|
|
|
20
20
|
return formatter ? formatter(value) : value;
|
|
21
21
|
};
|
|
22
22
|
export var getProductsPrices = function (isPF) { return ({
|
|
23
|
-
refinBoaVista: isPF ? 2
|
|
23
|
+
refinBoaVista: isPF ? 1.2 : 2.7,
|
|
24
24
|
scoreBoaVista: isPF ? 3 : 6,
|
|
25
25
|
refinSerasa: 4.2,
|
|
26
26
|
veiculos: 10,
|
|
@@ -3,7 +3,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
return cooked;
|
|
4
4
|
};
|
|
5
5
|
import { createGlobalStyle, css } from 'styled-components';
|
|
6
|
-
var OpenSansFont = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n @import url('https://fonts.googleapis.com/css?family=
|
|
7
|
-
var GlobalStyle = createGlobalStyle(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n
|
|
6
|
+
var OpenSansFont = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n @import url('https://fonts.googleapis.com/css?family=Open%20Sans%20Condensed:300');\n"], ["\n @import url('https://fonts.googleapis.com/css?family=Open%20Sans%20Condensed:300');\n"])));
|
|
7
|
+
var GlobalStyle = createGlobalStyle(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n * {\n ", "\n font-family: 'Open Sans Condensed';\n }\n\n @media print {\n button {\n display: none !important;\n }\n }\n"], ["\n * {\n ", "\n font-family: 'Open Sans Condensed';\n }\n\n @media print {\n button {\n display: none !important;\n }\n }\n"])), OpenSansFont);
|
|
8
8
|
export default GlobalStyle;
|
|
9
9
|
var templateObject_1, templateObject_2;
|
|
@@ -39,7 +39,7 @@ var HeaderUI = styled(function (_a) {
|
|
|
39
39
|
var HeaderContainer = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n gap: 20px;\n"], ["\n display: flex;\n gap: 20px;\n"])));
|
|
40
40
|
var ActionsList = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n gap: 10px;\n"], ["\n display: flex;\n flex-direction: row;\n gap: 10px;\n"])));
|
|
41
41
|
var IconWrapper = styled.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: 30px;\n"], ["\n display: flex;\n align-items: center;\n width: 30px;\n"])));
|
|
42
|
-
var TextWrapper = styled.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: 10px;\n\n .text-wrapper-subtitle-description {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 20px;\n align-items: center;\n }\n"], ["\n display: flex;\n flex-direction: column;\n gap: 10px;\n\n .text-wrapper-subtitle-description {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 20px;\n align-items: center;\n }\n"])));
|
|
42
|
+
var TextWrapper = styled.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: 10px;\n\n .text-wrapper-subtitle-description {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 20px;\n align-items: center;\n\n @media (max-width: 768px) {\n align-items: flex-start;\n }\n }\n"], ["\n display: flex;\n flex-direction: column;\n gap: 10px;\n\n .text-wrapper-subtitle-description {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 20px;\n align-items: center;\n\n @media (max-width: 768px) {\n align-items: flex-start;\n }\n }\n"])));
|
|
43
43
|
var Header = function (_a) {
|
|
44
44
|
var title = _a.title, subtitle = _a.subtitle, description = _a.description, actions = _a.actions, Icon = _a.icon, type = _a.variant, iconProps = _a.iconProps, loadingProps = _a.loadingProps, className = _a.className, titleClassName = _a.titleClassName, subtitleClassName = _a.subtitleClassName, descriptionClassName = _a.descriptionClassName, containerClassName = _a.containerClassName, actionsClassName = _a.actionsClassName, innerRef = _a.innerRef, props = __rest(_a, ["title", "subtitle", "description", "actions", "icon", "variant", "iconProps", "loadingProps", "className", "titleClassName", "subtitleClassName", "descriptionClassName", "containerClassName", "actionsClassName", "innerRef"]);
|
|
45
45
|
var headerClass = classNames(className);
|
|
@@ -3,6 +3,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
return cooked;
|
|
4
4
|
};
|
|
5
5
|
import styled from 'styled-components';
|
|
6
|
-
var ResponsiveGrid = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid;\n ", ";\n\n @media
|
|
6
|
+
var ResponsiveGrid = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid;\n ", ";\n\n @media (max-width: 768px) {\n grid-template-columns: ", ";\n gap: 16px;\n }\n\n @media (min-width: 768px) {\n grid-template-columns: ", ";\n }\n\n @media (min-width: 1000px) {\n grid-template-columns: ", ";\n }\n"], ["\n display: grid;\n ", ";\n\n @media (max-width: 768px) {\n grid-template-columns: ", ";\n gap: 16px;\n }\n\n @media (min-width: 768px) {\n grid-template-columns: ", ";\n }\n\n @media (min-width: 1000px) {\n grid-template-columns: ", ";\n }\n"])), function (props) { return props.fullWidth && 'width: 100%'; }, function (props) { return props.mobile || 'auto'; }, function (props) { return props.tablet || 'auto'; }, function (props) { return props.desktop || 'auto'; });
|
|
7
7
|
export default ResponsiveGrid;
|
|
8
8
|
var templateObject_1;
|
|
@@ -12,7 +12,7 @@ var PartnerList = memo(function (_a) {
|
|
|
12
12
|
var partners = _a.partners, onClickQSA = _a.onClickQSA;
|
|
13
13
|
return partners.map(function (partner, key) {
|
|
14
14
|
var _a, _b;
|
|
15
|
-
return (React.createElement(ResultContent, { key: key, desktop: "2fr 1fr 0.7fr 1fr 1fr 1fr", tablet: "2fr repeat(2, 1fr)" },
|
|
15
|
+
return (React.createElement(ResultContent, { key: key, desktop: "2fr 1fr 0.7fr 1fr 1fr 1fr", tablet: "2fr repeat(2, 1fr)", mobile: "repeat(2, 1fr)" },
|
|
16
16
|
React.createElement(PartnerField, { name: partner.cnpj ? 'Empresa' : (_a = partner.cargo) !== null && _a !== void 0 ? _a : '', value: partner.nome }),
|
|
17
17
|
React.createElement(PartnerField, { name: partner.cnpj ? 'CNPJ' : 'CPF', value: (_b = (partner.cnpj || partner.cpf)) !== null && _b !== void 0 ? _b : '', onClick: function () { var _a, _b; return (_a = partner.onClickCpfCnpj) === null || _a === void 0 ? void 0 : _a.call(partner, (_b = (partner.cnpj || partner.cpf)) !== null && _b !== void 0 ? _b : ''); } }),
|
|
18
18
|
React.createElement(PartnerField, { name: "Protestos", value: partner === null || partner === void 0 ? void 0 : partner.protestos }),
|
|
@@ -35,8 +35,8 @@ var AddProcessoJuridicoField = function (_a) {
|
|
|
35
35
|
var value = _a.value, props = __rest(_a, ["value"]);
|
|
36
36
|
return (React.createElement(AddItem, __assign({}, props, { value: value || 'Não Informado' })));
|
|
37
37
|
};
|
|
38
|
-
var ProcessoJuridicoWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n @media
|
|
39
|
-
var ConsultarProcessoBtn = styled(Button)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n @media
|
|
38
|
+
var ProcessoJuridicoWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n @media (min-width: 1000px) {\n flex-direction: row;\n }\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n @media (min-width: 1000px) {\n flex-direction: row;\n }\n"])));
|
|
39
|
+
var ConsultarProcessoBtn = styled(Button)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n @media (min-width: 1000px) {\n width: 100%;\n max-width: 150px;\n height: max-content;\n }\n"], ["\n @media (min-width: 1000px) {\n width: 100%;\n max-width: 150px;\n height: max-content;\n }\n"])));
|
|
40
40
|
var ResultWrapper = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
|
|
41
41
|
var ProcessoJuridicoItem = memo(function (_a) {
|
|
42
42
|
var processo = _a.processo, children = _a.children;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
-
return cooked;
|
|
4
|
-
};
|
|
5
1
|
var __assign = (this && this.__assign) || function () {
|
|
6
2
|
__assign = Object.assign || function(t) {
|
|
7
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -29,11 +25,10 @@ import Header from '../interface/header';
|
|
|
29
25
|
import { Result } from '../interface/result';
|
|
30
26
|
import StatusMessage from '../interface/statusMessage';
|
|
31
27
|
import useToggle from '../../hooks/useToggle';
|
|
32
|
-
import styled from 'styled-components';
|
|
33
28
|
import BtnWrapper from '../../assets/btn/btnWrapper';
|
|
34
29
|
import ChevronUp from '../../assets/btn/chevronUp';
|
|
35
30
|
import ChevronDown from '../../assets/btn/chevronDown';
|
|
36
|
-
|
|
31
|
+
import Content from '../common/content';
|
|
37
32
|
var ProtestosCategory = function (_a) {
|
|
38
33
|
var registros = _a.registros, title = _a.title, subtitle = _a.subtitle, children = _a.children, rest = __rest(_a, ["registros", "title", "subtitle", "children"]);
|
|
39
34
|
var _b = useToggle(), isOpen = _b[0], toggleOpen = _b[1];
|
|
@@ -49,4 +44,3 @@ var ProtestosCategory = function (_a) {
|
|
|
49
44
|
React.createElement(Result, null, children))));
|
|
50
45
|
};
|
|
51
46
|
export default ProtestosCategory;
|
|
52
|
-
var templateObject_1;
|
|
@@ -223,7 +223,7 @@ var Section = function (_a) {
|
|
|
223
223
|
renderedChildren && defaultHeaderActions) }))),
|
|
224
224
|
React.createElement(ShowRenderedChildren, { isOpen: isOpen }, renderedChildren)));
|
|
225
225
|
};
|
|
226
|
-
var ShowRenderedChildren = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
|
|
226
|
+
var ShowRenderedChildren = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: ", ";\n\n @media print {\n display: block;\n }\n"], ["\n display: ", ";\n\n @media print {\n display: block;\n }\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
|
|
227
227
|
export var headerStatus = (_a = {},
|
|
228
228
|
_a[RequestStatus.Loading] = 'external-source loading',
|
|
229
229
|
_a[RequestStatus.Success] = 'success',
|
|
@@ -16,7 +16,7 @@ import Dominios from './components/dominios/dominios';
|
|
|
16
16
|
import Liminar from './components/liminar/liminar';
|
|
17
17
|
import ConsultaSimplesSection from './components/consultaSimplesSection/consultaSimplesSection';
|
|
18
18
|
Chart.register.apply(Chart, registerables);
|
|
19
|
-
var Wrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: 20px;\n"], ["\n display: flex;\n flex-direction: column;\n gap: 20px;\n"])));
|
|
19
|
+
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 font-family: 'Open Sans Condensed';\n display: flex;\n flex-direction: column;\n gap: 20px;\n"])));
|
|
20
20
|
var ConsultaSimples = function (_a) {
|
|
21
21
|
var _documento = _a.documento, onClickConsultarProcessoJuridico = _a.onClickConsultarProcessoJuridico, onClickQSA = _a.onClickQSA, apiKey = _a.apiKey, onClose = _a.onClose, hasCredits = _a.hasCredits;
|
|
22
22
|
var documento = _documento.replace(/\D+/g, '');
|