@credithub/harlan-components 1.20.10 → 1.21.1

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.
Files changed (267) hide show
  1. package/dist/assets/btn/btnWrapper.d.ts +2 -0
  2. package/dist/assets/btn/btnWrapper.js +9 -0
  3. package/dist/assets/btn/chevronDown.d.ts +3 -0
  4. package/dist/assets/btn/chevronDown.js +29 -0
  5. package/dist/assets/btn/chevronLeft.d.ts +3 -0
  6. package/dist/assets/btn/chevronLeft.js +30 -0
  7. package/dist/assets/btn/chevronRight.d.ts +3 -0
  8. package/dist/assets/btn/chevronRight.js +30 -0
  9. package/dist/assets/btn/chevronUp.d.ts +3 -0
  10. package/dist/assets/btn/chevronUp.js +30 -0
  11. package/dist/assets/btn/closeIcon.d.ts +3 -0
  12. package/dist/assets/btn/closeIcon.js +29 -0
  13. package/dist/assets/btn/thumbDown.d.ts +7 -0
  14. package/dist/assets/btn/thumbDown.js +11 -0
  15. package/dist/assets/btn/thumbUp.d.ts +7 -0
  16. package/dist/assets/btn/thumbUp.js +11 -0
  17. package/dist/assets/icones/chequesSemFundo.d.ts +4 -0
  18. package/dist/assets/icones/chequesSemFundo.js +12 -0
  19. package/dist/assets/icones/consultaSimples.d.ts +4 -0
  20. package/dist/assets/icones/consultaSimples.js +12 -0
  21. package/dist/assets/icones/contasBancarias.d.ts +4 -0
  22. package/dist/assets/icones/contasBancarias.js +12 -0
  23. package/dist/assets/icones/contato.d.ts +4 -0
  24. package/dist/assets/icones/contato.js +12 -0
  25. package/dist/assets/icones/dividasVencidasSerasa.d.ts +4 -0
  26. package/dist/assets/icones/dividasVencidasSerasa.js +9 -0
  27. package/dist/assets/icones/dominios.d.ts +4 -0
  28. package/dist/assets/icones/dominios.js +9 -0
  29. package/dist/assets/icones/endereco.d.ts +4 -0
  30. package/dist/assets/icones/endereco.js +12 -0
  31. package/dist/assets/icones/iconeEmpresa.d.ts +8 -0
  32. package/dist/assets/icones/iconeEmpresa.js +12 -0
  33. package/dist/assets/icones/iconePessoa.d.ts +9 -0
  34. package/dist/assets/icones/iconePessoa.js +12 -0
  35. package/dist/assets/icones/imoveis.d.ts +4 -0
  36. package/dist/assets/icones/imoveis.js +9 -0
  37. package/dist/assets/icones/pefinRefinBoaVista.d.ts +4 -0
  38. package/dist/assets/icones/pefinRefinBoaVista.js +9 -0
  39. package/dist/assets/icones/pefinRefinSerasa.d.ts +4 -0
  40. package/dist/assets/icones/pefinRefinSerasa.js +11 -0
  41. package/dist/assets/icones/processosJuridicos.d.ts +4 -0
  42. package/dist/assets/icones/processosJuridicos.js +12 -0
  43. package/dist/assets/icones/protestos.d.ts +4 -0
  44. package/dist/assets/icones/protestos.js +12 -0
  45. package/dist/assets/icones/protestosCredito.d.ts +4 -0
  46. package/dist/assets/icones/protestosCredito.js +12 -0
  47. package/dist/assets/icones/protestosGerais.d.ts +4 -0
  48. package/dist/assets/icones/protestosGerais.js +12 -0
  49. package/dist/assets/icones/protestosImpostos.d.ts +4 -0
  50. package/dist/assets/icones/protestosImpostos.js +12 -0
  51. package/dist/assets/icones/quadroSocietario.d.ts +4 -0
  52. package/dist/assets/icones/quadroSocietario.js +12 -0
  53. package/dist/assets/icones/resumoNegativacoes.d.ts +4 -0
  54. package/dist/assets/icones/resumoNegativacoes.js +11 -0
  55. package/dist/assets/icones/scoreBoaVista.d.ts +4 -0
  56. package/dist/assets/icones/scoreBoaVista.js +9 -0
  57. package/dist/assets/icones/scr.d.ts +4 -0
  58. package/dist/assets/icones/scr.js +9 -0
  59. package/dist/assets/icones/ultimaMovimentacao.d.ts +4 -0
  60. package/dist/assets/icones/ultimaMovimentacao.js +12 -0
  61. package/dist/assets/icones/veiculos.d.ts +4 -0
  62. package/dist/assets/icones/veiculos.js +9 -0
  63. package/dist/components/adresses/addresses.d.ts +19 -0
  64. package/dist/components/adresses/addresses.js +50 -0
  65. package/dist/components/adresses/getGeocode.d.ts +6 -0
  66. package/dist/components/adresses/getGeocode.js +69 -0
  67. package/dist/components/adresses/map.d.ts +11 -0
  68. package/dist/components/adresses/map.js +25 -0
  69. package/dist/components/bank-accounts/bank-accounts.d.ts +3 -0
  70. package/dist/components/bank-accounts/bank-accounts.js +32 -0
  71. package/dist/components/ccf/ccf.d.ts +3 -0
  72. package/dist/components/ccf/ccf.js +37 -0
  73. package/dist/components/ccf/ccfList.d.ts +12 -0
  74. package/dist/components/ccf/ccfList.js +24 -0
  75. package/dist/components/chart/chartContent.d.ts +6 -0
  76. package/dist/components/chart/chartContent.js +50 -0
  77. package/dist/components/chart/chartSystem.d.ts +6 -0
  78. package/dist/components/chart/chartSystem.js +61 -0
  79. package/dist/components/chart/components/MixedChart.d.ts +7 -0
  80. package/dist/components/chart/components/MixedChart.js +30 -0
  81. package/dist/components/chart/components/PieChart.d.ts +7 -0
  82. package/dist/components/chart/components/PieChart.js +9 -0
  83. package/dist/components/chart/components/categoryProtestos.d.ts +7 -0
  84. package/dist/components/chart/components/categoryProtestos.js +17 -0
  85. package/dist/components/chart/hooks/useCategoryProtestos.d.ts +6 -0
  86. package/dist/components/chart/hooks/useCategoryProtestos.js +71 -0
  87. package/dist/components/chart/hooks/useChartData.d.ts +8 -0
  88. package/dist/components/chart/hooks/useChartData.js +64 -0
  89. package/dist/components/chart/hooks/useMixedChartData.d.ts +10 -0
  90. package/dist/components/chart/hooks/useMixedChartData.js +43 -0
  91. package/dist/components/chart/hooks/usePieChartData.d.ts +6 -0
  92. package/dist/components/chart/hooks/usePieChartData.js +89 -0
  93. package/dist/components/chart/quantityResult.d.ts +19 -0
  94. package/dist/components/chart/quantityResult.js +41 -0
  95. package/dist/components/chart/types/iChart.d.ts +59 -0
  96. package/dist/components/chart/types/iChart.js +1 -0
  97. package/dist/components/chart/utils/chartCustomization.d.ts +7 -0
  98. package/dist/components/chart/utils/chartCustomization.js +154 -0
  99. package/dist/components/chart/utils/chartUtils.d.ts +11 -0
  100. package/dist/components/chart/utils/chartUtils.js +38 -0
  101. package/dist/components/chart/utils/dataManipulation.d.ts +10 -0
  102. package/dist/components/chart/utils/dataManipulation.js +97 -0
  103. package/dist/components/chart/utils/dataProcessing.d.ts +3 -0
  104. package/dist/components/chart/utils/dataProcessing.js +113 -0
  105. package/dist/components/common/addItem.d.ts +11 -0
  106. package/dist/components/common/addItem.js +44 -0
  107. package/dist/components/common/button.d.ts +5 -0
  108. package/dist/components/common/button.js +41 -0
  109. package/dist/components/common/carousel.d.ts +4 -0
  110. package/dist/components/common/carousel.js +19 -0
  111. package/dist/components/common/content.d.ts +4 -0
  112. package/dist/components/common/content.js +8 -0
  113. package/dist/components/consultaRfb.d.ts +16 -0
  114. package/dist/components/consultaRfb.js +21 -0
  115. package/dist/components/consultaSimplesSection/consultaSimplesSection.d.ts +6 -0
  116. package/dist/components/consultaSimplesSection/consultaSimplesSection.js +93 -0
  117. package/dist/components/consultasComplementares.d.ts +29 -0
  118. package/dist/components/consultasComplementares.js +32 -0
  119. package/dist/components/contacts/contactLikeDislikeSection.d.ts +8 -0
  120. package/dist/components/contacts/contactLikeDislikeSection.js +68 -0
  121. package/dist/components/contacts/contacts.d.ts +18 -0
  122. package/dist/components/contacts/contacts.js +60 -0
  123. package/dist/components/contacts/contactsLikeDislike.d.ts +9 -0
  124. package/dist/components/contacts/contactsLikeDislike.js +7 -0
  125. package/dist/components/contacts/thumbsButton.d.ts +9 -0
  126. package/dist/components/contacts/thumbsButton.js +41 -0
  127. package/dist/components/dividasPublicas/dividasPublicas.d.ts +3 -0
  128. package/dist/components/dividasPublicas/dividasPublicas.js +67 -0
  129. package/dist/components/dominios/dominios.d.ts +3 -0
  130. package/dist/components/dominios/dominios.js +29 -0
  131. package/dist/components/dossie/carrousel/carrousel.d.ts +8 -0
  132. package/dist/components/dossie/carrousel/carrousel.js +15 -0
  133. package/dist/components/dossie/companyLogo/companyLogo.d.ts +7 -0
  134. package/dist/components/dossie/companyLogo/companyLogo.js +25 -0
  135. package/dist/components/dossie/dossie.d.ts +9 -0
  136. package/dist/components/dossie/dossie.js +44 -0
  137. package/dist/components/dossie/summary/cardsAndProducts.d.ts +21 -0
  138. package/dist/components/dossie/summary/cardsAndProducts.js +209 -0
  139. package/dist/components/dossie/summary/summary.d.ts +20 -0
  140. package/dist/components/dossie/summary/summary.js +38 -0
  141. package/dist/components/dossie/summary/utils.d.ts +10 -0
  142. package/dist/components/dossie/summary/utils.js +29 -0
  143. package/dist/components/dossie/transactionTable/transactionTable.d.ts +6 -0
  144. package/dist/components/dossie/transactionTable/transactionTable.js +33 -0
  145. package/dist/components/imoveis/imoveisService.d.ts +6 -0
  146. package/dist/components/imoveis/imoveisService.js +51 -0
  147. package/dist/components/imoveis/types.d.ts +24 -0
  148. package/dist/components/imoveis/types.js +1 -0
  149. package/dist/components/interface/globalStyle.d.ts +2 -0
  150. package/dist/components/interface/globalStyle.js +9 -0
  151. package/dist/components/interface/header.d.ts +23 -0
  152. package/dist/components/interface/header.js +72 -0
  153. package/dist/components/interface/loading.d.ts +2 -0
  154. package/dist/components/interface/loading.js +8 -0
  155. package/dist/components/interface/loadingBar.d.ts +5 -0
  156. package/dist/components/interface/loadingBar.js +41 -0
  157. package/dist/components/interface/responsiveGrid.d.ts +9 -0
  158. package/dist/components/interface/responsiveGrid.js +8 -0
  159. package/dist/components/interface/result.d.ts +10 -0
  160. package/dist/components/interface/result.js +18 -0
  161. package/dist/components/interface/resultWithoutInformation.d.ts +4 -0
  162. package/dist/components/interface/resultWithoutInformation.js +32 -0
  163. package/dist/components/interface/section.d.ts +10 -0
  164. package/dist/components/interface/section.js +30 -0
  165. package/dist/components/interface/statusMessage.d.ts +7 -0
  166. package/dist/components/interface/statusMessage.js +25 -0
  167. package/dist/components/interface/theme.d.ts +73 -0
  168. package/dist/components/interface/theme.js +73 -0
  169. package/dist/components/liminar/liminar.d.ts +3 -0
  170. package/dist/components/liminar/liminar.js +24 -0
  171. package/dist/components/liminar/types.d.ts +3 -0
  172. package/dist/components/liminar/types.js +1 -0
  173. package/dist/components/partners/partner-dividas-publicas.d.ts +5 -0
  174. package/dist/components/partners/partner-dividas-publicas.js +10 -0
  175. package/dist/components/partners/partner-protestos.d.ts +5 -0
  176. package/dist/components/partners/partner-protestos.js +10 -0
  177. package/dist/components/partners/partner-rfb-status.d.ts +5 -0
  178. package/dist/components/partners/partner-rfb-status.js +10 -0
  179. package/dist/components/partners/partnerField.d.ts +9 -0
  180. package/dist/components/partners/partnerField.js +9 -0
  181. package/dist/components/partners/partnerList.d.ts +17 -0
  182. package/dist/components/partners/partnerList.js +28 -0
  183. package/dist/components/partners/partners.d.ts +5 -0
  184. package/dist/components/partners/partners.js +52 -0
  185. package/dist/components/pep/pep.d.ts +3 -0
  186. package/dist/components/pep/pep.js +41 -0
  187. package/dist/components/processos-juridicos/envolvidosList.d.ts +10 -0
  188. package/dist/components/processos-juridicos/envolvidosList.js +24 -0
  189. package/dist/components/processos-juridicos/processosJuridicos.d.ts +5 -0
  190. package/dist/components/processos-juridicos/processosJuridicos.js +26 -0
  191. package/dist/components/processos-juridicos/processosJuridicosList.d.ts +7 -0
  192. package/dist/components/processos-juridicos/processosJuridicosList.js +64 -0
  193. package/dist/components/processos-juridicos/types.d.ts +27 -0
  194. package/dist/components/processos-juridicos/types.js +1 -0
  195. package/dist/components/protestos/getTotalProtestos.d.ts +1 -0
  196. package/dist/components/protestos/getTotalProtestos.js +4 -0
  197. package/dist/components/protestos/protestos.d.ts +3 -0
  198. package/dist/components/protestos/protestos.js +74 -0
  199. package/dist/components/protestos/protestosCategory.d.ts +7 -0
  200. package/dist/components/protestos/protestosCategory.js +46 -0
  201. package/dist/components/protestos/protestosList.d.ts +36 -0
  202. package/dist/components/protestos/protestosList.js +120 -0
  203. package/dist/components/reclameAqui/reclameAquiCarousel.d.ts +5 -0
  204. package/dist/components/reclameAqui/reclameAquiCarousel.js +100 -0
  205. package/dist/components/reclameAqui/types.d.ts +31 -0
  206. package/dist/components/reclameAqui/types.js +1 -0
  207. package/dist/components/refinBoaVista/refinBoaVista.d.ts +22 -0
  208. package/dist/components/refinBoaVista/refinBoaVista.js +65 -0
  209. package/dist/components/refinBoaVista/types.d.ts +48 -0
  210. package/dist/components/refinBoaVista/types.js +4 -0
  211. package/dist/components/refinSerasa/refinSerasa.d.ts +22 -0
  212. package/dist/components/refinSerasa/refinSerasa.js +119 -0
  213. package/dist/components/refinSerasa/types.d.ts +48 -0
  214. package/dist/components/refinSerasa/types.js +1 -0
  215. package/dist/components/resultadoDaPesquisa/resultado-da-pesquisa.d.ts +5 -0
  216. package/dist/components/resultadoDaPesquisa/resultado-da-pesquisa.js +26 -0
  217. package/dist/components/score/scoreService.d.ts +6 -0
  218. package/dist/components/score/scoreService.js +43 -0
  219. package/dist/components/score/types.d.ts +12 -0
  220. package/dist/components/score/types.js +1 -0
  221. package/dist/components/scr/getResumoDeCreditos.d.ts +6 -0
  222. package/dist/components/scr/getResumoDeCreditos.js +79 -0
  223. package/dist/components/scr/getResumoDeModalidades.d.ts +8 -0
  224. package/dist/components/scr/getResumoDeModalidades.js +109 -0
  225. package/dist/components/scr/scr.d.ts +5 -0
  226. package/dist/components/scr/scr.js +134 -0
  227. package/dist/components/scr/types.d.ts +87 -0
  228. package/dist/components/scr/types.js +1 -0
  229. package/dist/components/veiculos/types.d.ts +0 -0
  230. package/dist/components/veiculos/types.js +0 -0
  231. package/dist/components/veiculos/veiculos.d.ts +22 -0
  232. package/dist/components/veiculos/veiculos.js +70 -0
  233. package/dist/components/webservice.d.ts +140 -0
  234. package/dist/components/webservice.js +233 -0
  235. package/dist/constants/regex.d.ts +2 -0
  236. package/dist/constants/regex.js +2 -0
  237. package/dist/consultaSimples.d.ts +13 -0
  238. package/dist/consultaSimples.js +57 -0
  239. package/dist/hooks/useConsultaRfb.d.ts +6 -0
  240. package/dist/hooks/useConsultaRfb.js +9 -0
  241. package/dist/hooks/useConsultasComplementares.d.ts +1 -0
  242. package/dist/hooks/useConsultasComplementares.js +9 -0
  243. package/dist/hooks/useToggle.d.ts +10 -0
  244. package/dist/hooks/useToggle.js +24 -0
  245. package/dist/hooks/useWindowSize.d.ts +4 -0
  246. package/dist/hooks/useWindowSize.js +19 -0
  247. package/dist/index.d.ts +23 -0
  248. package/dist/index.js +26 -0
  249. package/dist/utils/calculation.d.ts +9 -0
  250. package/dist/utils/calculation.js +17 -0
  251. package/dist/utils/date.d.ts +1 -0
  252. package/dist/utils/date.js +6 -0
  253. package/dist/utils/fillMissingData.d.ts +6 -0
  254. package/dist/utils/fillMissingData.js +12 -0
  255. package/dist/utils/formatter.d.ts +2 -0
  256. package/dist/utils/formatter.js +5 -0
  257. package/dist/utils/getUniqueDates.d.ts +5 -0
  258. package/dist/utils/getUniqueDates.js +9 -0
  259. package/dist/utils/number.d.ts +4 -0
  260. package/dist/utils/number.js +20 -0
  261. package/dist/utils/string.d.ts +11 -0
  262. package/dist/utils/string.js +64 -0
  263. package/dist/utils/xpath.d.ts +6 -0
  264. package/dist/utils/xpath.js +21 -0
  265. package/lib/cjs/index.js +25 -9470
  266. package/lib/esm/index.js +30 -11408
  267. package/package.json +3 -2
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import theme from '../../components/interface/theme';
3
+ var ProtestosGeraisIcon = function (_a) {
4
+ 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;
5
+ return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
6
+ React.createElement("circle", { cx: "15", cy: "15", r: "15", fill: circleFill }),
7
+ React.createElement("mask", { id: "mask0_4_380", style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "3", y: "3", width: "24", height: "24" },
8
+ React.createElement("rect", { x: "3", y: "3", width: "24", height: "24", fill: "#D9D9D9" })),
9
+ React.createElement("g", { mask: "url(#mask0_4_380)" },
10
+ React.createElement("path", { d: "M24 16H22C21.7167 16 21.4792 15.9042 21.2875 15.7125C21.0958 15.5208 21 15.2833 21 15C21 14.7167 21.0958 14.4792 21.2875 14.2875C21.4792 14.0958 21.7167 14 22 14H24C24.2833 14 24.5208 14.0958 24.7125 14.2875C24.9042 14.4792 25 14.7167 25 15C25 15.2833 24.9042 15.5208 24.7125 15.7125C24.5208 15.9042 24.2833 16 24 16ZM19.6 19.8C19.7667 19.5667 19.9833 19.4333 20.25 19.4C20.5167 19.3667 20.7667 19.4333 21 19.6L22.6 20.8C22.8333 20.9667 22.9667 21.1833 23 21.45C23.0333 21.7167 22.9667 21.9667 22.8 22.2C22.6333 22.4333 22.4167 22.5667 22.15 22.6C21.8833 22.6333 21.6333 22.5667 21.4 22.4L19.8 21.2C19.5667 21.0333 19.4333 20.8167 19.4 20.55C19.3667 20.2833 19.4333 20.0333 19.6 19.8ZM22.6 9.2L21 10.4C20.7667 10.5667 20.5167 10.6333 20.25 10.6C19.9833 10.5667 19.7667 10.4333 19.6 10.2C19.4333 9.96666 19.3667 9.71666 19.4 9.45C19.4333 9.18333 19.5667 8.96666 19.8 8.8L21.4 7.6C21.6333 7.43333 21.8833 7.36666 22.15 7.4C22.4167 7.43333 22.6333 7.56666 22.8 7.8C22.9667 8.03333 23.0333 8.28333 23 8.55C22.9667 8.81666 22.8333 9.03333 22.6 9.2ZM8 18H7C6.45 18 5.97917 17.8042 5.5875 17.4125C5.19583 17.0208 5 16.55 5 16V14C5 13.45 5.19583 12.9792 5.5875 12.5875C5.97917 12.1958 6.45 12 7 12H11L14.475 9.9C14.8083 9.7 15.1458 9.7 15.4875 9.9C15.8292 10.1 16 10.3917 16 10.775V19.225C16 19.6083 15.8292 19.9 15.4875 20.1C15.1458 20.3 14.8083 20.3 14.475 20.1L11 18H10V21C10 21.2833 9.90417 21.5208 9.7125 21.7125C9.52083 21.9042 9.28333 22 9 22C8.71667 22 8.47917 21.9042 8.2875 21.7125C8.09583 21.5208 8 21.2833 8 21V18ZM14 17.45V12.55L11.55 14H7V16H11.55L14 17.45ZM17 18.35V11.65C17.45 12.05 17.8125 12.5375 18.0875 13.1125C18.3625 13.6875 18.5 14.3167 18.5 15C18.5 15.6833 18.3625 16.3125 18.0875 16.8875C17.8125 17.4625 17.45 17.95 17 18.35Z", fill: "white" }))));
11
+ };
12
+ export default ProtestosGeraisIcon;
@@ -0,0 +1,4 @@
1
+ import { IconProps } from '@/types/icon';
2
+ import React from 'react';
3
+ declare const ProtestosImpostosIcon: React.FC<IconProps>;
4
+ export default ProtestosImpostosIcon;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import theme from '../../components/interface/theme';
3
+ var ProtestosImpostosIcon = function (_a) {
4
+ 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;
5
+ return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
6
+ React.createElement("circle", { cx: "15", cy: "15", r: "15", fill: circleFill }),
7
+ React.createElement("mask", { id: "mask0_4_379", style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "3", y: "3", width: "24", height: "24" },
8
+ React.createElement("rect", { x: "3", y: "3", width: "24", height: "24", fill: "#D9D9D9" })),
9
+ React.createElement("g", { mask: "url(#mask0_4_379)" },
10
+ 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" }))));
11
+ };
12
+ export default ProtestosImpostosIcon;
@@ -0,0 +1,4 @@
1
+ import { IconProps } from '@/types/icon';
2
+ import React from 'react';
3
+ declare const QuadroSocietarioIcon: React.FC<IconProps>;
4
+ export default QuadroSocietarioIcon;
@@ -0,0 +1,12 @@
1
+ import theme from '../../components/interface/theme';
2
+ import React from 'react';
3
+ var QuadroSocietarioIcon = function (_a) {
4
+ 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;
5
+ return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
6
+ React.createElement("circle", { cx: "15", cy: "15", r: "15", fill: circleFill }),
7
+ React.createElement("mask", { id: "mask0_4_371", style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "3", y: "3", width: "24", height: "24" },
8
+ React.createElement("rect", { x: "3", y: "3", width: "24", height: "24", fill: "#D9D9D9" })),
9
+ React.createElement("g", { mask: "url(#mask0_4_371)" },
10
+ React.createElement("path", { d: "M4 20.2C4 19.6333 4.14583 19.1125 4.4375 18.6375C4.72917 18.1625 5.11667 17.8 5.6 17.55C6.63333 17.0333 7.68333 16.6458 8.75 16.3875C9.81667 16.1292 10.9 16 12 16C13.1 16 14.1833 16.1292 15.25 16.3875C16.3167 16.6458 17.3667 17.0333 18.4 17.55C18.8833 17.8 19.2708 18.1625 19.5625 18.6375C19.8542 19.1125 20 19.6333 20 20.2V21C20 21.55 19.8042 22.0208 19.4125 22.4125C19.0208 22.8042 18.55 23 18 23H6C5.45 23 4.97917 22.8042 4.5875 22.4125C4.19583 22.0208 4 21.55 4 21V20.2ZM24 23H21.45C21.6333 22.7 21.7708 22.3792 21.8625 22.0375C21.9542 21.6958 22 21.35 22 21V20C22 19.2667 21.7958 18.5625 21.3875 17.8875C20.9792 17.2125 20.4 16.6333 19.65 16.15C20.5 16.25 21.3 16.4208 22.05 16.6625C22.8 16.9042 23.5 17.2 24.15 17.55C24.75 17.8833 25.2083 18.2542 25.525 18.6625C25.8417 19.0708 26 19.5167 26 20V21C26 21.55 25.8042 22.0208 25.4125 22.4125C25.0208 22.8042 24.55 23 24 23ZM12 15C10.9 15 9.95833 14.6083 9.175 13.825C8.39167 13.0417 8 12.1 8 11C8 9.9 8.39167 8.95833 9.175 8.175C9.95833 7.39167 10.9 7 12 7C13.1 7 14.0417 7.39167 14.825 8.175C15.6083 8.95833 16 9.9 16 11C16 12.1 15.6083 13.0417 14.825 13.825C14.0417 14.6083 13.1 15 12 15ZM22 11C22 12.1 21.6083 13.0417 20.825 13.825C20.0417 14.6083 19.1 15 18 15C17.8167 15 17.5833 14.9792 17.3 14.9375C17.0167 14.8958 16.7833 14.85 16.6 14.8C17.05 14.2667 17.3958 13.675 17.6375 13.025C17.8792 12.375 18 11.7 18 11C18 10.3 17.8792 9.625 17.6375 8.975C17.3958 8.325 17.05 7.73333 16.6 7.2C16.8333 7.11667 17.0667 7.0625 17.3 7.0375C17.5333 7.0125 17.7667 7 18 7C19.1 7 20.0417 7.39167 20.825 8.175C21.6083 8.95833 22 9.9 22 11ZM6 21H18V20.2C18 20.0167 17.9542 19.85 17.8625 19.7C17.7708 19.55 17.65 19.4333 17.5 19.35C16.6 18.9 15.6917 18.5625 14.775 18.3375C13.8583 18.1125 12.9333 18 12 18C11.0667 18 10.1417 18.1125 9.225 18.3375C8.30833 18.5625 7.4 18.9 6.5 19.35C6.35 19.4333 6.22917 19.55 6.1375 19.7C6.04583 19.85 6 20.0167 6 20.2V21ZM12 13C12.55 13 13.0208 12.8042 13.4125 12.4125C13.8042 12.0208 14 11.55 14 11C14 10.45 13.8042 9.97917 13.4125 9.5875C13.0208 9.19583 12.55 9 12 9C11.45 9 10.9792 9.19583 10.5875 9.5875C10.1958 9.97917 10 10.45 10 11C10 11.55 10.1958 12.0208 10.5875 12.4125C10.9792 12.8042 11.45 13 12 13Z", fill: "white" }))));
11
+ };
12
+ export default QuadroSocietarioIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '@/types/icon';
3
+ declare const ResumoDeNegativacoesIcon: React.FC<IconProps>;
4
+ export default ResumoDeNegativacoesIcon;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import theme from '../../components/interface/theme';
3
+ var ResumoDeNegativacoesIcon = function (_a) {
4
+ 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;
5
+ return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, fill: "none", viewBox: "0 0 30 30", className: className },
6
+ React.createElement("circle", { cx: "15", cy: "15", r: "15", fill: circleFill }),
7
+ React.createElement("mask", { style: { maskType: 'alpha' }, width: "24", height: "24", x: "3", y: "3", maskUnits: "userSpaceOnUse" },
8
+ React.createElement("path", { fill: "#D9D9D9", d: "M3 3H27V27H3z" })),
9
+ 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" })));
10
+ };
11
+ export default ResumoDeNegativacoesIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '@/types/icon';
3
+ declare const ScoreBoaVistaIcon: React.FC<IconProps>;
4
+ export default ScoreBoaVistaIcon;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import theme from '../../components/interface/theme';
3
+ var ScoreBoaVistaIcon = function (_a) {
4
+ 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;
5
+ return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, fill: "none", viewBox: "0 0 30 30", className: className },
6
+ React.createElement("circle", { cx: "15", cy: "15", r: "15", fill: circleFill }),
7
+ React.createElement("path", { fill: "#fff", d: "M15 25a9.676 9.676 0 01-3.875-.788 10.144 10.144 0 01-3.188-2.15 10.142 10.142 0 01-2.15-3.187A9.676 9.676 0 015 15c0-1.383.263-2.68.787-3.887a10.183 10.183 0 012.15-3.175 10.143 10.143 0 013.188-2.15A9.676 9.676 0 0115 5c1.383 0 2.68.263 3.887.787a10.183 10.183 0 013.175 2.15 10.184 10.184 0 012.15 3.176A9.649 9.649 0 0125 15a9.676 9.676 0 01-.788 3.875 10.143 10.143 0 01-2.15 3.188 10.184 10.184 0 01-3.175 2.15A9.649 9.649 0 0115 25zm0-6c1 0 1.975.146 2.925.438.95.291 1.842.712 2.675 1.262a8.255 8.255 0 001.775-2.613A7.775 7.775 0 0023 15c0-2.233-.775-4.125-2.325-5.675C19.125 7.775 17.233 7 15 7c-2.233 0-4.125.775-5.675 2.325C7.775 10.875 7 12.767 7 15c0 1.083.204 2.117.612 3.1A7.604 7.604 0 009.4 20.7c.833-.55 1.725-.97 2.675-1.262A9.91 9.91 0 0115 19zm0 2c-.683 0-1.35.083-2 .25a7.436 7.436 0 00-1.85.75c.583.333 1.2.583 1.85.75.65.167 1.317.25 2 .25s1.35-.083 2-.25a7.436 7.436 0 001.85-.75 7.436 7.436 0 00-1.85-.75 8.019 8.019 0 00-2-.25zm-5-7c.283 0 .52-.096.713-.287A.968.968 0 0011 13a.968.968 0 00-.287-.713A.968.968 0 0010 12a.967.967 0 00-.713.287A.968.968 0 009 13c0 .283.096.52.287.713.192.191.43.287.713.287zm3-3c.283 0 .52-.096.713-.287A.968.968 0 0014 10a.967.967 0 00-.287-.713A.968.968 0 0013 9a.968.968 0 00-.713.287A.967.967 0 0012 10c0 .283.096.52.287.713.192.191.43.287.713.287zm7 3c.283 0 .52-.096.712-.287A.968.968 0 0021 13a.968.968 0 00-.288-.713A.968.968 0 0020 12a.968.968 0 00-.712.287A.968.968 0 0019 13c0 .283.096.52.288.713.191.191.429.287.712.287zm-5 3c.55 0 1.02-.196 1.413-.587.391-.392.587-.863.587-1.413 0-.217-.033-.43-.1-.637a1.744 1.744 0 00-.3-.563l1.35-3.4a.962.962 0 00.012-.787 1.034 1.034 0 00-.562-.563.903.903 0 00-.762-.013.943.943 0 00-.538.563L14.75 13c-.5.083-.917.313-1.25.688-.333.374-.5.812-.5 1.312 0 .55.196 1.02.588 1.413.391.391.862.587 1.412.587z" })));
8
+ };
9
+ export default ScoreBoaVistaIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '@/types/icon';
3
+ declare const ScrIcon: React.FC<IconProps>;
4
+ export default ScrIcon;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import theme from '../../components/interface/theme';
3
+ var ScrIcon = function (_a) {
4
+ 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;
5
+ return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, fill: "none", viewBox: "0 0 30 30", className: className },
6
+ React.createElement("circle", { cx: "15", cy: "15", r: "15", fill: circleFill }),
7
+ 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" })));
8
+ };
9
+ export default ScrIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '@/types/icon';
3
+ declare const UltimaMovimentacaoIcon: React.FC<IconProps>;
4
+ export default UltimaMovimentacaoIcon;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import theme from '../../components/interface/theme';
3
+ var UltimaMovimentacaoIcon = function (_a) {
4
+ 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;
5
+ return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
6
+ React.createElement("circle", { cx: "15", cy: "15", r: "15", fill: circleFill }),
7
+ React.createElement("mask", { id: "mask0_4_382", style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "3", y: "3", width: "24", height: "24" },
8
+ React.createElement("rect", { x: "3", y: "3", width: "24", height: "24", fill: "#D9D9D9" })),
9
+ React.createElement("g", { mask: "url(#mask0_4_382)" },
10
+ React.createElement("path", { d: "M13.275 15C12.8083 15 12.425 14.825 12.125 14.475C11.825 14.125 11.7167 13.7167 11.8 13.25L12.1 11.45C12.2333 10.7333 12.5708 10.1458 13.1125 9.6875C13.6542 9.22917 14.2833 9 15 9C15.7333 9 16.3708 9.22917 16.9125 9.6875C17.4542 10.1458 17.7917 10.7333 17.925 11.45L18.225 13.25C18.3083 13.7167 18.2 14.125 17.9 14.475C17.6 14.825 17.2167 15 16.75 15H13.275ZM13.875 13H16.15L15.95 11.775C15.9167 11.5417 15.8083 11.3542 15.625 11.2125C15.4417 11.0708 15.2333 11 15 11C14.7667 11 14.5625 11.0708 14.3875 11.2125C14.2125 11.3542 14.1083 11.5417 14.075 11.775L13.875 13ZM6.1 15.975C5.71667 15.9917 5.3875 15.9167 5.1125 15.75C4.8375 15.5833 4.65833 15.325 4.575 14.975C4.54167 14.825 4.53333 14.675 4.55 14.525C4.56667 14.375 4.60833 14.2333 4.675 14.1C4.675 14.1167 4.66667 14.0833 4.65 14C4.61667 13.9667 4.53333 13.7667 4.4 13.4C4.36667 13.2 4.39167 13.0083 4.475 12.825C4.55833 12.6417 4.66667 12.4833 4.8 12.35L4.85 12.3C4.88333 11.9833 5.0125 11.7167 5.2375 11.5C5.4625 11.2833 5.74167 11.175 6.075 11.175C6.125 11.175 6.28333 11.2083 6.55 11.275L6.625 11.25C6.70833 11.1667 6.81667 11.1042 6.95 11.0625C7.08333 11.0208 7.225 11 7.375 11C7.55833 11 7.72083 11.0292 7.8625 11.0875C8.00417 11.1458 8.11667 11.2333 8.2 11.35C8.21667 11.35 8.22917 11.3542 8.2375 11.3625C8.24583 11.3708 8.25833 11.375 8.275 11.375C8.50833 11.3917 8.7125 11.4625 8.8875 11.5875C9.0625 11.7125 9.19167 11.8833 9.275 12.1C9.30833 12.2167 9.32083 12.3292 9.3125 12.4375C9.30417 12.5458 9.28333 12.65 9.25 12.75C9.25 12.7667 9.25833 12.8 9.275 12.85C9.39167 12.9667 9.48333 13.0958 9.55 13.2375C9.61667 13.3792 9.65 13.525 9.65 13.675C9.65 13.7417 9.6 13.9167 9.5 14.2C9.48333 14.2333 9.48333 14.2667 9.5 14.3L9.55 14.7C9.55 15.05 9.40417 15.35 9.1125 15.6C8.82083 15.85 8.46667 15.975 8.05 15.975H6.1ZM23 16C22.45 16 21.9792 15.8042 21.5875 15.4125C21.1958 15.0208 21 14.55 21 14C21 13.8 21.0292 13.6125 21.0875 13.4375C21.1458 13.2625 21.225 13.0917 21.325 12.925L20.625 12.3C20.4583 12.1667 20.4292 12 20.5375 11.8C20.6458 11.6 20.8 11.5 21 11.5H23C23.55 11.5 24.0208 11.6958 24.4125 12.0875C24.8042 12.4792 25 12.95 25 13.5V14C25 14.55 24.8042 15.0208 24.4125 15.4125C24.0208 15.8042 23.55 16 23 16ZM3 20V19.425C3 18.6917 3.37083 18.1042 4.1125 17.6625C4.85417 17.2208 5.81667 17 7 17C7.21667 17 7.425 17.0042 7.625 17.0125C7.825 17.0208 8.01667 17.0417 8.2 17.075C7.96667 17.4083 7.79167 17.7667 7.675 18.15C7.55833 18.5333 7.5 18.9417 7.5 19.375V21H4C3.71667 21 3.47917 20.9042 3.2875 20.7125C3.09583 20.5208 3 20.2833 3 20ZM9 20V19.375C9 18.2917 9.55417 17.4167 10.6625 16.75C11.7708 16.0833 13.2167 15.75 15 15.75C16.8 15.75 18.25 16.0833 19.35 16.75C20.45 17.4167 21 18.2917 21 19.375V20C21 20.2833 20.9042 20.5208 20.7125 20.7125C20.5208 20.9042 20.2833 21 20 21H10C9.71667 21 9.47917 20.9042 9.2875 20.7125C9.09583 20.5208 9 20.2833 9 20ZM23 17C24.2 17 25.1667 17.2208 25.9 17.6625C26.6333 18.1042 27 18.6917 27 19.425V20C27 20.2833 26.9042 20.5208 26.7125 20.7125C26.5208 20.9042 26.2833 21 26 21H22.5V19.375C22.5 18.9417 22.4458 18.5333 22.3375 18.15C22.2292 17.7667 22.0667 17.4083 21.85 17.075C22.0333 17.0417 22.2208 17.0208 22.4125 17.0125C22.6042 17.0042 22.8 17 23 17ZM15 17.75C14.05 17.75 13.2 17.875 12.45 18.125C11.7 18.375 11.2583 18.6667 11.125 19H18.9C18.75 18.6667 18.3042 18.375 17.5625 18.125C16.8208 17.875 15.9667 17.75 15 17.75Z", fill: "white" }))));
11
+ };
12
+ export default UltimaMovimentacaoIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '@/types/icon';
3
+ declare const VeiculosIcon: React.FC<IconProps>;
4
+ export default VeiculosIcon;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import theme from '../../components/interface/theme';
3
+ var VeiculosIcon = function (_a) {
4
+ 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;
5
+ return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, fill: "none", viewBox: "0 0 30 30", className: className },
6
+ React.createElement("circle", { cx: "15", cy: "15", r: "15", fill: circleFill }),
7
+ React.createElement("path", { fill: "#fff", d: "M9 21v.5c0 .417-.146.77-.438 1.063A1.446 1.446 0 017.5 23c-.417 0-.77-.146-1.063-.438A1.447 1.447 0 016 21.5v-7.15c0-.117.008-.233.025-.35.017-.117.042-.225.075-.325L7.975 8.35c.133-.4.375-.725.725-.975S9.442 7 9.875 7h10.25c.433 0 .825.125 1.175.375.35.25.592.575.725.975l1.875 5.325c.033.1.058.208.075.325.017.117.025.233.025.35v7.15c0 .417-.146.77-.438 1.063A1.446 1.446 0 0122.5 23c-.417 0-.77-.146-1.063-.438A1.446 1.446 0 0121 21.5V21H9zm-.2-9h12.4l-1.05-3H9.85L8.8 12zm1.7 6c.417 0 .77-.146 1.063-.438.291-.291.437-.645.437-1.062 0-.417-.146-.77-.438-1.063A1.446 1.446 0 0010.5 15c-.417 0-.77.146-1.063.438A1.447 1.447 0 009 16.5c0 .417.146.77.438 1.063.291.291.645.437 1.062.437zm9 0c.417 0 .77-.146 1.063-.438.291-.291.437-.645.437-1.062 0-.417-.146-.77-.438-1.063A1.446 1.446 0 0019.5 15c-.417 0-.77.146-1.063.438A1.446 1.446 0 0018 16.5c0 .417.146.77.438 1.063.291.291.645.437 1.062.437zM8 19h14v-5H8v5z" })));
8
+ };
9
+ export default VeiculosIcon;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ export type Address = {
3
+ type: string;
4
+ address: string;
5
+ number: string;
6
+ zipcode: string;
7
+ district: string;
8
+ city: string;
9
+ state: string;
10
+ urlMaps: string;
11
+ urlImage: string;
12
+ main?: boolean;
13
+ };
14
+ interface Addresses {
15
+ apiKey: string;
16
+ rfbResponse?: Document;
17
+ }
18
+ declare const Addresses: React.FC<Addresses>;
19
+ export default Addresses;
@@ -0,0 +1,50 @@
1
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
2
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
3
+ if (ar || !(i in from)) {
4
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
5
+ ar[i] = from[i];
6
+ }
7
+ }
8
+ return to.concat(ar || Array.prototype.slice.call(from));
9
+ };
10
+ import React, { useContext } from 'react';
11
+ import { Result, ResultContent } from '../interface/result';
12
+ import AddItemField from '../common/addItem';
13
+ import { Queries } from '../webservice';
14
+ import XPathUtils from '../../utils/xpath';
15
+ import EnderecoIcon from '../../assets/icones/endereco';
16
+ import { useConsultaRfb } from '../../hooks/useConsultaRfb';
17
+ import { uniq } from 'underscore';
18
+ var Addresses = function () {
19
+ var ctx = useContext(Queries.Finder);
20
+ var Section = ctx.Section;
21
+ var rfbResponse = useConsultaRfb().rfbResponse;
22
+ var response = function (data) {
23
+ var _addresses = __spreadArray(__spreadArray([], ((data && XPathUtils.select('//enderecos/enderecos', data)) ||
24
+ []), true), ((!data &&
25
+ rfbResponse &&
26
+ XPathUtils.select('//RFB/enderecos/endereco', rfbResponse)) ||
27
+ []), true);
28
+ var addresses = uniq(_addresses.map(function (address) { return ({
29
+ type: XPathUtils.select('string(tipoLogradouro)', address),
30
+ address: XPathUtils.select('string(logradouro)', address),
31
+ number: XPathUtils.select('string(numero)', address),
32
+ zipcode: XPathUtils.select('string(cep)', address),
33
+ district: XPathUtils.select('string(bairro)', address),
34
+ city: XPathUtils.select('string(cidade)', address),
35
+ state: XPathUtils.select('string(uf)', address),
36
+ urlImage: '',
37
+ urlMaps: ''
38
+ }); }), function (e) { return e.address + e.district; });
39
+ return (React.createElement(Result, { resultContentStriped: true, className: "address" }, addresses === null || addresses === void 0 ? void 0 : addresses.map(function (address, index) { return (React.createElement(ResultContent, { desktop: "repeat(7, 1fr)", tablet: "repeat(4, 1fr)", mobile: "repeat(2, 1fr)", key: index },
40
+ React.createElement(AddItemField, { name: "Tipo", value: address.type, style: { display: 'inline-block' } }),
41
+ React.createElement(AddItemField, { name: "Endere\u00E7o", value: address.address, style: { display: 'inline-block' } }),
42
+ React.createElement(AddItemField, { name: "N\u00FAmero", value: address.number, style: { display: 'inline-block' } }),
43
+ React.createElement(AddItemField, { name: "CEP", value: address.zipcode, style: { display: 'inline-block' } }),
44
+ React.createElement(AddItemField, { name: "Bairro", value: address.district, style: { display: 'inline-block' } }),
45
+ React.createElement(AddItemField, { name: "Cidade", value: address.city, style: { display: 'inline-block' } }),
46
+ React.createElement(AddItemField, { name: "Estado", value: address.state, style: { display: 'inline-block' } }))); })));
47
+ };
48
+ return (React.createElement(Section, { title: "Endere\u00E7os", subtitle: "Informa\u00E7\u00F5es de endere\u00E7os do documento pesquisado.", icon: EnderecoIcon, minimized: false, ctx: ctx, onError: function () { return response(undefined); }, onSuccess: response }));
49
+ };
50
+ export default Addresses;
@@ -0,0 +1,6 @@
1
+ interface GeocodeResponse {
2
+ lat: number;
3
+ lng: number;
4
+ }
5
+ export declare function getGeocode(address: string, apiKey: string): Promise<GeocodeResponse | null>;
6
+ export {};
@@ -0,0 +1,69 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ var __generator = (this && this.__generator) || function (thisArg, body) {
11
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
12
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
+ function verb(n) { return function (v) { return step([n, v]); }; }
14
+ function step(op) {
15
+ if (f) throw new TypeError("Generator is already executing.");
16
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
17
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
18
+ if (y = 0, t) op = [op[0] & 2, t.value];
19
+ switch (op[0]) {
20
+ case 0: case 1: t = op; break;
21
+ case 4: _.label++; return { value: op[1], done: false };
22
+ case 5: _.label++; y = op[1]; op = [0]; continue;
23
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
24
+ default:
25
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
26
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
27
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
28
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
29
+ if (t[2]) _.ops.pop();
30
+ _.trys.pop(); continue;
31
+ }
32
+ op = body.call(thisArg, _);
33
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
34
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
+ }
36
+ };
37
+ export function getGeocode(address, apiKey) {
38
+ return __awaiter(this, void 0, void 0, function () {
39
+ var url, response, data, results, location_1, error_1;
40
+ return __generator(this, function (_a) {
41
+ switch (_a.label) {
42
+ case 0:
43
+ _a.trys.push([0, 3, , 4]);
44
+ url = new URL('https://maps.googleapis.com/maps/api/geocode/json');
45
+ url.search = new URLSearchParams({ address: address, key: apiKey }).toString();
46
+ return [4 /*yield*/, fetch(url)];
47
+ case 1:
48
+ response = _a.sent();
49
+ if (!response.ok) {
50
+ throw new Error("Erro na requisi\u00E7\u00E3o: ".concat(response.status));
51
+ }
52
+ return [4 /*yield*/, response.json()];
53
+ case 2:
54
+ data = _a.sent();
55
+ results = data.results;
56
+ if (results && results.length > 0) {
57
+ location_1 = results[0].geometry.location;
58
+ return [2 /*return*/, { lat: location_1.lat, lng: location_1.lng }];
59
+ }
60
+ return [2 /*return*/, null];
61
+ case 3:
62
+ error_1 = _a.sent();
63
+ console.error('Erro ao obter geocódigo:', error_1);
64
+ return [2 /*return*/, null];
65
+ case 4: return [2 /*return*/];
66
+ }
67
+ });
68
+ });
69
+ }
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface MapContainerProps {
3
+ address: string;
4
+ apiKey: string;
5
+ }
6
+ interface MapContainerProps {
7
+ log?: number;
8
+ lat?: number;
9
+ }
10
+ declare const MapContainer: React.FC<MapContainerProps>;
11
+ export default MapContainer;
@@ -0,0 +1,25 @@
1
+ import React, { useEffect, useState } from 'react';
2
+ import { GoogleMap, LoadScript, Marker } from '@react-google-maps/api';
3
+ import { getGeocode } from './getGeocode';
4
+ var MapContainer = function (_a) {
5
+ var address = _a.address, apiKey = _a.apiKey;
6
+ var _b = useState({ lat: 0, lng: 0 }), coordinates = _b[0], setCoordinates = _b[1];
7
+ useEffect(function () {
8
+ getGeocode(address, apiKey).then(function (coords) {
9
+ if (coords) {
10
+ setCoordinates(coords);
11
+ }
12
+ });
13
+ }, [address, apiKey]);
14
+ var mapStyles = {
15
+ height: '100px',
16
+ width: '100px'
17
+ };
18
+ if (!coordinates) {
19
+ return React.createElement("div", null, "Carregando mapa...");
20
+ }
21
+ return (React.createElement(LoadScript, { googleMapsApiKey: apiKey },
22
+ React.createElement(GoogleMap, { mapContainerStyle: mapStyles, zoom: 13, center: coordinates },
23
+ React.createElement(Marker, { position: coordinates }))));
24
+ };
25
+ export default MapContainer;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const BankAccounts: () => React.JSX.Element;
3
+ export default BankAccounts;
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ import { useContext } from 'react';
3
+ import { Queries } from '../webservice';
4
+ import { Result, ResultContent } from '../interface/result';
5
+ import AddItemField from '../common/addItem';
6
+ import XPathUtils from '../../utils/xpath';
7
+ import ContasBancariasIcon from '../../assets/icones/contasBancarias';
8
+ import StatusMessage from '../interface/statusMessage';
9
+ import theme from '../interface/theme';
10
+ var BankAccounts = function () {
11
+ var ctx = useContext(Queries.Finder);
12
+ var Section = ctx.Section;
13
+ return (React.createElement(Section, { title: 'Informações de Contas Bancárias', subtitle: 'Vejas as informações disponíveis de contas bancárias.', icon: ContasBancariasIcon, ctx: ctx, minimized: false, onSuccess: function (data) {
14
+ var accounts = XPathUtils.selectArray('//bank-info/node', data);
15
+ var message = (accounts === null || accounts === void 0 ? void 0 : accounts.length)
16
+ ? (accounts === null || accounts === void 0 ? void 0 : accounts.length) > 1
17
+ ? "Encontrada ".concat(accounts === null || accounts === void 0 ? void 0 : accounts.length, " contas banc\u00E1rias")
18
+ : 'Encontrada 1 conta bancária'
19
+ : 'Não foram encontradas ocorrências';
20
+ return {
21
+ children: accounts.length ? (React.createElement(Result, null, accounts.map(function (account, key) { return (React.createElement(ResultContent, { key: key },
22
+ React.createElement(AddItemField, { name: "Banco", value: XPathUtils.select('string(banco)', account) }),
23
+ React.createElement(AddItemField, { name: "Ag\u00EAncia", value: XPathUtils.select('string(agencia)', account) }),
24
+ React.createElement(AddItemField, { name: "Conta", value: XPathUtils.select('string(conta)', account) }))); }))) : null,
25
+ description: React.createElement(StatusMessage, null, message),
26
+ iconProps: {
27
+ circleFill: (accounts === null || accounts === void 0 ? void 0 : accounts.length) ? theme.colors.erro : ''
28
+ }
29
+ };
30
+ } }));
31
+ };
32
+ export default BankAccounts;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const CCF: () => React.JSX.Element;
3
+ export default CCF;
@@ -0,0 +1,37 @@
1
+ import React, { useContext } from 'react';
2
+ import { Queries } from '../webservice';
3
+ import { Result } from '../interface/result';
4
+ import XPathUtils from '../../utils/xpath';
5
+ import CCFList from './ccfList';
6
+ import ChequesSemFundoIcon from '../../assets/icones/chequesSemFundo';
7
+ import StatusMessage from '../interface/statusMessage';
8
+ var CCF = function () {
9
+ var ctx = useContext(Queries.CCF);
10
+ var Section = ctx.Section;
11
+ var mapNodeToCCFData = function (node) { return ({
12
+ banco: XPathUtils.select('string(./banco)', node),
13
+ agencia: XPathUtils.select('string(./agencia)', node),
14
+ quantidadeDeOcorrencias: parseInt(XPathUtils.select('string(./qteOcorrencias)', node), 10),
15
+ ultimaOcorrencia: XPathUtils.select('string(./ultimo)', node),
16
+ motivo: XPathUtils.select('string(./motivo)', node)
17
+ }); };
18
+ return (React.createElement(Section, { ctx: ctx, title: "Cheques sem Fundos em Institui\u00E7\u00E3o Banc\u00E1ria", subtitle: "Detalhes acerca de cheques sem fundos emitidos.", icon: ChequesSemFundoIcon, onSuccess: function (data) {
19
+ var allItems = XPathUtils.selectArray('//list/*', data);
20
+ var filteredItems = allItems.filter(function (node) {
21
+ return node.nodeName.startsWith('item');
22
+ });
23
+ var ccfData = filteredItems.map(mapNodeToCCFData);
24
+ var totalOcorrencias = XPathUtils.select('number(//sumQteOcorrencias)', data);
25
+ var children = (ccfData === null || ccfData === void 0 ? void 0 : ccfData.length) ? (React.createElement(Result, null, ccfData.map(function (ccf, key) { return (React.createElement(CCFList, { key: key, data: [ccf] })); }))) : null;
26
+ return {
27
+ children: children,
28
+ variant: totalOcorrencias ? 'error' : 'default',
29
+ description: (React.createElement(StatusMessage, { type: totalOcorrencias ? 'error' : 'default' }, totalOcorrencias
30
+ ? totalOcorrencias === 1
31
+ ? 'Encontrado um cheque sem fundo'
32
+ : "Encontrados ".concat(totalOcorrencias, " Cheques sem fundos")
33
+ : 'Não há ocorrência de cheques sem fundo'))
34
+ };
35
+ } }));
36
+ };
37
+ export default CCF;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export type CCFData = {
3
+ banco: string;
4
+ agencia: string;
5
+ quantidadeDeOcorrencias: number;
6
+ ultimaOcorrencia: string;
7
+ motivo: string;
8
+ };
9
+ declare const CCFList: React.FC<{
10
+ data: CCFData[];
11
+ }>;
12
+ export default CCFList;
@@ -0,0 +1,24 @@
1
+ import React, { memo } from 'react';
2
+ import { ResultContent } from '../interface/result';
3
+ import AddCffField from '../common/addItem';
4
+ import { formatDistance } from 'date-fns';
5
+ import { ptBR } from 'date-fns/locale';
6
+ var CCFItem = memo(function (_a) {
7
+ var ccf = _a.ccf;
8
+ var startDate = new Date(ccf.ultimaOcorrencia.split('/').reverse().join('-'));
9
+ var endDate = new Date();
10
+ var distance = formatDistance(startDate, endDate, {
11
+ locale: ptBR
12
+ });
13
+ return (React.createElement(React.Fragment, null,
14
+ React.createElement(AddCffField, { name: "Banco", value: ccf.banco }),
15
+ React.createElement(AddCffField, { name: "Ag\u00EAncia", value: ccf.agencia }),
16
+ React.createElement(AddCffField, { name: "Qtde. Ocorr\u00EAncias", value: ccf.quantidadeDeOcorrencias }),
17
+ React.createElement(AddCffField, { name: "\u00DAltima Ocorr\u00EAncia (h\u00E1 ".concat(distance, ")"), value: ccf.ultimaOcorrencia }),
18
+ React.createElement(AddCffField, { name: "Al\u00EDnea", value: ccf.motivo })));
19
+ });
20
+ var CCFList = function (_a) {
21
+ var data = _a.data;
22
+ return (React.createElement(ResultContent, { desktop: "repeat(5, 1fr)", tablet: "repeat(3, 1fr)", mobile: "repeat(2, 1fr)" }, data.map(function (ccf, i) { return (React.createElement(CCFItem, { key: i, ccf: ccf })); })));
23
+ };
24
+ export default CCFList;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { DataInput } from './types/iChart';
3
+ declare const ChartContent: React.FC<{
4
+ dataInput: DataInput;
5
+ }>;
6
+ export default ChartContent;
@@ -0,0 +1,50 @@
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
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
6
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
7
+ if (ar || !(i in from)) {
8
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
9
+ ar[i] = from[i];
10
+ }
11
+ }
12
+ return to.concat(ar || Array.prototype.slice.call(from));
13
+ };
14
+ import React from 'react';
15
+ import { Chart, registerables } from 'chart.js';
16
+ import CategoriaProtesto from './components/categoryProtestos';
17
+ import ResponsiveGrid from '../interface/responsiveGrid';
18
+ import PieChart from './components/PieChart';
19
+ import styled from 'styled-components';
20
+ import MixedChart from './components/MixedChart';
21
+ import ChartDataLabels from 'chartjs-plugin-datalabels';
22
+ import { useWindowSize } from '../../hooks/useWindowSize';
23
+ Chart.register.apply(Chart, __spreadArray([ChartDataLabels], registerables, false));
24
+ var Title = styled.h2(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n text-align: left;\n margin-bottom: 20px;\n"], ["\n text-align: left;\n margin-bottom: 20px;\n"])));
25
+ var getWidth = function (windowWidth, chartType) {
26
+ var baseWidth = windowWidth <= 768 ? '98%' : windowWidth <= 1200 ? '92%' : '100%';
27
+ if (chartType === 'pie') {
28
+ return windowWidth <= 1001 ? '80%' : windowWidth <= 1200 ? '80%' : '100%';
29
+ }
30
+ return baseWidth;
31
+ };
32
+ var ChartContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: ", ";\n"], ["\n width: ", ";\n"])), function (_a) {
33
+ var windowWidth = _a.windowWidth, chartType = _a.chartType;
34
+ return getWidth(windowWidth, chartType);
35
+ });
36
+ var ChartContent = function (_a) {
37
+ var dataInput = _a.dataInput;
38
+ var windowWidth = useWindowSize().width;
39
+ return (React.createElement(React.Fragment, null,
40
+ React.createElement(ResponsiveGrid, { desktop: "1fr 2fr" },
41
+ React.createElement(ChartContainer, { windowWidth: windowWidth, chartType: "pie" },
42
+ React.createElement(Title, null, "Resumo de Ocorr\u00EAncias"),
43
+ React.createElement(PieChart, { dataInput: dataInput })),
44
+ React.createElement(ChartContainer, { windowWidth: windowWidth, chartType: "mixed" },
45
+ React.createElement(Title, null, "Detalhamento por Categoria"),
46
+ React.createElement(MixedChart, { dataInput: dataInput }))),
47
+ React.createElement(CategoriaProtesto, { dataInput: dataInput.protestosCategory || [] })));
48
+ };
49
+ export default ChartContent;
50
+ var templateObject_1, templateObject_2;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface ChartSystemProps {
3
+ documento: string;
4
+ }
5
+ declare const ChartSystem: React.FC<ChartSystemProps>;
6
+ export default ChartSystem;
@@ -0,0 +1,61 @@
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
+ import React, { useContext, useEffect } from 'react';
6
+ import { useUltimaOcorrenciaCCF, useCalculation, useDividasPublicas } from './utils/chartUtils';
7
+ import Header from '../interface/header';
8
+ import StatusMessage from '../interface/statusMessage';
9
+ import useToggle from '../../hooks/useToggle';
10
+ import styled from 'styled-components';
11
+ import QuantidadeResultados from './quantityResult';
12
+ import ChartContent from './chartContent';
13
+ import BtnWrapper from '../../assets/btn/btnWrapper';
14
+ import ChevronUp from '../../assets/btn/chevronUp';
15
+ import ChevronDown from '../../assets/btn/chevronDown';
16
+ import useChartData from './hooks/useChartData';
17
+ import ResumoDeNegativacoesIcon from '../../assets/icones/resumoNegativacoes';
18
+ import { ConsultasComplementaresContext } from '../consultasComplementares';
19
+ import { converterParaFormatoValido } from '../../utils/string';
20
+ var Content = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: ", ";\n padding: 0px 30px;\n\n @media print {\n display: block;\n }\n"], ["\n display: ", ";\n padding: 0px 30px;\n\n @media print {\n display: block;\n }\n"])), function (props) { return (props.isOpen ? 'block' : 'none'); });
21
+ var ChartSystem = function (_a) {
22
+ var _b, _c, _d, _e, _f, _g, _h, _j, _k;
23
+ var documento = _a.documento;
24
+ var _l = useChartData(documento), data = _l.data, isLoading = _l.isLoading, error = _l.error, refetch = _l.refetch;
25
+ var ctxConsultasComplementares = useContext(ConsultasComplementaresContext);
26
+ var errorMessage = typeof error === 'string' ? error : error === null || error === void 0 ? void 0 : error.toString();
27
+ var _m = useToggle(true), isOpen = _m[0], toggleOpen = _m[1];
28
+ var ultimaOcorrenciaCCF = useUltimaOcorrenciaCCF();
29
+ var quantidadeProtestos = ((_c = (_b = data === null || data === void 0 ? void 0 : data.protestos) === null || _b === void 0 ? void 0 : _b[(data === null || data === void 0 ? void 0 : data.protestos.length) - 1]) === null || _c === void 0 ? void 0 : _c.quantidade) || 0;
30
+ var valorTotalProtestos = ((_e = (_d = data === null || data === void 0 ? void 0 : data.protestos) === null || _d === void 0 ? void 0 : _d[(data === null || data === void 0 ? void 0 : data.protestos.length) - 1]) === null || _e === void 0 ? void 0 : _e.valorTotal) || 0;
31
+ var _o = useDividasPublicas(), quantidadeDividas = _o.quantidade, valorTotalDividas = _o.valorTotal;
32
+ var _p = useCalculation((data === null || data === void 0 ? void 0 : data.serasa) || []), quantidadeSerasa = _p.quantidade, valorTotalSerasa = _p.valorTotal;
33
+ var _q = useCalculation((data === null || data === void 0 ? void 0 : data.boaVista) || []), quantidadeBoaVista = _q.quantidade, valorTotalBoaVista = _q.valorTotal;
34
+ var quantidadeCCFs = useCalculation((data === null || data === void 0 ? void 0 : data.ccfs) || []).quantidade;
35
+ var ultimaOcorrenciaProtestos = '';
36
+ if ((data === null || data === void 0 ? void 0 : data.protestosCategory) && data.protestosCategory.length > 0) {
37
+ var datasOcorrencias = data.protestosCategory
38
+ .map(function (categoria) { return categoria.ultimaOcorrencia; })
39
+ .filter(Boolean)
40
+ .map(function (data) {
41
+ return new Date(converterParaFormatoValido(data)).getTime();
42
+ })
43
+ .filter(function (timestamp) { return !isNaN(timestamp); });
44
+ if (datasOcorrencias.length > 0) {
45
+ ultimaOcorrenciaProtestos = new Date(Math.max.apply(Math, datasOcorrencias)).toLocaleDateString();
46
+ }
47
+ }
48
+ var consultaPefinBoaVista = (_g = (_f = ctxConsultasComplementares === null || ctxConsultasComplementares === void 0 ? void 0 : ctxConsultasComplementares.consultasComplementares) === null || _f === void 0 ? void 0 : _f.refinBoaVista) === null || _g === void 0 ? void 0 : _g.data;
49
+ var consultaPefinSerasa = (_j = (_h = ctxConsultasComplementares === null || ctxConsultasComplementares === void 0 ? void 0 : ctxConsultasComplementares.consultasComplementares) === null || _h === void 0 ? void 0 : _h.refinSerasa) === null || _j === void 0 ? void 0 : _j.data;
50
+ useEffect(function () {
51
+ if (consultaPefinBoaVista || consultaPefinSerasa)
52
+ refetch();
53
+ }, [consultaPefinBoaVista, consultaPefinSerasa]);
54
+ return (React.createElement(React.Fragment, null,
55
+ React.createElement(Header, { title: "Resumo de Negativa\u00E7\u00F5es", subtitle: "Veja a quantidade de ocorr\u00EAncias conforme o documento foi consultado ao longo do tempo", description: errorMessage && (React.createElement(StatusMessage, { type: "error" }, errorMessage)), variant: isLoading ? 'loading' : 'default', icon: ResumoDeNegativacoesIcon, actions: React.createElement(BtnWrapper, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)) }),
56
+ React.createElement(Content, { isOpen: isOpen },
57
+ data && React.createElement(ChartContent, { dataInput: data }),
58
+ !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 })))));
59
+ };
60
+ export default ChartSystem;
61
+ var templateObject_1;