import{d as m,f as u,A as h,_ as d,o as i,c as p,a as w,p as a,n as t,G as c,z as n,N as g,t as _,k as x}from"./app-DZcRemIr.js";const b=m({__name:"ActionCard",props:{icon:{type:null,required:!0},label:{type:String,required:!0},to:{type:String,required:!1,default:"#"},bgColor:{type:String,required:!1,default:"#007aff"},footerColor:{type:String,required:!1,default:"#165797"},size:{type:String,required:!1,default:"md"},variant:{type:String,required:!1,default:"raised"},labelColor:{type:String,required:!1,default:"#171717"},footerTextColor:{type:String,required:!1,default:"#ffffff"}},setup(s,{expose:o}){o();const r=s,e=u(()=>({xxs:{headerPad:"p-2",minH:"min-h-10",icon:"w-5 h-5",label:"text-[12px] leading-none",footPad:"px-2.5 py-0.5",footText:"text-[10px]",iconPosition:"bottom-1 left-1"},sm:{headerPad:"p-3",minH:"min-h-12",icon:"w-6 h-6",label:"text-sm",footPad:"px-3.5 py-1",footText:"text-xs",iconPosition:"bottom-2 left-2"},md:{headerPad:"p-6",minH:"min-h-[100px]",icon:"w-12 h-12",label:"text-lg font-semibold",footPad:"px-4 py-2",footText:"text-sm",iconPosition:"bottom-3 left-3"},lg:{headerPad:"p-8",minH:"min-h-[120px]",icon:"w-16 h-16",label:"text-xl md:text-2xl",footPad:"px-6 py-2",footText:"text-sm",iconPosition:"bottom-4 left-4"}})[r.size]),f=u(()=>["w-full flex flex-col rounded-lg overflow-hidden cursor-pointer block","focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-blue-500","dark:border dark:border-gray-600",r.size==="lg"?"h-full":"",r.variant==="raised"?"shadow-lg hover:scale-[1.02] transition-transform duration-200 dark:shadow-gray-900/30":"shadow-sm hover:scale-100 dark:shadow-gray-800/20"].join(" ")),l={props:r,sz:e,linkClass:f,get Link(){return h}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}});function y(s,o,r,e,f,l){return i(),p(e.Link,{href:e.props.to,"aria-label":e.props.label,class:n(e.linkClass)},{default:w(()=>[a(" Header con tema oscuro "),t("div",{class:n(["flex items-center relative grow transition-colors duration-200",[e.sz.headerPad,e.sz.minH]]),style:c({backgroundColor:e.props.bgColor})},[a(" Icono con posición corregida "),(i(),p(g(e.props.icon),{class:n(["text-white opacity-30 absolute transition-opacity duration-200",e.sz.iconPosition,e.sz.icon]),"aria-hidden":"true"},null,8,["class"])),t("span",{class:n(["ml-auto font-medium text-right transition-colors duration-200",e.sz.label]),style:c({color:e.props.labelColor})},_(e.props.label),7)],6),a(" Footer con tema oscuro "),t("div",{class:n(["flex justify-between items-center transition-colors duration-200",[e.sz.footText,e.sz.footPad]]),style:c({backgroundColor:e.props.footerColor,color:e.props.footerTextColor})},[...o[0]||(o[0]=[t("span",null,"IR",-1),t("span",null,">",-1)])],6)]),_:1},8,["href","aria-label","class"])}const j=d(b,[["render",y],["__file","/var/www/resources/js/components/ActionCard.vue"]]),v={},C={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",class:"w-16 h-16 text-white"};function k(s,o){return i(),x("svg",C,[...o[0]||(o[0]=[t("circle",{cx:"12",cy:"9",r:"4"},null,-1),t("rect",{x:"5",y:"14",width:"14",height:"4",rx:"2"},null,-1)])])}const B=d(v,[["render",k],["__file","/var/www/resources/js/components/icons/UsersIcon.vue"]]),P={},z={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",class:"w-16 h-16 text-white"};function S(s,o){return i(),x("svg",z,[...o[0]||(o[0]=[t("rect",{x:"5",y:"8",width:"6",height:"6",rx:"1"},null,-1),t("rect",{x:"13",y:"10",width:"6",height:"6",rx:"1"},null,-1),t("rect",{x:"9",y:"4",width:"6",height:"6",rx:"1"},null,-1)])])}const H=d(P,[["render",S],["__file","/var/www/resources/js/components/icons/CubeIcon.vue"]]);export{j as A,H as C,B as U};
