@credithub/harlan-components 1.20.5 → 1.20.7
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 +144 -153
- package/lib/esm/components/chart/components/MixedChart.js +1 -1
- package/lib/esm/components/chart/quantityResult.js +2 -3
- package/lib/esm/components/consultaSimplesSection/consultaSimplesSection.js +1 -8
- package/lib/esm/components/dossie/dossie.js +1 -1
- package/lib/esm/components/interface/globalStyle.js +1 -1
- package/lib/esm/components/interface/header.js +2 -2
- package/lib/esm/components/interface/responsiveGrid.js +1 -4
- package/lib/esm/components/interface/section.js +2 -2
- package/lib/esm/consultaSimples.js +1 -1
- package/package.json +1 -1
package/lib/cjs/index.js
CHANGED
|
@@ -1480,7 +1480,7 @@ var theme = {
|
|
|
1480
1480
|
}
|
|
1481
1481
|
};
|
|
1482
1482
|
|
|
1483
|
-
var __makeTemplateObject$
|
|
1483
|
+
var __makeTemplateObject$w = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
1484
1484
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
1485
1485
|
return cooked;
|
|
1486
1486
|
};
|
|
@@ -1506,8 +1506,8 @@ var __rest$f = (undefined && undefined.__rest) || function (s, e) {
|
|
|
1506
1506
|
}
|
|
1507
1507
|
return t;
|
|
1508
1508
|
};
|
|
1509
|
-
var GreyBar = styled.div(templateObject_1$
|
|
1510
|
-
var BlueBar = styled(GreyBar)(templateObject_2$g || (templateObject_2$g = __makeTemplateObject$
|
|
1509
|
+
var GreyBar = styled.div(templateObject_1$w || (templateObject_1$w = __makeTemplateObject$w(["\n width: 330px;\n height: 10px;\n background-color: ", ";\n border-radius: 10px;\n"], ["\n width: 330px;\n height: 10px;\n background-color: ", ";\n border-radius: 10px;\n"])), theme.colors.cinzaClaro);
|
|
1510
|
+
var BlueBar = styled(GreyBar)(templateObject_2$g || (templateObject_2$g = __makeTemplateObject$w(["\n display: ", ";\n width: ", ";\n background-color: ", ";\n"], ["\n display: ", ";\n width: ", ";\n background-color: ", ";\n"])), function (props) { return (props.percentage ? 'block' : 'none'); }, function (_a) {
|
|
1511
1511
|
var percentage = _a.percentage;
|
|
1512
1512
|
return percentage && percentage + '%';
|
|
1513
1513
|
}, theme.colors.azulCredithub);
|
|
@@ -1516,9 +1516,9 @@ var LoadingBar = function (_a) {
|
|
|
1516
1516
|
return (React.createElement(GreyBar, __assign$p({}, props),
|
|
1517
1517
|
React.createElement(BlueBar, { percentage: percentage })));
|
|
1518
1518
|
};
|
|
1519
|
-
var templateObject_1$
|
|
1519
|
+
var templateObject_1$w, templateObject_2$g;
|
|
1520
1520
|
|
|
1521
|
-
var __makeTemplateObject$
|
|
1521
|
+
var __makeTemplateObject$v = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
1522
1522
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
1523
1523
|
return cooked;
|
|
1524
1524
|
};
|
|
@@ -1544,17 +1544,17 @@ var __rest$e = (undefined && undefined.__rest) || function (s, e) {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
return t;
|
|
1546
1546
|
};
|
|
1547
|
-
var Title$3 = styled.div(templateObject_1$
|
|
1548
|
-
var Subtitle = styled.span(templateObject_2$f || (templateObject_2$f = __makeTemplateObject$
|
|
1549
|
-
var Description = styled.div(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject$
|
|
1547
|
+
var Title$3 = styled.div(templateObject_1$v || (templateObject_1$v = __makeTemplateObject$v(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n"])), theme.typography.headline24.fontSize, theme.typography.headline24.fontWeight, theme.typography.headline24.lineHeight, theme.colors.azulCredithub);
|
|
1548
|
+
var Subtitle = styled.span(templateObject_2$f || (templateObject_2$f = __makeTemplateObject$v(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n line-height: ", ";\n"], ["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n line-height: ", ";\n"])), theme.typography.body18.fontSize, theme.typography.body18.fontStyle, theme.typography.body18.fontWeight, theme.typography.body18.lineHeight);
|
|
1549
|
+
var Description = styled.div(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject$v(["\n display: flex;\n gap: 10px;\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n"], ["\n display: flex;\n gap: 10px;\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n"])), theme.typography.label14.fontStyle, theme.typography.label14.fontWeight, theme.typography.label14.fontSize, theme.typography.label14.lineHeight, theme.typography.label14.letterSpacing);
|
|
1550
1550
|
var HeaderUI = styled(function (_a) {
|
|
1551
1551
|
var children = _a.children, props = __rest$e(_a, ["children"]);
|
|
1552
1552
|
return (React.createElement("header", __assign$o({}, props), children));
|
|
1553
|
-
})(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject$
|
|
1554
|
-
var HeaderContainer = styled.div(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject$
|
|
1555
|
-
var ActionsList = styled.div(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject$
|
|
1556
|
-
var IconWrapper$1 = styled.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject$
|
|
1557
|
-
var TextWrapper = styled.div(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject$
|
|
1553
|
+
})(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject$v(["\n background: #ffffff !important;\n box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.15);\n border-radius: 30px;\n padding: 30px 20px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n ", " {\n color: ", ";\n }\n"], ["\n background: #ffffff !important;\n box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.15);\n border-radius: 30px;\n padding: 30px 20px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n ", " {\n color: ", ";\n }\n"])), Title$3, function (props) { return props.color; });
|
|
1554
|
+
var HeaderContainer = styled.div(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject$v(["\n display: flex;\n gap: 20px;\n"], ["\n display: flex;\n gap: 20px;\n"])));
|
|
1555
|
+
var ActionsList = styled.div(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject$v(["\n display: flex;\n flex-direction: row;\n gap: 10px;\n"], ["\n display: flex;\n flex-direction: row;\n gap: 10px;\n"])));
|
|
1556
|
+
var IconWrapper$1 = styled.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject$v(["\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$v(["\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 @media print {\n flex-direction: row;\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 @media print {\n flex-direction: row;\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);
|
|
@@ -1583,7 +1583,7 @@ var getVariantColor = function (type) {
|
|
|
1583
1583
|
};
|
|
1584
1584
|
return options[type || 'default'];
|
|
1585
1585
|
};
|
|
1586
|
-
var templateObject_1$
|
|
1586
|
+
var templateObject_1$v, templateObject_2$f, templateObject_3$6, templateObject_4$5, templateObject_5$4, templateObject_6$3, templateObject_7$1, templateObject_8$1;
|
|
1587
1587
|
|
|
1588
1588
|
var __assign$n = (undefined && undefined.__assign) || function () {
|
|
1589
1589
|
__assign$n = Object.assign || function(t) {
|
|
@@ -1669,19 +1669,19 @@ function CloseIcon(_a) {
|
|
|
1669
1669
|
React.createElement("path", { fill: fill, d: "M4.99 3.99a1 1 0 00-.697 1.717L10.586 12l-6.293 6.293a1 1 0 101.414 1.414L12 13.414l6.293 6.293a1 1 0 101.414-1.414L13.414 12l6.293-6.293a1 1 0 00-.727-1.717 1 1 0 00-.687.303L12 10.586 5.707 4.293a1 1 0 00-.717-.303z" })));
|
|
1670
1670
|
}
|
|
1671
1671
|
|
|
1672
|
-
var __makeTemplateObject$
|
|
1672
|
+
var __makeTemplateObject$u = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
1673
1673
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
1674
1674
|
return cooked;
|
|
1675
1675
|
};
|
|
1676
|
-
var BtnWrapper$1 = styled.div(templateObject_1$
|
|
1677
|
-
var templateObject_1$
|
|
1676
|
+
var BtnWrapper$1 = styled.div(templateObject_1$u || (templateObject_1$u = __makeTemplateObject$u(["\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 @media print {\n display: none;\n }\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\n @media print {\n display: none;\n }\n"])), theme.colors.cinza85);
|
|
1677
|
+
var templateObject_1$u;
|
|
1678
1678
|
|
|
1679
|
-
var __makeTemplateObject$
|
|
1679
|
+
var __makeTemplateObject$t = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
1680
1680
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
1681
1681
|
return cooked;
|
|
1682
1682
|
};
|
|
1683
|
-
var SectionContaner = styled.section(templateObject_1$
|
|
1684
|
-
var ResultContainer = styled.div(templateObject_2$e || (templateObject_2$e = __makeTemplateObject$
|
|
1683
|
+
var SectionContaner = styled.section(templateObject_1$t || (templateObject_1$t = __makeTemplateObject$t(["\n @media screen {\n background-color: rgb(239, 239, 239);\n }\n"], ["\n @media screen {\n background-color: rgb(239, 239, 239);\n }\n"])));
|
|
1684
|
+
var ResultContainer = styled.div(templateObject_2$e || (templateObject_2$e = __makeTemplateObject$t(["\n display: ", ";\n position: relative;\n margin-top: 20px;\n flex-direction: column;\n row-gap: 20px;\n @media screen {\n background-color: #efefef;\n }\n"], ["\n display: ", ";\n position: relative;\n margin-top: 20px;\n flex-direction: column;\n row-gap: 20px;\n @media screen {\n background-color: #efefef;\n }\n"])), function (props) { return (props.hide ? 'none' : 'flex'); });
|
|
1685
1685
|
var Section$1 = function (_a) {
|
|
1686
1686
|
var title = _a.title, subtitle = _a.subtitle, description = _a.description, _b = _a.minimized, minimized = _b === void 0 ? false : _b, onClose = _a.onClose, variant = _a.variant, loadingProps = _a.loadingProps, icon = _a.icon, actions = _a.actions, children = _a.children, className = _a.className, contentClassName = _a.contentClassName;
|
|
1687
1687
|
var _c = useToggle(!minimized), isOpen = _c[0], toggleOpen = _c[1];
|
|
@@ -1695,7 +1695,7 @@ var Section$1 = function (_a) {
|
|
|
1695
1695
|
actions) }),
|
|
1696
1696
|
React.createElement(ResultContainer, { className: sectionContentClass, hide: !isOpen }, children)));
|
|
1697
1697
|
};
|
|
1698
|
-
var templateObject_1$
|
|
1698
|
+
var templateObject_1$t, templateObject_2$e;
|
|
1699
1699
|
|
|
1700
1700
|
function Loading() {
|
|
1701
1701
|
return (React.createElement(React.Fragment, null,
|
|
@@ -1705,7 +1705,7 @@ function Loading() {
|
|
|
1705
1705
|
React.createElement("span", null, "."))));
|
|
1706
1706
|
}
|
|
1707
1707
|
|
|
1708
|
-
var __makeTemplateObject$
|
|
1708
|
+
var __makeTemplateObject$s = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
1709
1709
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
1710
1710
|
return cooked;
|
|
1711
1711
|
};
|
|
@@ -1731,8 +1731,8 @@ var __rest$a = (undefined && undefined.__rest) || function (s, e) {
|
|
|
1731
1731
|
}
|
|
1732
1732
|
return t;
|
|
1733
1733
|
};
|
|
1734
|
-
var FieldName = styled.div(templateObject_1$
|
|
1735
|
-
var FieldValue = styled.div(templateObject_2$d || (templateObject_2$d = __makeTemplateObject$
|
|
1734
|
+
var FieldName = styled.div(templateObject_1$s || (templateObject_1$s = __makeTemplateObject$s(["\n /* Body 12 */\n font-family: 'Open Sans Condensed';\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n /* Cinza Escuro */\n color: ", ";\n"], ["\n /* Body 12 */\n font-family: 'Open Sans Condensed';\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n /* Cinza Escuro */\n color: ", ";\n"])), theme.typography.body12.fontStyle, theme.typography.body12.fontWeight, theme.typography.body12.fontSize, theme.typography.body12.lineHeight, theme.colors.cinzaEscuro);
|
|
1735
|
+
var FieldValue = styled.div(templateObject_2$d || (templateObject_2$d = __makeTemplateObject$s(["\n /* Headline 16 */\n font-family: 'Open Sans Condensed';\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n /* or 225% */\n\n /* Cinza Escuro */\n color: ", ";\n"], ["\n /* Headline 16 */\n font-family: 'Open Sans Condensed';\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n /* or 225% */\n\n /* Cinza Escuro */\n color: ", ";\n"])), theme.typography.headline16.fontStyle, theme.typography.headline16.fontWeight, theme.typography.headline16.fontSize, theme.typography.headline16.lineHeight, theme.colors.cinzaEscuro);
|
|
1736
1736
|
function AddItemField(_a) {
|
|
1737
1737
|
var name = _a.name, value = _a.value, children = _a.children, className = _a.className, valueClassName = _a.valueClassName, nameClassName = _a.nameClassName, styleName = _a.styleName, _b = _a.defaultValue, defaultValue = _b === void 0 ? '----' : _b, props = __rest$a(_a, ["name", "value", "children", "className", "valueClassName", "nameClassName", "styleName", "defaultValue"]);
|
|
1738
1738
|
var fieldClassName = cx(className);
|
|
@@ -1743,24 +1743,21 @@ function AddItemField(_a) {
|
|
|
1743
1743
|
React.createElement(FieldValue, { className: valueClass }, value || defaultValue),
|
|
1744
1744
|
children));
|
|
1745
1745
|
}
|
|
1746
|
-
var templateObject_1$
|
|
1746
|
+
var templateObject_1$s, templateObject_2$d;
|
|
1747
1747
|
|
|
1748
|
-
var __makeTemplateObject$
|
|
1748
|
+
var __makeTemplateObject$r = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
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$
|
|
1753
|
-
|
|
1754
|
-
"@media print {\n grid-template-columns: ".concat(props.print || 'auto', ";\n }");
|
|
1755
|
-
});
|
|
1756
|
-
var templateObject_1$s;
|
|
1752
|
+
var ResponsiveGrid = styled.div(templateObject_1$r || (templateObject_1$r = __makeTemplateObject$r(["\n display: grid;\n ", ";\n\n @media (max-width: 767px) {\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 @media print {\n grid-template-columns: ", ";\n }\n"], ["\n display: grid;\n ", ";\n\n @media (max-width: 767px) {\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 @media print {\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'; }, function (props) { return props.desktop || 'auto'; });
|
|
1753
|
+
var templateObject_1$r;
|
|
1757
1754
|
|
|
1758
|
-
var __makeTemplateObject$
|
|
1755
|
+
var __makeTemplateObject$q = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
1759
1756
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
1760
1757
|
return cooked;
|
|
1761
1758
|
};
|
|
1762
|
-
var ResultContent = styled(ResponsiveGrid)(templateObject_1$
|
|
1763
|
-
var Result = styled.div(templateObject_2$c || (templateObject_2$c = __makeTemplateObject$
|
|
1759
|
+
var ResultContent = styled(ResponsiveGrid)(templateObject_1$q || (templateObject_1$q = __makeTemplateObject$q(["\n padding: 18px 59px;\n box-sizing: border-box;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 8px;\n\n > * {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n }\n"], ["\n padding: 18px 59px;\n box-sizing: border-box;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 8px;\n\n > * {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n }\n"])));
|
|
1760
|
+
var Result = styled.div(templateObject_2$c || (templateObject_2$c = __makeTemplateObject$q(["\n display: ", ";\n flex-direction: column;\n padding: 37px 20px;\n\n ", " {\n :nth-child(odd) {\n background: ", ";\n border-radius: 60px;\n }\n }\n"], ["\n display: ", ";\n flex-direction: column;\n padding: 37px 20px;\n\n ", " {\n :nth-child(odd) {\n background: ", ";\n border-radius: 60px;\n }\n }\n"])), function (props) {
|
|
1764
1761
|
var _a;
|
|
1765
1762
|
var haveChildren = Array.isArray(props.children)
|
|
1766
1763
|
? (_a = props.children) === null || _a === void 0 ? void 0 : _a.length
|
|
@@ -1770,7 +1767,7 @@ var Result = styled.div(templateObject_2$c || (templateObject_2$c = __makeTempla
|
|
|
1770
1767
|
var _b = _a.resultContentStriped, resultContentStriped = _b === void 0 ? true : _b;
|
|
1771
1768
|
return resultContentStriped ? '#FFFFFF' : 'transparent';
|
|
1772
1769
|
});
|
|
1773
|
-
var templateObject_1$
|
|
1770
|
+
var templateObject_1$q, templateObject_2$c;
|
|
1774
1771
|
|
|
1775
1772
|
var bundle = {exports: {}};
|
|
1776
1773
|
|
|
@@ -13126,7 +13123,7 @@ var bundle = {exports: {}};
|
|
|
13126
13123
|
|
|
13127
13124
|
var bundleExports = bundle.exports;
|
|
13128
13125
|
|
|
13129
|
-
var __makeTemplateObject$
|
|
13126
|
+
var __makeTemplateObject$p = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13130
13127
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13131
13128
|
return cooked;
|
|
13132
13129
|
};
|
|
@@ -13137,7 +13134,7 @@ var statusColors = {
|
|
|
13137
13134
|
found: theme.colors.azulClaro,
|
|
13138
13135
|
warning: theme.colors.alerta
|
|
13139
13136
|
};
|
|
13140
|
-
var StatusMessage = styled.span(templateObject_1$
|
|
13137
|
+
var StatusMessage = styled.span(templateObject_1$p || (templateObject_1$p = __makeTemplateObject$p(["\n padding: 7px 19px;\n gap: 10px;\n background: ", ";\n text-transform: ", ";\n border-radius: 50px;\n ", "\n"], ["\n padding: 7px 19px;\n gap: 10px;\n background: ", ";\n text-transform: ", ";\n border-radius: 50px;\n ", "\n"])), function (_a) {
|
|
13141
13138
|
var _b = _a.type, type = _b === void 0 ? 'default' : _b;
|
|
13142
13139
|
return statusColors[type];
|
|
13143
13140
|
}, function (_a) {
|
|
@@ -13147,9 +13144,9 @@ var StatusMessage = styled.span(templateObject_1$q || (templateObject_1$q = __ma
|
|
|
13147
13144
|
var type = _a.type;
|
|
13148
13145
|
return type == 'error' && 'color: rgba(255, 255, 255, 1);';
|
|
13149
13146
|
});
|
|
13150
|
-
var templateObject_1$
|
|
13147
|
+
var templateObject_1$p;
|
|
13151
13148
|
|
|
13152
|
-
var __makeTemplateObject$
|
|
13149
|
+
var __makeTemplateObject$o = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13153
13150
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13154
13151
|
return cooked;
|
|
13155
13152
|
};
|
|
@@ -13362,14 +13359,14 @@ var Section = function (_a) {
|
|
|
13362
13359
|
renderedChildren && defaultHeaderActions) }))),
|
|
13363
13360
|
React.createElement(ShowRenderedChildren, { isOpen: isOpen }, renderedChildren)));
|
|
13364
13361
|
};
|
|
13365
|
-
var ShowRenderedChildren = styled.div(templateObject_1$
|
|
13362
|
+
var ShowRenderedChildren = styled.div(templateObject_1$o || (templateObject_1$o = __makeTemplateObject$o(["\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'); });
|
|
13366
13363
|
var headerStatus = (_a = {},
|
|
13367
13364
|
_a[exports.RequestStatus.Loading] = 'external-source loading',
|
|
13368
13365
|
_a[exports.RequestStatus.Success] = 'success',
|
|
13369
13366
|
_a[exports.RequestStatus.Error] = 'external-source error',
|
|
13370
13367
|
_a[exports.RequestStatus.Empty] = 'external-source error',
|
|
13371
13368
|
_a);
|
|
13372
|
-
var templateObject_1$
|
|
13369
|
+
var templateObject_1$o;
|
|
13373
13370
|
|
|
13374
13371
|
var XPathUtils = /** @class */ (function () {
|
|
13375
13372
|
function XPathUtils() {
|
|
@@ -13430,12 +13427,12 @@ var ThumbUp = function (_a) {
|
|
|
13430
13427
|
React.createElement("path", { d: "M12 14H4.66671V5.33333L9.33337 0.666664L10.1667 1.5C10.2445 1.57778 10.3084 1.68333 10.3584 1.81666C10.4084 1.95 10.4334 2.07778 10.4334 2.2V2.43333L9.70004 5.33333H14C14.3556 5.33333 14.6667 5.46666 14.9334 5.73333C15.2 6 15.3334 6.31111 15.3334 6.66666V8C15.3334 8.07778 15.3223 8.16111 15.3 8.25C15.2778 8.33889 15.2556 8.42222 15.2334 8.5L13.2334 13.2C13.1334 13.4222 12.9667 13.6111 12.7334 13.7667C12.5 13.9222 12.2556 14 12 14ZM6.00004 12.6667H12L14 8V6.66666H8.00004L8.90004 3L6.00004 5.9V12.6667ZM4.66671 5.33333V6.66666H2.66671V12.6667H4.66671V14H1.33337V5.33333H4.66671Z", fill: fill }))));
|
|
13431
13428
|
};
|
|
13432
13429
|
|
|
13433
|
-
var __makeTemplateObject$
|
|
13430
|
+
var __makeTemplateObject$n = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13434
13431
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13435
13432
|
return cooked;
|
|
13436
13433
|
};
|
|
13437
|
-
var ButtonContainer = styled.div(templateObject_1$
|
|
13438
|
-
var Button$2 = styled.button(templateObject_2$b || (templateObject_2$b = __makeTemplateObject$
|
|
13434
|
+
var ButtonContainer = styled.div(templateObject_1$n || (templateObject_1$n = __makeTemplateObject$n(["\n display: inline-flex;\n background-color: ", ";\n border-radius: 10px;\n overflow: hidden;\n position: relative;\n font-size: 10px;\n width: fit-content;\n"], ["\n display: inline-flex;\n background-color: ", ";\n border-radius: 10px;\n overflow: hidden;\n position: relative;\n font-size: 10px;\n width: fit-content;\n"])), theme.colors.cinzaClaro);
|
|
13435
|
+
var Button$2 = styled.button(templateObject_2$b || (templateObject_2$b = __makeTemplateObject$n(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px 8px;\n line-height: 8px;\n cursor: pointer !important;\n border: none;\n background-color: ", ";\n color: white;\n flex: none;\n width: 50%;\n margin: 0 auto;\n\n /* &:hover {\n background-color: ", ";\n } */\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px 8px;\n line-height: 8px;\n cursor: pointer !important;\n border: none;\n background-color: ", ";\n color: white;\n flex: none;\n width: 50%;\n margin: 0 auto;\n\n /* &:hover {\n background-color: ", ";\n } */\n"])), function (props) {
|
|
13439
13436
|
return props.isSelected
|
|
13440
13437
|
? props.action === 'like'
|
|
13441
13438
|
? '#007aff'
|
|
@@ -13448,9 +13445,9 @@ var Button$2 = styled.button(templateObject_2$b || (templateObject_2$b = __makeT
|
|
|
13448
13445
|
: '#d63447'
|
|
13449
13446
|
: '#f5f5f5';
|
|
13450
13447
|
});
|
|
13451
|
-
var IconWrapper = styled.div(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject$
|
|
13452
|
-
var Count = styled.span(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject$
|
|
13453
|
-
var Separator = styled.div(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject$
|
|
13448
|
+
var IconWrapper = styled.div(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject$n(["\n margin-right: 5px;\n"], ["\n margin-right: 5px;\n"])));
|
|
13449
|
+
var Count = styled.span(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject$n(["\n line-height: 1;\n display: flex;\n align-items: center;\n margin-right: ", ";\n"], ["\n line-height: 1;\n display: flex;\n align-items: center;\n margin-right: ", ";\n"])), function (props) { return (props.action === 'dislike' ? '5px' : '0'); });
|
|
13450
|
+
var Separator = styled.div(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject$n(["\n content: '';\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n height: calc(100% - 6px);\n width: 1px;\n background-color: ", ";\n opacity: 0.1;\n z-index: 1;\n"], ["\n content: '';\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n height: calc(100% - 6px);\n width: 1px;\n background-color: ", ";\n opacity: 0.1;\n z-index: 1;\n"])), theme.colors.cinzaEscuro);
|
|
13454
13451
|
var ThumbsButton = function (_a) {
|
|
13455
13452
|
var _b = _a.likes, likes = _b === void 0 ? 0 : _b, _c = _a.dislikes, dislikes = _c === void 0 ? 0 : _c, onClickLike = _a.onClickLike, onClickDislike = _a.onClickDislike;
|
|
13456
13453
|
return (React.createElement(ButtonContainer, null,
|
|
@@ -13464,14 +13461,14 @@ var ThumbsButton = function (_a) {
|
|
|
13464
13461
|
React.createElement(IconWrapper, { isSelected: dislikes > 0, action: "dislike" },
|
|
13465
13462
|
React.createElement(ThumbDown, { fill: dislikes > 0 ? 'white' : theme.colors.cinzaEscuro })))));
|
|
13466
13463
|
};
|
|
13467
|
-
var templateObject_1$
|
|
13464
|
+
var templateObject_1$n, templateObject_2$b, templateObject_3$5, templateObject_4$4, templateObject_5$3;
|
|
13468
13465
|
|
|
13469
13466
|
var ContactsLikeDislike = function (_a) {
|
|
13470
13467
|
var likes = _a.likes, dislikes = _a.dislikes, onClickLike = _a.onClickLike, onClickDislike = _a.onClickDislike;
|
|
13471
13468
|
return (React.createElement(ThumbsButton, { likes: likes, dislikes: dislikes, onClickLike: onClickLike, onClickDislike: onClickDislike }));
|
|
13472
13469
|
};
|
|
13473
13470
|
|
|
13474
|
-
var __makeTemplateObject$
|
|
13471
|
+
var __makeTemplateObject$m = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13475
13472
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13476
13473
|
return cooked;
|
|
13477
13474
|
};
|
|
@@ -13486,7 +13483,7 @@ var __assign$i = (undefined && undefined.__assign) || function () {
|
|
|
13486
13483
|
};
|
|
13487
13484
|
return __assign$i.apply(this, arguments);
|
|
13488
13485
|
};
|
|
13489
|
-
var ContactsLikeDislikeWrapper = styled.div(templateObject_1$
|
|
13486
|
+
var ContactsLikeDislikeWrapper = styled.div(templateObject_1$m || (templateObject_1$m = __makeTemplateObject$m(["\n margin-top: 15px;\n"], ["\n margin-top: 15px;\n"])));
|
|
13490
13487
|
var ContactLikeDislikeSection = function (props) {
|
|
13491
13488
|
var _a, _b, _c;
|
|
13492
13489
|
var _d = React.useState({
|
|
@@ -13532,7 +13529,7 @@ var ContactField = React.memo(function (contact) {
|
|
|
13532
13529
|
React.createElement(ContactsLikeDislikeWrapper, null,
|
|
13533
13530
|
React.createElement(ContactsLikeDislike, { likes: contact === null || contact === void 0 ? void 0 : contact.likes, dislikes: contact === null || contact === void 0 ? void 0 : contact.dislikes, onClickLike: contact.onClickLike, onClickDislike: contact.onClickDislike }))));
|
|
13534
13531
|
});
|
|
13535
|
-
var templateObject_1$
|
|
13532
|
+
var templateObject_1$m;
|
|
13536
13533
|
|
|
13537
13534
|
var ContatoIcon = function (_a) {
|
|
13538
13535
|
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;
|
|
@@ -13544,7 +13541,7 @@ var ContatoIcon = function (_a) {
|
|
|
13544
13541
|
React.createElement("path", { d: "M22.95 24C20.8667 24 18.8083 23.5458 16.775 22.6375C14.7417 21.7292 12.8917 20.4417 11.225 18.775C9.55833 17.1083 8.27083 15.2583 7.3625 13.225C6.45417 11.1917 6 9.13333 6 7.05C6 6.75 6.1 6.5 6.3 6.3C6.5 6.1 6.75 6 7.05 6H11.1C11.3333 6 11.5417 6.07917 11.725 6.2375C11.9083 6.39583 12.0167 6.58333 12.05 6.8L12.7 10.3C12.7333 10.5667 12.725 10.7917 12.675 10.975C12.625 11.1583 12.5333 11.3167 12.4 11.45L9.975 13.9C10.3083 14.5167 10.7042 15.1125 11.1625 15.6875C11.6208 16.2625 12.125 16.8167 12.675 17.35C13.1917 17.8667 13.7333 18.3458 14.3 18.7875C14.8667 19.2292 15.4667 19.6333 16.1 20L18.45 17.65C18.6 17.5 18.7958 17.3875 19.0375 17.3125C19.2792 17.2375 19.5167 17.2167 19.75 17.25L23.2 17.95C23.4333 18.0167 23.625 18.1375 23.775 18.3125C23.925 18.4875 24 18.6833 24 18.9V22.95C24 23.25 23.9 23.5 23.7 23.7C23.5 23.9 23.25 24 22.95 24ZM9.025 12L10.675 10.35L10.25 8H8.025C8.10833 8.68333 8.225 9.35833 8.375 10.025C8.525 10.6917 8.74167 11.35 9.025 12ZM17.975 20.95C18.625 21.2333 19.2875 21.4583 19.9625 21.625C20.6375 21.7917 21.3167 21.9 22 21.95V19.75L19.65 19.275L17.975 20.95Z", fill: "white" }))));
|
|
13545
13542
|
};
|
|
13546
13543
|
|
|
13547
|
-
var __makeTemplateObject$
|
|
13544
|
+
var __makeTemplateObject$l = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13548
13545
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13549
13546
|
return cooked;
|
|
13550
13547
|
};
|
|
@@ -13570,8 +13567,8 @@ var __rest$8 = (undefined && undefined.__rest) || function (s, e) {
|
|
|
13570
13567
|
}
|
|
13571
13568
|
return t;
|
|
13572
13569
|
};
|
|
13573
|
-
var StyledButton = styled.button(templateObject_1$
|
|
13574
|
-
var SmallContent = styled.small(templateObject_2$a || (templateObject_2$a = __makeTemplateObject$
|
|
13570
|
+
var StyledButton = styled.button(templateObject_1$l || (templateObject_1$l = __makeTemplateObject$l(["\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n background-color: ", ";\n color: ", ";\n\n padding: 8px 20px;\n border: none;\n border-radius: 60px;\n cursor: pointer;\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n transition:\n background-color 0.3s ease-in-out,\n color 0.3s ease-in-out;\n\n &:hover {\n background-color: #0056b3;\n }\n\n width: 100% !important;\n"], ["\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n background-color: ", ";\n color: ", ";\n\n padding: 8px 20px;\n border: none;\n border-radius: 60px;\n cursor: pointer;\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n transition:\n background-color 0.3s ease-in-out,\n color 0.3s ease-in-out;\n\n &:hover {\n background-color: #0056b3;\n }\n\n width: 100% !important;\n"])), theme.typography.headline14.fontStyle, theme.typography.headline14.fontWeight, theme.typography.headline14.fontSize, theme.typography.headline14.lineHeight, theme.colors.azulCredithub, theme.colors.white);
|
|
13571
|
+
var SmallContent = styled.small(templateObject_2$a || (templateObject_2$a = __makeTemplateObject$l(["\n color: #fdeb35;\n display: block;\n margin-top: 4px;\n\n @media print {\n display: none;\n }\n"], ["\n color: #fdeb35;\n display: block;\n margin-top: 4px;\n\n @media print {\n display: none;\n }\n"])));
|
|
13575
13572
|
var Button$1 = function (_a) {
|
|
13576
13573
|
var children = _a.children, className = _a.className, smallContent = _a.smallContent, props = __rest$8(_a, ["children", "className", "smallContent"]);
|
|
13577
13574
|
var buttonClassName = cx(className);
|
|
@@ -13579,9 +13576,9 @@ var Button$1 = function (_a) {
|
|
|
13579
13576
|
React.createElement("span", null, children),
|
|
13580
13577
|
smallContent && React.createElement(SmallContent, null, smallContent)));
|
|
13581
13578
|
};
|
|
13582
|
-
var templateObject_1$
|
|
13579
|
+
var templateObject_1$l, templateObject_2$a;
|
|
13583
13580
|
|
|
13584
|
-
var __makeTemplateObject$
|
|
13581
|
+
var __makeTemplateObject$k = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13585
13582
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13586
13583
|
return cooked;
|
|
13587
13584
|
};
|
|
@@ -13599,7 +13596,7 @@ var ContactType;
|
|
|
13599
13596
|
ContactType["TELEFONE"] = "Telefone";
|
|
13600
13597
|
ContactType["EMAIL"] = "Email";
|
|
13601
13598
|
})(ContactType || (ContactType = {}));
|
|
13602
|
-
var BtnWrapper = styled.div(templateObject_1$
|
|
13599
|
+
var BtnWrapper = styled.div(templateObject_1$k || (templateObject_1$k = __makeTemplateObject$k(["\n @media print {\n display: none;\n }\n"], ["\n @media print {\n display: none;\n }\n"])));
|
|
13603
13600
|
var Contacts = function (_a) {
|
|
13604
13601
|
var onClickConsultarEmail = _a.onClickConsultarEmail;
|
|
13605
13602
|
var ctx = React.useContext(Queries.Finder);
|
|
@@ -13630,13 +13627,13 @@ var Contacts = function (_a) {
|
|
|
13630
13627
|
};
|
|
13631
13628
|
} }));
|
|
13632
13629
|
};
|
|
13633
|
-
var templateObject_1$
|
|
13630
|
+
var templateObject_1$k;
|
|
13634
13631
|
|
|
13635
|
-
var __makeTemplateObject$
|
|
13632
|
+
var __makeTemplateObject$j = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13636
13633
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13637
13634
|
return cooked;
|
|
13638
13635
|
};
|
|
13639
|
-
var ButtonPartner = styled(Button$1)(templateObject_1$
|
|
13636
|
+
var ButtonPartner = styled(Button$1)(templateObject_1$j || (templateObject_1$j = __makeTemplateObject$j(["\n max-width: 100px;\n margin: 0;\n"], ["\n max-width: 100px;\n margin: 0;\n"])));
|
|
13640
13637
|
var PartnerList = React.memo(function (_a) {
|
|
13641
13638
|
var partners = _a.partners, onClickQSA = _a.onClickQSA;
|
|
13642
13639
|
return partners.map(function (partner, key) {
|
|
@@ -13653,7 +13650,7 @@ var PartnerList = React.memo(function (_a) {
|
|
|
13653
13650
|
} }, "Abrir")))));
|
|
13654
13651
|
});
|
|
13655
13652
|
});
|
|
13656
|
-
var templateObject_1$
|
|
13653
|
+
var templateObject_1$j;
|
|
13657
13654
|
|
|
13658
13655
|
function formatCpf(cpf) {
|
|
13659
13656
|
cpf = cpf.replace(/[^0-9]/g, '');
|
|
@@ -13799,12 +13796,12 @@ var Partners = function (_a) {
|
|
|
13799
13796
|
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 }));
|
|
13800
13797
|
};
|
|
13801
13798
|
|
|
13802
|
-
var __makeTemplateObject$
|
|
13799
|
+
var __makeTemplateObject$i = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13803
13800
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13804
13801
|
return cooked;
|
|
13805
13802
|
};
|
|
13806
|
-
var Content$1 = styled.div(templateObject_1$
|
|
13807
|
-
var templateObject_1$
|
|
13803
|
+
var Content$1 = styled.div(templateObject_1$i || (templateObject_1$i = __makeTemplateObject$i(["\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'); });
|
|
13804
|
+
var templateObject_1$i;
|
|
13808
13805
|
|
|
13809
13806
|
var __assign$f = (undefined && undefined.__assign) || function () {
|
|
13810
13807
|
__assign$f = Object.assign || function(t) {
|
|
@@ -13995,11 +13992,11 @@ var ProtestosImpostosIcon = function (_a) {
|
|
|
13995
13992
|
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" }))));
|
|
13996
13993
|
};
|
|
13997
13994
|
|
|
13998
|
-
var __makeTemplateObject$
|
|
13995
|
+
var __makeTemplateObject$h = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
13999
13996
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
14000
13997
|
return cooked;
|
|
14001
13998
|
};
|
|
14002
|
-
var ResultProtestos = styled.div(templateObject_1$
|
|
13999
|
+
var ResultProtestos = styled.div(templateObject_1$h || (templateObject_1$h = __makeTemplateObject$h(["\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"])));
|
|
14003
14000
|
var Protestos = function () {
|
|
14004
14001
|
var ctx = React.useContext(Queries.Protestos);
|
|
14005
14002
|
var Section = ctx.Section;
|
|
@@ -14053,7 +14050,7 @@ var Protestos = function () {
|
|
|
14053
14050
|
};
|
|
14054
14051
|
} }));
|
|
14055
14052
|
};
|
|
14056
|
-
var templateObject_1$
|
|
14053
|
+
var templateObject_1$h;
|
|
14057
14054
|
|
|
14058
14055
|
/**
|
|
14059
14056
|
* @name toDate
|
|
@@ -22106,16 +22103,16 @@ var useCardsAndProducts = function (_a) {
|
|
|
22106
22103
|
return { cards: cards, products: products };
|
|
22107
22104
|
};
|
|
22108
22105
|
|
|
22109
|
-
var __makeTemplateObject$
|
|
22106
|
+
var __makeTemplateObject$g = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
22110
22107
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
22111
22108
|
return cooked;
|
|
22112
22109
|
};
|
|
22113
|
-
var ContainerSummary$1 = styled.div(templateObject_1$
|
|
22114
|
-
var ContentSummary = styled.div(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject$
|
|
22115
|
-
var FieldSummary = styled.div(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject$
|
|
22116
|
-
var ButtonsSummary = styled.div(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject$
|
|
22117
|
-
var ButtonsWrapper = styled.div(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject$
|
|
22118
|
-
var SummaryButton = styled(Button$1)(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject$
|
|
22110
|
+
var ContainerSummary$1 = styled.div(templateObject_1$g || (templateObject_1$g = __makeTemplateObject$g(["\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"])));
|
|
22111
|
+
var ContentSummary = styled.div(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject$g(["\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"])));
|
|
22112
|
+
var FieldSummary = styled.div(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject$g(["\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'); });
|
|
22113
|
+
var ButtonsSummary = styled.div(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject$g(["\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"])));
|
|
22114
|
+
var ButtonsWrapper = styled.div(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject$g(["\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"])));
|
|
22115
|
+
var SummaryButton = styled(Button$1)(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject$g(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
|
|
22119
22116
|
var Summary = function (_a) {
|
|
22120
22117
|
var finderResponse = _a.finderResponse, rfbResponse = _a.rfbResponse, onClickPrint = _a.onClickPrint;
|
|
22121
22118
|
var _b = useCardsAndProducts({
|
|
@@ -22136,7 +22133,7 @@ var PrintButton = function (_a) {
|
|
|
22136
22133
|
return (React.createElement(ButtonsSummary, null,
|
|
22137
22134
|
React.createElement(SummaryButton, { onClick: onClickPrint }, "PDF para Impress\u00E3o")));
|
|
22138
22135
|
};
|
|
22139
|
-
var templateObject_1$
|
|
22136
|
+
var templateObject_1$g, templateObject_2$9, templateObject_3$4, templateObject_4$3, templateObject_5$2, templateObject_6$2;
|
|
22140
22137
|
|
|
22141
22138
|
var IconePessoa = function (_a) {
|
|
22142
22139
|
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;
|
|
@@ -22148,16 +22145,16 @@ var IconePessoa = function (_a) {
|
|
|
22148
22145
|
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 }))));
|
|
22149
22146
|
};
|
|
22150
22147
|
|
|
22151
|
-
var __makeTemplateObject$
|
|
22148
|
+
var __makeTemplateObject$f = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
22152
22149
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
22153
22150
|
return cooked;
|
|
22154
22151
|
};
|
|
22155
|
-
var StyledContainer = styled.div(templateObject_1$
|
|
22156
|
-
var Header = styled.div(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject$
|
|
22157
|
-
var Title$2 = styled.span(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject$
|
|
22158
|
-
var TransactionContent = styled.div(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject$
|
|
22159
|
-
var UserField = styled.span(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject$
|
|
22160
|
-
var DateField = styled.span(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject$
|
|
22152
|
+
var StyledContainer = styled.div(templateObject_1$f || (templateObject_1$f = __makeTemplateObject$f(["\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);
|
|
22153
|
+
var Header = styled.div(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject$f(["\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"])));
|
|
22154
|
+
var Title$2 = styled.span(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject$f(["\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"])));
|
|
22155
|
+
var TransactionContent = styled.div(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject$f(["\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"])));
|
|
22156
|
+
var UserField = styled.span(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject$f(["\n flex: 1;\n padding-right: 16px;\n"], ["\n flex: 1;\n padding-right: 16px;\n"])));
|
|
22157
|
+
var DateField = styled.span(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject$f(["\n flex: 1;\n text-align: right;\n"], ["\n flex: 1;\n text-align: right;\n"])));
|
|
22161
22158
|
var TransactionsTable = function (_a) {
|
|
22162
22159
|
var _b = _a.events, events = _b === void 0 ? [] : _b;
|
|
22163
22160
|
return (React.createElement(StyledContainer, null,
|
|
@@ -22173,7 +22170,7 @@ var TransactionsTable = function (_a) {
|
|
|
22173
22170
|
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' } }))));
|
|
22174
22171
|
})));
|
|
22175
22172
|
};
|
|
22176
|
-
var templateObject_1$
|
|
22173
|
+
var templateObject_1$f, templateObject_2$8, templateObject_3$3, templateObject_4$2, templateObject_5$1, templateObject_6$1;
|
|
22177
22174
|
|
|
22178
22175
|
var IconeEmpresa = function (_a) {
|
|
22179
22176
|
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;
|
|
@@ -22185,13 +22182,13 @@ var IconeEmpresa = function (_a) {
|
|
|
22185
22182
|
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 }))));
|
|
22186
22183
|
};
|
|
22187
22184
|
|
|
22188
|
-
var __makeTemplateObject$
|
|
22185
|
+
var __makeTemplateObject$e = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
22189
22186
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
22190
22187
|
return cooked;
|
|
22191
22188
|
};
|
|
22192
|
-
var LogoContainer$1 = styled.div(templateObject_1$
|
|
22193
|
-
var CompanyName$1 = styled.span(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject$
|
|
22194
|
-
var DocumentContainer$1 = styled.span(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject$
|
|
22189
|
+
var LogoContainer$1 = 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 row-gap: 20px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n row-gap: 20px;\n"])));
|
|
22190
|
+
var CompanyName$1 = styled.span(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject$e(["\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);
|
|
22191
|
+
var DocumentContainer$1 = styled.span(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject$e(["\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);
|
|
22195
22192
|
var Companylogo = function (_a) {
|
|
22196
22193
|
var name = _a.name, document = _a.document;
|
|
22197
22194
|
return (React.createElement(React.Fragment, null,
|
|
@@ -22202,19 +22199,19 @@ var Companylogo = function (_a) {
|
|
|
22202
22199
|
isDocumentoPF(document) ? 'CPF: ' : 'CNPJ: ',
|
|
22203
22200
|
document))));
|
|
22204
22201
|
};
|
|
22205
|
-
var templateObject_1$
|
|
22202
|
+
var templateObject_1$e, templateObject_2$7, templateObject_3$2;
|
|
22206
22203
|
|
|
22207
|
-
var __makeTemplateObject$
|
|
22204
|
+
var __makeTemplateObject$d = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
22208
22205
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
22209
22206
|
return cooked;
|
|
22210
22207
|
};
|
|
22211
|
-
var CarouselContainer = styled.div(templateObject_1$
|
|
22208
|
+
var CarouselContainer = styled.div(templateObject_1$d || (templateObject_1$d = __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"])));
|
|
22212
22209
|
var Carrousel = function (_a) {
|
|
22213
22210
|
var name = _a.name, document = _a.document;
|
|
22214
22211
|
return (React.createElement(CarouselContainer, null,
|
|
22215
22212
|
React.createElement(Companylogo, { name: name, document: document })));
|
|
22216
22213
|
};
|
|
22217
|
-
var templateObject_1$
|
|
22214
|
+
var templateObject_1$d;
|
|
22218
22215
|
|
|
22219
22216
|
var propTypes = {exports: {}};
|
|
22220
22217
|
|
|
@@ -28123,7 +28120,7 @@ function ChevronRight(_a) {
|
|
|
28123
28120
|
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" })));
|
|
28124
28121
|
}
|
|
28125
28122
|
|
|
28126
|
-
var __makeTemplateObject$
|
|
28123
|
+
var __makeTemplateObject$c = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
28127
28124
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
28128
28125
|
return cooked;
|
|
28129
28126
|
};
|
|
@@ -28138,16 +28135,16 @@ var __assign$a = (undefined && undefined.__assign) || function () {
|
|
|
28138
28135
|
};
|
|
28139
28136
|
return __assign$a.apply(this, arguments);
|
|
28140
28137
|
};
|
|
28141
|
-
var ContainerSummary = styled.div(templateObject_1$
|
|
28142
|
-
var ReclameAquiStatsContainer = styled.div(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject$
|
|
28143
|
-
var LogoContainer = styled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject$
|
|
28144
|
-
var StyledImage = styled.img(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject$
|
|
28145
|
-
var StatsImage = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject$
|
|
28146
|
-
var CompanyName = styled.span(templateObject_6 || (templateObject_6 = __makeTemplateObject$
|
|
28147
|
-
var DocumentContainer = styled.span(templateObject_7 || (templateObject_7 = __makeTemplateObject$
|
|
28148
|
-
var DocumentPrefix = styled.span(templateObject_8 || (templateObject_8 = __makeTemplateObject$
|
|
28149
|
-
var ProblemsSolved = styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject$
|
|
28150
|
-
var CarrouselBtn = styled.span(templateObject_10 || (templateObject_10 = __makeTemplateObject$
|
|
28138
|
+
var ContainerSummary = styled.div(templateObject_1$c || (templateObject_1$c = __makeTemplateObject$c(["\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"])));
|
|
28139
|
+
var ReclameAquiStatsContainer = styled.div(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject$c(["\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"])));
|
|
28140
|
+
var LogoContainer = styled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject$c(["\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"])));
|
|
28141
|
+
var StyledImage = styled.img(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject$c(["\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"])));
|
|
28142
|
+
var StatsImage = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject$c(["\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; });
|
|
28143
|
+
var CompanyName = styled.span(templateObject_6 || (templateObject_6 = __makeTemplateObject$c(["\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);
|
|
28144
|
+
var DocumentContainer = styled.span(templateObject_7 || (templateObject_7 = __makeTemplateObject$c(["\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);
|
|
28145
|
+
var DocumentPrefix = styled.span(templateObject_8 || (templateObject_8 = __makeTemplateObject$c(["\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
|
|
28146
|
+
var ProblemsSolved = styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject$c(["\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"])));
|
|
28147
|
+
var CarrouselBtn = styled.span(templateObject_10 || (templateObject_10 = __makeTemplateObject$c(["\n cursor: pointer;\n height: fit-content;\n"], ["\n cursor: pointer;\n height: fit-content;\n"])));
|
|
28151
28148
|
var statusMap = {
|
|
28152
28149
|
GREAT: 'Ótimo',
|
|
28153
28150
|
GOOD: 'Bom',
|
|
@@ -28212,14 +28209,14 @@ var ReclameAquiCarousel = React.memo(function (_a) {
|
|
|
28212
28209
|
};
|
|
28213
28210
|
}).map(function (empresa, index) { return (React.createElement(ReclameAquiStats, __assign$a({ key: index }, empresa))); }))));
|
|
28214
28211
|
});
|
|
28215
|
-
var templateObject_1$
|
|
28212
|
+
var templateObject_1$c, templateObject_2$6, templateObject_3$1, templateObject_4$1, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
|
|
28216
28213
|
|
|
28217
|
-
var __makeTemplateObject$
|
|
28214
|
+
var __makeTemplateObject$b = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
28218
28215
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
28219
28216
|
return cooked;
|
|
28220
28217
|
};
|
|
28221
|
-
var DossieContent = styled.div(templateObject_1$
|
|
28222
|
-
var DossieContainer = styled.div(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject$
|
|
28218
|
+
var DossieContent = styled.div(templateObject_1$b || (templateObject_1$b = __makeTemplateObject$b(["\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 screen and (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 screen and (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n"])));
|
|
28219
|
+
var DossieContainer = styled.div(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject$b(["\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"])));
|
|
28223
28220
|
var Dossie = function (_a) {
|
|
28224
28221
|
var documento = _a.documento, onClickPrint = _a.onClickPrint;
|
|
28225
28222
|
var finderCtx = React.useContext(Queries.Finder);
|
|
@@ -28244,14 +28241,14 @@ var Dossie = function (_a) {
|
|
|
28244
28241
|
};
|
|
28245
28242
|
return (React.createElement(Section, { ctx: finderCtx, hideHeader: true, minimized: false, isError: function (e) { return response(e); }, onSuccess: response }));
|
|
28246
28243
|
};
|
|
28247
|
-
var templateObject_1$
|
|
28244
|
+
var templateObject_1$b, templateObject_2$5;
|
|
28248
28245
|
|
|
28249
|
-
var __makeTemplateObject$
|
|
28246
|
+
var __makeTemplateObject$a = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
28250
28247
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
28251
28248
|
return cooked;
|
|
28252
28249
|
};
|
|
28253
|
-
var EnvolvidosListWrapper = styled(ResultContent)(templateObject_1$
|
|
28254
|
-
var EnvolvidosUltimaMovimentacaoTitle = styled.div(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject$
|
|
28250
|
+
var EnvolvidosListWrapper = styled(ResultContent)(templateObject_1$a || (templateObject_1$a = __makeTemplateObject$a(["\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);
|
|
28251
|
+
var EnvolvidosUltimaMovimentacaoTitle = styled.div(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject$a(["\n font-weight: ", ";\n"], ["\n font-weight: ", ";\n"])), theme.typography.headline16.fontWeight);
|
|
28255
28252
|
var EnvolvidosList = function (_a) {
|
|
28256
28253
|
var _b = _a.envolvidos, envolvidos = _b === void 0 ? [] : _b;
|
|
28257
28254
|
if (!envolvidos.length)
|
|
@@ -28262,9 +28259,9 @@ var EnvolvidosList = function (_a) {
|
|
|
28262
28259
|
React.createElement(AddItemField, { name: "Nome", value: envolvido.nome }),
|
|
28263
28260
|
React.createElement(AddItemField, { name: "Envolvimento", value: envolvido.envolvido_tipo || 'Não Informado' }))); }))));
|
|
28264
28261
|
};
|
|
28265
|
-
var templateObject_1$
|
|
28262
|
+
var templateObject_1$a, templateObject_2$4;
|
|
28266
28263
|
|
|
28267
|
-
var __makeTemplateObject$
|
|
28264
|
+
var __makeTemplateObject$9 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
28268
28265
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
28269
28266
|
return cooked;
|
|
28270
28267
|
};
|
|
@@ -28294,9 +28291,9 @@ var AddProcessoJuridicoField = function (_a) {
|
|
|
28294
28291
|
var value = _a.value, props = __rest$4(_a, ["value"]);
|
|
28295
28292
|
return (React.createElement(AddItemField, __assign$9({}, props, { value: value || 'Não Informado' })));
|
|
28296
28293
|
};
|
|
28297
|
-
var ProcessoJuridicoWrapper = styled.div(templateObject_1$
|
|
28298
|
-
var ConsultarProcessoBtn = styled(Button$1)(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject$
|
|
28299
|
-
var ResultWrapper = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject$
|
|
28294
|
+
var ProcessoJuridicoWrapper = styled.div(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject$9(["\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"])));
|
|
28295
|
+
var ConsultarProcessoBtn = styled(Button$1)(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject$9(["\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"])));
|
|
28296
|
+
var ResultWrapper = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject$9(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
|
|
28300
28297
|
var ProcessoJuridicoItem = React.memo(function (_a) {
|
|
28301
28298
|
var processo = _a.processo, children = _a.children;
|
|
28302
28299
|
return (React.createElement(ProcessoJuridicoWrapper, null,
|
|
@@ -28310,7 +28307,7 @@ var ProcessoJuridicoItem = React.memo(function (_a) {
|
|
|
28310
28307
|
React.createElement(EnvolvidosList, { envolvidos: processo === null || processo === void 0 ? void 0 : processo.envolvidos_ultima_movimentacao })),
|
|
28311
28308
|
children));
|
|
28312
28309
|
});
|
|
28313
|
-
var ResultList = styled(Result)(templateObject_4 || (templateObject_4 = __makeTemplateObject$
|
|
28310
|
+
var ResultList = styled(Result)(templateObject_4 || (templateObject_4 = __makeTemplateObject$9(["\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);
|
|
28314
28311
|
var ProcessosJuridicosList = function (_a) {
|
|
28315
28312
|
var processos = _a.processos, onClickConsultarProcessoJuridico = _a.onClickConsultarProcessoJuridico;
|
|
28316
28313
|
return (React.createElement(ResultList, { resultContentStriped: false }, processos.map(function (processo, i) { return (React.createElement("div", { key: i },
|
|
@@ -28319,7 +28316,7 @@ var ProcessosJuridicosList = function (_a) {
|
|
|
28319
28316
|
? function () { return onClickConsultarProcessoJuridico(processo.numero_novo); }
|
|
28320
28317
|
: undefined, smallContent: "R$ 1" }, "Consultar Processo")))); })));
|
|
28321
28318
|
};
|
|
28322
|
-
var templateObject_1$
|
|
28319
|
+
var templateObject_1$9, templateObject_2$3, templateObject_3, templateObject_4;
|
|
28323
28320
|
|
|
28324
28321
|
var ProcessosJuridicosIcon = function (_a) {
|
|
28325
28322
|
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;
|
|
@@ -47696,7 +47693,7 @@ var useDividasPublicas = function () {
|
|
|
47696
47693
|
return dividasPublicasData;
|
|
47697
47694
|
};
|
|
47698
47695
|
|
|
47699
|
-
var __makeTemplateObject$
|
|
47696
|
+
var __makeTemplateObject$8 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
47700
47697
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
47701
47698
|
return cooked;
|
|
47702
47699
|
};
|
|
@@ -47704,12 +47701,12 @@ var QuantityContainer = function (_a) {
|
|
|
47704
47701
|
var children = _a.children;
|
|
47705
47702
|
return (React.createElement("div", { className: "t" }, children));
|
|
47706
47703
|
};
|
|
47707
|
-
var QuantidadeResultadosWrapper = styled(ResultContent)(templateObject_1$
|
|
47704
|
+
var QuantidadeResultadosWrapper = styled(ResultContent)(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject$8(["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n"], ["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n"])));
|
|
47708
47705
|
var QuantidadeResultados = function (_a) {
|
|
47709
47706
|
var _b, _c, _d, _e;
|
|
47710
47707
|
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;
|
|
47711
47708
|
return (React.createElement(Result, { resultContentStriped: false },
|
|
47712
|
-
React.createElement(QuantidadeResultadosWrapper, { desktop: "repeat(6, 1fr)", tablet: "repeat(3, 1fr)", mobile: "repeat(2, 1fr)" },
|
|
47709
|
+
React.createElement(QuantidadeResultadosWrapper, { desktop: "repeat(6, 1fr)", print: "repeat(6, 1fr)", tablet: "repeat(3, 1fr)", mobile: "repeat(2, 1fr)" },
|
|
47713
47710
|
React.createElement(QuantityContainer, null,
|
|
47714
47711
|
React.createElement(AddItemField, { name: "Total Protestos", value: formatValue(quantidadeProtestos) }),
|
|
47715
47712
|
React.createElement(AddItemField, { name: "Valor Total Protestos", value: formatMoney(valorTotalProtestos) }),
|
|
@@ -47729,7 +47726,7 @@ var QuantidadeResultados = function (_a) {
|
|
|
47729
47726
|
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) }),
|
|
47730
47727
|
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) })))));
|
|
47731
47728
|
};
|
|
47732
|
-
var templateObject_1$
|
|
47729
|
+
var templateObject_1$8;
|
|
47733
47730
|
|
|
47734
47731
|
/*!
|
|
47735
47732
|
* @kurkle/color v0.3.2
|
|
@@ -62710,18 +62707,18 @@ var useCategoryProtestos = function (dataInput) {
|
|
|
62710
62707
|
return { data: data, options: options };
|
|
62711
62708
|
};
|
|
62712
62709
|
|
|
62713
|
-
var __makeTemplateObject$
|
|
62710
|
+
var __makeTemplateObject$7 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
62714
62711
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
62715
62712
|
return cooked;
|
|
62716
62713
|
};
|
|
62717
|
-
var ChartContainer$1 = styled.div(templateObject_1$
|
|
62714
|
+
var ChartContainer$1 = styled.div(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject$7(["\n height: 400px;\n width: 100%;\n"], ["\n height: 400px;\n width: 100%;\n"])));
|
|
62718
62715
|
var CategoriaProtesto = function (_a) {
|
|
62719
62716
|
var dataInput = _a.dataInput;
|
|
62720
62717
|
var _b = useCategoryProtestos(dataInput), data = _b.data, options = _b.options;
|
|
62721
62718
|
return (React.createElement(ChartContainer$1, null,
|
|
62722
62719
|
React.createElement(Bar, { className: "categoria-protesto", data: data, options: options })));
|
|
62723
62720
|
};
|
|
62724
|
-
var templateObject_1$
|
|
62721
|
+
var templateObject_1$7;
|
|
62725
62722
|
|
|
62726
62723
|
function useWindowSize() {
|
|
62727
62724
|
var _a = React.useState({
|
|
@@ -63233,12 +63230,12 @@ var useMixedChartData = function (dataInput, timeFilter) {
|
|
|
63233
63230
|
}, [dataInput, timeFilter]);
|
|
63234
63231
|
};
|
|
63235
63232
|
|
|
63236
|
-
var __makeTemplateObject$
|
|
63233
|
+
var __makeTemplateObject$6 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
63237
63234
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
63238
63235
|
return cooked;
|
|
63239
63236
|
};
|
|
63240
|
-
var TimeFilterButton = styled.button(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject$
|
|
63241
|
-
return props.isActive && Ne(templateObject_1$
|
|
63237
|
+
var TimeFilterButton = styled.button(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject$6(["\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 display: none !important;\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 display: none !important;\n }\n"])), function (props) {
|
|
63238
|
+
return props.isActive && Ne(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject$6(["\n background-color: #007af2;\n color: white;\n border-color: #007af2;\n "], ["\n background-color: #007af2;\n color: white;\n border-color: #007af2;\n "])));
|
|
63242
63239
|
});
|
|
63243
63240
|
var MixedChart = function (_a) {
|
|
63244
63241
|
var dataInput = _a.dataInput;
|
|
@@ -63257,7 +63254,7 @@ var MixedChart = function (_a) {
|
|
|
63257
63254
|
: '1 Mês')); })),
|
|
63258
63255
|
React.createElement(Chart, { className: "mixed-chart", type: chartType, data: data, options: options })));
|
|
63259
63256
|
};
|
|
63260
|
-
var templateObject_1$
|
|
63257
|
+
var templateObject_1$6, templateObject_2$2;
|
|
63261
63258
|
|
|
63262
63259
|
/*!
|
|
63263
63260
|
* chartjs-plugin-datalabels v2.2.0
|
|
@@ -64607,7 +64604,7 @@ var plugin = {
|
|
|
64607
64604
|
}
|
|
64608
64605
|
};
|
|
64609
64606
|
|
|
64610
|
-
var __makeTemplateObject$
|
|
64607
|
+
var __makeTemplateObject$5 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
64611
64608
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
64612
64609
|
return cooked;
|
|
64613
64610
|
};
|
|
@@ -64621,7 +64618,7 @@ var __spreadArray$3 = (undefined && undefined.__spreadArray) || function (to, fr
|
|
|
64621
64618
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
64622
64619
|
};
|
|
64623
64620
|
Chart$1.register.apply(Chart$1, __spreadArray$3([plugin], registerables, false));
|
|
64624
|
-
var Title = styled.h2(templateObject_1$
|
|
64621
|
+
var Title = styled.h2(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject$5(["\n text-align: left;\n margin-bottom: 20px;\n"], ["\n text-align: left;\n margin-bottom: 20px;\n"])));
|
|
64625
64622
|
var getWidth = function (windowWidth, chartType) {
|
|
64626
64623
|
var baseWidth = windowWidth <= 768 ? '98%' : windowWidth <= 1200 ? '92%' : '100%';
|
|
64627
64624
|
if (chartType === 'pie') {
|
|
@@ -64629,7 +64626,7 @@ var getWidth = function (windowWidth, chartType) {
|
|
|
64629
64626
|
}
|
|
64630
64627
|
return baseWidth;
|
|
64631
64628
|
};
|
|
64632
|
-
var ChartContainer = styled.div(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject$
|
|
64629
|
+
var ChartContainer = styled.div(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject$5(["\n width: ", ";\n"], ["\n width: ", ";\n"])), function (_a) {
|
|
64633
64630
|
var windowWidth = _a.windowWidth, chartType = _a.chartType;
|
|
64634
64631
|
return getWidth(windowWidth, chartType);
|
|
64635
64632
|
});
|
|
@@ -64646,7 +64643,7 @@ var ChartContent = function (_a) {
|
|
|
64646
64643
|
React.createElement(MixedChart, { dataInput: dataInput }))),
|
|
64647
64644
|
React.createElement(CategoriaProtesto, { dataInput: dataInput.protestosCategory || [] })));
|
|
64648
64645
|
};
|
|
64649
|
-
var templateObject_1$
|
|
64646
|
+
var templateObject_1$5, templateObject_2$1;
|
|
64650
64647
|
|
|
64651
64648
|
var __assign$6 = (undefined && undefined.__assign) || function () {
|
|
64652
64649
|
__assign$6 = Object.assign || function(t) {
|
|
@@ -64828,11 +64825,11 @@ var ResumoDeNegativacoesIcon = function (_a) {
|
|
|
64828
64825
|
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" })));
|
|
64829
64826
|
};
|
|
64830
64827
|
|
|
64831
|
-
var __makeTemplateObject$
|
|
64828
|
+
var __makeTemplateObject$4 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
64832
64829
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
64833
64830
|
return cooked;
|
|
64834
64831
|
};
|
|
64835
|
-
var Content = styled.div(templateObject_1$
|
|
64832
|
+
var Content = styled.div(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject$4(["\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'); });
|
|
64836
64833
|
var ChartSystem = function (_a) {
|
|
64837
64834
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
64838
64835
|
var documento = _a.documento;
|
|
@@ -64872,7 +64869,7 @@ var ChartSystem = function (_a) {
|
|
|
64872
64869
|
data && React.createElement(ChartContent, { dataInput: data }),
|
|
64873
64870
|
!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 })))));
|
|
64874
64871
|
};
|
|
64875
|
-
var templateObject_1$
|
|
64872
|
+
var templateObject_1$4;
|
|
64876
64873
|
|
|
64877
64874
|
var ContasBancariasIcon = function (_a) {
|
|
64878
64875
|
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;
|
|
@@ -65127,7 +65124,7 @@ var ScrIcon = function (_a) {
|
|
|
65127
65124
|
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" })));
|
|
65128
65125
|
};
|
|
65129
65126
|
|
|
65130
|
-
var __makeTemplateObject$
|
|
65127
|
+
var __makeTemplateObject$3 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
65131
65128
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
65132
65129
|
return cooked;
|
|
65133
65130
|
};
|
|
@@ -65153,7 +65150,7 @@ var __rest$2 = (undefined && undefined.__rest) || function (s, e) {
|
|
|
65153
65150
|
}
|
|
65154
65151
|
return t;
|
|
65155
65152
|
};
|
|
65156
|
-
var ResumosWrapper = styled.div(templateObject_1$
|
|
65153
|
+
var ResumosWrapper = styled.div(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject$3(["\n display: ", ";\n flex-direction: column;\n gap: 20px;\n"], ["\n display: ", ";\n flex-direction: column;\n gap: 20px;\n"])), function (_a) {
|
|
65157
65154
|
var _b = _a.isOpen, isOpen = _b === void 0 ? true : _b;
|
|
65158
65155
|
return (isOpen ? 'flex' : 'none');
|
|
65159
65156
|
});
|
|
@@ -65240,7 +65237,7 @@ var ResumoModalidades = function (_a) {
|
|
|
65240
65237
|
React.createElement(AddItemField, { name: "A Vencer", value: resumo.aVencer && formatMoney(resumo.aVencer) }),
|
|
65241
65238
|
React.createElement(AddItemField, { name: "Valor", value: formatMoney(resumo.valor) }))); }))))));
|
|
65242
65239
|
};
|
|
65243
|
-
var templateObject_1$
|
|
65240
|
+
var templateObject_1$3;
|
|
65244
65241
|
|
|
65245
65242
|
var ScoreBoaVistaIcon = function (_a) {
|
|
65246
65243
|
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;
|
|
@@ -65333,13 +65330,13 @@ var ConsultaImoveis = function (_a) {
|
|
|
65333
65330
|
})))) : null;
|
|
65334
65331
|
};
|
|
65335
65332
|
|
|
65336
|
-
var __makeTemplateObject$
|
|
65333
|
+
var __makeTemplateObject$2 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
65337
65334
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
65338
65335
|
return cooked;
|
|
65339
65336
|
};
|
|
65340
|
-
var OpenSansFont = Ne(templateObject_1$
|
|
65341
|
-
var GlobalStyle = He(templateObject_2 || (templateObject_2 = __makeTemplateObject$
|
|
65342
|
-
var templateObject_1$
|
|
65337
|
+
var OpenSansFont = Ne(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject$2(["\n @import url('https://fonts.googleapis.com/css?family=Open%20Sans%20Condensed:300,400,500,600,700');\n"], ["\n @import url('https://fonts.googleapis.com/css?family=Open%20Sans%20Condensed:300,400,500,600,700');\n"])));
|
|
65338
|
+
var GlobalStyle = He(templateObject_2 || (templateObject_2 = __makeTemplateObject$2(["\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);
|
|
65339
|
+
var templateObject_1$2, templateObject_2;
|
|
65343
65340
|
|
|
65344
65341
|
var DominiosIcon = function (_a) {
|
|
65345
65342
|
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;
|
|
@@ -65348,11 +65345,11 @@ var DominiosIcon = function (_a) {
|
|
|
65348
65345
|
React.createElement("path", { fill: "#fff", d: "M14.5 16.5c.35 0 .68-.046.988-.137.308-.092.612-.23.912-.413l1.525 1.575a.62.62 0 00.512.213.835.835 0 00.538-.213.78.78 0 00.237-.537.692.692 0 00-.212-.538l-1.55-1.55a3.38 3.38 0 00.413-.9c.091-.317.137-.65.137-1 0-.983-.346-1.813-1.038-2.488C16.271 9.837 15.45 9.5 14.5 9.5c-.95 0-1.77.338-2.463 1.012C11.346 11.188 11 12.017 11 13c0 .983.346 1.813 1.037 2.488.692.675 1.513 1.012 2.463 1.012zm0-1.5c-.55 0-1.02-.196-1.412-.588A1.926 1.926 0 0112.5 13c0-.55.196-1.02.588-1.412A1.926 1.926 0 0114.5 11c.533 0 1 .196 1.4.588.4.391.6.862.6 1.412 0 .55-.196 1.02-.588 1.412A1.926 1.926 0 0114.5 15zM5 24a.967.967 0 01-.713-.288A.968.968 0 014 23c0-.283.096-.52.287-.712A.967.967 0 015 22h20c.283 0 .52.096.712.288.192.191.288.429.288.712s-.096.52-.288.712A.968.968 0 0125 24H5zm2-3c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 015 19V8c0-.55.196-1.02.588-1.412A1.926 1.926 0 017 6h16c.55 0 1.02.196 1.413.588.391.391.587.862.587 1.412v11c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0123 21H7zm0-2h16V8H7v11z" })));
|
|
65349
65346
|
};
|
|
65350
65347
|
|
|
65351
|
-
var __makeTemplateObject$
|
|
65348
|
+
var __makeTemplateObject$1 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
65352
65349
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
65353
65350
|
return cooked;
|
|
65354
65351
|
};
|
|
65355
|
-
var Link = styled.a(templateObject_1$
|
|
65352
|
+
var Link = styled.a(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject$1(["\n color: inherit;\n text-decoration: none;\n"], ["\n color: inherit;\n text-decoration: none;\n"])));
|
|
65356
65353
|
var Dominios = function () {
|
|
65357
65354
|
var ctx = React.useContext(Queries.Dominios);
|
|
65358
65355
|
var Section = ctx.Section;
|
|
@@ -65368,7 +65365,7 @@ var Dominios = function () {
|
|
|
65368
65365
|
};
|
|
65369
65366
|
} }));
|
|
65370
65367
|
};
|
|
65371
|
-
var templateObject_1$
|
|
65368
|
+
var templateObject_1$1;
|
|
65372
65369
|
|
|
65373
65370
|
var Liminar = function () {
|
|
65374
65371
|
var ctx = React.useContext(Queries.Liminar);
|
|
@@ -65400,10 +65397,6 @@ var ConsultaSimplesIcon = function (_a) {
|
|
|
65400
65397
|
React.createElement("path", { d: "M12.5 19C10.6833 19 9.14583 18.3708 7.8875 17.1125C6.62917 15.8542 6 14.3167 6 12.5C6 10.6833 6.62917 9.14583 7.8875 7.8875C9.14583 6.62917 10.6833 6 12.5 6C14.3167 6 15.8542 6.62917 17.1125 7.8875C18.3708 9.14583 19 10.6833 19 12.5C19 13.2333 18.8833 13.925 18.65 14.575C18.4167 15.225 18.1 15.8 17.7 16.3L23.3 21.9C23.4833 22.0833 23.575 22.3167 23.575 22.6C23.575 22.8833 23.4833 23.1167 23.3 23.3C23.1167 23.4833 22.8833 23.575 22.6 23.575C22.3167 23.575 22.0833 23.4833 21.9 23.3L16.3 17.7C15.8 18.1 15.225 18.4167 14.575 18.65C13.925 18.8833 13.2333 19 12.5 19ZM12.5 17C13.75 17 14.8125 16.5625 15.6875 15.6875C16.5625 14.8125 17 13.75 17 12.5C17 11.25 16.5625 10.1875 15.6875 9.3125C14.8125 8.4375 13.75 8 12.5 8C11.25 8 10.1875 8.4375 9.3125 9.3125C8.4375 10.1875 8 11.25 8 12.5C8 13.75 8.4375 14.8125 9.3125 15.6875C10.1875 16.5625 11.25 17 12.5 17Z", fill: "white" }))));
|
|
65401
65398
|
};
|
|
65402
65399
|
|
|
65403
|
-
var __makeTemplateObject$1 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
65404
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
65405
|
-
return cooked;
|
|
65406
|
-
};
|
|
65407
65400
|
var __assign$3 = (undefined && undefined.__assign) || function () {
|
|
65408
65401
|
__assign$3 = Object.assign || function(t) {
|
|
65409
65402
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -65426,7 +65419,6 @@ var __rest$1 = (undefined && undefined.__rest) || function (s, e) {
|
|
|
65426
65419
|
}
|
|
65427
65420
|
return t;
|
|
65428
65421
|
};
|
|
65429
|
-
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"])));
|
|
65430
65422
|
var getPossuiPendenciaText = function (_a) {
|
|
65431
65423
|
var ccf = _a.ccf, ultimoRegistroCCF = _a.ultimoRegistroCCF, dividasPublicas = _a.dividasPublicas, protestos = _a.protestos, processosJuridicos = _a.processosJuridicos;
|
|
65432
65424
|
return [
|
|
@@ -65475,7 +65467,7 @@ var ConsultaSimplesSection = function (_a) {
|
|
|
65475
65467
|
: possuiPendencias
|
|
65476
65468
|
? 'error'
|
|
65477
65469
|
: 'success';
|
|
65478
|
-
return (React.createElement(Section$1, __assign$3({ title: "Consulta Simples", subtitle: "Consulta de informa\u00E7\u00F5es do documento.", description: React.createElement(
|
|
65470
|
+
return (React.createElement(Section$1, __assign$3({ title: "Consulta Simples", subtitle: "Consulta de informa\u00E7\u00F5es do documento.", description: React.createElement(React.Fragment, null,
|
|
65479
65471
|
React.createElement(StatusMessage, { type: "found" }, formatDocument(documento)),
|
|
65480
65472
|
possuiPendenciaText.length ? (possuiPendenciaText.map(function (text) { return (React.createElement(StatusMessage, { key: text, type: "error" }, text)); })) : (React.createElement(StatusMessage, { type: statusType }, isError ? ctx === null || ctx === void 0 ? void 0 : ctx.error.message : 'Nenhum registro encontrado'))), onClose: onClose, icon: ConsultaSimplesIcon, variant: isLoading ? 'loading' : 'default' }, rest), children));
|
|
65481
65473
|
};
|
|
@@ -65489,14 +65481,13 @@ function select(expression, document) {
|
|
|
65489
65481
|
return null;
|
|
65490
65482
|
return XPathUtils.select(expression, document);
|
|
65491
65483
|
}
|
|
65492
|
-
var templateObject_1$1;
|
|
65493
65484
|
|
|
65494
65485
|
var __makeTemplateObject = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
|
|
65495
65486
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
65496
65487
|
return cooked;
|
|
65497
65488
|
};
|
|
65498
65489
|
Chart$1.register.apply(Chart$1, registerables);
|
|
65499
|
-
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"])));
|
|
65490
|
+
var Wrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: 'Open Sans Condensed';\n display: flex;\n flex-direction: column;\n gap: 20px;\n\n * {\n -webkit-print-color-adjust: exact !important;\n color-adjust: exact !important;\n print-color-adjust: exact !important;\n }\n\n @media print {\n @page {\n size: auto;\n margin: 0mm 0mm 0mm 0mm;\n }\n }\n"], ["\n font-family: 'Open Sans Condensed';\n display: flex;\n flex-direction: column;\n gap: 20px;\n\n * {\n -webkit-print-color-adjust: exact !important;\n color-adjust: exact !important;\n print-color-adjust: exact !important;\n }\n\n @media print {\n @page {\n size: auto;\n margin: 0mm 0mm 0mm 0mm;\n }\n }\n"])));
|
|
65500
65491
|
var ConsultaSimples = function (_a) {
|
|
65501
65492
|
var _documento = _a.documento, onClickConsultarProcessoJuridico = _a.onClickConsultarProcessoJuridico, onClickQSA = _a.onClickQSA, onClickPrint = _a.onClickPrint, apiKey = _a.apiKey, onClose = _a.onClose, hasCredits = _a.hasCredits;
|
|
65502
65493
|
var documento = _documento.replace(/\D+/g, '');
|
|
@@ -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 @media print {\n
|
|
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 display: none !important;\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 display: none !important;\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) {
|
|
@@ -8,17 +8,16 @@ import AddItemField from '../common/addItem';
|
|
|
8
8
|
import { formatMoney, formatValue } from '../../utils/number';
|
|
9
9
|
import { Result, ResultContent } from '../interface/result';
|
|
10
10
|
import styled from 'styled-components';
|
|
11
|
-
import theme from '../interface/theme';
|
|
12
11
|
var QuantityContainer = function (_a) {
|
|
13
12
|
var children = _a.children;
|
|
14
13
|
return (React.createElement("div", { className: "t" }, children));
|
|
15
14
|
};
|
|
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
|
|
15
|
+
var QuantidadeResultadosWrapper = styled(ResultContent)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n"], ["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n"])));
|
|
17
16
|
var QuantidadeResultados = function (_a) {
|
|
18
17
|
var _b, _c, _d, _e;
|
|
19
18
|
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
19
|
return (React.createElement(Result, { resultContentStriped: false },
|
|
21
|
-
React.createElement(QuantidadeResultadosWrapper, { desktop: "repeat(6, 1fr)", tablet: "repeat(3, 1fr)", mobile: "repeat(2, 1fr)" },
|
|
20
|
+
React.createElement(QuantidadeResultadosWrapper, { desktop: "repeat(6, 1fr)", print: "repeat(6, 1fr)", tablet: "repeat(3, 1fr)", mobile: "repeat(2, 1fr)" },
|
|
22
21
|
React.createElement(QuantityContainer, null,
|
|
23
22
|
React.createElement(AddItemField, { name: "Total Protestos", value: formatValue(quantidadeProtestos) }),
|
|
24
23
|
React.createElement(AddItemField, { name: "Valor Total Protestos", value: formatMoney(valorTotalProtestos) }),
|
|
@@ -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++) {
|
|
@@ -32,8 +28,6 @@ import Section from '../interface/section';
|
|
|
32
28
|
import ConsultaSimplesIcon from '../../assets/icones/consultaSimples';
|
|
33
29
|
import XPathUtils from '../../utils/xpath';
|
|
34
30
|
import { formatMoney } from '../../utils/number';
|
|
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 (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
31
|
var getPossuiPendenciaText = function (_a) {
|
|
38
32
|
var ccf = _a.ccf, ultimoRegistroCCF = _a.ultimoRegistroCCF, dividasPublicas = _a.dividasPublicas, protestos = _a.protestos, processosJuridicos = _a.processosJuridicos;
|
|
39
33
|
return [
|
|
@@ -82,7 +76,7 @@ var ConsultaSimplesSection = function (_a) {
|
|
|
82
76
|
: possuiPendencias
|
|
83
77
|
? 'error'
|
|
84
78
|
: 'success';
|
|
85
|
-
return (React.createElement(Section, __assign({ title: "Consulta Simples", subtitle: "Consulta de informa\u00E7\u00F5es do documento.", description: React.createElement(
|
|
79
|
+
return (React.createElement(Section, __assign({ title: "Consulta Simples", subtitle: "Consulta de informa\u00E7\u00F5es do documento.", description: React.createElement(React.Fragment, null,
|
|
86
80
|
React.createElement(StatusMessage, { type: "found" }, formatDocument(documento)),
|
|
87
81
|
possuiPendenciaText.length ? (possuiPendenciaText.map(function (text) { return (React.createElement(StatusMessage, { key: text, type: "error" }, text)); })) : (React.createElement(StatusMessage, { type: statusType }, isError ? ctx === null || ctx === void 0 ? void 0 : ctx.error.message : 'Nenhum registro encontrado'))), onClose: onClose, icon: ConsultaSimplesIcon, variant: isLoading ? 'loading' : 'default' }, rest), children));
|
|
88
82
|
};
|
|
@@ -97,4 +91,3 @@ function select(expression, document) {
|
|
|
97
91
|
return XPathUtils.select(expression, document);
|
|
98
92
|
}
|
|
99
93
|
export default ConsultaSimplesSection;
|
|
100
|
-
var templateObject_1;
|
|
@@ -14,7 +14,7 @@ import XPathUtils from '../../utils/xpath';
|
|
|
14
14
|
import { formatCnpj, formatCpf } from '../../utils/string';
|
|
15
15
|
import styled from 'styled-components';
|
|
16
16
|
import { useConsultaRfb } from '../../hooks/useConsultaRfb';
|
|
17
|
-
var DossieContent = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\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"])));
|
|
17
|
+
var DossieContent = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\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 screen and (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 screen and (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n"])));
|
|
18
18
|
var DossieContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\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"])));
|
|
19
19
|
var Dossie = function (_a) {
|
|
20
20
|
var documento = _a.documento, onClickPrint = _a.onClickPrint;
|
|
@@ -4,6 +4,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { createGlobalStyle, css } from 'styled-components';
|
|
6
6
|
var OpenSansFont = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n @import url('https://fonts.googleapis.com/css?family=Open%20Sans%20Condensed:300,400,500,600,700');\n"], ["\n @import url('https://fonts.googleapis.com/css?family=Open%20Sans%20Condensed:300,400,500,600,700');\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
|
|
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;
|
|
@@ -31,7 +31,7 @@ import theme from './theme';
|
|
|
31
31
|
import LoadingBar from './loadingBar';
|
|
32
32
|
var Title = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n"])), theme.typography.headline24.fontSize, theme.typography.headline24.fontWeight, theme.typography.headline24.lineHeight, theme.colors.azulCredithub);
|
|
33
33
|
var Subtitle = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n line-height: ", ";\n"], ["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n line-height: ", ";\n"])), theme.typography.body18.fontSize, theme.typography.body18.fontStyle, theme.typography.body18.fontWeight, theme.typography.body18.lineHeight);
|
|
34
|
-
var Description = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n"], ["\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n"])), theme.typography.label14.fontStyle, theme.typography.label14.fontWeight, theme.typography.label14.fontSize, theme.typography.label14.lineHeight, theme.typography.label14.letterSpacing);
|
|
34
|
+
var Description = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n gap: 10px;\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n"], ["\n display: flex;\n gap: 10px;\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n"])), theme.typography.label14.fontStyle, theme.typography.label14.fontWeight, theme.typography.label14.fontSize, theme.typography.label14.lineHeight, theme.typography.label14.letterSpacing);
|
|
35
35
|
var HeaderUI = styled(function (_a) {
|
|
36
36
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
37
37
|
return (React.createElement("header", __assign({}, props), children));
|
|
@@ -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 @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"])));
|
|
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 @media print {\n flex-direction: row;\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 @media print {\n flex-direction: row;\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,9 +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 (max-width:
|
|
7
|
-
return props.print &&
|
|
8
|
-
"@media print {\n grid-template-columns: ".concat(props.print || 'auto', ";\n }");
|
|
9
|
-
});
|
|
6
|
+
var ResponsiveGrid = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid;\n ", ";\n\n @media (max-width: 767px) {\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 @media print {\n grid-template-columns: ", ";\n }\n"], ["\n display: grid;\n ", ";\n\n @media (max-width: 767px) {\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 @media print {\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'; }, function (props) { return props.desktop || 'auto'; });
|
|
10
7
|
export default ResponsiveGrid;
|
|
11
8
|
var templateObject_1;
|
|
@@ -11,8 +11,8 @@ import ChevronUp from '../../assets/btn/chevronUp';
|
|
|
11
11
|
import CloseIcon from '../../assets/btn/closeIcon';
|
|
12
12
|
import BtnWrapper from '../../assets/btn/btnWrapper';
|
|
13
13
|
import styled from 'styled-components';
|
|
14
|
-
var SectionContaner = styled.section(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: rgb(239, 239, 239);\n"], ["\n background-color: rgb(239, 239, 239);\n"])));
|
|
15
|
-
var ResultContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: ", ";\n position: relative;\n margin-top: 20px;\n flex-direction: column;\n row-gap: 20px;\n background-color: #efefef;\n"], ["\n display: ", ";\n position: relative;\n margin-top: 20px;\n flex-direction: column;\n row-gap: 20px;\n background-color: #efefef;\n"])), function (props) { return (props.hide ? 'none' : 'flex'); });
|
|
14
|
+
var SectionContaner = styled.section(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n @media screen {\n background-color: rgb(239, 239, 239);\n }\n"], ["\n @media screen {\n background-color: rgb(239, 239, 239);\n }\n"])));
|
|
15
|
+
var ResultContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: ", ";\n position: relative;\n margin-top: 20px;\n flex-direction: column;\n row-gap: 20px;\n @media screen {\n background-color: #efefef;\n }\n"], ["\n display: ", ";\n position: relative;\n margin-top: 20px;\n flex-direction: column;\n row-gap: 20px;\n @media screen {\n background-color: #efefef;\n }\n"])), function (props) { return (props.hide ? 'none' : 'flex'); });
|
|
16
16
|
var Section = function (_a) {
|
|
17
17
|
var title = _a.title, subtitle = _a.subtitle, description = _a.description, _b = _a.minimized, minimized = _b === void 0 ? false : _b, onClose = _a.onClose, variant = _a.variant, loadingProps = _a.loadingProps, icon = _a.icon, actions = _a.actions, children = _a.children, className = _a.className, contentClassName = _a.contentClassName;
|
|
18
18
|
var _c = useToggle(!minimized), isOpen = _c[0], toggleOpen = _c[1];
|
|
@@ -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 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"])));
|
|
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 * {\n -webkit-print-color-adjust: exact !important;\n color-adjust: exact !important;\n print-color-adjust: exact !important;\n }\n\n @media print {\n @page {\n size: auto;\n margin: 0mm 0mm 0mm 0mm;\n }\n }\n"], ["\n font-family: 'Open Sans Condensed';\n display: flex;\n flex-direction: column;\n gap: 20px;\n\n * {\n -webkit-print-color-adjust: exact !important;\n color-adjust: exact !important;\n print-color-adjust: exact !important;\n }\n\n @media print {\n @page {\n size: auto;\n margin: 0mm 0mm 0mm 0mm;\n }\n }\n"])));
|
|
20
20
|
var ConsultaSimples = function (_a) {
|
|
21
21
|
var _documento = _a.documento, onClickConsultarProcessoJuridico = _a.onClickConsultarProcessoJuridico, onClickQSA = _a.onClickQSA, onClickPrint = _a.onClickPrint, apiKey = _a.apiKey, onClose = _a.onClose, hasCredits = _a.hasCredits;
|
|
22
22
|
var documento = _documento.replace(/\D+/g, '');
|