ivt
Version:
Ivt Components Library
1 lines • 3.13 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","sources":["../../src/components/default/layout/SectionInfo.tsx","../../src/components/default/layout/ShowNotFound.tsx"],"sourcesContent":["import React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\ninterface SectionInfoProps {\n\ttitle?: string;\n\tdescription?: string;\n\tclassName?: string;\n\textraDescription?: React.ReactNode;\n}\n\nexport const SectionInfo: React.FC<SectionInfoProps> = ({\n\ttitle = \"Informações Básicas\",\n\tdescription = \"Veja informações sobre o Administrador de Fundo\",\n\tclassName,\n\textraDescription,\n}: SectionInfoProps) => {\n\treturn (\n\t\t<section className={cn(\"relative space-y-4 w-full lg:w-2/5\", className)}>\n\t\t\t<h2 className=\"text-content-high text-2xl font-semibold\">{title}</h2>\n\t\t\t<p className=\"text-content-medium text-base\">\n\t\t\t\t{description}\n\t\t\t\t{extraDescription}\n\t\t\t</p>\n\t\t</section>\n\t);\n};\n","import { AlertTriangleIcon } from \"lucide-react\";\nimport React from \"react\";\nimport { ChildContainer } from \"./ChildContainer\";\nimport { Container } from \"./Container\";\nimport { SectionInfo } from \"./SectionInfo\";\n\ninterface ShowNotFoundProps {\n\ttitle: string;\n\tdescription: string;\n}\n\nexport const ShowNotFound: React.FC<ShowNotFoundProps> = ({\n\ttitle = \"Administrador de Fundos não encontrado.\",\n\tdescription = \"Não foi possível encontrar o Administrador de Fundos solicitado.\",\n}: ShowNotFoundProps) => {\n\treturn (\n\t\t<Container>\n\t\t\t<ChildContainer>\n\t\t\t\t<SectionInfo description={description} />\n\t\t\t\t<section className=\"flex w-full max-w-[600px] items-center md:flex-[6]\">\n\t\t\t\t\t<div className=\"text-content-medium flex flex-wrap items-center gap-2 text-sm sm:text-base\">\n\t\t\t\t\t\t<AlertTriangleIcon className=\"text-destructive h-5 w-5\" />\n\t\t\t\t\t\t<span>{title}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</section>\n\t\t\t</ChildContainer>\n\t\t</Container>\n\t);\n};\n"],"names":["SectionInfo","title","description","className","extraDescription","React","section","cn","h2","p","ShowNotFound","Container","ChildContainer","div","AlertTriangleIcon","span"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUO,MAAMA,WAAAA,GAA0C,CAAC,EACvDC,KAAAA,GAAQ,qBAAqB,EAC7BC,WAAAA,GAAc,iDAAiD,EAC/DC,SAAS,EACTC,gBAAgB,EACE,GAAA;AAClB,IAAA,qBACCC,cAAA,CAAA,aAAA,CAACC,SAAAA,EAAAA;AAAQH,QAAAA,SAAAA,EAAWI,GAAG,oCAAA,EAAsCJ,SAAAA;qBAC5DE,cAAA,CAAA,aAAA,CAACG,IAAAA,EAAAA;QAAGL,SAAAA,EAAU;AAA4CF,KAAAA,EAAAA,KAAAA,CAAAA,gBAC1DI,cAAA,CAAA,aAAA,CAACI,GAAAA,EAAAA;QAAEN,SAAAA,EAAU;OACXD,WAAAA,EACAE,gBAAAA,CAAAA,CAAAA;AAIL;;ACdO,MAAMM,eAA4C,CAAC,EACzDT,QAAQ,yCAAyC,EACjDC,WAAAA,GAAc,kEAAkE,EAC7D,GAAA;AACnB,IAAA,qBACCG,cAAA,CAAA,aAAA,CAACM,SAAAA,EAAAA,IAAAA,gBACAN,cAAA,CAAA,aAAA,CAACO,cAAAA,EAAAA,IAAAA,gBACAP,cAAA,CAAA,aAAA,CAACL,WAAAA,EAAAA;QAAYE,WAAAA,EAAaA;sBAC1BG,cAAA,CAAA,aAAA,CAACC,SAAAA,EAAAA;QAAQH,SAAAA,EAAU;qBAClBE,cAAA,CAAA,aAAA,CAACQ,KAAAA,EAAAA;QAAIV,SAAAA,EAAU;qBACdE,cAAA,CAAA,aAAA,CAACS,aAAAA,EAAAA;QAAkBX,SAAAA,EAAU;AAC7B,KAAA,CAAA,gBAAAE,cAAA,CAAA,aAAA,CAACU,MAAAA,EAAAA,IAAAA,EAAMd,KAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA;AAMb;;;;"}