anima-ds-nucleus 1.0.25 → 1.0.26

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.
@@ -463,7 +463,7 @@ React keys must be passed directly to JSX without using spread:
463
463
  text-align: ${C?"center":"left"};
464
464
  }
465
465
  }
466
- `}),l.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)_auto] grid-rows-[auto_auto] gap-x-4 gap-y-1 items-center",children:[u&&l.jsxs("div",{className:`scfd-inicio col-start-1 row-start-1 flex items-center gap-1 ${r0}`,style:{paddingLeft:"8px",...A||{}},children:[l.jsx(x,{variant:"body-md",className:$,style:{color:"#223B40",fontFamily:"IBM Plex Sans",fontWeight:700,fontStyle:"normal",fontSize:"14px",lineHeight:"20px",letterSpacing:"0%",verticalAlign:"middle",...T||{}},children:d}),s&&i?l.jsx(b,{name:i,variant:f,size:w,className:K,style:{color:"#223B40",opacity:1,transform:"rotate(0deg)",...D||{}}}):null]}),l.jsxs("div",{className:`scfd-saludo-fecha col-start-1 col-end-3 row-start-2 flex items-center justify-between ${W}`,style:{width:"100%",minHeight:"74px",gap:"24px",opacity:1,transform:"rotate(0deg)",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"8px",boxSizing:"border-box",visibility:c?"visible":"hidden",...H||{}},children:[l.jsx("div",{className:`scfd-greeting-wrapper min-w-0 ${k}`,style:B,children:l.jsxs(x,{variant:"h5",className:`scfd-greeting ${M}`,style:{color:"#223B40",fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"28px",lineHeight:"42px",letterSpacing:"0%",verticalAlign:"middle",...I||{}},children:[l.jsxs("span",{style:{display:"inline-block",verticalAlign:"middle",fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"28px",lineHeight:"42px",letterSpacing:"0%",color:"#223B40"},children:[_,r]}),a?l.jsxs(l.Fragment,{children:[l.jsx("span",{style:{display:"inline-block",verticalAlign:"middle"},children:", "}),l.jsx("span",{className:e0,style:{display:"inline-block",verticalAlign:"middle",color:"#223B40",fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"28px",lineHeight:"42px",letterSpacing:"0%",...c0||{}},children:a})]}):null,l.jsx("span",{style:{display:"inline-block",verticalAlign:"middle"},children:n0})]})}),n&&l0?l.jsx("div",{className:`scfd-date flex items-center flex-shrink-0 ${Q}`,style:P,children:l.jsx(x,{variant:"body-lg",className:`color-gray-600 ${U}`,style:p0,children:l0})}):null]})]})]})},aP=({className:a="",...r})=>l.jsx("div",{className:`w-full bg-white ${a}`,style:{height:"150px",border:"1px solid #c4c4c4",borderRadius:"16px",paddingTop:"24px",paddingLeft:"24px",display:"flex",flexDirection:"column"},...r,children:l.jsx(x,{variant:"body-lg",style:{fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"20px",lineHeight:"30px",letterSpacing:"0%",verticalAlign:"middle",color:"#223B40"},children:"Acciones rápidas"})}),Ue=({className:a="",...r})=>l.jsxs("div",{className:`bg-white ${a}`,style:{width:"379.5px",height:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1},...r,children:[l.jsx("style",{children:`
466
+ `}),l.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)_auto] grid-rows-[auto_auto] gap-x-4 gap-y-1 items-center",children:[u&&l.jsxs("div",{className:`scfd-inicio col-start-1 row-start-1 flex items-center gap-1 ${r0}`,style:{paddingLeft:"8px",...A||{}},children:[l.jsx(x,{variant:"body-md",className:$,style:{color:"#223B40",fontFamily:"IBM Plex Sans",fontWeight:700,fontStyle:"normal",fontSize:"14px",lineHeight:"20px",letterSpacing:"0%",verticalAlign:"middle",...T||{}},children:d}),s&&i?l.jsx(b,{name:i,variant:f,size:w,className:K,style:{color:"#223B40",opacity:1,transform:"rotate(0deg)",...D||{}}}):null]}),l.jsxs("div",{className:`scfd-saludo-fecha col-start-1 col-end-3 row-start-2 flex items-center justify-between ${W}`,style:{width:"100%",minHeight:"74px",gap:"24px",opacity:1,transform:"rotate(0deg)",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"8px",boxSizing:"border-box",visibility:c?"visible":"hidden",...H||{}},children:[l.jsx("div",{className:`scfd-greeting-wrapper min-w-0 ${k}`,style:B,children:l.jsxs(x,{variant:"h5",className:`scfd-greeting ${M}`,style:{color:"#223B40",fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"28px",lineHeight:"42px",letterSpacing:"0%",verticalAlign:"middle",...I||{}},children:[l.jsxs("span",{style:{display:"inline-block",verticalAlign:"middle",fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"28px",lineHeight:"42px",letterSpacing:"0%",color:"#223B40"},children:[_,r]}),a?l.jsxs(l.Fragment,{children:[l.jsx("span",{style:{display:"inline-block",verticalAlign:"middle"},children:", "}),l.jsx("span",{className:e0,style:{display:"inline-block",verticalAlign:"middle",color:"#223B40",fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"28px",lineHeight:"42px",letterSpacing:"0%",...c0||{}},children:a})]}):null,l.jsx("span",{style:{display:"inline-block",verticalAlign:"middle"},children:n0})]})}),n&&l0?l.jsx("div",{className:`scfd-date flex items-center flex-shrink-0 ${Q}`,style:P,children:l.jsx(x,{variant:"body-lg",className:`color-gray-600 ${U}`,style:p0,children:l0})}):null]})]})]})},aP=({className:a="",...r})=>l.jsx("div",{className:`w-full bg-white ${a}`,style:{height:"150px",border:"1px solid #c4c4c4",borderRadius:"16px",paddingTop:"24px",paddingLeft:"24px",display:"flex",flexDirection:"column"},...r,children:l.jsx(x,{variant:"body-lg",style:{fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"20px",lineHeight:"30px",letterSpacing:"0%",verticalAlign:"middle",color:"#223B40"},children:"Acciones rápidas"})}),Ue=({className:a="",...r})=>l.jsxs("div",{className:`bg-white w-full ${a}`,style:{minHeight:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1,display:"flex",flexDirection:"column"},...r,children:[l.jsx("style",{children:`
467
467
  @keyframes skeleton-pulse {
468
468
  0%, 100% {
469
469
  background-color: #DDDDDD;
@@ -475,7 +475,7 @@ React keys must be passed directly to JSX without using spread:
475
475
  .skeleton-animation {
476
476
  animation: skeleton-pulse 1.5s ease-in-out infinite;
477
477
  }
478
- `}),l.jsxs("div",{className:"h-full flex flex-col",children:[l.jsx("div",{style:{width:"379.5px",height:"60px",paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1},children:l.jsx("div",{className:"rounded skeleton-animation",style:{backgroundColor:"#DDDDDD",height:"20px",width:"200px"}})}),l.jsxs("div",{className:"flex-1",style:{paddingLeft:"24px",paddingRight:"24px",paddingBottom:"24px",display:"flex",flexDirection:"column",gap:"16px"},children:[l.jsx("div",{className:"rounded skeleton-animation",style:{backgroundColor:"#DDDDDD",height:"80px",width:"100%"}}),l.jsx("div",{className:"rounded skeleton-animation",style:{backgroundColor:"#DDDDDD",height:"80px",width:"100%"}}),l.jsx("div",{className:"rounded skeleton-animation",style:{backgroundColor:"#DDDDDD",height:"80px",width:"100%"}})]})]})]}),ze=({title:a="Notificaciones",className:r="",...t})=>l.jsxs("div",{className:`bg-white ${r}`,style:{width:"379.5px",height:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1},...t,children:[l.jsx("div",{style:{width:"379.5px",height:"60px",paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1},className:"flex items-start justify-between",children:l.jsx("div",{style:{width:"331.5px",height:"30px",opacity:1},children:l.jsx(x,{variant:"body-md",className:"color-gray-700",children:a})})}),l.jsxs("div",{className:"flex flex-col items-center justify-center",style:{paddingTop:"80px",paddingBottom:"24px",display:"flex",justifyContent:"flex-start"},children:[l.jsx("div",{className:"mb-4 flex items-center justify-center",style:{width:"63.99068069458008px",height:"64px",borderRadius:"12px",paddingTop:"8px",paddingRight:"8px",paddingBottom:"8px",paddingLeft:"8px",backgroundColor:"#E6F7F0",opacity:1},children:l.jsx(b,{name:"HandThumbDownIcon",variant:"24-outline",size:32,className:"color-gray-900"})}),l.jsx(x,{variant:"h5",className:"color-gray-900 mb-2",style:{fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"24px",lineHeight:"36px",letterSpacing:"0px",textAlign:"center"},children:"UPS..."}),l.jsx(x,{variant:"body-lg",className:"color-gray-700 text-center",style:{fontSize:"18px",lineHeight:"27px"},children:"Parece que esta tarjeta no contiene información."})]})]}),_e=({title:a="Notificaciones",errorMessage:r="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed porta elementum neque, vel vehicula nulla pharetra id.",className:t="",...n})=>l.jsxs("div",{className:`bg-white ${t}`,style:{width:"379.5px",height:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1},...n,children:[l.jsx("div",{style:{width:"379.5px",height:"60px",paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1},className:"flex items-start justify-between",children:l.jsx("div",{style:{width:"331.5px",height:"30px",opacity:1},children:l.jsx(x,{variant:"body-md",className:"color-gray-700",children:a})})}),l.jsxs("div",{className:"flex flex-col items-center justify-center",style:{paddingTop:"80px",paddingBottom:"24px",display:"flex",justifyContent:"flex-start"},children:[l.jsx("div",{className:"mb-4 flex items-center justify-center border-2 rounded-full",style:{borderColor:"#374151",width:"48px",height:"48px",opacity:1},children:l.jsx(b,{name:"XMarkIcon",variant:"24-outline",size:32,className:"color-gray-900"})}),l.jsx("div",{style:{width:"331.5px",height:"48px",opacity:1,display:"flex",alignItems:"center",justifyContent:"center",marginBottom:"16px"},children:l.jsx(x,{variant:"h3",style:{fontFamily:"IBM Plex Sans",fontWeight:600,fontStyle:"normal",fontSize:"32px",lineHeight:"48px",letterSpacing:"0px",textAlign:"center",color:"#2D5C63"},children:"ERROR"})}),l.jsx("div",{className:"border flex items-center justify-center",style:{width:"331.5px",height:"128px",borderRadius:"10px",borderWidth:"1px",borderColor:"#EF4444",backgroundColor:"#FEE2E2",paddingTop:"16px",paddingRight:"16px",paddingBottom:"8px",paddingLeft:"16px",opacity:1},children:l.jsx("div",{style:{width:"298px",height:"96px",opacity:1},children:l.jsx(x,{variant:"mono-md",style:{color:"#991B1B"},children:r})})})]})]}),qe=({title:a="Notificaciones",children:r,className:t="",...n})=>l.jsxs("div",{className:`bg-white ${t}`,style:{width:"379.5px",height:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1},...n,children:[l.jsx("div",{style:{width:"379.5px",height:"60px",paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1},className:"flex items-start justify-between",children:l.jsx("div",{style:{width:"331.5px",height:"30px",opacity:1},children:l.jsx(x,{variant:"body-md",style:{fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"20px",lineHeight:"30px",letterSpacing:"0%",verticalAlign:"middle",color:"#223B40",margin:0},children:a})})}),r&&l.jsx("div",{style:{width:"379.5px",height:"416px",paddingRight:"24px",paddingLeft:"24px",gap:"16px",opacity:1,display:"flex",flexDirection:"column"},children:r})]}),Ge=({title:a="Notificaciones y Alertas del Sistema de Gestión de Recursos Humanos",children:r,className:t="",...n})=>l.jsxs("div",{className:`bg-white ${t}`,style:{width:"379.5px",height:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1},...n,children:[l.jsx("div",{style:{width:"379.5px",height:"60px",paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1},className:"flex items-start justify-between",children:l.jsx("div",{style:{width:"331.5px",height:"30px",opacity:1},children:l.jsx(x,{variant:"body-md",style:{fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"20px",lineHeight:"30px",letterSpacing:"0%",verticalAlign:"middle",color:"#223B40",margin:0},children:a})})}),r&&l.jsx("div",{style:{width:"379.5px",height:"416px",paddingRight:"24px",paddingLeft:"24px",gap:"16px",opacity:1,display:"flex",flexDirection:"column"},children:r})]}),Xe=({title:a="Notificaciones",status:r="3 nuevas",children:t,className:n="",...c})=>l.jsxs("div",{className:`bg-white ${n}`,style:{width:"379.5px",height:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1},...c,children:[l.jsxs("div",{style:{width:"379.5px",height:"60px",paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1},className:"flex items-start justify-between",children:[l.jsx("div",{style:{width:"331.5px",height:"30px",opacity:1},children:l.jsx(x,{variant:"body-md",style:{fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"20px",lineHeight:"30px",letterSpacing:"0%",verticalAlign:"middle",color:"#223B40",margin:0},children:a})}),l.jsx("span",{className:"text-sm font-medium flex-shrink-0 ml-2 flex items-center justify-center",style:{width:"90px",height:"24px",borderRadius:"12px",paddingTop:"2px",paddingRight:"12px",paddingBottom:"4px",paddingLeft:"12px",backgroundColor:"#E6F7F0",color:"#2D5C63",opacity:1},children:r})]}),t&&l.jsx("div",{style:{width:"379.5px",height:"416px",paddingRight:"24px",paddingLeft:"24px",gap:"16px",opacity:1,display:"flex",flexDirection:"column"},children:t})]}),Ye=({title:a="Notificaciones y Alertas del Sistema de Gestión de Recursos Humanos",status:r="3 nuevas",children:t,className:n="",...c})=>l.jsxs("div",{className:`bg-white ${n}`,style:{width:"379.5px",height:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1},...c,children:[l.jsxs("div",{style:{width:"379.5px",height:"90px",paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1},className:"flex items-start justify-between",children:[l.jsx("div",{style:{width:"241.5px",height:"60px",opacity:1},children:l.jsx(x,{variant:"body-md",style:{fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"20px",lineHeight:"30px",letterSpacing:"0%",verticalAlign:"middle",color:"#223B40",margin:0},children:a})}),l.jsx("span",{className:"text-sm font-medium flex-shrink-0 ml-2 flex items-center justify-center",style:{width:"90px",height:"24px",borderRadius:"12px",paddingTop:"2px",paddingRight:"12px",paddingBottom:"4px",paddingLeft:"12px",backgroundColor:"#E6F7F0",color:"#2D5C63",opacity:1},children:r})]}),t&&l.jsx("div",{style:{width:"379.5px",height:"416px",paddingRight:"24px",paddingLeft:"24px",gap:"16px",opacity:1,display:"flex",flexDirection:"column"},children:t})]}),rP=({loading:a=!1,error:r=null,hasData:t=null,data:n=null,variant:c="corto",title:u="Notificaciones",status:d=null,errorMessage:s=null,children:i=null,className:f="",...w})=>{if(a)return l.jsx(Ue,{className:f,...w});if(r)return l.jsx(_e,{title:u,errorMessage:s||r,className:f,...w});if(!(t!==null?t:n!=null&&n!==""))return l.jsx(ze,{title:u,className:f,...w});switch(c){case"largo":return l.jsx(Ge,{title:u,className:f,...w,children:i});case"cortoMasEstado":return l.jsx(Xe,{title:u,status:d,className:f,...w,children:i});case"largoMasEstado":return l.jsx(Ye,{title:u,status:d,className:f,...w,children:i});case"corto":default:return l.jsx(qe,{title:u,className:f,...w,children:i})}},nP={MuiTablePagination:{labelRowsPerPage:"Filas por página",labelDisplayedRows:({from:a,to:r,count:t})=>`${a}–${r} de ${t!==-1?t:`más de ${r}`}`},toolbarDensity:"Densidad",toolbarDensityLabel:"Densidad",toolbarDensityCompact:"Compacta",toolbarDensityStandard:"Estándar",toolbarDensityComfortable:"Cómoda",toolbarFilters:"Filtros",toolbarFiltersLabel:"Mostrar filtros",toolbarFiltersTooltipHide:"Ocultar filtros",toolbarFiltersTooltipShow:"Mostrar filtros",toolbarExport:"Exportar",toolbarExportLabel:"Exportar",toolbarExportCSV:"Descargar como CSV",toolbarExportPrint:"Imprimir",toolbarColumns:"Columnas",toolbarColumnsLabel:"Seleccionar columnas",filterPanelAddFilter:"Agregar filtro",filterPanelDeleteIconLabel:"Eliminar",filterPanelOperators:"Operadores",filterPanelOperatorAnd:"Y",filterPanelOperatorOr:"O",filterPanelColumns:"Columnas",filterPanelInputLabel:"Valor",filterPanelInputPlaceholder:"Valor del filtro",filterPanelInputPlaceholderOperator:"Operador",noRowsLabel:"No hay datos disponibles",noResultsOverlayLabel:"No se encontraron resultados",errorOverlayDefaultLabel:"Ocurrió un error",loadingOverlayLabel:"Cargando...",footerRowSelected:a=>a!==1?`${a} filas seleccionadas`:`${a} fila seleccionada`},tP=({columns:a=[],rows:r=[],loading:t=!1,emptyMessage:n,pageSize:c=10,pageSizeOptions:u=[5,10,25,50],className:d="",...s})=>{const{t:i}=g0.useTranslation(),f=a.map(h=>{const C=h.translationKey?i(h.translationKey):h.label||h.headerName;return{...h,headerName:C,label:C}}),w=[{field:"id",headerName:i("table.id"),width:90,translationKey:"table.id"},{field:"name",headerName:i("table.name"),width:200,translationKey:"table.name"},{field:"email",headerName:i("table.email"),width:250,translationKey:"table.email"},{field:"role",headerName:i("table.role"),width:150,translationKey:"table.role"}],g=f.length>0?f:w,p={...nP,...n&&{noRowsLabel:n}};return l.jsx(r5.Box,{className:d,sx:{height:400,width:"100%"},children:l.jsx(a5.DataGrid,{rows:r,columns:g,loading:t,pageSizeOptions:u,initialState:{pagination:{paginationModel:{pageSize:c}}},localeText:p,disableRowSelectionOnClick:!0,...s})})},lP=({series:a=[],categories:r=[],title:t="",height:n=350,colors:c=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6"],showLegend:u=!0,showToolbar:d=!0,className:s="",...i})=>{const f=Z.useMemo(()=>({chart:{type:"line",height:n,toolbar:{show:d,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0}}},colors:c,stroke:{curve:"smooth",width:2},xaxis:{categories:r,labels:{style:{colors:"#6B7280"}}},yaxis:{labels:{style:{colors:"#6B7280"}}},legend:{show:u,position:"top",horizontalAlign:"center"},grid:{borderColor:"#E5E7EB",strokeDashArray:4},tooltip:{theme:"light"},dataLabels:{enabled:!1}}),[r,c,n,u,d]);return l.jsxs("div",{className:s,children:[t&&l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:t}),l.jsx(Q0,{options:f,series:a,type:"line",height:n,...i})]})},oP=({series:a=[],categories:r=[],title:t="",height:n=350,colors:c=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6"],showLegend:u=!0,showToolbar:d=!0,horizontal:s=!1,className:i="",...f})=>{const w=Z.useMemo(()=>({chart:{type:"bar",height:n,toolbar:{show:d,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0}}},colors:c,plotOptions:{bar:{horizontal:s,borderRadius:4,columnWidth:"55%"}},xaxis:{categories:r,labels:{style:{colors:"#6B7280"}}},yaxis:{labels:{style:{colors:"#6B7280"}}},legend:{show:u,position:"top",horizontalAlign:"center"},grid:{borderColor:"#E5E7EB",strokeDashArray:4},tooltip:{theme:"light"},dataLabels:{enabled:!1}}),[r,c,n,u,d,s]);return l.jsxs("div",{className:i,children:[t&&l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:t}),l.jsx(Q0,{options:w,series:a,type:"bar",height:n,...f})]})},cP=({series:a=[],categories:r=[],title:t="",height:n=350,colors:c=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6"],showLegend:u=!0,showToolbar:d=!0,className:s="",...i})=>{const f=Z.useMemo(()=>({chart:{type:"area",height:n,toolbar:{show:d,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0}}},colors:c,stroke:{curve:"smooth",width:2},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.3,stops:[0,90,100]}},xaxis:{categories:r,labels:{style:{colors:"#6B7280"}}},yaxis:{labels:{style:{colors:"#6B7280"}}},legend:{show:u,position:"top",horizontalAlign:"center"},grid:{borderColor:"#E5E7EB",strokeDashArray:4},tooltip:{theme:"light"},dataLabels:{enabled:!1}}),[r,c,n,u,d]);return l.jsxs("div",{className:s,children:[t&&l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:t}),l.jsx(Q0,{options:f,series:a,type:"area",height:n,...i})]})},iP=({series:a=[],labels:r=[],title:t="",height:n=350,colors:c=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6","#EC4899","#06B6D4"],showLegend:u=!0,className:d="",...s})=>{const i=Z.useMemo(()=>({chart:{type:"pie",height:n,toolbar:{show:!1}},colors:c,labels:r,legend:{show:u,position:"bottom"},dataLabels:{enabled:!0,formatter:f=>`${f.toFixed(1)}%`},tooltip:{theme:"light",y:{formatter:f=>`${f}`}},plotOptions:{pie:{donut:{size:"0%"}}}}),[r,c,n,u]);return l.jsxs("div",{className:d,children:[t&&l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:t}),l.jsx(Q0,{options:i,series:a,type:"pie",height:n,...s})]})},dP=({series:a=[],labels:r=[],title:t="",height:n=350,colors:c=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6","#EC4899","#06B6D4"],showLegend:u=!0,donutSize:d="70%",className:s="",...i})=>{const f=Z.useMemo(()=>({chart:{type:"donut",height:n,toolbar:{show:!1}},colors:c,labels:r,legend:{show:u,position:"bottom"},dataLabels:{enabled:!0,formatter:w=>`${w.toFixed(1)}%`},tooltip:{theme:"light",y:{formatter:w=>`${w}`}},plotOptions:{pie:{donut:{size:d,labels:{show:!0,name:{show:!0},value:{show:!0,formatter:w=>`${w}`},total:{show:!0,label:"Total",formatter:()=>a.reduce((g,p)=>g+p,0).toString()}}}}}}),[r,c,n,u,d,a]);return l.jsxs("div",{className:s,children:[t&&l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:t}),l.jsx(Q0,{options:f,series:a,type:"donut",height:n,...i})]})},sP=({series:a=[],categories:r=[],title:t="",height:n=350,colors:c=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6"],showLegend:u=!0,showToolbar:d=!0,className:s="",...i})=>{const f=Z.useMemo(()=>({chart:{type:"column",height:n,toolbar:{show:d,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0}}},colors:c,plotOptions:{bar:{horizontal:!1,borderRadius:4,columnWidth:"55%",dataLabels:{position:"top"}}},xaxis:{categories:r,labels:{style:{colors:"#6B7280"}}},yaxis:{labels:{style:{colors:"#6B7280"}}},legend:{show:u,position:"top",horizontalAlign:"center"},grid:{borderColor:"#E5E7EB",strokeDashArray:4},tooltip:{theme:"light"},dataLabels:{enabled:!1}}),[r,c,n,u,d]);return l.jsxs("div",{className:s,children:[t&&l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:t}),l.jsx(Q0,{options:f,series:a,type:"bar",height:n,...i})]})},uP=({icon:a="DocumentIcon",title:r="No hay datos",description:t="No se encontraron elementos para mostrar.",actionLabel:n,onAction:c,className:u="",...d})=>l.jsxs("div",{className:`flex flex-col items-center justify-center py-12 px-4 ${u}`,...d,children:[l.jsx("div",{className:"mb-4",children:l.jsx(b,{name:a,className:"h-16 w-16 text-gray-400"})}),l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:r}),l.jsx("p",{className:"text-sm text-gray-500 text-center max-w-sm mb-4",children:t}),n&&c&&l.jsx(s0,{variant:"primary",onClick:c,children:n})]}),fP=({title:a,value:r,change:t,changeType:n="neutral",icon:c,iconColor:u="blue",className:d="",...s})=>{const i={blue:"bg-blue-100 text-blue-600",green:"bg-green-100 text-green-600",yellow:"bg-yellow-100 text-yellow-600",red:"bg-red-100 text-red-600",purple:"bg-purple-100 text-purple-600"},f={positive:"text-green-600",negative:"text-red-600",neutral:"text-gray-600"};return l.jsx("div",{className:`bg-white rounded-lg shadow-md p-6 ${d}`,...s,children:l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs("div",{className:"flex-1",children:[l.jsx(x,{variant:"body2",className:"text-gray-600 mb-1",children:a}),l.jsx(x,{variant:"h3",className:"text-gray-900 mb-2",children:r}),t&&l.jsx("div",{className:`flex items-center text-sm ${f[n]}`,children:l.jsx("span",{children:t})})]}),c&&l.jsx("div",{className:`p-3 rounded-lg ${i[u]}`,children:l.jsx(b,{name:c,className:"h-6 w-6"})})]})})},wP=({items:a=[],className:r="",...t})=>a.length===0?null:l.jsx("div",{className:r,...t,children:l.jsx("ol",{className:"relative border-l border-gray-200",children:a.map((n,c)=>{const u=c===a.length-1;return l.jsxs("li",{className:`mb-10 ml-6 ${u?"mb-0":""}`,children:[l.jsx("div",{className:"absolute w-3 h-3 bg-gray-200 rounded-full mt-1.5 -left-1.5 border border-white"}),l.jsx("time",{className:"mb-1 text-sm font-normal leading-none text-gray-400",children:n.date}),l.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:n.title}),n.description&&l.jsx("p",{className:"mb-4 text-base font-normal text-gray-500",children:n.description}),n.icon&&l.jsx("div",{className:"absolute -left-8 top-0",children:l.jsx(b,{name:n.icon,className:"h-6 w-6 text-gray-400"})})]},c)})})}),hP=({items:a=[],variant:r="default",className:t="",...n})=>{if(a.length===0)return null;const c={default:"divide-y divide-gray-200",none:""};return l.jsx("ul",{className:`${c[r]} ${t}`,...n,children:a.map((u,d)=>l.jsx("li",{className:"py-3",children:typeof u=="string"?l.jsx("span",{className:"text-gray-900",children:u}):u},d))})},mP=({tags:a=[],onRemove:r,variant:t="default",className:n="",...c})=>a.length===0?null:l.jsx("div",{className:`flex flex-wrap gap-2 ${n}`,...c,children:a.map((u,d)=>{const s=typeof u=="string"?u:u.label,i=typeof u=="string"?t:u.variant||t;return l.jsxs(Fe,{variant:i,children:[s,r&&l.jsx("button",{onClick:()=>r(d),className:"ml-2 hover:text-gray-800",children:"×"})]},d)})}),Re=({label:a,placeholder:r,value:t,onChange:n,error:c,required:u=!1,disabled:d=!1,variant:s,className:i="",inputClassName:f="",labelClassName:w="",labelStyle:g,...p})=>{const[h,C]=Z.useState(!1),y=s==="hexa-login",R=`
478
+ `}),l.jsxs("div",{className:"h-full flex flex-col",children:[l.jsx("div",{style:{paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1,flexShrink:0},children:l.jsx("div",{className:"rounded skeleton-animation",style:{backgroundColor:"#DDDDDD",height:"20px",width:"200px"}})}),l.jsxs("div",{className:"flex-1",style:{paddingLeft:"24px",paddingRight:"24px",paddingBottom:"24px",display:"flex",flexDirection:"column",gap:"16px"},children:[l.jsx("div",{className:"rounded skeleton-animation",style:{backgroundColor:"#DDDDDD",height:"80px",width:"100%"}}),l.jsx("div",{className:"rounded skeleton-animation",style:{backgroundColor:"#DDDDDD",height:"80px",width:"100%"}}),l.jsx("div",{className:"rounded skeleton-animation",style:{backgroundColor:"#DDDDDD",height:"80px",width:"100%"}})]})]})]}),ze=({title:a="Notificaciones",className:r="",...t})=>l.jsxs("div",{className:`bg-white w-full ${r}`,style:{minHeight:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1,display:"flex",flexDirection:"column"},...t,children:[l.jsx("div",{style:{paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1,flexShrink:0},className:"flex items-start justify-between",children:l.jsx("div",{style:{flex:1,minWidth:0,opacity:1},children:l.jsx(x,{variant:"body-md",className:"color-gray-700",children:a})})}),l.jsxs("div",{className:"flex flex-col items-center justify-center flex-1",style:{paddingTop:"80px",paddingBottom:"24px",paddingLeft:"24px",paddingRight:"24px",display:"flex",justifyContent:"flex-start",minHeight:0},children:[l.jsx("div",{className:"mb-4 flex items-center justify-center flex-shrink-0",style:{width:"64px",height:"64px",borderRadius:"12px",paddingTop:"8px",paddingRight:"8px",paddingBottom:"8px",paddingLeft:"8px",backgroundColor:"#E6F7F0",opacity:1},children:l.jsx(b,{name:"HandThumbDownIcon",variant:"24-outline",size:32,className:"color-gray-900"})}),l.jsx(x,{variant:"h5",className:"color-gray-900 mb-2",style:{fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"24px",lineHeight:"36px",letterSpacing:"0px",textAlign:"center"},children:"UPS..."}),l.jsx(x,{variant:"body-lg",className:"color-gray-700 text-center",style:{fontSize:"18px",lineHeight:"27px"},children:"Parece que esta tarjeta no contiene información."})]})]}),_e=({title:a="Notificaciones",errorMessage:r="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed porta elementum neque, vel vehicula nulla pharetra id.",className:t="",...n})=>l.jsxs("div",{className:`bg-white w-full ${t}`,style:{minHeight:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1,display:"flex",flexDirection:"column"},...n,children:[l.jsx("div",{style:{paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1,flexShrink:0},className:"flex items-start justify-between",children:l.jsx("div",{style:{flex:1,minWidth:0,opacity:1},children:l.jsx(x,{variant:"body-md",className:"color-gray-700",children:a})})}),l.jsxs("div",{className:"flex flex-col items-center justify-center flex-1",style:{paddingTop:"80px",paddingBottom:"24px",paddingLeft:"24px",paddingRight:"24px",display:"flex",justifyContent:"flex-start",minHeight:0},children:[l.jsx("div",{className:"mb-4 flex items-center justify-center border-2 rounded-full flex-shrink-0",style:{borderColor:"#374151",width:"48px",height:"48px",opacity:1},children:l.jsx(b,{name:"XMarkIcon",variant:"24-outline",size:32,className:"color-gray-900"})}),l.jsx("div",{style:{width:"100%",maxWidth:"331.5px",opacity:1,display:"flex",alignItems:"center",justifyContent:"center",marginBottom:"16px"},children:l.jsx(x,{variant:"h3",style:{fontFamily:"IBM Plex Sans",fontWeight:600,fontStyle:"normal",fontSize:"32px",lineHeight:"48px",letterSpacing:"0px",textAlign:"center",color:"#2D5C63"},children:"ERROR"})}),l.jsx("div",{className:"border flex items-center justify-center",style:{width:"100%",maxWidth:"331.5px",minHeight:"128px",borderRadius:"10px",borderWidth:"1px",borderColor:"#EF4444",backgroundColor:"#FEE2E2",paddingTop:"16px",paddingRight:"16px",paddingBottom:"8px",paddingLeft:"16px",opacity:1},children:l.jsx("div",{style:{width:"100%",opacity:1},children:l.jsx(x,{variant:"mono-md",style:{color:"#991B1B"},children:r})})})]})]}),qe=({title:a="Notificaciones",children:r,className:t="",...n})=>l.jsxs("div",{className:`bg-white w-full ${t}`,style:{minHeight:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1,display:"flex",flexDirection:"column"},...n,children:[l.jsx("div",{style:{paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1,flexShrink:0},className:"flex items-start justify-between",children:l.jsx("div",{style:{flex:1,minWidth:0,opacity:1},children:l.jsx(x,{variant:"body-md",style:{fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"20px",lineHeight:"30px",letterSpacing:"0%",verticalAlign:"middle",color:"#223B40",margin:0},children:a})})}),r&&l.jsx("div",{style:{flex:1,paddingRight:"24px",paddingLeft:"24px",paddingBottom:"24px",gap:"16px",opacity:1,display:"flex",flexDirection:"column",minHeight:0,overflow:"auto"},children:r})]}),Ge=({title:a="Notificaciones y Alertas del Sistema de Gestión de Recursos Humanos",children:r,className:t="",...n})=>l.jsxs("div",{className:`bg-white w-full ${t}`,style:{minHeight:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1,display:"flex",flexDirection:"column"},...n,children:[l.jsx("div",{style:{paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1,flexShrink:0},className:"flex items-start justify-between",children:l.jsx("div",{style:{flex:1,minWidth:0,opacity:1},children:l.jsx(x,{variant:"body-md",style:{fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"20px",lineHeight:"30px",letterSpacing:"0%",verticalAlign:"middle",color:"#223B40",margin:0},children:a})})}),r&&l.jsx("div",{style:{flex:1,paddingRight:"24px",paddingLeft:"24px",paddingBottom:"24px",gap:"16px",opacity:1,display:"flex",flexDirection:"column",minHeight:0,overflow:"auto"},children:r})]}),Xe=({title:a="Notificaciones",status:r="3 nuevas",children:t,className:n="",...c})=>l.jsxs("div",{className:`bg-white w-full ${n}`,style:{minHeight:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1,display:"flex",flexDirection:"column"},...c,children:[l.jsxs("div",{style:{paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1,flexShrink:0},className:"flex items-start justify-between",children:[l.jsx("div",{style:{flex:1,minWidth:0,opacity:1},children:l.jsx(x,{variant:"body-md",style:{fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"20px",lineHeight:"30px",letterSpacing:"0%",verticalAlign:"middle",color:"#223B40",margin:0},children:a})}),l.jsx("span",{className:"text-sm font-medium flex-shrink-0 ml-2 flex items-center justify-center",style:{minWidth:"90px",height:"24px",borderRadius:"12px",paddingTop:"2px",paddingRight:"12px",paddingBottom:"4px",paddingLeft:"12px",backgroundColor:"#E6F7F0",color:"#2D5C63",opacity:1},children:r})]}),t&&l.jsx("div",{style:{flex:1,paddingRight:"24px",paddingLeft:"24px",paddingBottom:"24px",gap:"16px",opacity:1,display:"flex",flexDirection:"column",minHeight:0,overflow:"auto"},children:t})]}),Ye=({title:a="Notificaciones y Alertas del Sistema de Gestión de Recursos Humanos",status:r="3 nuevas",children:t,className:n="",...c})=>l.jsxs("div",{className:`bg-white w-full ${n}`,style:{minHeight:"476px",borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1,display:"flex",flexDirection:"column"},...c,children:[l.jsxs("div",{style:{paddingTop:"24px",paddingRight:"24px",paddingBottom:"6px",paddingLeft:"24px",opacity:1,flexShrink:0},className:"flex items-start justify-between",children:[l.jsx("div",{style:{flex:1,minWidth:0,opacity:1},children:l.jsx(x,{variant:"body-md",style:{fontFamily:"IBM Plex Sans",fontWeight:400,fontStyle:"normal",fontSize:"20px",lineHeight:"30px",letterSpacing:"0%",verticalAlign:"middle",color:"#223B40",margin:0},children:a})}),l.jsx("span",{className:"text-sm font-medium flex-shrink-0 ml-2 flex items-center justify-center",style:{minWidth:"90px",height:"24px",borderRadius:"12px",paddingTop:"2px",paddingRight:"12px",paddingBottom:"4px",paddingLeft:"12px",backgroundColor:"#E6F7F0",color:"#2D5C63",opacity:1},children:r})]}),t&&l.jsx("div",{style:{flex:1,paddingRight:"24px",paddingLeft:"24px",paddingBottom:"24px",gap:"16px",opacity:1,display:"flex",flexDirection:"column",minHeight:0,overflow:"auto"},children:t})]}),rP=({loading:a=!1,error:r=null,hasData:t=null,data:n=null,variant:c="corto",title:u="Notificaciones",status:d=null,errorMessage:s=null,children:i=null,className:f="",...w})=>{if(a)return l.jsx(Ue,{className:f,...w});if(r)return l.jsx(_e,{title:u,errorMessage:s||r,className:f,...w});if(!(t!==null?t:n!=null&&n!==""))return l.jsx(ze,{title:u,className:f,...w});switch(c){case"largo":return l.jsx(Ge,{title:u,className:f,...w,children:i});case"cortoMasEstado":return l.jsx(Xe,{title:u,status:d,className:f,...w,children:i});case"largoMasEstado":return l.jsx(Ye,{title:u,status:d,className:f,...w,children:i});case"corto":default:return l.jsx(qe,{title:u,className:f,...w,children:i})}},nP={MuiTablePagination:{labelRowsPerPage:"Filas por página",labelDisplayedRows:({from:a,to:r,count:t})=>`${a}–${r} de ${t!==-1?t:`más de ${r}`}`},toolbarDensity:"Densidad",toolbarDensityLabel:"Densidad",toolbarDensityCompact:"Compacta",toolbarDensityStandard:"Estándar",toolbarDensityComfortable:"Cómoda",toolbarFilters:"Filtros",toolbarFiltersLabel:"Mostrar filtros",toolbarFiltersTooltipHide:"Ocultar filtros",toolbarFiltersTooltipShow:"Mostrar filtros",toolbarExport:"Exportar",toolbarExportLabel:"Exportar",toolbarExportCSV:"Descargar como CSV",toolbarExportPrint:"Imprimir",toolbarColumns:"Columnas",toolbarColumnsLabel:"Seleccionar columnas",filterPanelAddFilter:"Agregar filtro",filterPanelDeleteIconLabel:"Eliminar",filterPanelOperators:"Operadores",filterPanelOperatorAnd:"Y",filterPanelOperatorOr:"O",filterPanelColumns:"Columnas",filterPanelInputLabel:"Valor",filterPanelInputPlaceholder:"Valor del filtro",filterPanelInputPlaceholderOperator:"Operador",noRowsLabel:"No hay datos disponibles",noResultsOverlayLabel:"No se encontraron resultados",errorOverlayDefaultLabel:"Ocurrió un error",loadingOverlayLabel:"Cargando...",footerRowSelected:a=>a!==1?`${a} filas seleccionadas`:`${a} fila seleccionada`},tP=({columns:a=[],rows:r=[],loading:t=!1,emptyMessage:n,pageSize:c=10,pageSizeOptions:u=[5,10,25,50],className:d="",...s})=>{const{t:i}=g0.useTranslation(),f=a.map(h=>{const C=h.translationKey?i(h.translationKey):h.label||h.headerName;return{...h,headerName:C,label:C}}),w=[{field:"id",headerName:i("table.id"),width:90,translationKey:"table.id"},{field:"name",headerName:i("table.name"),width:200,translationKey:"table.name"},{field:"email",headerName:i("table.email"),width:250,translationKey:"table.email"},{field:"role",headerName:i("table.role"),width:150,translationKey:"table.role"}],g=f.length>0?f:w,p={...nP,...n&&{noRowsLabel:n}};return l.jsx(r5.Box,{className:d,sx:{height:400,width:"100%"},children:l.jsx(a5.DataGrid,{rows:r,columns:g,loading:t,pageSizeOptions:u,initialState:{pagination:{paginationModel:{pageSize:c}}},localeText:p,disableRowSelectionOnClick:!0,...s})})},lP=({series:a=[],categories:r=[],title:t="",height:n=350,colors:c=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6"],showLegend:u=!0,showToolbar:d=!0,className:s="",...i})=>{const f=Z.useMemo(()=>({chart:{type:"line",height:n,toolbar:{show:d,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0}}},colors:c,stroke:{curve:"smooth",width:2},xaxis:{categories:r,labels:{style:{colors:"#6B7280"}}},yaxis:{labels:{style:{colors:"#6B7280"}}},legend:{show:u,position:"top",horizontalAlign:"center"},grid:{borderColor:"#E5E7EB",strokeDashArray:4},tooltip:{theme:"light"},dataLabels:{enabled:!1}}),[r,c,n,u,d]);return l.jsxs("div",{className:s,children:[t&&l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:t}),l.jsx(Q0,{options:f,series:a,type:"line",height:n,...i})]})},oP=({series:a=[],categories:r=[],title:t="",height:n=350,colors:c=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6"],showLegend:u=!0,showToolbar:d=!0,horizontal:s=!1,className:i="",...f})=>{const w=Z.useMemo(()=>({chart:{type:"bar",height:n,toolbar:{show:d,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0}}},colors:c,plotOptions:{bar:{horizontal:s,borderRadius:4,columnWidth:"55%"}},xaxis:{categories:r,labels:{style:{colors:"#6B7280"}}},yaxis:{labels:{style:{colors:"#6B7280"}}},legend:{show:u,position:"top",horizontalAlign:"center"},grid:{borderColor:"#E5E7EB",strokeDashArray:4},tooltip:{theme:"light"},dataLabels:{enabled:!1}}),[r,c,n,u,d,s]);return l.jsxs("div",{className:i,children:[t&&l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:t}),l.jsx(Q0,{options:w,series:a,type:"bar",height:n,...f})]})},cP=({series:a=[],categories:r=[],title:t="",height:n=350,colors:c=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6"],showLegend:u=!0,showToolbar:d=!0,className:s="",...i})=>{const f=Z.useMemo(()=>({chart:{type:"area",height:n,toolbar:{show:d,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0}}},colors:c,stroke:{curve:"smooth",width:2},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.3,stops:[0,90,100]}},xaxis:{categories:r,labels:{style:{colors:"#6B7280"}}},yaxis:{labels:{style:{colors:"#6B7280"}}},legend:{show:u,position:"top",horizontalAlign:"center"},grid:{borderColor:"#E5E7EB",strokeDashArray:4},tooltip:{theme:"light"},dataLabels:{enabled:!1}}),[r,c,n,u,d]);return l.jsxs("div",{className:s,children:[t&&l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:t}),l.jsx(Q0,{options:f,series:a,type:"area",height:n,...i})]})},iP=({series:a=[],labels:r=[],title:t="",height:n=350,colors:c=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6","#EC4899","#06B6D4"],showLegend:u=!0,className:d="",...s})=>{const i=Z.useMemo(()=>({chart:{type:"pie",height:n,toolbar:{show:!1}},colors:c,labels:r,legend:{show:u,position:"bottom"},dataLabels:{enabled:!0,formatter:f=>`${f.toFixed(1)}%`},tooltip:{theme:"light",y:{formatter:f=>`${f}`}},plotOptions:{pie:{donut:{size:"0%"}}}}),[r,c,n,u]);return l.jsxs("div",{className:d,children:[t&&l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:t}),l.jsx(Q0,{options:i,series:a,type:"pie",height:n,...s})]})},dP=({series:a=[],labels:r=[],title:t="",height:n=350,colors:c=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6","#EC4899","#06B6D4"],showLegend:u=!0,donutSize:d="70%",className:s="",...i})=>{const f=Z.useMemo(()=>({chart:{type:"donut",height:n,toolbar:{show:!1}},colors:c,labels:r,legend:{show:u,position:"bottom"},dataLabels:{enabled:!0,formatter:w=>`${w.toFixed(1)}%`},tooltip:{theme:"light",y:{formatter:w=>`${w}`}},plotOptions:{pie:{donut:{size:d,labels:{show:!0,name:{show:!0},value:{show:!0,formatter:w=>`${w}`},total:{show:!0,label:"Total",formatter:()=>a.reduce((g,p)=>g+p,0).toString()}}}}}}),[r,c,n,u,d,a]);return l.jsxs("div",{className:s,children:[t&&l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:t}),l.jsx(Q0,{options:f,series:a,type:"donut",height:n,...i})]})},sP=({series:a=[],categories:r=[],title:t="",height:n=350,colors:c=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6"],showLegend:u=!0,showToolbar:d=!0,className:s="",...i})=>{const f=Z.useMemo(()=>({chart:{type:"column",height:n,toolbar:{show:d,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0}}},colors:c,plotOptions:{bar:{horizontal:!1,borderRadius:4,columnWidth:"55%",dataLabels:{position:"top"}}},xaxis:{categories:r,labels:{style:{colors:"#6B7280"}}},yaxis:{labels:{style:{colors:"#6B7280"}}},legend:{show:u,position:"top",horizontalAlign:"center"},grid:{borderColor:"#E5E7EB",strokeDashArray:4},tooltip:{theme:"light"},dataLabels:{enabled:!1}}),[r,c,n,u,d]);return l.jsxs("div",{className:s,children:[t&&l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:t}),l.jsx(Q0,{options:f,series:a,type:"bar",height:n,...i})]})},uP=({icon:a="DocumentIcon",title:r="No hay datos",description:t="No se encontraron elementos para mostrar.",actionLabel:n,onAction:c,className:u="",...d})=>l.jsxs("div",{className:`flex flex-col items-center justify-center py-12 px-4 ${u}`,...d,children:[l.jsx("div",{className:"mb-4",children:l.jsx(b,{name:a,className:"h-16 w-16 text-gray-400"})}),l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:r}),l.jsx("p",{className:"text-sm text-gray-500 text-center max-w-sm mb-4",children:t}),n&&c&&l.jsx(s0,{variant:"primary",onClick:c,children:n})]}),fP=({title:a,value:r,change:t,changeType:n="neutral",icon:c,iconColor:u="blue",className:d="",...s})=>{const i={blue:"bg-blue-100 text-blue-600",green:"bg-green-100 text-green-600",yellow:"bg-yellow-100 text-yellow-600",red:"bg-red-100 text-red-600",purple:"bg-purple-100 text-purple-600"},f={positive:"text-green-600",negative:"text-red-600",neutral:"text-gray-600"};return l.jsx("div",{className:`bg-white rounded-lg shadow-md p-6 ${d}`,...s,children:l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs("div",{className:"flex-1",children:[l.jsx(x,{variant:"body2",className:"text-gray-600 mb-1",children:a}),l.jsx(x,{variant:"h3",className:"text-gray-900 mb-2",children:r}),t&&l.jsx("div",{className:`flex items-center text-sm ${f[n]}`,children:l.jsx("span",{children:t})})]}),c&&l.jsx("div",{className:`p-3 rounded-lg ${i[u]}`,children:l.jsx(b,{name:c,className:"h-6 w-6"})})]})})},wP=({items:a=[],className:r="",...t})=>a.length===0?null:l.jsx("div",{className:r,...t,children:l.jsx("ol",{className:"relative border-l border-gray-200",children:a.map((n,c)=>{const u=c===a.length-1;return l.jsxs("li",{className:`mb-10 ml-6 ${u?"mb-0":""}`,children:[l.jsx("div",{className:"absolute w-3 h-3 bg-gray-200 rounded-full mt-1.5 -left-1.5 border border-white"}),l.jsx("time",{className:"mb-1 text-sm font-normal leading-none text-gray-400",children:n.date}),l.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:n.title}),n.description&&l.jsx("p",{className:"mb-4 text-base font-normal text-gray-500",children:n.description}),n.icon&&l.jsx("div",{className:"absolute -left-8 top-0",children:l.jsx(b,{name:n.icon,className:"h-6 w-6 text-gray-400"})})]},c)})})}),hP=({items:a=[],variant:r="default",className:t="",...n})=>{if(a.length===0)return null;const c={default:"divide-y divide-gray-200",none:""};return l.jsx("ul",{className:`${c[r]} ${t}`,...n,children:a.map((u,d)=>l.jsx("li",{className:"py-3",children:typeof u=="string"?l.jsx("span",{className:"text-gray-900",children:u}):u},d))})},mP=({tags:a=[],onRemove:r,variant:t="default",className:n="",...c})=>a.length===0?null:l.jsx("div",{className:`flex flex-wrap gap-2 ${n}`,...c,children:a.map((u,d)=>{const s=typeof u=="string"?u:u.label,i=typeof u=="string"?t:u.variant||t;return l.jsxs(Fe,{variant:i,children:[s,r&&l.jsx("button",{onClick:()=>r(d),className:"ml-2 hover:text-gray-800",children:"×"})]},d)})}),Re=({label:a,placeholder:r,value:t,onChange:n,error:c,required:u=!1,disabled:d=!1,variant:s,className:i="",inputClassName:f="",labelClassName:w="",labelStyle:g,...p})=>{const[h,C]=Z.useState(!1),y=s==="hexa-login",R=`
479
479
  ${y?"w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent text-sm text-gray-900":"w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed"}
480
480
  ${y?"":c?"border-red-500":"border-gray-300"}
481
481
  ${f}
@@ -36481,13 +36481,14 @@ const Be = zD, b = ({
36481
36481
  }) => /* @__PURE__ */ l.jsxs(
36482
36482
  "div",
36483
36483
  {
36484
- className: `bg-white ${a}`,
36484
+ className: `bg-white w-full ${a}`,
36485
36485
  style: {
36486
- width: "379.5px",
36487
- height: "476px",
36486
+ minHeight: "476px",
36488
36487
  borderRadius: "14px",
36489
36488
  border: "1px solid #C4C4C4",
36490
- opacity: 1
36489
+ opacity: 1,
36490
+ display: "flex",
36491
+ flexDirection: "column"
36491
36492
  },
36492
36493
  ...r,
36493
36494
  children: [
@@ -36509,13 +36510,12 @@ const Be = zD, b = ({
36509
36510
  "div",
36510
36511
  {
36511
36512
  style: {
36512
- width: "379.5px",
36513
- height: "60px",
36514
36513
  paddingTop: "24px",
36515
36514
  paddingRight: "24px",
36516
36515
  paddingBottom: "6px",
36517
36516
  paddingLeft: "24px",
36518
- opacity: 1
36517
+ opacity: 1,
36518
+ flexShrink: 0
36519
36519
  },
36520
36520
  children: /* @__PURE__ */ l.jsx(
36521
36521
  "div",
@@ -36589,13 +36589,14 @@ const Be = zD, b = ({
36589
36589
  }) => /* @__PURE__ */ l.jsxs(
36590
36590
  "div",
36591
36591
  {
36592
- className: `bg-white ${r}`,
36592
+ className: `bg-white w-full ${r}`,
36593
36593
  style: {
36594
- width: "379.5px",
36595
- height: "476px",
36594
+ minHeight: "476px",
36596
36595
  borderRadius: "14px",
36597
36596
  border: "1px solid #C4C4C4",
36598
- opacity: 1
36597
+ opacity: 1,
36598
+ display: "flex",
36599
+ flexDirection: "column"
36599
36600
  },
36600
36601
  ...t,
36601
36602
  children: [
@@ -36603,21 +36604,20 @@ const Be = zD, b = ({
36603
36604
  "div",
36604
36605
  {
36605
36606
  style: {
36606
- width: "379.5px",
36607
- height: "60px",
36608
36607
  paddingTop: "24px",
36609
36608
  paddingRight: "24px",
36610
36609
  paddingBottom: "6px",
36611
36610
  paddingLeft: "24px",
36612
- opacity: 1
36611
+ opacity: 1,
36612
+ flexShrink: 0
36613
36613
  },
36614
36614
  className: "flex items-start justify-between",
36615
36615
  children: /* @__PURE__ */ l.jsx(
36616
36616
  "div",
36617
36617
  {
36618
36618
  style: {
36619
- width: "331.5px",
36620
- height: "30px",
36619
+ flex: 1,
36620
+ minWidth: 0,
36621
36621
  opacity: 1
36622
36622
  },
36623
36623
  children: /* @__PURE__ */ l.jsx(
@@ -36635,20 +36635,23 @@ const Be = zD, b = ({
36635
36635
  /* @__PURE__ */ l.jsxs(
36636
36636
  "div",
36637
36637
  {
36638
- className: "flex flex-col items-center justify-center",
36638
+ className: "flex flex-col items-center justify-center flex-1",
36639
36639
  style: {
36640
36640
  paddingTop: "80px",
36641
36641
  paddingBottom: "24px",
36642
+ paddingLeft: "24px",
36643
+ paddingRight: "24px",
36642
36644
  display: "flex",
36643
- justifyContent: "flex-start"
36645
+ justifyContent: "flex-start",
36646
+ minHeight: 0
36644
36647
  },
36645
36648
  children: [
36646
36649
  /* @__PURE__ */ l.jsx(
36647
36650
  "div",
36648
36651
  {
36649
- className: "mb-4 flex items-center justify-center",
36652
+ className: "mb-4 flex items-center justify-center flex-shrink-0",
36650
36653
  style: {
36651
- width: "63.99068069458008px",
36654
+ width: "64px",
36652
36655
  height: "64px",
36653
36656
  borderRadius: "12px",
36654
36657
  paddingTop: "8px",
@@ -36711,13 +36714,14 @@ const Be = zD, b = ({
36711
36714
  }) => /* @__PURE__ */ l.jsxs(
36712
36715
  "div",
36713
36716
  {
36714
- className: `bg-white ${t}`,
36717
+ className: `bg-white w-full ${t}`,
36715
36718
  style: {
36716
- width: "379.5px",
36717
- height: "476px",
36719
+ minHeight: "476px",
36718
36720
  borderRadius: "14px",
36719
36721
  border: "1px solid #C4C4C4",
36720
- opacity: 1
36722
+ opacity: 1,
36723
+ display: "flex",
36724
+ flexDirection: "column"
36721
36725
  },
36722
36726
  ...n,
36723
36727
  children: [
@@ -36725,21 +36729,20 @@ const Be = zD, b = ({
36725
36729
  "div",
36726
36730
  {
36727
36731
  style: {
36728
- width: "379.5px",
36729
- height: "60px",
36730
36732
  paddingTop: "24px",
36731
36733
  paddingRight: "24px",
36732
36734
  paddingBottom: "6px",
36733
36735
  paddingLeft: "24px",
36734
- opacity: 1
36736
+ opacity: 1,
36737
+ flexShrink: 0
36735
36738
  },
36736
36739
  className: "flex items-start justify-between",
36737
36740
  children: /* @__PURE__ */ l.jsx(
36738
36741
  "div",
36739
36742
  {
36740
36743
  style: {
36741
- width: "331.5px",
36742
- height: "30px",
36744
+ flex: 1,
36745
+ minWidth: 0,
36743
36746
  opacity: 1
36744
36747
  },
36745
36748
  children: /* @__PURE__ */ l.jsx(
@@ -36757,18 +36760,21 @@ const Be = zD, b = ({
36757
36760
  /* @__PURE__ */ l.jsxs(
36758
36761
  "div",
36759
36762
  {
36760
- className: "flex flex-col items-center justify-center",
36763
+ className: "flex flex-col items-center justify-center flex-1",
36761
36764
  style: {
36762
36765
  paddingTop: "80px",
36763
36766
  paddingBottom: "24px",
36767
+ paddingLeft: "24px",
36768
+ paddingRight: "24px",
36764
36769
  display: "flex",
36765
- justifyContent: "flex-start"
36770
+ justifyContent: "flex-start",
36771
+ minHeight: 0
36766
36772
  },
36767
36773
  children: [
36768
36774
  /* @__PURE__ */ l.jsx(
36769
36775
  "div",
36770
36776
  {
36771
- className: "mb-4 flex items-center justify-center border-2 rounded-full",
36777
+ className: "mb-4 flex items-center justify-center border-2 rounded-full flex-shrink-0",
36772
36778
  style: {
36773
36779
  borderColor: "#374151",
36774
36780
  width: "48px",
@@ -36790,8 +36796,8 @@ const Be = zD, b = ({
36790
36796
  "div",
36791
36797
  {
36792
36798
  style: {
36793
- width: "331.5px",
36794
- height: "48px",
36799
+ width: "100%",
36800
+ maxWidth: "331.5px",
36795
36801
  opacity: 1,
36796
36802
  display: "flex",
36797
36803
  alignItems: "center",
@@ -36822,8 +36828,9 @@ const Be = zD, b = ({
36822
36828
  {
36823
36829
  className: "border flex items-center justify-center",
36824
36830
  style: {
36825
- width: "331.5px",
36826
- height: "128px",
36831
+ width: "100%",
36832
+ maxWidth: "331.5px",
36833
+ minHeight: "128px",
36827
36834
  borderRadius: "10px",
36828
36835
  borderWidth: "1px",
36829
36836
  borderColor: "#EF4444",
@@ -36838,8 +36845,7 @@ const Be = zD, b = ({
36838
36845
  "div",
36839
36846
  {
36840
36847
  style: {
36841
- width: "298px",
36842
- height: "96px",
36848
+ width: "100%",
36843
36849
  opacity: 1
36844
36850
  },
36845
36851
  children: /* @__PURE__ */ l.jsx(
@@ -36869,13 +36875,14 @@ const Be = zD, b = ({
36869
36875
  }) => /* @__PURE__ */ l.jsxs(
36870
36876
  "div",
36871
36877
  {
36872
- className: `bg-white ${t}`,
36878
+ className: `bg-white w-full ${t}`,
36873
36879
  style: {
36874
- width: "379.5px",
36875
- height: "476px",
36880
+ minHeight: "476px",
36876
36881
  borderRadius: "14px",
36877
36882
  border: "1px solid #C4C4C4",
36878
- opacity: 1
36883
+ opacity: 1,
36884
+ display: "flex",
36885
+ flexDirection: "column"
36879
36886
  },
36880
36887
  ...n,
36881
36888
  children: [
@@ -36883,21 +36890,20 @@ const Be = zD, b = ({
36883
36890
  "div",
36884
36891
  {
36885
36892
  style: {
36886
- width: "379.5px",
36887
- height: "60px",
36888
36893
  paddingTop: "24px",
36889
36894
  paddingRight: "24px",
36890
36895
  paddingBottom: "6px",
36891
36896
  paddingLeft: "24px",
36892
- opacity: 1
36897
+ opacity: 1,
36898
+ flexShrink: 0
36893
36899
  },
36894
36900
  className: "flex items-start justify-between",
36895
36901
  children: /* @__PURE__ */ l.jsx(
36896
36902
  "div",
36897
36903
  {
36898
36904
  style: {
36899
- width: "331.5px",
36900
- height: "30px",
36905
+ flex: 1,
36906
+ minWidth: 0,
36901
36907
  opacity: 1
36902
36908
  },
36903
36909
  children: /* @__PURE__ */ l.jsx(
@@ -36926,14 +36932,16 @@ const Be = zD, b = ({
36926
36932
  "div",
36927
36933
  {
36928
36934
  style: {
36929
- width: "379.5px",
36930
- height: "416px",
36935
+ flex: 1,
36931
36936
  paddingRight: "24px",
36932
36937
  paddingLeft: "24px",
36938
+ paddingBottom: "24px",
36933
36939
  gap: "16px",
36934
36940
  opacity: 1,
36935
36941
  display: "flex",
36936
- flexDirection: "column"
36942
+ flexDirection: "column",
36943
+ minHeight: 0,
36944
+ overflow: "auto"
36937
36945
  },
36938
36946
  children: r
36939
36947
  }
@@ -36948,13 +36956,14 @@ const Be = zD, b = ({
36948
36956
  }) => /* @__PURE__ */ l.jsxs(
36949
36957
  "div",
36950
36958
  {
36951
- className: `bg-white ${t}`,
36959
+ className: `bg-white w-full ${t}`,
36952
36960
  style: {
36953
- width: "379.5px",
36954
- height: "476px",
36961
+ minHeight: "476px",
36955
36962
  borderRadius: "14px",
36956
36963
  border: "1px solid #C4C4C4",
36957
- opacity: 1
36964
+ opacity: 1,
36965
+ display: "flex",
36966
+ flexDirection: "column"
36958
36967
  },
36959
36968
  ...n,
36960
36969
  children: [
@@ -36962,21 +36971,20 @@ const Be = zD, b = ({
36962
36971
  "div",
36963
36972
  {
36964
36973
  style: {
36965
- width: "379.5px",
36966
- height: "60px",
36967
36974
  paddingTop: "24px",
36968
36975
  paddingRight: "24px",
36969
36976
  paddingBottom: "6px",
36970
36977
  paddingLeft: "24px",
36971
- opacity: 1
36978
+ opacity: 1,
36979
+ flexShrink: 0
36972
36980
  },
36973
36981
  className: "flex items-start justify-between",
36974
36982
  children: /* @__PURE__ */ l.jsx(
36975
36983
  "div",
36976
36984
  {
36977
36985
  style: {
36978
- width: "331.5px",
36979
- height: "30px",
36986
+ flex: 1,
36987
+ minWidth: 0,
36980
36988
  opacity: 1
36981
36989
  },
36982
36990
  children: /* @__PURE__ */ l.jsx(
@@ -37005,14 +37013,16 @@ const Be = zD, b = ({
37005
37013
  "div",
37006
37014
  {
37007
37015
  style: {
37008
- width: "379.5px",
37009
- height: "416px",
37016
+ flex: 1,
37010
37017
  paddingRight: "24px",
37011
37018
  paddingLeft: "24px",
37019
+ paddingBottom: "24px",
37012
37020
  gap: "16px",
37013
37021
  opacity: 1,
37014
37022
  display: "flex",
37015
- flexDirection: "column"
37023
+ flexDirection: "column",
37024
+ minHeight: 0,
37025
+ overflow: "auto"
37016
37026
  },
37017
37027
  children: r
37018
37028
  }
@@ -37028,13 +37038,14 @@ const Be = zD, b = ({
37028
37038
  }) => /* @__PURE__ */ l.jsxs(
37029
37039
  "div",
37030
37040
  {
37031
- className: `bg-white ${n}`,
37041
+ className: `bg-white w-full ${n}`,
37032
37042
  style: {
37033
- width: "379.5px",
37034
- height: "476px",
37043
+ minHeight: "476px",
37035
37044
  borderRadius: "14px",
37036
37045
  border: "1px solid #C4C4C4",
37037
- opacity: 1
37046
+ opacity: 1,
37047
+ display: "flex",
37048
+ flexDirection: "column"
37038
37049
  },
37039
37050
  ...c,
37040
37051
  children: [
@@ -37042,13 +37053,12 @@ const Be = zD, b = ({
37042
37053
  "div",
37043
37054
  {
37044
37055
  style: {
37045
- width: "379.5px",
37046
- height: "60px",
37047
37056
  paddingTop: "24px",
37048
37057
  paddingRight: "24px",
37049
37058
  paddingBottom: "6px",
37050
37059
  paddingLeft: "24px",
37051
- opacity: 1
37060
+ opacity: 1,
37061
+ flexShrink: 0
37052
37062
  },
37053
37063
  className: "flex items-start justify-between",
37054
37064
  children: [
@@ -37056,8 +37066,8 @@ const Be = zD, b = ({
37056
37066
  "div",
37057
37067
  {
37058
37068
  style: {
37059
- width: "331.5px",
37060
- height: "30px",
37069
+ flex: 1,
37070
+ minWidth: 0,
37061
37071
  opacity: 1
37062
37072
  },
37063
37073
  children: /* @__PURE__ */ l.jsx(
@@ -37085,7 +37095,7 @@ const Be = zD, b = ({
37085
37095
  {
37086
37096
  className: "text-sm font-medium flex-shrink-0 ml-2 flex items-center justify-center",
37087
37097
  style: {
37088
- width: "90px",
37098
+ minWidth: "90px",
37089
37099
  height: "24px",
37090
37100
  borderRadius: "12px",
37091
37101
  paddingTop: "2px",
@@ -37106,14 +37116,16 @@ const Be = zD, b = ({
37106
37116
  "div",
37107
37117
  {
37108
37118
  style: {
37109
- width: "379.5px",
37110
- height: "416px",
37119
+ flex: 1,
37111
37120
  paddingRight: "24px",
37112
37121
  paddingLeft: "24px",
37122
+ paddingBottom: "24px",
37113
37123
  gap: "16px",
37114
37124
  opacity: 1,
37115
37125
  display: "flex",
37116
- flexDirection: "column"
37126
+ flexDirection: "column",
37127
+ minHeight: 0,
37128
+ overflow: "auto"
37117
37129
  },
37118
37130
  children: t
37119
37131
  }
@@ -37129,13 +37141,14 @@ const Be = zD, b = ({
37129
37141
  }) => /* @__PURE__ */ l.jsxs(
37130
37142
  "div",
37131
37143
  {
37132
- className: `bg-white ${n}`,
37144
+ className: `bg-white w-full ${n}`,
37133
37145
  style: {
37134
- width: "379.5px",
37135
- height: "476px",
37146
+ minHeight: "476px",
37136
37147
  borderRadius: "14px",
37137
37148
  border: "1px solid #C4C4C4",
37138
- opacity: 1
37149
+ opacity: 1,
37150
+ display: "flex",
37151
+ flexDirection: "column"
37139
37152
  },
37140
37153
  ...c,
37141
37154
  children: [
@@ -37143,13 +37156,12 @@ const Be = zD, b = ({
37143
37156
  "div",
37144
37157
  {
37145
37158
  style: {
37146
- width: "379.5px",
37147
- height: "90px",
37148
37159
  paddingTop: "24px",
37149
37160
  paddingRight: "24px",
37150
37161
  paddingBottom: "6px",
37151
37162
  paddingLeft: "24px",
37152
- opacity: 1
37163
+ opacity: 1,
37164
+ flexShrink: 0
37153
37165
  },
37154
37166
  className: "flex items-start justify-between",
37155
37167
  children: [
@@ -37157,8 +37169,8 @@ const Be = zD, b = ({
37157
37169
  "div",
37158
37170
  {
37159
37171
  style: {
37160
- width: "241.5px",
37161
- height: "60px",
37172
+ flex: 1,
37173
+ minWidth: 0,
37162
37174
  opacity: 1
37163
37175
  },
37164
37176
  children: /* @__PURE__ */ l.jsx(
@@ -37186,7 +37198,7 @@ const Be = zD, b = ({
37186
37198
  {
37187
37199
  className: "text-sm font-medium flex-shrink-0 ml-2 flex items-center justify-center",
37188
37200
  style: {
37189
- width: "90px",
37201
+ minWidth: "90px",
37190
37202
  height: "24px",
37191
37203
  borderRadius: "12px",
37192
37204
  paddingTop: "2px",
@@ -37207,14 +37219,16 @@ const Be = zD, b = ({
37207
37219
  "div",
37208
37220
  {
37209
37221
  style: {
37210
- width: "379.5px",
37211
- height: "416px",
37222
+ flex: 1,
37212
37223
  paddingRight: "24px",
37213
37224
  paddingLeft: "24px",
37225
+ paddingBottom: "24px",
37214
37226
  gap: "16px",
37215
37227
  opacity: 1,
37216
37228
  display: "flex",
37217
- flexDirection: "column"
37229
+ flexDirection: "column",
37230
+ minHeight: 0,
37231
+ overflow: "auto"
37218
37232
  },
37219
37233
  children: t
37220
37234
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anima-ds-nucleus",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "Anima Design System - A comprehensive React component library",
5
5
  "author": "Nucleus Labs <ipvasallo@nucleus.com.ar>",
6
6
  "license": "UNLICENSED",
@@ -9,32 +9,32 @@ export const CardError = ({
9
9
  }) => {
10
10
  return (
11
11
  <div
12
- className={`bg-white ${className}`}
12
+ className={`bg-white w-full ${className}`}
13
13
  style={{
14
- width: '379.5px',
15
- height: '476px',
14
+ minHeight: '476px',
16
15
  borderRadius: '14px',
17
16
  border: '1px solid #C4C4C4',
18
- opacity: 1
17
+ opacity: 1,
18
+ display: 'flex',
19
+ flexDirection: 'column'
19
20
  }}
20
21
  {...props}
21
22
  >
22
23
  <div
23
24
  style={{
24
- width: '379.5px',
25
- height: '60px',
26
25
  paddingTop: '24px',
27
26
  paddingRight: '24px',
28
27
  paddingBottom: '6px',
29
28
  paddingLeft: '24px',
30
- opacity: 1
29
+ opacity: 1,
30
+ flexShrink: 0
31
31
  }}
32
32
  className="flex items-start justify-between"
33
33
  >
34
34
  <div
35
35
  style={{
36
- width: '331.5px',
37
- height: '30px',
36
+ flex: 1,
37
+ minWidth: 0,
38
38
  opacity: 1
39
39
  }}
40
40
  >
@@ -47,16 +47,19 @@ export const CardError = ({
47
47
  </div>
48
48
  </div>
49
49
  <div
50
- className="flex flex-col items-center justify-center"
50
+ className="flex flex-col items-center justify-center flex-1"
51
51
  style={{
52
52
  paddingTop: '80px',
53
53
  paddingBottom: '24px',
54
+ paddingLeft: '24px',
55
+ paddingRight: '24px',
54
56
  display: 'flex',
55
- justifyContent: 'flex-start'
57
+ justifyContent: 'flex-start',
58
+ minHeight: 0
56
59
  }}
57
60
  >
58
61
  <div
59
- className="mb-4 flex items-center justify-center border-2 rounded-full"
62
+ className="mb-4 flex items-center justify-center border-2 rounded-full flex-shrink-0"
60
63
  style={{
61
64
  borderColor: '#374151',
62
65
  width: '48px',
@@ -73,8 +76,8 @@ export const CardError = ({
73
76
  </div>
74
77
  <div
75
78
  style={{
76
- width: '331.5px',
77
- height: '48px',
79
+ width: '100%',
80
+ maxWidth: '331.5px',
78
81
  opacity: 1,
79
82
  display: 'flex',
80
83
  alignItems: 'center',
@@ -101,8 +104,9 @@ export const CardError = ({
101
104
  <div
102
105
  className="border flex items-center justify-center"
103
106
  style={{
104
- width: '331.5px',
105
- height: '128px',
107
+ width: '100%',
108
+ maxWidth: '331.5px',
109
+ minHeight: '128px',
106
110
  borderRadius: '10px',
107
111
  borderWidth: '1px',
108
112
  borderColor: '#EF4444',
@@ -116,8 +120,7 @@ export const CardError = ({
116
120
  >
117
121
  <div
118
122
  style={{
119
- width: '298px',
120
- height: '96px',
123
+ width: '100%',
121
124
  opacity: 1
122
125
  }}
123
126
  >
@@ -4,13 +4,14 @@ export const CardSkeleton = ({
4
4
  }) => {
5
5
  return (
6
6
  <div
7
- className={`bg-white ${className}`}
7
+ className={`bg-white w-full ${className}`}
8
8
  style={{
9
- width: '379.5px',
10
- height: '476px',
9
+ minHeight: '476px',
11
10
  borderRadius: '14px',
12
11
  border: '1px solid #C4C4C4',
13
- opacity: 1
12
+ opacity: 1,
13
+ display: 'flex',
14
+ flexDirection: 'column'
14
15
  }}
15
16
  {...props}
16
17
  >
@@ -31,13 +32,12 @@ export const CardSkeleton = ({
31
32
  {/* Header skeleton - placeholder para el título */}
32
33
  <div
33
34
  style={{
34
- width: '379.5px',
35
- height: '60px',
36
35
  paddingTop: '24px',
37
36
  paddingRight: '24px',
38
37
  paddingBottom: '6px',
39
38
  paddingLeft: '24px',
40
- opacity: 1
39
+ opacity: 1,
40
+ flexShrink: 0
41
41
  }}
42
42
  >
43
43
  <div
@@ -8,32 +8,32 @@ export const CardTituloCorto = ({
8
8
  }) => {
9
9
  return (
10
10
  <div
11
- className={`bg-white ${className}`}
11
+ className={`bg-white w-full ${className}`}
12
12
  style={{
13
- width: '379.5px',
14
- height: '476px',
13
+ minHeight: '476px',
15
14
  borderRadius: '14px',
16
15
  border: '1px solid #C4C4C4',
17
- opacity: 1
16
+ opacity: 1,
17
+ display: 'flex',
18
+ flexDirection: 'column'
18
19
  }}
19
20
  {...props}
20
21
  >
21
22
  <div
22
23
  style={{
23
- width: '379.5px',
24
- height: '60px',
25
24
  paddingTop: '24px',
26
25
  paddingRight: '24px',
27
26
  paddingBottom: '6px',
28
27
  paddingLeft: '24px',
29
- opacity: 1
28
+ opacity: 1,
29
+ flexShrink: 0
30
30
  }}
31
31
  className="flex items-start justify-between"
32
32
  >
33
33
  <div
34
34
  style={{
35
- width: '331.5px',
36
- height: '30px',
35
+ flex: 1,
36
+ minWidth: 0,
37
37
  opacity: 1
38
38
  }}
39
39
  >
@@ -58,14 +58,16 @@ export const CardTituloCorto = ({
58
58
  {children && (
59
59
  <div
60
60
  style={{
61
- width: '379.5px',
62
- height: '416px',
61
+ flex: 1,
63
62
  paddingRight: '24px',
64
63
  paddingLeft: '24px',
64
+ paddingBottom: '24px',
65
65
  gap: '16px',
66
66
  opacity: 1,
67
67
  display: 'flex',
68
- flexDirection: 'column'
68
+ flexDirection: 'column',
69
+ minHeight: 0,
70
+ overflow: 'auto'
69
71
  }}
70
72
  >
71
73
  {children}
@@ -9,32 +9,32 @@ export const CardTituloCortoMasEstado = ({
9
9
  }) => {
10
10
  return (
11
11
  <div
12
- className={`bg-white ${className}`}
12
+ className={`bg-white w-full ${className}`}
13
13
  style={{
14
- width: '379.5px',
15
- height: '476px',
14
+ minHeight: '476px',
16
15
  borderRadius: '14px',
17
16
  border: '1px solid #C4C4C4',
18
- opacity: 1
17
+ opacity: 1,
18
+ display: 'flex',
19
+ flexDirection: 'column'
19
20
  }}
20
21
  {...props}
21
22
  >
22
23
  <div
23
24
  style={{
24
- width: '379.5px',
25
- height: '60px',
26
25
  paddingTop: '24px',
27
26
  paddingRight: '24px',
28
27
  paddingBottom: '6px',
29
28
  paddingLeft: '24px',
30
- opacity: 1
29
+ opacity: 1,
30
+ flexShrink: 0
31
31
  }}
32
32
  className="flex items-start justify-between"
33
33
  >
34
34
  <div
35
35
  style={{
36
- width: '331.5px',
37
- height: '30px',
36
+ flex: 1,
37
+ minWidth: 0,
38
38
  opacity: 1
39
39
  }}
40
40
  >
@@ -58,7 +58,7 @@ export const CardTituloCortoMasEstado = ({
58
58
  <span
59
59
  className="text-sm font-medium flex-shrink-0 ml-2 flex items-center justify-center"
60
60
  style={{
61
- width: '90px',
61
+ minWidth: '90px',
62
62
  height: '24px',
63
63
  borderRadius: '12px',
64
64
  paddingTop: '2px',
@@ -76,14 +76,16 @@ export const CardTituloCortoMasEstado = ({
76
76
  {children && (
77
77
  <div
78
78
  style={{
79
- width: '379.5px',
80
- height: '416px',
79
+ flex: 1,
81
80
  paddingRight: '24px',
82
81
  paddingLeft: '24px',
82
+ paddingBottom: '24px',
83
83
  gap: '16px',
84
84
  opacity: 1,
85
85
  display: 'flex',
86
- flexDirection: 'column'
86
+ flexDirection: 'column',
87
+ minHeight: 0,
88
+ overflow: 'auto'
87
89
  }}
88
90
  >
89
91
  {children}
@@ -8,32 +8,32 @@ export const CardTituloLargo = ({
8
8
  }) => {
9
9
  return (
10
10
  <div
11
- className={`bg-white ${className}`}
11
+ className={`bg-white w-full ${className}`}
12
12
  style={{
13
- width: '379.5px',
14
- height: '476px',
13
+ minHeight: '476px',
15
14
  borderRadius: '14px',
16
15
  border: '1px solid #C4C4C4',
17
- opacity: 1
16
+ opacity: 1,
17
+ display: 'flex',
18
+ flexDirection: 'column'
18
19
  }}
19
20
  {...props}
20
21
  >
21
22
  <div
22
23
  style={{
23
- width: '379.5px',
24
- height: '60px',
25
24
  paddingTop: '24px',
26
25
  paddingRight: '24px',
27
26
  paddingBottom: '6px',
28
27
  paddingLeft: '24px',
29
- opacity: 1
28
+ opacity: 1,
29
+ flexShrink: 0
30
30
  }}
31
31
  className="flex items-start justify-between"
32
32
  >
33
33
  <div
34
34
  style={{
35
- width: '331.5px',
36
- height: '30px',
35
+ flex: 1,
36
+ minWidth: 0,
37
37
  opacity: 1
38
38
  }}
39
39
  >
@@ -58,14 +58,16 @@ export const CardTituloLargo = ({
58
58
  {children && (
59
59
  <div
60
60
  style={{
61
- width: '379.5px',
62
- height: '416px',
61
+ flex: 1,
63
62
  paddingRight: '24px',
64
63
  paddingLeft: '24px',
64
+ paddingBottom: '24px',
65
65
  gap: '16px',
66
66
  opacity: 1,
67
67
  display: 'flex',
68
- flexDirection: 'column'
68
+ flexDirection: 'column',
69
+ minHeight: 0,
70
+ overflow: 'auto'
69
71
  }}
70
72
  >
71
73
  {children}
@@ -9,32 +9,32 @@ export const CardTituloLargoMasEstado = ({
9
9
  }) => {
10
10
  return (
11
11
  <div
12
- className={`bg-white ${className}`}
12
+ className={`bg-white w-full ${className}`}
13
13
  style={{
14
- width: '379.5px',
15
- height: '476px',
14
+ minHeight: '476px',
16
15
  borderRadius: '14px',
17
16
  border: '1px solid #C4C4C4',
18
- opacity: 1
17
+ opacity: 1,
18
+ display: 'flex',
19
+ flexDirection: 'column'
19
20
  }}
20
21
  {...props}
21
22
  >
22
23
  <div
23
24
  style={{
24
- width: '379.5px',
25
- height: '90px',
26
25
  paddingTop: '24px',
27
26
  paddingRight: '24px',
28
27
  paddingBottom: '6px',
29
28
  paddingLeft: '24px',
30
- opacity: 1
29
+ opacity: 1,
30
+ flexShrink: 0
31
31
  }}
32
32
  className="flex items-start justify-between"
33
33
  >
34
34
  <div
35
35
  style={{
36
- width: '241.5px',
37
- height: '60px',
36
+ flex: 1,
37
+ minWidth: 0,
38
38
  opacity: 1
39
39
  }}
40
40
  >
@@ -58,7 +58,7 @@ export const CardTituloLargoMasEstado = ({
58
58
  <span
59
59
  className="text-sm font-medium flex-shrink-0 ml-2 flex items-center justify-center"
60
60
  style={{
61
- width: '90px',
61
+ minWidth: '90px',
62
62
  height: '24px',
63
63
  borderRadius: '12px',
64
64
  paddingTop: '2px',
@@ -76,14 +76,16 @@ export const CardTituloLargoMasEstado = ({
76
76
  {children && (
77
77
  <div
78
78
  style={{
79
- width: '379.5px',
80
- height: '416px',
79
+ flex: 1,
81
80
  paddingRight: '24px',
82
81
  paddingLeft: '24px',
82
+ paddingBottom: '24px',
83
83
  gap: '16px',
84
84
  opacity: 1,
85
85
  display: 'flex',
86
- flexDirection: 'column'
86
+ flexDirection: 'column',
87
+ minHeight: 0,
88
+ overflow: 'auto'
87
89
  }}
88
90
  >
89
91
  {children}
@@ -8,32 +8,32 @@ export const CardVacia = ({
8
8
  }) => {
9
9
  return (
10
10
  <div
11
- className={`bg-white ${className}`}
11
+ className={`bg-white w-full ${className}`}
12
12
  style={{
13
- width: '379.5px',
14
- height: '476px',
13
+ minHeight: '476px',
15
14
  borderRadius: '14px',
16
15
  border: '1px solid #C4C4C4',
17
- opacity: 1
16
+ opacity: 1,
17
+ display: 'flex',
18
+ flexDirection: 'column'
18
19
  }}
19
20
  {...props}
20
21
  >
21
22
  <div
22
23
  style={{
23
- width: '379.5px',
24
- height: '60px',
25
24
  paddingTop: '24px',
26
25
  paddingRight: '24px',
27
26
  paddingBottom: '6px',
28
27
  paddingLeft: '24px',
29
- opacity: 1
28
+ opacity: 1,
29
+ flexShrink: 0
30
30
  }}
31
31
  className="flex items-start justify-between"
32
32
  >
33
33
  <div
34
34
  style={{
35
- width: '331.5px',
36
- height: '30px',
35
+ flex: 1,
36
+ minWidth: 0,
37
37
  opacity: 1
38
38
  }}
39
39
  >
@@ -46,18 +46,21 @@ export const CardVacia = ({
46
46
  </div>
47
47
  </div>
48
48
  <div
49
- className="flex flex-col items-center justify-center"
49
+ className="flex flex-col items-center justify-center flex-1"
50
50
  style={{
51
51
  paddingTop: '80px',
52
52
  paddingBottom: '24px',
53
+ paddingLeft: '24px',
54
+ paddingRight: '24px',
53
55
  display: 'flex',
54
- justifyContent: 'flex-start'
56
+ justifyContent: 'flex-start',
57
+ minHeight: 0
55
58
  }}
56
59
  >
57
60
  <div
58
- className="mb-4 flex items-center justify-center"
61
+ className="mb-4 flex items-center justify-center flex-shrink-0"
59
62
  style={{
60
- width: '63.99068069458008px',
63
+ width: '64px',
61
64
  height: '64px',
62
65
  borderRadius: '12px',
63
66
  paddingTop: '8px',