@iaclinical/components 1.0.8 → 1.0.10

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),M={class:"flex items-center gap-4"},_={key:1,class:"text-lg font-bold text-primary-50 font-poppins"},D={class:"flex-1 flex justify-center"},L={key:0,class:"text-lg font-bold text-primary-50 font-poppins"},j={class:"flex items-center gap-3"},O={key:0,class:"text-lg font-bold text-primary-50 font-poppins"},I=e.defineComponent({__name:"AppBar",props:{title:{default:""},titlePosition:{default:"left"},showMenuButton:{type:Boolean,default:!0},variant:{default:"default"},sticky:{type:Boolean,default:!0},shadow:{type:Boolean,default:!1},height:{default:"md"}},emits:["toggle-menu"],setup(o,{emit:m}){const t=o,i=m,n=e.computed(()=>{const r="flex items-center justify-between px-6 z-50",s={default:"bg-primary-700 text-primary-50",dark:"bg-secondary-900 text-white",light:"bg-white text-secondary-900 border-b border-secondary-200"},c={sm:"h-12",md:"h-14",lg:"h-16"},a=t.sticky?"sticky top-0":"",p=t.shadow?"shadow-md":"";return[r,s[t.variant],c[t.height],a,p].join(" ")});return(r,s)=>(e.openBlock(),e.createElementBlock("header",{class:e.normalizeClass(n.value)},[e.createElementVNode("div",M,[o.showMenuButton?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s[0]||(s[0]=c=>i("toggle-menu")),class:"p-2 hover:bg-primary-600 rounded-md transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500","aria-label":"Toggle menu"},[...s[1]||(s[1]=[e.createElementVNode("svg",{class:"w-6 h-6 text-primary-50",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"})],-1)])])):e.createCommentVNode("",!0),o.title&&o.titlePosition==="left"?(e.openBlock(),e.createElementBlock("div",_,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"left",{},void 0,!0)]),e.createElementVNode("div",D,[o.title&&o.titlePosition==="center"?(e.openBlock(),e.createElementBlock("div",L,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"center",{},void 0,!0)]),e.createElementVNode("div",j,[o.title&&o.titlePosition==="right"?(e.openBlock(),e.createElementBlock("div",O,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"right",{},void 0,!0)])],2))}}),z=(o,m)=>{const t=o.__vccOpts||o;for(const[i,n]of m)t[i]=n;return t},F=z(I,[["__scopeId","data-v-883474b5"]]),H=["type","disabled","aria-label"],P={key:0,class:"absolute top-0 right-0 inline-flex items-center justify-center px-1.5 py-0.5 text-xs font-bold leading-none text-white transform translate-x-1/2 -translate-y-1/2 bg-danger-600 rounded-full min-w-[1.25rem]"},A=e.defineComponent({__name:"Button",props:{variant:{default:"primary"},size:{default:"md"},radius:{default:"full"},type:{default:"button"},disabled:{type:Boolean,default:!1},badge:{default:0},ariaLabel:{default:""},textColor:{default:void 0},textColorHover:{default:void 0}},emits:["click"],setup(o,{emit:m}){const t=o,i=m,n=e.computed(()=>t.variant==="icon"),r=e.computed(()=>t.badge>99?"99+":t.badge.toString()),s=e.computed(()=>{const a="inline-flex items-center justify-center font-semibold tracking-wide transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",p={primary:"bg-primary-500 text-white hover:bg-primary-600 active:bg-primary-700 focus-visible:ring-primary-700",secondary:"bg-secondary-200 text-secondary-900 hover:bg-secondary-300 focus-visible:ring-secondary-500",outline:"border border-secondary-300 bg-transparent hover:bg-secondary-100 focus-visible:ring-secondary-500",ghost:"hover:bg-secondary-100 focus-visible:ring-secondary-500",danger:"bg-danger-600 text-white hover:bg-danger-700 focus-visible:ring-danger-600",icon:"hover:bg-secondary-100 focus-visible:ring-secondary-500 relative",text:"bg-transparent border-0 focus-visible:ring-0 focus-visible:ring-offset-0"},f={sm:n.value?"p-1.5":"h-8 px-3 text-sm",md:n.value?"p-2":"h-10 px-4 text-base",lg:n.value?"p-3":"h-12 px-6 text-lg"},C={full:"rounded-full",xl:"rounded-2xl",lg:"rounded-xl",md:"rounded-lg",sm:"rounded-md",none:"rounded-none"},E=t.textColor?t.textColor:"",v=e.computed(()=>{var B,V;return t.textColorHover?t.textColorHover:(B=t.textColor)!=null&&B.includes("white")||(V=t.textColor)!=null&&V.includes("50")?"hover:text-black":""});return`${a} ${p[t.variant]} ${f[t.size]} ${C[t.radius]} ${E} ${v.value}`}),c=a=>{t.disabled||i("click",a)};return(a,p)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(s.value),type:o.type,disabled:o.disabled,onClick:c,"aria-label":o.ariaLabel},[e.renderSlot(a.$slots,"default"),n.value&&o.badge&&o.badge>0?(e.openBlock(),e.createElementBlock("span",P,e.toDisplayString(r.value),1)):e.createCommentVNode("",!0)],10,H))}}),W={key:0,class:"border-b border-gray-100 px-6 py-4"},K={class:"px-6 py-4"},R={key:1,class:"border-t border-gray-100 px-6 py-4 bg-gray-50"},q=e.defineComponent({__name:"Card",props:{shadow:{default:"md"},rounded:{default:"lg"},bordered:{type:Boolean,default:!1}},setup(o){const m=o,t={none:"",sm:"shadow-sm",md:"shadow",lg:"shadow-lg",xl:"shadow-xl"},i={none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},n=e.computed(()=>["w-full bg-white",t[m.shadow],i[m.rounded],m.bordered?"border border-gray-200":""]);return(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(n.value)},[r.$slots.header?(e.openBlock(),e.createElementBlock("div",W,[e.renderSlot(r.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",K,[e.renderSlot(r.$slots,"default")]),r.$slots.footer?(e.openBlock(),e.createElementBlock("div",R,[e.renderSlot(r.$slots,"footer")])):e.createCommentVNode("",!0)],2))}}),U={class:"flex items-center justify-between border-b border-gray-100 px-8 py-6"},G={class:"text-xl font-semibold text-gray-900"},Q={class:"px-8 py-6"},J={key:0,class:"border-t border-gray-100 px-8 py-6 bg-gray-50"},X=e.defineComponent({__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},title:{default:"Diálogo"},closeOnBackdrop:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(o,{emit:m}){const t=o,i=m,n=e.computed({get:()=>t.modelValue,set:c=>i("update:modelValue",c)}),r=()=>{n.value=!1},s=()=>{t.closeOnBackdrop&&r()};return(c,a)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"dialog"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",onClick:s},[e.createElementVNode("div",{class:"relative w-full max-w-2xl rounded-lg bg-white shadow-xl",onClick:a[0]||(a[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",U,[e.createElementVNode("h2",G,[e.renderSlot(c.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)]),e.createElementVNode("button",{type:"button",class:"inline-flex items-center justify-center rounded-md p-1 text-gray-500 transition-colors hover:bg-gray-100 hover:text-gray-900 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500","aria-label":"Cerrar diálogo",onClick:r},[...a[1]||(a[1]=[e.createElementVNode("svg",{class:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])]),e.createElementVNode("div",Q,[e.renderSlot(c.$slots,"default",{},void 0,!0)]),c.$slots.footer?(e.openBlock(),e.createElementBlock("div",J,[e.renderSlot(c.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]),_:3})]))}}),Y=z(X,[["__scopeId","data-v-091e8739"]]),Z=["accept","multiple","disabled"],ee={class:"flex flex-col items-center justify-center gap-4 text-center"},te=["src","alt"],oe={key:1,class:"w-full h-full text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},le={class:"text-center"},ne={class:"text-base font-medium text-gray-700"},se={class:"text-primary-700"},ae={class:"flex items-center gap-3 flex-1 min-w-0"},re={class:"flex-1 min-w-0"},ie={class:"text-sm font-medium text-gray-900 truncate"},ce={class:"text-xs text-gray-500"},de={key:1,class:"text-xs text-gray-500 mt-2"},ue={key:2,class:"text-sm text-danger-500 mt-2"},me=e.defineComponent({__name:"FileUpload",props:{modelValue:{default:null},accept:{default:"*"},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},illustration:{default:void 0},illustrationAlt:{default:"Subir archivo"},illustrationSize:{default:"md"},mainText:{default:"Suelta aquí un archivo o"},linkText:{default:"selecciónalo desde tu equipo"},helperText:{default:""},maxSize:{default:void 0}},emits:["update:modelValue","change","error"],setup(o,{emit:m}){const t=o,i=m,n=e.ref(null),r=e.ref(!1),s=e.ref(t.modelValue),c=e.ref(""),a=e.computed(()=>({sm:"w-20 h-20",md:"w-32 h-32",lg:"w-48 h-48"})[t.illustrationSize]),p=()=>{var h;(h=n.value)==null||h.click()},f=()=>{t.disabled||p()},C=h=>{t.disabled||(r.value=!0)},E=()=>{r.value=!1},v=h=>{if(c.value="",t.maxSize&&h.size>t.maxSize){const k=(t.maxSize/1048576).toFixed(2);return c.value=`El archivo excede el tamaño máximo de ${k}MB`,i("error",c.value),!1}return!0},B=h=>{var $;const x=($=h.target.files)==null?void 0:$[0];x&&v(x)&&(s.value=x,i("update:modelValue",x),i("change",x))},V=h=>{var x;r.value=!1;const k=(x=h.dataTransfer)==null?void 0:x.files[0];k&&v(k)&&(s.value=k,i("update:modelValue",k),i("change",k))},S=()=>{s.value=null,c.value="",n.value&&(n.value.value=""),i("update:modelValue",null),i("change",null)},N=h=>{if(h===0)return"0 Bytes";const k=1024,x=["Bytes","KB","MB","GB"],$=Math.floor(Math.log(h)/Math.log(k));return Math.round(h/Math.pow(k,$)*100)/100+" "+x[$]};return(h,k)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["relative border-2 border-dashed rounded-lg p-8 transition-colors",[r.value?"border-primary-700 bg-primary-50":"border-gray-300 bg-white hover:border-primary-500",o.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"]]),onClick:f,onDragover:e.withModifiers(C,["prevent"]),onDragleave:e.withModifiers(E,["prevent"]),onDrop:e.withModifiers(V,["prevent"])},[e.createElementVNode("input",{ref_key:"fileInput",ref:n,type:"file",accept:o.accept,multiple:o.multiple,disabled:o.disabled,class:"hidden",onChange:B},null,40,Z),e.createElementVNode("div",ee,[e.createElementVNode("div",{class:e.normalizeClass([a.value,"flex items-center justify-center"])},[o.illustration?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.illustration,alt:o.illustrationAlt,class:"max-w-full max-h-full object-contain"},null,8,te)):(e.openBlock(),e.createElementBlock("svg",oe,[...k[1]||(k[1]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"},null,-1)])]))],2),e.createElementVNode("div",le,[e.createElementVNode("p",ne,[e.createTextVNode(e.toDisplayString(o.mainText)+" ",1),e.createElementVNode("span",se,e.toDisplayString(o.linkText),1)])]),s.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"w-full max-w-md bg-gray-50 rounded-lg p-4 flex items-center justify-between",onClick:k[0]||(k[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",ae,[k[2]||(k[2]=e.createElementVNode("svg",{class:"w-6 h-6 text-gray-600 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})],-1)),e.createElementVNode("div",re,[e.createElementVNode("p",ie,e.toDisplayString(s.value.name),1),e.createElementVNode("p",ce,e.toDisplayString(N(s.value.size)),1)])]),o.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:0,onClick:e.withModifiers(S,["stop"]),class:"ml-3 text-gray-400 hover:text-danger-500 transition-colors"},[...k[3]||(k[3]=[e.createElementVNode("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)])]))])):e.createCommentVNode("",!0),o.helperText?(e.openBlock(),e.createElementBlock("p",de,e.toDisplayString(o.helperText),1)):e.createCommentVNode("",!0),c.value?(e.openBlock(),e.createElementBlock("p",ue,e.toDisplayString(c.value),1)):e.createCommentVNode("",!0)])],34))}}),pe=["stroke-width"],fe={class:"w-full h-full rounded-lg overflow-hidden",style:{"background-color":"#f7f7f7"}},ge=e.defineComponent({__name:"Loader",props:{type:{default:"circular"},size:{default:"40px"},height:{default:"4px"},color:{default:"primary"},strokeWidth:{default:4},progress:{default:void 0}},setup(o){const m=o,t={primary:"text-primary-700",secondary:"text-secondary-500",success:"text-success-500",warning:"text-warning-500",danger:"text-danger-500",info:"text-info-500"},i={primary:"bg-primary-700",secondary:"bg-secondary-500",success:"bg-success-500",warning:"bg-warning-500",danger:"bg-danger-500",info:"bg-info-500"},n=e.computed(()=>[t[m.color]]),r=e.computed(()=>[i[m.color]]);return(s,c)=>o.type==="circular"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(n.value)},[(e.openBlock(),e.createElementBlock("svg",{class:"animate-spin",style:e.normalizeStyle({width:o.size,height:o.size}),viewBox:"0 0 24 24"},[e.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":o.strokeWidth,fill:"none"},null,8,pe),c[0]||(c[0]=e.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1))],4))],2)):o.type==="linear"?(e.openBlock(),e.createElementBlock("div",{key:1,class:"w-full",style:e.normalizeStyle({height:o.height})},[e.createElementVNode("div",fe,[e.createElementVNode("div",{class:e.normalizeClass([r.value,"h-full rounded-lg animate-linear-loader"]),style:e.normalizeStyle({width:o.progress?`${o.progress}%`:void 0})},null,6)])],4)):e.createCommentVNode("",!0)}}),ye=z(ge,[["__scopeId","data-v-8df4ec38"]]),he=["disabled","aria-expanded"],ke=["disabled","onClick"],ve={key:0,class:"flex-shrink-0"},be=["innerHTML"],xe={class:"flex-1 min-w-0 mr-2"},Be={class:"flex flex-col items-start"},we=["title"],Ce=["title"],Ee={key:1,class:"flex-shrink-0"},Ve={key:0,class:"text-xs text-secondary-400 font-mono whitespace-nowrap"},$e={key:1},Ne={key:2,class:"w-4 h-4 ml-2 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},Se=e.defineComponent({__name:"Menu",props:{items:{default:()=>[]},triggerText:{default:"Menu"},showChevron:{type:Boolean,default:!0},position:{default:"bottom-start"},align:{default:"start"},offset:{default:()=>({x:0,y:4})},width:{default:"auto"},maxHeight:{default:"400px"},closeOnClick:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1},teleport:{type:Boolean,default:!0},zIndex:{default:50}},emits:["open","close","select"],setup(o,{emit:m}){const t=o,i=m,n=e.ref(!1),r=e.ref(null),s=e.ref(null),c=e.ref({}),a=e.computed(()=>["inline-flex items-center justify-center px-4 py-2 text-sm font-medium","bg-white border border-secondary-300 rounded-md","hover:bg-secondary-50 focus:outline-none focus:ring-2 focus:ring-primary-500","disabled:opacity-50 disabled:cursor-not-allowed","transition-colors"].join(" ")),p=e.computed(()=>[...["fixed bg-white rounded-lg shadow-lg border border-secondary-200","flex flex-col","focus:outline-none"],`z-${t.zIndex}`].join(" ")),f=e.computed(()=>"px-4 py-3 border-b border-secondary-200 bg-secondary-50"),C=e.computed(()=>"px-4 py-3 border-t border-secondary-200 bg-secondary-50"),E=e.computed(()=>"py-1 overflow-y-auto flex-1 min-h-0"),v=e.computed(()=>"my-1 border-t border-secondary-200"),B=e.computed(()=>"px-4 py-2 text-xs font-semibold text-secondary-500 uppercase tracking-wider"),V=l=>{const y=["w-full flex items-center gap-3 px-4 py-2 text-sm text-left","transition-colors focus:outline-none","disabled:opacity-50 disabled:cursor-not-allowed"],d=l.variant||"default",T={default:"text-secondary-700 hover:bg-secondary-50 focus:bg-secondary-50",danger:"text-danger-600 hover:bg-danger-50 focus:bg-danger-50",success:"text-success-600 hover:bg-success-50 focus:bg-success-50",warning:"text-warning-600 hover:bg-warning-50 focus:bg-warning-50"};let b="";return l.color&&(b=l.color,(l.color.includes("white")||l.color.includes("50"))&&(b+=" hover:text-black")),[...y,b||T[d]].join(" ")},S=()=>{t.disabled||(n.value?h():N())},N=()=>{n.value=!0,i("open"),e.nextTick(()=>{g(),document.addEventListener("click",x),document.addEventListener("keydown",$)})},h=()=>{n.value=!1,i("close"),document.removeEventListener("click",x),document.removeEventListener("keydown",$)},k=l=>{l.disabled||(l.action&&l.action(),i("select",l),t.closeOnClick&&!l.children&&h())},x=l=>{const y=l.target;r.value&&!r.value.contains(y)&&s.value&&!s.value.contains(y)&&h()},$=l=>{l.key==="Escape"&&h()},u=l=>{(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),S())},g=()=>{if(!r.value||!s.value)return;const l=r.value.getBoundingClientRect(),y=s.value.getBoundingClientRect(),d=window.innerWidth,T=window.innerHeight;let b=0,w=0;switch(t.position){case"bottom-start":b=l.bottom+t.offset.y,w=l.left+t.offset.x;break;case"bottom-end":b=l.bottom+t.offset.y,w=l.right-y.width+t.offset.x;break;case"top-start":b=l.top-y.height-t.offset.y,w=l.left+t.offset.x;break;case"top-end":b=l.top-y.height-t.offset.y,w=l.right-y.width+t.offset.x;break;case"right-start":b=l.top+t.offset.y,w=l.right+t.offset.x;break;case"right-end":b=l.bottom-y.height+t.offset.y,w=l.right+t.offset.x;break;case"left-start":b=l.top+t.offset.y,w=l.left-y.width-t.offset.x;break;case"left-end":b=l.bottom-y.height+t.offset.y,w=l.left-y.width-t.offset.x;break}w+y.width>d&&(w=d-y.width-8),w<8&&(w=8),b+y.height>T&&(b=T-y.height-8),b<8&&(b=8),c.value={top:`${b}px`,left:`${w}px`,width:t.width==="auto"?`${Math.max(l.width,240)}px`:t.width,maxHeight:t.maxHeight,minWidth:"240px"}};return e.onMounted(()=>{window.addEventListener("scroll",g,!0),window.addEventListener("resize",g)}),e.onUnmounted(()=>{window.removeEventListener("scroll",g,!0),window.removeEventListener("resize",g),document.removeEventListener("click",x),document.removeEventListener("keydown",$)}),e.watch(()=>t.items,()=>{n.value&&e.nextTick(g)},{deep:!0}),(l,y)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["menu-wrapper",{"w-full":o.fullWidth}])},[e.createElementVNode("div",{ref_key:"triggerRef",ref:r},[e.renderSlot(l.$slots,"trigger",{isOpen:n.value,toggle:S},()=>[e.createElementVNode("button",{type:"button",class:e.normalizeClass(a.value),disabled:o.disabled,onClick:S,onKeydown:u,tabindex:0,role:"button","aria-expanded":n.value,"aria-haspopup":!0},[e.renderSlot(l.$slots,"trigger-content",{},()=>[e.createTextVNode(e.toDisplayString(o.triggerText),1)],!0),o.showChevron?(e.openBlock(),e.createElementBlock("svg",{key:0,class:e.normalizeClass(["w-4 h-4 ml-2 transition-transform",n.value?"rotate-180":""]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...y[1]||(y[1]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2)):e.createCommentVNode("",!0)],42,he)],!0)],512),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[n.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"menuRef",ref:s,class:e.normalizeClass(p.value),style:e.normalizeStyle(c.value),onClick:y[0]||(y[0]=e.withModifiers(()=>{},["stop"]))},[l.$slots.header?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(f.value)},[e.renderSlot(l.$slots,"header",{close:h},void 0,!0)],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(E.value)},[e.renderSlot(l.$slots,"default",{close:h,isOpen:n.value},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,(d,T)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d.id||T},[d.type==="divider"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(v.value)},null,2)):d.type==="header"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(B.value)},e.toDisplayString(d.label),3)):(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:e.normalizeClass(V(d)),disabled:d.disabled,onClick:b=>k(d)},[d.icon||l.$slots[`icon-${d.id}`]?(e.openBlock(),e.createElementBlock("span",ve,[e.renderSlot(l.$slots,`icon-${d.id}`,{item:d},()=>[typeof d.icon!="string"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.icon),{key:0,class:"w-5 h-5"})):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:d.icon,class:"w-5 h-5 inline-block"},null,8,be))],!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",xe,[e.renderSlot(l.$slots,`item-${d.id}`,{item:d,close:h},()=>[e.createElementVNode("div",Be,[e.createElementVNode("span",{class:"truncate w-full",title:d.label},e.toDisplayString(d.label),9,we),d.description?(e.openBlock(),e.createElementBlock("span",{key:0,class:"text-xs text-secondary-500 truncate w-full",title:d.description},e.toDisplayString(d.description),9,Ce)):e.createCommentVNode("",!0)])],!0)]),d.suffix||d.shortcut||l.$slots[`suffix-${d.id}`]?(e.openBlock(),e.createElementBlock("span",Ee,[e.renderSlot(l.$slots,`suffix-${d.id}`,{item:d},()=>[d.shortcut?(e.openBlock(),e.createElementBlock("span",Ve,e.toDisplayString(d.shortcut),1)):d.suffix?(e.openBlock(),e.createElementBlock("span",$e,e.toDisplayString(d.suffix),1)):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0),d.children&&d.children.length>0?(e.openBlock(),e.createElementBlock("svg",Ne,[...y[2]||(y[2]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"},null,-1)])])):e.createCommentVNode("",!0)],10,ke))],64))),128))],!0)],2),l.$slots.footer?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(C.value)},[e.renderSlot(l.$slots,"footer",{close:h},void 0,!0)],2)):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0),n.value&&o.overlay?(e.openBlock(),e.createElementBlock("div",{key:1,class:"fixed inset-0 bg-black/20 z-40",onClick:h})):e.createCommentVNode("",!0)]))],2))}}),ze=z(Se,[["__scopeId","data-v-335f2699"]]),Te=["for"],Me={key:0,class:"text-danger-600"},_e={class:"relative"},De=["id","disabled","aria-expanded"],Le={class:"flex-1 text-left truncate"},je={key:0,class:"p-2 border-b border-secondary-200"},Oe=["placeholder"],Ie={class:"max-h-64 overflow-y-auto"},Fe={key:0,class:"px-4 py-3 text-sm text-secondary-500 text-center"},He=["onClick"],Pe={class:"flex items-center justify-between w-full"},Ae={class:"truncate"},We={key:0,class:"w-5 h-5 text-primary-600 flex-shrink-0 ml-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Ke={key:0,class:"border-t border-secondary-200 my-1"},Re=["onClick"],qe=["innerHTML"],Ue={key:1,class:"mt-1 text-sm text-danger-600"},Ge={key:2,class:"mt-1 text-sm text-secondary-600"},Qe=e.defineComponent({__name:"Select",props:{modelValue:{default:null},options:{default:()=>[]},actionItems:{default:()=>[]},label:{default:""},placeholder:{default:"Seleccionar..."},size:{default:"md"},variant:{default:"default"},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Buscar..."},emptyText:{default:"No hay opciones disponibles"},error:{default:""},helperText:{default:""},fullWidth:{type:Boolean,default:!1},menuPosition:{default:"bottom"}},emits:["update:modelValue","change","action"],setup(o,{emit:m}){const t=o,i=m,n=e.ref(!1),r=e.ref(""),s=e.ref(null),c=e.computed(()=>`select-${Math.random().toString(36).substr(2,9)}`),a=e.computed(()=>t.options.find(u=>u.value===t.modelValue)||null),p=e.computed(()=>{if(!t.searchable||!r.value)return t.options;const u=r.value.toLowerCase();return t.options.filter(g=>g.label.toLowerCase().includes(u))}),f=e.computed(()=>"block text-sm font-semibold text-secondary-700 mb-1"),C=e.computed(()=>{const u="w-full flex items-center justify-between gap-2 border rounded-md transition-colors focus:outline-none focus:ring-2 focus:ring-primary-500 disabled:opacity-50 disabled:cursor-not-allowed",g={sm:"px-3 py-1.5 text-sm",md:"px-4 py-2 text-base",lg:"px-5 py-3 text-lg"},l={default:"bg-white border-secondary-300 hover:border-secondary-400",outline:"bg-transparent border-secondary-300 hover:border-primary-500",filled:"bg-secondary-100 border-transparent hover:bg-secondary-200"},y=t.error?"border-danger-600 focus:ring-danger-500":"";return[u,g[t.size],l[t.variant],y].join(" ")}),E=e.computed(()=>`absolute ${t.menuPosition==="top"?"bottom-full mb-1":"top-full mt-1"} left-0 right-0 bg-white rounded-lg shadow-lg border border-secondary-200 z-50 overflow-hidden`),v=u=>{const g="w-full px-4 py-2 text-left hover:bg-primary-50 transition-colors focus:outline-none focus:bg-primary-50 disabled:opacity-50 disabled:cursor-not-allowed",l=V(u)?"bg-primary-50":"";return[g,l].join(" ")},B=u=>{const g="w-full px-4 py-2 text-left text-sm font-semibold transition-colors focus:outline-none flex items-center gap-3";return u.variant==="danger"?`${g} text-danger-600 hover:bg-danger-50 focus:bg-danger-50`:`${g} text-secondary-700 hover:bg-secondary-50 focus:bg-secondary-50`},V=u=>u.value===t.modelValue,S=()=>{t.disabled||(n.value=!n.value,n.value&&t.searchable&&e.nextTick(()=>{var u;(u=s.value)==null||u.focus()}))},N=()=>{n.value=!1,r.value=""},h=u=>{u.disabled||(i("update:modelValue",u.value),i("change",u),N())},k=u=>{u.action&&u.action(),i("action",u),N()},x=u=>{const g=u.relatedTarget;g&&g.closest(".select-wrapper")||setTimeout(()=>{N()},200)},$=u=>{u.key==="Escape"?N():(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),S())};return e.watch(n,u=>{u&&(r.value="")}),(u,g)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["select-wrapper",{"w-full":o.fullWidth}])},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:c.value,class:e.normalizeClass(f.value)},[e.createTextVNode(e.toDisplayString(o.label)+" ",1),o.required?(e.openBlock(),e.createElementBlock("span",Me,"*")):e.createCommentVNode("",!0)],10,Te)):e.createCommentVNode("",!0),e.createElementVNode("div",_e,[e.createElementVNode("button",{id:c.value,type:"button",class:e.normalizeClass(C.value),disabled:o.disabled,"aria-expanded":n.value,"aria-haspopup":!0,onClick:S,onBlur:x,onKeydown:$},[e.createElementVNode("span",Le,e.toDisplayString(a.value?a.value.label:o.placeholder),1),(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["w-5 h-5 flex-shrink-0 transition-transform text-secondary-600",n.value?"rotate-180":""]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[...g[3]||(g[3]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))],42,De),n.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(E.value),onClick:g[2]||(g[2]=e.withModifiers(()=>{},["stop"]))},[o.searchable?(e.openBlock(),e.createElementBlock("div",je,[e.withDirectives(e.createElementVNode("input",{ref_key:"searchInput",ref:s,"onUpdate:modelValue":g[0]||(g[0]=l=>r.value=l),type:"text",class:"w-full px-3 py-2 text-sm border border-secondary-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary-500",placeholder:o.searchPlaceholder,onKeydown:g[1]||(g[1]=e.withModifiers(()=>{},["stop"]))},null,40,Oe),[[e.vModelText,r.value]])])):e.createCommentVNode("",!0),e.createElementVNode("div",Ie,[p.value.length===0?(e.openBlock(),e.createElementBlock("div",Fe,e.toDisplayString(o.emptyText),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,l=>(e.openBlock(),e.createElementBlock("button",{key:l.value,type:"button",class:e.normalizeClass(v(l)),onClick:y=>h(l)},[e.createElementVNode("div",Pe,[e.createElementVNode("span",Ae,e.toDisplayString(l.label),1),V(l)?(e.openBlock(),e.createElementBlock("svg",We,[...g[4]||(g[4]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 13l4 4L19 7"},null,-1)])])):e.createCommentVNode("",!0)])],10,He))),128)),o.actionItems.length>0?(e.openBlock(),e.createElementBlock("div",Ke)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.actionItems,l=>(e.openBlock(),e.createElementBlock("button",{key:l.id,type:"button",class:e.normalizeClass(B(l)),onClick:y=>k(l)},[l.icon?(e.openBlock(),e.createElementBlock("svg",{key:0,class:"w-4 h-4 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",innerHTML:l.icon},null,8,qe)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(l.label),1)],10,Re))),128))],64))])],2)):e.createCommentVNode("",!0)]),o.error?(e.openBlock(),e.createElementBlock("p",Ue,e.toDisplayString(o.error),1)):o.helperText?(e.openBlock(),e.createElementBlock("p",Ge,e.toDisplayString(o.helperText),1)):e.createCommentVNode("",!0),n.value?(e.openBlock(),e.createElementBlock("div",{key:3,onClick:N,class:"fixed inset-0 z-40"})):e.createCommentVNode("",!0)],2))}}),Je=z(Qe,[["__scopeId","data-v-f016a03c"]]),Xe=e.defineComponent({__name:"Sidebar",props:{modelValue:{type:Boolean,default:!1},position:{default:"left"},width:{default:"16rem"},overlay:{type:Boolean,default:!0},overlayTop:{default:"0"},closable:{type:Boolean,default:!0},persistent:{type:Boolean,default:!1},backgroundColor:{default:"white"},shadow:{type:Boolean,default:!0},padding:{default:"md"}},emits:["update:modelValue","close","open"],setup(o,{emit:m}){const t=o,i=m,n=e.computed({get:()=>t.modelValue,set:v=>i("update:modelValue",v)}),r=()=>{t.persistent||(n.value=!1,i("close"))},s=e.computed(()=>t.position==="left"?"slide-right":"slide-left"),c=e.computed(()=>{const v="fixed top-0 h-full z-50 flex flex-col",B=t.position==="left"?"left-0":"right-0",V=t.shadow?t.position==="left"?"shadow-[2px_0_8px_rgba(0,0,0,0.1)]":"shadow-[-2px_0_8px_rgba(0,0,0,0.1)]":"";return[v,B,V].filter(Boolean).join(" ")}),a=e.computed(()=>({width:t.width,backgroundColor:t.backgroundColor,top:t.overlayTop,height:t.overlayTop!=="0"?`calc(100vh - ${t.overlayTop})`:"100vh"})),p={none:"",sm:"p-2",md:"p-4",lg:"p-6"},f=e.computed(()=>`flex items-center justify-between border-b border-gray-200 ${p[t.padding]}`),C=e.computed(()=>`flex-1 overflow-y-auto ${p[t.padding]}`),E=e.computed(()=>`border-t border-gray-200 ${p[t.padding]}`);return(v,B)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[n.value&&o.overlay?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:r,class:"fixed inset-0 bg-black/50 z-40",style:e.normalizeStyle({top:o.overlayTop})},null,4)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:s.value},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("aside",{key:0,class:e.normalizeClass(c.value),style:e.normalizeStyle(a.value)},[v.$slots.header?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(f.value)},[e.renderSlot(v.$slots,"header",{},void 0,!0),o.closable?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:r,class:"p-2 hover:bg-gray-100 rounded-md transition-colors","aria-label":"Cerrar menú"},[...B[0]||(B[0]=[e.createElementVNode("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(C.value)},[e.renderSlot(v.$slots,"default",{},void 0,!0)],2),v.$slots.footer?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(E.value)},[e.renderSlot(v.$slots,"footer",{},void 0,!0)],2)):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0)]),_:3},8,["name"])]))}}),Ye=z(Xe,[["__scopeId","data-v-fffb0e44"]]),Ze={class:"w-full overflow-x-auto"},et={class:"w-full border-collapse"},tt={class:"w-full"},ot={class:"bg-white border-b border-gray-100 w-full"},lt=["onClick"],nt={class:"flex items-center gap-2"},st={key:0,class:"text-xs text-gray-400"},at={key:0},rt={key:1},it={class:"w-full"},ct={key:0,class:"flex items-center justify-center py-12 text-gray-400"},dt={key:1,class:"w-full px-6 py-4 bg-white"},ut=e.defineComponent({__name:"Table",props:{columns:{},data:{}},setup(o){const m=o,t=e.ref(null),i=e.ref("asc"),n=s=>{t.value===s?i.value=i.value==="asc"?"desc":"asc":(t.value=s,i.value="asc")},r=e.computed(()=>{if(!t.value)return m.data;const s=[...m.data];return s.sort((c,a)=>{const p=c[t.value],f=a[t.value];return typeof p=="string"&&typeof f=="string"?i.value==="asc"?p.localeCompare(f):f.localeCompare(p):typeof p=="number"&&typeof f=="number"?i.value==="asc"?p-f:f-p:0}),s});return(s,c)=>(e.openBlock(),e.createElementBlock("div",Ze,[e.createElementVNode("table",et,[e.createElementVNode("thead",tt,[e.createElementVNode("tr",ot,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.columns,a=>(e.openBlock(),e.createElementBlock("th",{key:a.key,style:e.normalizeStyle(a.width?{width:a.width}:{}),class:e.normalizeClass(["px-8 py-4 text-left text-base font-semibold text-gray-900 border-0",a.sortable?"cursor-pointer hover:text-primary-700 select-none transition-colors":""]),onClick:p=>a.sortable&&n(a.key)},[e.createElementVNode("div",nt,[e.createElementVNode("span",null,e.toDisplayString(a.label),1),a.sortable?(e.openBlock(),e.createElementBlock("span",st,[t.value!==a.key?(e.openBlock(),e.createElementBlock("span",at,"⇅")):(e.openBlock(),e.createElementBlock("span",rt,e.toDisplayString(i.value==="asc"?"↑":"↓"),1))])):e.createCommentVNode("",!0)])],14,lt))),128))])]),e.createElementVNode("tbody",it,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(a,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p,class:"w-full hover:bg-gray-50 transition-colors"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.columns,f=>(e.openBlock(),e.createElementBlock("td",{key:`${p}-${f.key}`,class:"px-8 py-4 text-base text-gray-700 border-0"},[e.renderSlot(s.$slots,`cell-${f.key}`,{value:a[f.key],row:a},()=>[e.createTextVNode(e.toDisplayString(a[f.key]),1)],!0)]))),128))]))),128))])]),r.value.length===0?(e.openBlock(),e.createElementBlock("div",ct,[e.renderSlot(s.$slots,"empty",{},()=>[c[0]||(c[0]=e.createTextVNode("No hay datos disponibles",-1))],!0)])):e.createCommentVNode("",!0),s.$slots.footer?(e.openBlock(),e.createElementBlock("div",dt,[e.renderSlot(s.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)]))}}),mt=z(ut,[["__scopeId","data-v-6b3ff0a8"]]),pt={class:"w-full"},ft={class:"flex border-b border-gray-100",role:"tablist"},gt=["aria-selected","onClick"],yt={role:"tabpanel"},ht="relative px-6 py-3 text-base font-semibold tracking-wide transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary-500",kt="text-primary-700 border-b-4 border-primary-700",vt="text-gray-600 border-b-4 border-transparent hover:text-gray-800",bt=e.defineComponent({__name:"Tabs",props:{modelValue:{},tabs:{}},emits:["update:modelValue"],setup(o,{emit:m}){const t=o,i=m,n=a=>t.modelValue===a,r=a=>{n(a)||i("update:modelValue",a)},s=e.computed(()=>t.modelValue),c=e.computed(()=>t.tabs.find(a=>a.value===s.value));return(a,p)=>(e.openBlock(),e.createElementBlock("div",pt,[e.createElementVNode("div",ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabs,f=>(e.openBlock(),e.createElementBlock("button",{key:f.value,type:"button",class:e.normalizeClass([ht,n(f.value)?kt:vt]),"aria-selected":n(f.value),role:"tab",onClick:C=>r(f.value)},e.toDisplayString(f.label),11,gt))),128))]),e.createElementVNode("div",yt,[e.renderSlot(a.$slots,s.value,{active:s.value,tab:c.value})])]))}}),xt="font-sans",Bt=e.defineComponent({__name:"Text",props:{variant:{default:"body1"},as:{},color:{default:"default"},align:{default:"left"},uppercase:{type:Boolean,default:!1},truncate:{type:Boolean,default:!1},weight:{}},setup(o){const m={h1:"text-[40px] leading-[57px] tracking-[0px] font-extrabold",h2:"text-[40px] leading-[57px] tracking-[0px] font-bold",h3:"text-[28px] leading-[39px] tracking-[0px] font-extrabold",h4:"text-[21px] leading-[29px] tracking-[0px] font-extrabold",h5:"text-[16px] leading-[22px] tracking-[0px] font-extrabold",h6:"text-[13px] leading-[18px] tracking-[0px] font-extrabold",subtitle1:"text-[16px] leading-[24px] tracking-[0.15px] font-medium",subtitle2:"text-[14px] leading-[21px] tracking-[0.1px] font-medium",subtitle3:"text-[12px] leading-[18px] tracking-[0.1px] font-medium",subtitle4:"text-[10px] leading-[15px] tracking-[0.1px] font-medium",body1:"text-[16px] leading-[24px] tracking-[0.5px] font-light",body2:"text-[14px] leading-[21px] tracking-[0.25px] font-light",body3:"text-[12px] leading-[18px] tracking-[0.25px] font-light",body4:"text-[10px] leading-[15px] tracking-[0.25px] font-light",button1:"text-[14px] leading-[24px] tracking-[1.25px] font-bold",button2:"text-[14px] leading-[20px] tracking-[1.25px] font-bold",button3:"text-[12px] leading-[18px] tracking-[1.25px] font-bold",caption:"text-[12px] leading-[18px] tracking-[0.4px] font-normal",overline:"text-[10px] leading-[15px] tracking-[1.5px] font-medium"},t={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"p",subtitle2:"p",subtitle3:"p",subtitle4:"p",body1:"p",body2:"p",body3:"p",body4:"p",button1:"span",button2:"span",button3:"span",caption:"span",overline:"span"},i={left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"},n={default:"text-secondary-900",muted:"text-secondary-600",primary:"text-primary-600",secondary:"text-secondary-700",danger:"text-danger-600",success:"text-success-600",warning:"text-warning-600"},r={light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold"},s=o,c=e.computed(()=>s.variant),a=e.computed(()=>s.color),p=e.computed(()=>s.align),f=e.computed(()=>s.as||t[c.value]||"span"),C=e.computed(()=>s.weight?r[s.weight]:"");return(E,v)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(f.value),{class:e.normalizeClass([xt,m[c.value],n[a.value],i[p.value],C.value,{uppercase:o.uppercase||c.value==="overline",truncate:o.truncate}])},{default:e.withCtx(()=>[e.renderSlot(E.$slots,"default")]),_:3},8,["class"]))}});exports.AppBar=F;exports.Button=A;exports.Card=q;exports.Dialog=Y;exports.FileUpload=me;exports.Loader=ye;exports.Menu=ze;exports.Select=Je;exports.Sidebar=Ye;exports.Table=mt;exports.Tabs=bt;exports.Text=Bt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),M={class:"flex items-center gap-4"},D={key:1,class:"text-lg font-bold text-primary-50 font-poppins"},_={class:"flex-1 flex justify-center"},L={key:0,class:"text-lg font-bold text-primary-50 font-poppins"},j={class:"flex items-center gap-3"},O={key:0,class:"text-lg font-bold text-primary-50 font-poppins"},I=e.defineComponent({__name:"AppBar",props:{title:{default:""},titlePosition:{default:"left"},showMenuButton:{type:Boolean,default:!0},variant:{default:"default"},sticky:{type:Boolean,default:!0},shadow:{type:Boolean,default:!1},height:{default:"md"}},emits:["toggle-menu"],setup(o,{emit:m}){const t=o,i=m,n=e.computed(()=>{const r="flex items-center justify-between px-6 z-50",s={default:"bg-primary-700 text-primary-50",dark:"bg-secondary-900 text-white",light:"bg-white text-secondary-900 border-b border-secondary-200"},c={sm:"h-12",md:"h-14",lg:"h-16"},a=t.sticky?"sticky top-0":"",f=t.shadow?"shadow-md":"";return[r,s[t.variant],c[t.height],a,f].join(" ")});return(r,s)=>(e.openBlock(),e.createElementBlock("header",{class:e.normalizeClass(n.value)},[e.createElementVNode("div",M,[o.showMenuButton?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s[0]||(s[0]=c=>i("toggle-menu")),class:"p-2 hover:bg-primary-600 rounded-md transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500","aria-label":"Toggle menu"},[...s[1]||(s[1]=[e.createElementVNode("svg",{class:"w-6 h-6 text-primary-50",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"})],-1)])])):e.createCommentVNode("",!0),o.title&&o.titlePosition==="left"?(e.openBlock(),e.createElementBlock("div",D,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"left",{},void 0,!0)]),e.createElementVNode("div",_,[o.title&&o.titlePosition==="center"?(e.openBlock(),e.createElementBlock("div",L,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"center",{},void 0,!0)]),e.createElementVNode("div",j,[o.title&&o.titlePosition==="right"?(e.openBlock(),e.createElementBlock("div",O,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"right",{},void 0,!0)])],2))}}),z=(o,m)=>{const t=o.__vccOpts||o;for(const[i,n]of m)t[i]=n;return t},F=z(I,[["__scopeId","data-v-883474b5"]]),H=["type","disabled","aria-label"],P={key:0,class:"absolute top-0 right-0 inline-flex items-center justify-center px-1.5 py-0.5 text-xs font-bold leading-none text-white transform translate-x-1/2 -translate-y-1/2 bg-danger-600 rounded-full min-w-[1.25rem]"},A=e.defineComponent({__name:"Button",props:{variant:{default:"primary"},size:{default:"md"},radius:{default:"full"},type:{default:"button"},disabled:{type:Boolean,default:!1},badge:{default:0},ariaLabel:{default:""},textColor:{default:void 0},textColorHover:{default:void 0}},emits:["click"],setup(o,{emit:m}){const t=o,i=m,n=e.computed(()=>t.variant==="icon"),r=e.computed(()=>t.badge>99?"99+":t.badge.toString()),s=e.computed(()=>{const a="inline-flex items-center justify-center font-semibold tracking-wide transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",f={primary:"bg-primary-500 text-white hover:bg-primary-600 active:bg-primary-700 focus-visible:ring-primary-700",secondary:"bg-secondary-200 text-secondary-900 hover:bg-secondary-300 focus-visible:ring-secondary-500",outline:"border border-secondary-300 bg-transparent hover:bg-secondary-100 focus-visible:ring-secondary-500",ghost:"hover:bg-secondary-100 focus-visible:ring-secondary-500",danger:"bg-danger-600 text-white hover:bg-danger-700 focus-visible:ring-danger-600",icon:"hover:bg-secondary-100 focus-visible:ring-secondary-500 relative",text:"bg-transparent border-0 focus-visible:ring-0 focus-visible:ring-offset-0"},p={sm:n.value?"p-1.5":"h-8 px-3 text-sm",md:n.value?"p-2":"h-10 px-4 text-base",lg:n.value?"p-3":"h-12 px-6 text-lg"},B={full:"rounded-full",xl:"rounded-2xl",lg:"rounded-xl",md:"rounded-lg",sm:"rounded-md",none:"rounded-none"},E=t.textColor?t.textColor:"",b=e.computed(()=>{var C,V;return t.textColorHover?t.textColorHover:(C=t.textColor)!=null&&C.includes("white")||(V=t.textColor)!=null&&V.includes("50")?"hover:text-black":""});return`${a} ${f[t.variant]} ${p[t.size]} ${B[t.radius]} ${E} ${b.value}`}),c=a=>{t.disabled||i("click",a)};return(a,f)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(s.value),type:o.type,disabled:o.disabled,onClick:c,"aria-label":o.ariaLabel},[e.renderSlot(a.$slots,"default"),n.value&&o.badge&&o.badge>0?(e.openBlock(),e.createElementBlock("span",P,e.toDisplayString(r.value),1)):e.createCommentVNode("",!0)],10,H))}}),W={key:0,class:"border-b border-gray-100 px-6 py-4"},K={class:"px-6 py-4"},R={key:1,class:"border-t border-gray-100 px-6 py-4 bg-gray-50"},q=e.defineComponent({__name:"Card",props:{shadow:{default:"md"},rounded:{default:"lg"},bordered:{type:Boolean,default:!1}},setup(o){const m=o,t={none:"",sm:"shadow-sm",md:"shadow",lg:"shadow-lg",xl:"shadow-xl"},i={none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},n=e.computed(()=>["w-full bg-white",t[m.shadow],i[m.rounded],m.bordered?"border border-gray-200":""]);return(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(n.value)},[r.$slots.header?(e.openBlock(),e.createElementBlock("div",W,[e.renderSlot(r.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",K,[e.renderSlot(r.$slots,"default")]),r.$slots.footer?(e.openBlock(),e.createElementBlock("div",R,[e.renderSlot(r.$slots,"footer")])):e.createCommentVNode("",!0)],2))}}),U={class:"flex items-center justify-between border-b border-gray-100/60 px-8 py-6"},G={class:"text-xl font-semibold text-gray-900"},Q={class:"px-8 py-6"},J={key:0,class:"border-t border-gray-100 px-8 py-6 bg-gray-50"},X=e.defineComponent({__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},title:{default:"Diálogo"},closeOnBackdrop:{type:Boolean,default:!0}},emits:["update:modelValue","close"],setup(o,{emit:m}){const t=o,i=m,n=e.computed({get:()=>t.modelValue,set:c=>i("update:modelValue",c)}),r=()=>{n.value=!1,i("close")},s=()=>{t.closeOnBackdrop&&r()};return(c,a)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"dialog"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",onClick:s},[e.createElementVNode("div",{class:"relative w-full max-w-2xl rounded-lg bg-white shadow-xl",onClick:a[0]||(a[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",U,[e.createElementVNode("h2",G,[e.renderSlot(c.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)]),e.createElementVNode("button",{type:"button",class:"inline-flex items-center justify-center rounded-md p-1 text-gray-500 transition-colors hover:bg-gray-100 hover:text-gray-900 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500","aria-label":"Cerrar diálogo",onClick:r},[...a[1]||(a[1]=[e.createElementVNode("svg",{class:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])]),e.createElementVNode("div",Q,[e.renderSlot(c.$slots,"default",{},void 0,!0)]),c.$slots.footer?(e.openBlock(),e.createElementBlock("div",J,[e.renderSlot(c.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]),_:3})]))}}),Y=z(X,[["__scopeId","data-v-ce4f3dd4"]]),Z=["accept","multiple","disabled"],ee={class:"flex flex-col items-center justify-center gap-4 text-center"},te=["src","alt"],oe={key:1,class:"w-full h-full text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},le={class:"text-center"},ne={class:"text-base font-medium text-gray-700"},se={class:"text-primary-700"},ae={class:"flex items-center gap-3 flex-1 min-w-0"},re={class:"flex-1 min-w-0"},ie={class:"text-sm font-medium text-gray-900 truncate"},ce={class:"text-xs text-gray-500"},de={key:1,class:"text-xs text-gray-500 mt-2"},ue={key:2,class:"text-sm text-danger-500 mt-2"},me=e.defineComponent({__name:"FileUpload",props:{modelValue:{default:null},accept:{default:"*"},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},illustration:{default:void 0},illustrationAlt:{default:"Subir archivo"},illustrationSize:{default:"md"},mainText:{default:"Suelta aquí un archivo o"},linkText:{default:"selecciónalo desde tu equipo"},helperText:{default:""},maxSize:{default:void 0}},emits:["update:modelValue","change","error"],setup(o,{emit:m}){const t=o,i=m,n=e.ref(null),r=e.ref(!1),s=e.ref(t.modelValue),c=e.ref(""),a=e.computed(()=>({sm:"w-20 h-20",md:"w-32 h-32",lg:"w-48 h-48",xl:"w-64 h-64"})[t.illustrationSize]),f=()=>{var h;(h=n.value)==null||h.click()},p=()=>{t.disabled||f()},B=h=>{t.disabled||(r.value=!0)},E=()=>{r.value=!1},b=h=>{if(c.value="",t.maxSize&&h.size>t.maxSize){const v=(t.maxSize/1048576).toFixed(2);return c.value=`El archivo excede el tamaño máximo de ${v}MB`,i("error",c.value),!1}return!0},C=h=>{var $;const x=($=h.target.files)==null?void 0:$[0];x&&b(x)&&(s.value=x,i("update:modelValue",x),i("change",x))},V=h=>{var x;r.value=!1;const v=(x=h.dataTransfer)==null?void 0:x.files[0];v&&b(v)&&(s.value=v,i("update:modelValue",v),i("change",v))},S=()=>{s.value=null,c.value="",n.value&&(n.value.value=""),i("update:modelValue",null),i("change",null)},N=h=>{if(h===0)return"0 Bytes";const v=1024,x=["Bytes","KB","MB","GB"],$=Math.floor(Math.log(h)/Math.log(v));return Math.round(h/Math.pow(v,$)*100)/100+" "+x[$]};return(h,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["relative border-2 border-dashed rounded-lg p-8 transition-colors",[r.value?"border-primary-700 bg-primary-50":"border-gray-300 bg-white hover:border-primary-500",o.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"]]),onClick:p,onDragover:e.withModifiers(B,["prevent"]),onDragleave:e.withModifiers(E,["prevent"]),onDrop:e.withModifiers(V,["prevent"])},[e.createElementVNode("input",{ref_key:"fileInput",ref:n,type:"file",accept:o.accept,multiple:o.multiple,disabled:o.disabled,class:"hidden",onChange:C},null,40,Z),e.createElementVNode("div",ee,[e.createElementVNode("div",{class:e.normalizeClass([a.value,"flex items-center justify-center"])},[o.illustration?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.illustration,alt:o.illustrationAlt,class:"max-w-full max-h-full object-contain"},null,8,te)):(e.openBlock(),e.createElementBlock("svg",oe,[...v[1]||(v[1]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"},null,-1)])]))],2),e.createElementVNode("div",le,[e.createElementVNode("p",ne,[e.createTextVNode(e.toDisplayString(o.mainText)+" ",1),e.createElementVNode("span",se,e.toDisplayString(o.linkText),1)])]),s.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"w-full max-w-md bg-gray-50 rounded-lg p-4 flex items-center justify-between",onClick:v[0]||(v[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",ae,[v[2]||(v[2]=e.createElementVNode("svg",{class:"w-6 h-6 text-gray-600 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})],-1)),e.createElementVNode("div",re,[e.createElementVNode("p",ie,e.toDisplayString(s.value.name),1),e.createElementVNode("p",ce,e.toDisplayString(N(s.value.size)),1)])]),o.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:0,onClick:e.withModifiers(S,["stop"]),class:"ml-3 text-gray-400 hover:text-danger-500 transition-colors"},[...v[3]||(v[3]=[e.createElementVNode("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)])]))])):e.createCommentVNode("",!0),o.helperText?(e.openBlock(),e.createElementBlock("p",de,e.toDisplayString(o.helperText),1)):e.createCommentVNode("",!0),c.value?(e.openBlock(),e.createElementBlock("p",ue,e.toDisplayString(c.value),1)):e.createCommentVNode("",!0)])],34))}}),fe=["stroke-width"],pe={class:"w-full h-full rounded-lg overflow-hidden",style:{"background-color":"#f7f7f7"}},ge=e.defineComponent({__name:"Loader",props:{type:{default:"circular"},size:{default:"40px"},height:{default:"4px"},color:{default:"primary"},strokeWidth:{default:4},progress:{default:void 0}},setup(o){const m=o,t={primary:"text-primary-700",secondary:"text-secondary-500",success:"text-success-500",warning:"text-warning-500",danger:"text-danger-500",info:"text-info-500"},i={primary:"bg-primary-700",secondary:"bg-secondary-500",success:"bg-success-500",warning:"bg-warning-500",danger:"bg-danger-500",info:"bg-info-500"},n=e.computed(()=>[t[m.color]]),r=e.computed(()=>[i[m.color]]);return(s,c)=>o.type==="circular"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(n.value)},[(e.openBlock(),e.createElementBlock("svg",{class:"animate-spin",style:e.normalizeStyle({width:o.size,height:o.size}),viewBox:"0 0 24 24"},[e.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":o.strokeWidth,fill:"none"},null,8,fe),c[0]||(c[0]=e.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1))],4))],2)):o.type==="linear"?(e.openBlock(),e.createElementBlock("div",{key:1,class:"w-full",style:e.normalizeStyle({height:o.height})},[e.createElementVNode("div",pe,[e.createElementVNode("div",{class:e.normalizeClass([r.value,"h-full rounded-lg animate-linear-loader"]),style:e.normalizeStyle({width:o.progress?`${o.progress}%`:void 0})},null,6)])],4)):e.createCommentVNode("",!0)}}),ye=z(ge,[["__scopeId","data-v-8df4ec38"]]),he=["disabled","aria-expanded"],ve=["disabled","onClick"],be={key:0,class:"flex-shrink-0"},ke=["innerHTML"],xe={class:"flex-1 min-w-0 mr-2"},Ce={class:"flex flex-col items-start"},we=["title"],Be=["title"],Ee={key:1,class:"flex-shrink-0"},Ve={key:0,class:"text-xs text-secondary-400 font-mono whitespace-nowrap"},$e={key:1},Ne={key:2,class:"w-4 h-4 ml-2 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},Se=e.defineComponent({__name:"Menu",props:{items:{default:()=>[]},triggerText:{default:"Menu"},showChevron:{type:Boolean,default:!0},position:{default:"bottom-start"},align:{default:"start"},offset:{default:()=>({x:0,y:4})},width:{default:"auto"},maxHeight:{default:"400px"},closeOnClick:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1},teleport:{type:Boolean,default:!0},zIndex:{default:50}},emits:["open","close","select"],setup(o,{emit:m}){const t=o,i=m,n=e.ref(!1),r=e.ref(null),s=e.ref(null),c=e.ref({}),a=e.computed(()=>["inline-flex items-center justify-center px-4 py-2 text-sm font-medium","bg-white border border-secondary-300 rounded-md","hover:bg-secondary-50 focus:outline-none focus:ring-2 focus:ring-primary-500","disabled:opacity-50 disabled:cursor-not-allowed","transition-colors"].join(" ")),f=e.computed(()=>[...["fixed bg-white rounded-lg shadow-lg border border-secondary-200","flex flex-col","focus:outline-none"],`z-${t.zIndex}`].join(" ")),p=e.computed(()=>"px-4 py-3 border-b border-secondary-200 bg-secondary-50"),B=e.computed(()=>"px-4 py-3 border-t border-secondary-200 bg-secondary-50"),E=e.computed(()=>"py-1 overflow-y-auto flex-1 min-h-0"),b=e.computed(()=>"my-1 border-t border-secondary-200"),C=e.computed(()=>"px-4 py-2 text-xs font-semibold text-secondary-500 uppercase tracking-wider"),V=l=>{const y=["w-full flex items-center gap-3 px-4 py-2 text-sm text-left","transition-colors focus:outline-none","disabled:opacity-50 disabled:cursor-not-allowed"],d=l.variant||"default",T={default:"text-secondary-700 hover:bg-secondary-50 focus:bg-secondary-50",danger:"text-danger-600 hover:bg-danger-50 focus:bg-danger-50",success:"text-success-600 hover:bg-success-50 focus:bg-success-50",warning:"text-warning-600 hover:bg-warning-50 focus:bg-warning-50"};let k="";return l.color&&(k=l.color,(l.color.includes("white")||l.color.includes("50"))&&(k+=" hover:text-black")),[...y,k||T[d]].join(" ")},S=()=>{t.disabled||(n.value?h():N())},N=()=>{n.value=!0,i("open"),e.nextTick(()=>{g(),document.addEventListener("click",x),document.addEventListener("keydown",$)})},h=()=>{n.value=!1,i("close"),document.removeEventListener("click",x),document.removeEventListener("keydown",$)},v=l=>{l.disabled||(l.action&&l.action(),i("select",l),t.closeOnClick&&!l.children&&h())},x=l=>{const y=l.target;r.value&&!r.value.contains(y)&&s.value&&!s.value.contains(y)&&h()},$=l=>{l.key==="Escape"&&h()},u=l=>{(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),S())},g=()=>{if(!r.value||!s.value)return;const l=r.value.getBoundingClientRect(),y=s.value.getBoundingClientRect(),d=window.innerWidth,T=window.innerHeight;let k=0,w=0;switch(t.position){case"bottom-start":k=l.bottom+t.offset.y,w=l.left+t.offset.x;break;case"bottom-end":k=l.bottom+t.offset.y,w=l.right-y.width+t.offset.x;break;case"top-start":k=l.top-y.height-t.offset.y,w=l.left+t.offset.x;break;case"top-end":k=l.top-y.height-t.offset.y,w=l.right-y.width+t.offset.x;break;case"right-start":k=l.top+t.offset.y,w=l.right+t.offset.x;break;case"right-end":k=l.bottom-y.height+t.offset.y,w=l.right+t.offset.x;break;case"left-start":k=l.top+t.offset.y,w=l.left-y.width-t.offset.x;break;case"left-end":k=l.bottom-y.height+t.offset.y,w=l.left-y.width-t.offset.x;break}w+y.width>d&&(w=d-y.width-8),w<8&&(w=8),k+y.height>T&&(k=T-y.height-8),k<8&&(k=8),c.value={top:`${k}px`,left:`${w}px`,width:t.width==="auto"?`${Math.max(l.width,240)}px`:t.width,maxHeight:t.maxHeight,minWidth:"240px"}};return e.onMounted(()=>{window.addEventListener("scroll",g,!0),window.addEventListener("resize",g)}),e.onUnmounted(()=>{window.removeEventListener("scroll",g,!0),window.removeEventListener("resize",g),document.removeEventListener("click",x),document.removeEventListener("keydown",$)}),e.watch(()=>t.items,()=>{n.value&&e.nextTick(g)},{deep:!0}),(l,y)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["menu-wrapper",{"w-full":o.fullWidth}])},[e.createElementVNode("div",{ref_key:"triggerRef",ref:r},[e.renderSlot(l.$slots,"trigger",{isOpen:n.value,toggle:S},()=>[e.createElementVNode("button",{type:"button",class:e.normalizeClass(a.value),disabled:o.disabled,onClick:S,onKeydown:u,tabindex:0,role:"button","aria-expanded":n.value,"aria-haspopup":!0},[e.renderSlot(l.$slots,"trigger-content",{},()=>[e.createTextVNode(e.toDisplayString(o.triggerText),1)],!0),o.showChevron?(e.openBlock(),e.createElementBlock("svg",{key:0,class:e.normalizeClass(["w-4 h-4 ml-2 transition-transform",n.value?"rotate-180":""]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...y[1]||(y[1]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2)):e.createCommentVNode("",!0)],42,he)],!0)],512),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[n.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"menuRef",ref:s,class:e.normalizeClass(f.value),style:e.normalizeStyle(c.value),onClick:y[0]||(y[0]=e.withModifiers(()=>{},["stop"]))},[l.$slots.header?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(p.value)},[e.renderSlot(l.$slots,"header",{close:h},void 0,!0)],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(E.value)},[e.renderSlot(l.$slots,"default",{close:h,isOpen:n.value},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,(d,T)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d.id||T},[d.type==="divider"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(b.value)},null,2)):d.type==="header"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(C.value)},e.toDisplayString(d.label),3)):(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:e.normalizeClass(V(d)),disabled:d.disabled,onClick:k=>v(d)},[d.icon||l.$slots[`icon-${d.id}`]?(e.openBlock(),e.createElementBlock("span",be,[e.renderSlot(l.$slots,`icon-${d.id}`,{item:d},()=>[typeof d.icon!="string"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.icon),{key:0,class:"w-5 h-5"})):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:d.icon,class:"w-5 h-5 inline-block"},null,8,ke))],!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",xe,[e.renderSlot(l.$slots,`item-${d.id}`,{item:d,close:h},()=>[e.createElementVNode("div",Ce,[e.createElementVNode("span",{class:"truncate w-full",title:d.label},e.toDisplayString(d.label),9,we),d.description?(e.openBlock(),e.createElementBlock("span",{key:0,class:"text-xs text-secondary-500 truncate w-full",title:d.description},e.toDisplayString(d.description),9,Be)):e.createCommentVNode("",!0)])],!0)]),d.suffix||d.shortcut||l.$slots[`suffix-${d.id}`]?(e.openBlock(),e.createElementBlock("span",Ee,[e.renderSlot(l.$slots,`suffix-${d.id}`,{item:d},()=>[d.shortcut?(e.openBlock(),e.createElementBlock("span",Ve,e.toDisplayString(d.shortcut),1)):d.suffix?(e.openBlock(),e.createElementBlock("span",$e,e.toDisplayString(d.suffix),1)):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0),d.children&&d.children.length>0?(e.openBlock(),e.createElementBlock("svg",Ne,[...y[2]||(y[2]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"},null,-1)])])):e.createCommentVNode("",!0)],10,ve))],64))),128))],!0)],2),l.$slots.footer?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(B.value)},[e.renderSlot(l.$slots,"footer",{close:h},void 0,!0)],2)):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0),n.value&&o.overlay?(e.openBlock(),e.createElementBlock("div",{key:1,class:"fixed inset-0 bg-black/20 z-40",onClick:h})):e.createCommentVNode("",!0)]))],2))}}),ze=z(Se,[["__scopeId","data-v-335f2699"]]),Te=["for"],Me={key:0,class:"text-danger-600"},De={class:"relative"},_e=["id","disabled","aria-expanded"],Le={class:"flex-1 text-left truncate"},je={key:0,class:"p-2 border-b border-secondary-200"},Oe=["placeholder"],Ie={class:"max-h-64 overflow-y-auto"},Fe={key:0,class:"px-4 py-3 text-sm text-secondary-500 text-center"},He=["onClick"],Pe={class:"flex items-center justify-between w-full"},Ae={class:"truncate"},We={key:0,class:"w-5 h-5 text-primary-600 flex-shrink-0 ml-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Ke={key:0,class:"border-t border-secondary-200 my-1"},Re=["onClick"],qe=["innerHTML"],Ue={key:1,class:"mt-1 text-sm text-danger-600"},Ge={key:2,class:"mt-1 text-sm text-secondary-600"},Qe=e.defineComponent({__name:"Select",props:{modelValue:{default:null},options:{default:()=>[]},actionItems:{default:()=>[]},label:{default:""},placeholder:{default:"Seleccionar..."},size:{default:"md"},variant:{default:"default"},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Buscar..."},emptyText:{default:"No hay opciones disponibles"},error:{default:""},helperText:{default:""},fullWidth:{type:Boolean,default:!1},menuPosition:{default:"bottom"}},emits:["update:modelValue","change","action"],setup(o,{emit:m}){const t=o,i=m,n=e.ref(!1),r=e.ref(""),s=e.ref(null),c=e.computed(()=>`select-${Math.random().toString(36).substr(2,9)}`),a=e.computed(()=>t.options.find(u=>u.value===t.modelValue)||null),f=e.computed(()=>{if(!t.searchable||!r.value)return t.options;const u=r.value.toLowerCase();return t.options.filter(g=>g.label.toLowerCase().includes(u))}),p=e.computed(()=>"block text-sm font-semibold text-secondary-700 mb-1"),B=e.computed(()=>{const u="w-full flex items-center justify-between gap-2 border rounded-md transition-colors focus:outline-none focus:ring-2 focus:ring-primary-500 disabled:opacity-50 disabled:cursor-not-allowed",g={sm:"px-3 py-1.5 text-sm",md:"px-4 py-2 text-base",lg:"px-5 py-3 text-lg"},l={default:"bg-white border-secondary-300 hover:border-secondary-400",outline:"bg-transparent border-secondary-300 hover:border-primary-500",filled:"bg-secondary-100 border-transparent hover:bg-secondary-200"},y=t.error?"border-danger-600 focus:ring-danger-500":"";return[u,g[t.size],l[t.variant],y].join(" ")}),E=e.computed(()=>`absolute ${t.menuPosition==="top"?"bottom-full mb-1":"top-full mt-1"} left-0 right-0 bg-white rounded-lg shadow-lg border border-secondary-200 z-50 overflow-hidden`),b=u=>{const g="w-full px-4 py-2 text-left hover:bg-primary-50 transition-colors focus:outline-none focus:bg-primary-50 disabled:opacity-50 disabled:cursor-not-allowed",l=V(u)?"bg-primary-50":"";return[g,l].join(" ")},C=u=>{const g="w-full px-4 py-2 text-left text-sm font-semibold transition-colors focus:outline-none flex items-center gap-3";return u.variant==="danger"?`${g} text-danger-600 hover:bg-danger-50 focus:bg-danger-50`:`${g} text-secondary-700 hover:bg-secondary-50 focus:bg-secondary-50`},V=u=>u.value===t.modelValue,S=()=>{t.disabled||(n.value=!n.value,n.value&&t.searchable&&e.nextTick(()=>{var u;(u=s.value)==null||u.focus()}))},N=()=>{n.value=!1,r.value=""},h=u=>{u.disabled||(i("update:modelValue",u.value),i("change",u),N())},v=u=>{u.action&&u.action(),i("action",u),N()},x=u=>{const g=u.relatedTarget;g&&g.closest(".select-wrapper")||setTimeout(()=>{N()},200)},$=u=>{u.key==="Escape"?N():(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),S())};return e.watch(n,u=>{u&&(r.value="")}),(u,g)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["select-wrapper",{"w-full":o.fullWidth}])},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:c.value,class:e.normalizeClass(p.value)},[e.createTextVNode(e.toDisplayString(o.label)+" ",1),o.required?(e.openBlock(),e.createElementBlock("span",Me,"*")):e.createCommentVNode("",!0)],10,Te)):e.createCommentVNode("",!0),e.createElementVNode("div",De,[e.createElementVNode("button",{id:c.value,type:"button",class:e.normalizeClass(B.value),disabled:o.disabled,"aria-expanded":n.value,"aria-haspopup":!0,onClick:S,onBlur:x,onKeydown:$},[e.createElementVNode("span",Le,e.toDisplayString(a.value?a.value.label:o.placeholder),1),(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["w-5 h-5 flex-shrink-0 transition-transform text-secondary-600",n.value?"rotate-180":""]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[...g[3]||(g[3]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))],42,_e),n.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(E.value),onClick:g[2]||(g[2]=e.withModifiers(()=>{},["stop"]))},[o.searchable?(e.openBlock(),e.createElementBlock("div",je,[e.withDirectives(e.createElementVNode("input",{ref_key:"searchInput",ref:s,"onUpdate:modelValue":g[0]||(g[0]=l=>r.value=l),type:"text",class:"w-full px-3 py-2 text-sm border border-secondary-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary-500",placeholder:o.searchPlaceholder,onKeydown:g[1]||(g[1]=e.withModifiers(()=>{},["stop"]))},null,40,Oe),[[e.vModelText,r.value]])])):e.createCommentVNode("",!0),e.createElementVNode("div",Ie,[f.value.length===0?(e.openBlock(),e.createElementBlock("div",Fe,e.toDisplayString(o.emptyText),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,l=>(e.openBlock(),e.createElementBlock("button",{key:l.value,type:"button",class:e.normalizeClass(b(l)),onClick:y=>h(l)},[e.createElementVNode("div",Pe,[e.createElementVNode("span",Ae,e.toDisplayString(l.label),1),V(l)?(e.openBlock(),e.createElementBlock("svg",We,[...g[4]||(g[4]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 13l4 4L19 7"},null,-1)])])):e.createCommentVNode("",!0)])],10,He))),128)),o.actionItems.length>0?(e.openBlock(),e.createElementBlock("div",Ke)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.actionItems,l=>(e.openBlock(),e.createElementBlock("button",{key:l.id,type:"button",class:e.normalizeClass(C(l)),onClick:y=>v(l)},[l.icon?(e.openBlock(),e.createElementBlock("svg",{key:0,class:"w-4 h-4 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",innerHTML:l.icon},null,8,qe)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(l.label),1)],10,Re))),128))],64))])],2)):e.createCommentVNode("",!0)]),o.error?(e.openBlock(),e.createElementBlock("p",Ue,e.toDisplayString(o.error),1)):o.helperText?(e.openBlock(),e.createElementBlock("p",Ge,e.toDisplayString(o.helperText),1)):e.createCommentVNode("",!0),n.value?(e.openBlock(),e.createElementBlock("div",{key:3,onClick:N,class:"fixed inset-0 z-40"})):e.createCommentVNode("",!0)],2))}}),Je=z(Qe,[["__scopeId","data-v-f016a03c"]]),Xe=e.defineComponent({__name:"Sidebar",props:{modelValue:{type:Boolean,default:!1},position:{default:"left"},width:{default:"16rem"},overlay:{type:Boolean,default:!0},overlayTop:{default:"0"},closable:{type:Boolean,default:!0},persistent:{type:Boolean,default:!1},backgroundColor:{default:"white"},shadow:{type:Boolean,default:!0},padding:{default:"md"}},emits:["update:modelValue","close","open"],setup(o,{emit:m}){const t=o,i=m,n=e.computed({get:()=>t.modelValue,set:b=>i("update:modelValue",b)}),r=()=>{t.persistent||(n.value=!1,i("close"))},s=e.computed(()=>t.position==="left"?"slide-right":"slide-left"),c=e.computed(()=>{const b="fixed top-0 h-full z-50 flex flex-col",C=t.position==="left"?"left-0":"right-0",V=t.shadow?t.position==="left"?"shadow-[2px_0_8px_rgba(0,0,0,0.1)]":"shadow-[-2px_0_8px_rgba(0,0,0,0.1)]":"";return[b,C,V].filter(Boolean).join(" ")}),a=e.computed(()=>({width:t.width,backgroundColor:t.backgroundColor,top:t.overlayTop,height:t.overlayTop!=="0"?`calc(100vh - ${t.overlayTop})`:"100vh"})),f={none:"",sm:"p-2",md:"p-4",lg:"p-6"},p=e.computed(()=>`flex items-center justify-between border-b border-gray-200 ${f[t.padding]}`),B=e.computed(()=>`flex-1 overflow-y-auto ${f[t.padding]}`),E=e.computed(()=>`border-t border-gray-200 ${f[t.padding]}`);return(b,C)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[n.value&&o.overlay?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:r,class:"fixed inset-0 bg-black/50 z-40",style:e.normalizeStyle({top:o.overlayTop})},null,4)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:s.value},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("aside",{key:0,class:e.normalizeClass(c.value),style:e.normalizeStyle(a.value)},[b.$slots.header?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(p.value)},[e.renderSlot(b.$slots,"header",{},void 0,!0),o.closable?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:r,class:"p-2 hover:bg-gray-100 rounded-md transition-colors","aria-label":"Cerrar menú"},[...C[0]||(C[0]=[e.createElementVNode("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(B.value)},[e.renderSlot(b.$slots,"default",{},void 0,!0)],2),b.$slots.footer?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(E.value)},[e.renderSlot(b.$slots,"footer",{},void 0,!0)],2)):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0)]),_:3},8,["name"])]))}}),Ye=z(Xe,[["__scopeId","data-v-fffb0e44"]]),Ze={class:"w-full overflow-x-auto"},et={class:"w-full border-collapse"},tt={class:"w-full"},ot=["onClick"],lt={class:"flex items-center gap-2"},nt={key:0,class:"text-xs text-gray-400"},st={key:0},at={key:1},rt={class:"w-full"},it={key:0,class:"flex items-center justify-center py-12 text-gray-400"},ct={key:1,class:"w-full px-6 py-4 bg-white"},dt=e.defineComponent({__name:"Table",props:{columns:{},data:{},headerClass:{default:void 0},headerCellClass:{default:void 0},cellClass:{default:void 0},rowClass:{default:void 0}},setup(o){const m=o,t=e.ref(null),i=e.ref("asc"),n=s=>{t.value===s?i.value=i.value==="asc"?"desc":"asc":(t.value=s,i.value="asc")},r=e.computed(()=>{if(!t.value)return m.data;const s=[...m.data];return s.sort((c,a)=>{const f=c[t.value],p=a[t.value];return typeof f=="string"&&typeof p=="string"?i.value==="asc"?f.localeCompare(p):p.localeCompare(f):typeof f=="number"&&typeof p=="number"?i.value==="asc"?f-p:p-f:0}),s});return(s,c)=>(e.openBlock(),e.createElementBlock("div",Ze,[e.createElementVNode("table",et,[e.createElementVNode("thead",tt,[e.createElementVNode("tr",{class:e.normalizeClass(["w-full",o.headerClass||"bg-neutral-50 border-b border-gray-100"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.columns,a=>(e.openBlock(),e.createElementBlock("th",{key:a.key,style:e.normalizeStyle(a.width?{width:a.width}:{}),class:e.normalizeClass(["px-4 py-3 text-left text-xs font-semibold text-gray-700 border-l border-gray-100 first:border-l-0",a.sortable?"cursor-pointer hover:text-primary-600 select-none transition-colors":"",o.headerCellClass]),onClick:f=>a.sortable&&n(a.key)},[e.createElementVNode("div",lt,[e.createElementVNode("span",null,e.toDisplayString(a.label),1),a.sortable?(e.openBlock(),e.createElementBlock("span",nt,[t.value!==a.key?(e.openBlock(),e.createElementBlock("span",st,"⇅")):(e.openBlock(),e.createElementBlock("span",at,e.toDisplayString(i.value==="asc"?"↑":"↓"),1))])):e.createCommentVNode("",!0)])],14,ot))),128))],2)]),e.createElementVNode("tbody",rt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(a,f)=>(e.openBlock(),e.createElementBlock("tr",{key:f,class:e.normalizeClass(["w-full border-b border-gray-200 hover:bg-gray-50 transition-colors",o.rowClass])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.columns,p=>(e.openBlock(),e.createElementBlock("td",{key:`${f}-${p.key}`,class:e.normalizeClass(["px-4 py-3 text-xs text-gray-600 border-l border-gray-100 first:border-l-0",o.cellClass])},[e.renderSlot(s.$slots,`cell-${p.key}`,{value:a[p.key],row:a},()=>[e.createTextVNode(e.toDisplayString(a[p.key]),1)],!0)],2))),128))],2))),128))])]),r.value.length===0?(e.openBlock(),e.createElementBlock("div",it,[e.renderSlot(s.$slots,"empty",{},()=>[c[0]||(c[0]=e.createTextVNode("No hay datos disponibles",-1))],!0)])):e.createCommentVNode("",!0),s.$slots.footer?(e.openBlock(),e.createElementBlock("div",ct,[e.renderSlot(s.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)]))}}),ut=z(dt,[["__scopeId","data-v-8e0ce286"]]),mt={class:"w-full"},ft={class:"flex border-b border-gray-100",role:"tablist"},pt=["aria-selected","onClick"],gt={role:"tabpanel"},yt="relative px-6 py-3 text-base font-semibold tracking-wide transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary-500",ht="text-primary-700 border-b-4 border-primary-700",vt="text-gray-600 border-b-4 border-transparent hover:text-gray-800",bt=e.defineComponent({__name:"Tabs",props:{modelValue:{},tabs:{}},emits:["update:modelValue"],setup(o,{emit:m}){const t=o,i=m,n=a=>t.modelValue===a,r=a=>{n(a)||i("update:modelValue",a)},s=e.computed(()=>t.modelValue),c=e.computed(()=>t.tabs.find(a=>a.value===s.value));return(a,f)=>(e.openBlock(),e.createElementBlock("div",mt,[e.createElementVNode("div",ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabs,p=>(e.openBlock(),e.createElementBlock("button",{key:p.value,type:"button",class:e.normalizeClass([yt,n(p.value)?ht:vt]),"aria-selected":n(p.value),role:"tab",onClick:B=>r(p.value)},e.toDisplayString(p.label),11,pt))),128))]),e.createElementVNode("div",gt,[e.renderSlot(a.$slots,s.value,{active:s.value,tab:c.value})])]))}}),kt="font-sans",xt=e.defineComponent({__name:"Text",props:{variant:{default:"body1"},as:{},color:{default:"default"},align:{default:"left"},uppercase:{type:Boolean,default:!1},truncate:{type:Boolean,default:!1},weight:{}},setup(o){const m={h1:"text-[40px] leading-[57px] tracking-[0px] font-extrabold",h2:"text-[40px] leading-[57px] tracking-[0px] font-bold",h3:"text-[28px] leading-[39px] tracking-[0px] font-extrabold",h4:"text-[21px] leading-[29px] tracking-[0px] font-extrabold",h5:"text-[16px] leading-[22px] tracking-[0px] font-extrabold",h6:"text-[13px] leading-[18px] tracking-[0px] font-extrabold",subtitle1:"text-[16px] leading-[24px] tracking-[0.15px] font-medium",subtitle2:"text-[14px] leading-[21px] tracking-[0.1px] font-medium",subtitle3:"text-[12px] leading-[18px] tracking-[0.1px] font-medium",subtitle4:"text-[10px] leading-[15px] tracking-[0.1px] font-medium",body1:"text-[16px] leading-[24px] tracking-[0.5px] font-light",body2:"text-[14px] leading-[21px] tracking-[0.25px] font-light",body3:"text-[12px] leading-[18px] tracking-[0.25px] font-light",body4:"text-[10px] leading-[15px] tracking-[0.25px] font-light",button1:"text-[14px] leading-[24px] tracking-[1.25px] font-bold",button2:"text-[14px] leading-[20px] tracking-[1.25px] font-bold",button3:"text-[12px] leading-[18px] tracking-[1.25px] font-bold",caption:"text-[12px] leading-[18px] tracking-[0.4px] font-normal",overline:"text-[10px] leading-[15px] tracking-[1.5px] font-medium"},t={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"p",subtitle2:"p",subtitle3:"p",subtitle4:"p",body1:"p",body2:"p",body3:"p",body4:"p",button1:"span",button2:"span",button3:"span",caption:"span",overline:"span"},i={left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"},n={default:"text-secondary-900",muted:"text-secondary-600",primary:"text-primary-600",secondary:"text-secondary-700",danger:"text-danger-600",success:"text-success-600",warning:"text-warning-600"},r={light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold"},s=o,c=e.computed(()=>s.variant),a=e.computed(()=>s.color),f=e.computed(()=>s.align),p=e.computed(()=>s.as||t[c.value]||"span"),B=e.computed(()=>s.weight?r[s.weight]:"");return(E,b)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(p.value),{class:e.normalizeClass([kt,m[c.value],n[a.value],i[f.value],B.value,{uppercase:o.uppercase||c.value==="overline",truncate:o.truncate}])},{default:e.withCtx(()=>[e.renderSlot(E.$slots,"default")]),_:3},8,["class"]))}});exports.AppBar=F;exports.Button=A;exports.Card=q;exports.Dialog=Y;exports.FileUpload=me;exports.Loader=ye;exports.Menu=ze;exports.Select=Je;exports.Sidebar=Ye;exports.Table=ut;exports.Tabs=bt;exports.Text=xt;
@@ -1,4 +1,4 @@
1
- import { defineComponent as S, computed as p, createElementBlock as o, openBlock as s, normalizeClass as v, createElementVNode as a, createCommentVNode as c, renderSlot as C, toDisplayString as w, createBlock as q, Teleport as X, createVNode as G, Transition as Q, withCtx as U, withModifiers as H, createTextVNode as K, ref as j, normalizeStyle as W, onMounted as ee, onUnmounted as te, watch as Y, nextTick as J, Fragment as F, renderList as A, resolveDynamicComponent as Z, withDirectives as se, vModelText as oe } from "vue";
1
+ import { defineComponent as S, computed as p, createElementBlock as o, openBlock as s, normalizeClass as v, createElementVNode as a, createCommentVNode as c, renderSlot as $, toDisplayString as w, createBlock as q, Teleport as X, createVNode as G, Transition as Q, withCtx as U, withModifiers as H, createTextVNode as K, ref as j, normalizeStyle as W, onMounted as ee, onUnmounted as te, watch as Y, nextTick as J, Fragment as F, renderList as A, resolveDynamicComponent as Z, withDirectives as se, vModelText as oe } from "vue";
2
2
  const le = { class: "flex items-center gap-4" }, ae = {
3
3
  key: 1,
4
4
  class: "text-lg font-bold text-primary-50 font-poppins"
@@ -65,15 +65,15 @@ const le = { class: "flex items-center gap-4" }, ae = {
65
65
  ], -1)
66
66
  ])])) : c("", !0),
67
67
  t.title && t.titlePosition === "left" ? (s(), o("div", ae, w(t.title), 1)) : c("", !0),
68
- C(d.$slots, "left", {}, void 0, !0)
68
+ $(d.$slots, "left", {}, void 0, !0)
69
69
  ]),
70
70
  a("div", ne, [
71
71
  t.title && t.titlePosition === "center" ? (s(), o("div", re, w(t.title), 1)) : c("", !0),
72
- C(d.$slots, "center", {}, void 0, !0)
72
+ $(d.$slots, "center", {}, void 0, !0)
73
73
  ]),
74
74
  a("div", ie, [
75
75
  t.title && t.titlePosition === "right" ? (s(), o("div", de, w(t.title), 1)) : c("", !0),
76
- C(d.$slots, "right", {}, void 0, !0)
76
+ $(d.$slots, "right", {}, void 0, !0)
77
77
  ])
78
78
  ], 2));
79
79
  }
@@ -82,10 +82,10 @@ const le = { class: "flex items-center gap-4" }, ae = {
82
82
  for (const [u, n] of b)
83
83
  e[u] = n;
84
84
  return e;
85
- }, Ht = /* @__PURE__ */ R(ue, [["__scopeId", "data-v-883474b5"]]), ce = ["type", "disabled", "aria-label"], fe = {
85
+ }, Et = /* @__PURE__ */ R(ue, [["__scopeId", "data-v-883474b5"]]), ce = ["type", "disabled", "aria-label"], fe = {
86
86
  key: 0,
87
87
  class: "absolute top-0 right-0 inline-flex items-center justify-center px-1.5 py-0.5 text-xs font-bold leading-none text-white transform translate-x-1/2 -translate-y-1/2 bg-danger-600 rounded-full min-w-[1.25rem]"
88
- }, Ft = /* @__PURE__ */ S({
88
+ }, Ht = /* @__PURE__ */ S({
89
89
  __name: "Button",
90
90
  props: {
91
91
  variant: { default: "primary" },
@@ -120,11 +120,11 @@ const le = { class: "flex items-center gap-4" }, ae = {
120
120
  md: "rounded-lg",
121
121
  sm: "rounded-md",
122
122
  none: "rounded-none"
123
- }, D = e.textColor ? e.textColor : "", _ = p(() => {
124
- var M, O;
125
- return e.textColorHover ? e.textColorHover : (M = e.textColor) != null && M.includes("white") || (O = e.textColor) != null && O.includes("50") ? "hover:text-black" : "";
123
+ }, D = e.textColor ? e.textColor : "", T = p(() => {
124
+ var _, O;
125
+ return e.textColorHover ? e.textColorHover : (_ = e.textColor) != null && _.includes("white") || (O = e.textColor) != null && O.includes("50") ? "hover:text-black" : "";
126
126
  });
127
- return `${i} ${y[e.variant]} ${x[e.size]} ${L[e.radius]} ${D} ${_.value}`;
127
+ return `${i} ${y[e.variant]} ${x[e.size]} ${L[e.radius]} ${D} ${T.value}`;
128
128
  }), f = (i) => {
129
129
  e.disabled || u("click", i);
130
130
  };
@@ -135,7 +135,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
135
135
  onClick: f,
136
136
  "aria-label": t.ariaLabel
137
137
  }, [
138
- C(i.$slots, "default"),
138
+ $(i.$slots, "default"),
139
139
  n.value && t.badge && t.badge > 0 ? (s(), o("span", fe, w(d.value), 1)) : c("", !0)
140
140
  ], 10, ce));
141
141
  }
@@ -145,7 +145,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
145
145
  }, ge = { class: "px-6 py-4" }, he = {
146
146
  key: 1,
147
147
  class: "border-t border-gray-100 px-6 py-4 bg-gray-50"
148
- }, Pt = /* @__PURE__ */ S({
148
+ }, Ft = /* @__PURE__ */ S({
149
149
  __name: "Card",
150
150
  props: {
151
151
  shadow: { default: "md" },
@@ -176,17 +176,17 @@ const le = { class: "flex items-center gap-4" }, ae = {
176
176
  class: v(n.value)
177
177
  }, [
178
178
  d.$slots.header ? (s(), o("div", pe, [
179
- C(d.$slots, "header")
179
+ $(d.$slots, "header")
180
180
  ])) : c("", !0),
181
181
  a("div", ge, [
182
- C(d.$slots, "default")
182
+ $(d.$slots, "default")
183
183
  ]),
184
184
  d.$slots.footer ? (s(), o("div", he, [
185
- C(d.$slots, "footer")
185
+ $(d.$slots, "footer")
186
186
  ])) : c("", !0)
187
187
  ], 2));
188
188
  }
189
- }), ve = { class: "flex items-center justify-between border-b border-gray-100 px-8 py-6" }, be = { class: "text-xl font-semibold text-gray-900" }, ye = { class: "px-8 py-6" }, xe = {
189
+ }), ve = { class: "flex items-center justify-between border-b border-gray-100/60 px-8 py-6" }, be = { class: "text-xl font-semibold text-gray-900" }, ye = { class: "px-8 py-6" }, xe = {
190
190
  key: 0,
191
191
  class: "border-t border-gray-100 px-8 py-6 bg-gray-50"
192
192
  }, me = /* @__PURE__ */ S({
@@ -196,13 +196,13 @@ const le = { class: "flex items-center gap-4" }, ae = {
196
196
  title: { default: "Diálogo" },
197
197
  closeOnBackdrop: { type: Boolean, default: !0 }
198
198
  },
199
- emits: ["update:modelValue"],
199
+ emits: ["update:modelValue", "close"],
200
200
  setup(t, { emit: b }) {
201
201
  const e = t, u = b, n = p({
202
202
  get: () => e.modelValue,
203
203
  set: (f) => u("update:modelValue", f)
204
204
  }), d = () => {
205
- n.value = !1;
205
+ n.value = !1, u("close");
206
206
  }, r = () => {
207
207
  e.closeOnBackdrop && d();
208
208
  };
@@ -221,7 +221,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
221
221
  }, [
222
222
  a("div", ve, [
223
223
  a("h2", be, [
224
- C(f.$slots, "title", {}, () => [
224
+ $(f.$slots, "title", {}, () => [
225
225
  K(w(t.title), 1)
226
226
  ], !0)
227
227
  ]),
@@ -247,10 +247,10 @@ const le = { class: "flex items-center gap-4" }, ae = {
247
247
  ])])
248
248
  ]),
249
249
  a("div", ye, [
250
- C(f.$slots, "default", {}, void 0, !0)
250
+ $(f.$slots, "default", {}, void 0, !0)
251
251
  ]),
252
252
  f.$slots.footer ? (s(), o("div", xe, [
253
- C(f.$slots, "footer", {}, void 0, !0)
253
+ $(f.$slots, "footer", {}, void 0, !0)
254
254
  ])) : c("", !0)
255
255
  ])
256
256
  ])) : c("", !0)
@@ -259,19 +259,19 @@ const le = { class: "flex items-center gap-4" }, ae = {
259
259
  })
260
260
  ]));
261
261
  }
262
- }), Wt = /* @__PURE__ */ R(me, [["__scopeId", "data-v-091e8739"]]), ke = ["accept", "multiple", "disabled"], we = { class: "flex flex-col items-center justify-center gap-4 text-center" }, $e = ["src", "alt"], Ce = {
262
+ }), Pt = /* @__PURE__ */ R(me, [["__scopeId", "data-v-ce4f3dd4"]]), ke = ["accept", "multiple", "disabled"], we = { class: "flex flex-col items-center justify-center gap-4 text-center" }, Ce = ["src", "alt"], $e = {
263
263
  key: 1,
264
264
  class: "w-full h-full text-gray-400",
265
265
  fill: "none",
266
266
  stroke: "currentColor",
267
267
  viewBox: "0 0 24 24"
268
- }, Be = { class: "text-center" }, _e = { class: "text-base font-medium text-gray-700" }, Te = { class: "text-primary-700" }, ze = { class: "flex items-center gap-3 flex-1 min-w-0" }, Me = { class: "flex-1 min-w-0" }, Ve = { class: "text-sm font-medium text-gray-900 truncate" }, je = { class: "text-xs text-gray-500" }, Le = {
268
+ }, Be = { class: "text-center" }, Te = { class: "text-base font-medium text-gray-700" }, ze = { class: "text-primary-700" }, Me = { class: "flex items-center gap-3 flex-1 min-w-0" }, _e = { class: "flex-1 min-w-0" }, Ve = { class: "text-sm font-medium text-gray-900 truncate" }, je = { class: "text-xs text-gray-500" }, Le = {
269
269
  key: 1,
270
270
  class: "text-xs text-gray-500 mt-2"
271
271
  }, Se = {
272
272
  key: 2,
273
273
  class: "text-sm text-danger-500 mt-2"
274
- }, At = /* @__PURE__ */ S({
274
+ }, Wt = /* @__PURE__ */ S({
275
275
  __name: "FileUpload",
276
276
  props: {
277
277
  modelValue: { default: null },
@@ -291,39 +291,40 @@ const le = { class: "flex items-center gap-4" }, ae = {
291
291
  const e = t, u = b, n = j(null), d = j(!1), r = j(e.modelValue), f = j(""), i = p(() => ({
292
292
  sm: "w-20 h-20",
293
293
  md: "w-32 h-32",
294
- lg: "w-48 h-48"
294
+ lg: "w-48 h-48",
295
+ xl: "w-64 h-64"
295
296
  })[e.illustrationSize]), y = () => {
296
- var $;
297
- ($ = n.value) == null || $.click();
297
+ var C;
298
+ (C = n.value) == null || C.click();
298
299
  }, x = () => {
299
300
  e.disabled || y();
300
- }, L = ($) => {
301
+ }, L = (C) => {
301
302
  e.disabled || (d.value = !0);
302
303
  }, D = () => {
303
304
  d.value = !1;
304
- }, _ = ($) => {
305
- if (f.value = "", e.maxSize && $.size > e.maxSize) {
305
+ }, T = (C) => {
306
+ if (f.value = "", e.maxSize && C.size > e.maxSize) {
306
307
  const B = (e.maxSize / 1048576).toFixed(2);
307
308
  return f.value = `El archivo excede el tamaño máximo de ${B}MB`, u("error", f.value), !1;
308
309
  }
309
310
  return !0;
310
- }, M = ($) => {
311
+ }, _ = (C) => {
311
312
  var I;
312
- const z = (I = $.target.files) == null ? void 0 : I[0];
313
- z && _(z) && (r.value = z, u("update:modelValue", z), u("change", z));
314
- }, O = ($) => {
315
- var z;
313
+ const M = (I = C.target.files) == null ? void 0 : I[0];
314
+ M && T(M) && (r.value = M, u("update:modelValue", M), u("change", M));
315
+ }, O = (C) => {
316
+ var M;
316
317
  d.value = !1;
317
- const B = (z = $.dataTransfer) == null ? void 0 : z.files[0];
318
- B && _(B) && (r.value = B, u("update:modelValue", B), u("change", B));
318
+ const B = (M = C.dataTransfer) == null ? void 0 : M.files[0];
319
+ B && T(B) && (r.value = B, u("update:modelValue", B), u("change", B));
319
320
  }, P = () => {
320
321
  r.value = null, f.value = "", n.value && (n.value.value = ""), u("update:modelValue", null), u("change", null);
321
- }, E = ($) => {
322
- if ($ === 0) return "0 Bytes";
323
- const B = 1024, z = ["Bytes", "KB", "MB", "GB"], I = Math.floor(Math.log($) / Math.log(B));
324
- return Math.round($ / Math.pow(B, I) * 100) / 100 + " " + z[I];
322
+ }, E = (C) => {
323
+ if (C === 0) return "0 Bytes";
324
+ const B = 1024, M = ["Bytes", "KB", "MB", "GB"], I = Math.floor(Math.log(C) / Math.log(B));
325
+ return Math.round(C / Math.pow(B, I) * 100) / 100 + " " + M[I];
325
326
  };
326
- return ($, B) => (s(), o("div", {
327
+ return (C, B) => (s(), o("div", {
327
328
  class: v(["relative border-2 border-dashed rounded-lg p-8 transition-colors", [
328
329
  d.value ? "border-primary-700 bg-primary-50" : "border-gray-300 bg-white hover:border-primary-500",
329
330
  t.disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"
@@ -341,7 +342,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
341
342
  multiple: t.multiple,
342
343
  disabled: t.disabled,
343
344
  class: "hidden",
344
- onChange: M
345
+ onChange: _
345
346
  }, null, 40, ke),
346
347
  a("div", we, [
347
348
  a("div", {
@@ -352,7 +353,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
352
353
  src: t.illustration,
353
354
  alt: t.illustrationAlt,
354
355
  class: "max-w-full max-h-full object-contain"
355
- }, null, 8, $e)) : (s(), o("svg", Ce, [...B[1] || (B[1] = [
356
+ }, null, 8, Ce)) : (s(), o("svg", $e, [...B[1] || (B[1] = [
356
357
  a("path", {
357
358
  "stroke-linecap": "round",
358
359
  "stroke-linejoin": "round",
@@ -362,9 +363,9 @@ const le = { class: "flex items-center gap-4" }, ae = {
362
363
  ])]))
363
364
  ], 2),
364
365
  a("div", Be, [
365
- a("p", _e, [
366
+ a("p", Te, [
366
367
  K(w(t.mainText) + " ", 1),
367
- a("span", Te, w(t.linkText), 1)
368
+ a("span", ze, w(t.linkText), 1)
368
369
  ])
369
370
  ]),
370
371
  r.value ? (s(), o("div", {
@@ -373,7 +374,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
373
374
  onClick: B[0] || (B[0] = H(() => {
374
375
  }, ["stop"]))
375
376
  }, [
376
- a("div", ze, [
377
+ a("div", Me, [
377
378
  B[2] || (B[2] = a("svg", {
378
379
  class: "w-6 h-6 text-gray-600 flex-shrink-0",
379
380
  fill: "none",
@@ -387,7 +388,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
387
388
  d: "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"
388
389
  })
389
390
  ], -1)),
390
- a("div", Me, [
391
+ a("div", _e, [
391
392
  a("p", Ve, w(r.value.name), 1),
392
393
  a("p", je, w(E(r.value.size)), 1)
393
394
  ])
@@ -481,7 +482,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
481
482
  ])
482
483
  ], 4)) : c("", !0);
483
484
  }
484
- }), Kt = /* @__PURE__ */ R(Ie, [["__scopeId", "data-v-8df4ec38"]]), Ee = ["disabled", "aria-expanded"], He = ["disabled", "onClick"], Fe = {
485
+ }), At = /* @__PURE__ */ R(Ie, [["__scopeId", "data-v-8df4ec38"]]), Ee = ["disabled", "aria-expanded"], He = ["disabled", "onClick"], Fe = {
485
486
  key: 0,
486
487
  class: "flex-shrink-0"
487
488
  }, Pe = ["innerHTML"], We = { class: "flex-1 min-w-0 mr-2" }, Ae = { class: "flex flex-col items-start" }, Ke = ["title"], Re = ["title"], Ne = {
@@ -526,7 +527,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
526
527
  "fixed bg-white rounded-lg shadow-lg border border-secondary-200",
527
528
  "flex flex-col",
528
529
  "focus:outline-none"
529
- ], `z-${e.zIndex}`].join(" ")), x = p(() => "px-4 py-3 border-b border-secondary-200 bg-secondary-50"), L = p(() => "px-4 py-3 border-t border-secondary-200 bg-secondary-50"), D = p(() => "py-1 overflow-y-auto flex-1 min-h-0"), _ = p(() => "my-1 border-t border-secondary-200"), M = p(() => "px-4 py-2 text-xs font-semibold text-secondary-500 uppercase tracking-wider"), O = (l) => {
530
+ ], `z-${e.zIndex}`].join(" ")), x = p(() => "px-4 py-3 border-b border-secondary-200 bg-secondary-50"), L = p(() => "px-4 py-3 border-t border-secondary-200 bg-secondary-50"), D = p(() => "py-1 overflow-y-auto flex-1 min-h-0"), T = p(() => "my-1 border-t border-secondary-200"), _ = p(() => "px-4 py-2 text-xs font-semibold text-secondary-500 uppercase tracking-wider"), O = (l) => {
530
531
  const k = [
531
532
  "w-full flex items-center gap-3 px-4 py-2 text-sm text-left",
532
533
  "transition-colors focus:outline-none",
@@ -537,57 +538,57 @@ const le = { class: "flex items-center gap-4" }, ae = {
537
538
  success: "text-success-600 hover:bg-success-50 focus:bg-success-50",
538
539
  warning: "text-warning-600 hover:bg-warning-50 focus:bg-warning-50"
539
540
  };
540
- let T = "";
541
- return l.color && (T = l.color, (l.color.includes("white") || l.color.includes("50")) && (T += " hover:text-black")), [...k, T || N[g]].join(" ");
541
+ let z = "";
542
+ return l.color && (z = l.color, (l.color.includes("white") || l.color.includes("50")) && (z += " hover:text-black")), [...k, z || N[g]].join(" ");
542
543
  }, P = () => {
543
- e.disabled || (n.value ? $() : E());
544
+ e.disabled || (n.value ? C() : E());
544
545
  }, E = () => {
545
546
  n.value = !0, u("open"), J(() => {
546
- m(), document.addEventListener("click", z), document.addEventListener("keydown", I);
547
+ m(), document.addEventListener("click", M), document.addEventListener("keydown", I);
547
548
  });
548
- }, $ = () => {
549
- n.value = !1, u("close"), document.removeEventListener("click", z), document.removeEventListener("keydown", I);
549
+ }, C = () => {
550
+ n.value = !1, u("close"), document.removeEventListener("click", M), document.removeEventListener("keydown", I);
550
551
  }, B = (l) => {
551
- l.disabled || (l.action && l.action(), u("select", l), e.closeOnClick && !l.children && $());
552
- }, z = (l) => {
552
+ l.disabled || (l.action && l.action(), u("select", l), e.closeOnClick && !l.children && C());
553
+ }, M = (l) => {
553
554
  const k = l.target;
554
- d.value && !d.value.contains(k) && r.value && !r.value.contains(k) && $();
555
+ d.value && !d.value.contains(k) && r.value && !r.value.contains(k) && C();
555
556
  }, I = (l) => {
556
- l.key === "Escape" && $();
557
+ l.key === "Escape" && C();
557
558
  }, h = (l) => {
558
559
  (l.key === "Enter" || l.key === " ") && (l.preventDefault(), P());
559
560
  }, m = () => {
560
561
  if (!d.value || !r.value) return;
561
562
  const l = d.value.getBoundingClientRect(), k = r.value.getBoundingClientRect(), g = window.innerWidth, N = window.innerHeight;
562
- let T = 0, V = 0;
563
+ let z = 0, V = 0;
563
564
  switch (e.position) {
564
565
  case "bottom-start":
565
- T = l.bottom + e.offset.y, V = l.left + e.offset.x;
566
+ z = l.bottom + e.offset.y, V = l.left + e.offset.x;
566
567
  break;
567
568
  case "bottom-end":
568
- T = l.bottom + e.offset.y, V = l.right - k.width + e.offset.x;
569
+ z = l.bottom + e.offset.y, V = l.right - k.width + e.offset.x;
569
570
  break;
570
571
  case "top-start":
571
- T = l.top - k.height - e.offset.y, V = l.left + e.offset.x;
572
+ z = l.top - k.height - e.offset.y, V = l.left + e.offset.x;
572
573
  break;
573
574
  case "top-end":
574
- T = l.top - k.height - e.offset.y, V = l.right - k.width + e.offset.x;
575
+ z = l.top - k.height - e.offset.y, V = l.right - k.width + e.offset.x;
575
576
  break;
576
577
  case "right-start":
577
- T = l.top + e.offset.y, V = l.right + e.offset.x;
578
+ z = l.top + e.offset.y, V = l.right + e.offset.x;
578
579
  break;
579
580
  case "right-end":
580
- T = l.bottom - k.height + e.offset.y, V = l.right + e.offset.x;
581
+ z = l.bottom - k.height + e.offset.y, V = l.right + e.offset.x;
581
582
  break;
582
583
  case "left-start":
583
- T = l.top + e.offset.y, V = l.left - k.width - e.offset.x;
584
+ z = l.top + e.offset.y, V = l.left - k.width - e.offset.x;
584
585
  break;
585
586
  case "left-end":
586
- T = l.bottom - k.height + e.offset.y, V = l.left - k.width - e.offset.x;
587
+ z = l.bottom - k.height + e.offset.y, V = l.left - k.width - e.offset.x;
587
588
  break;
588
589
  }
589
- V + k.width > g && (V = g - k.width - 8), V < 8 && (V = 8), T + k.height > N && (T = N - k.height - 8), T < 8 && (T = 8), f.value = {
590
- top: `${T}px`,
590
+ V + k.width > g && (V = g - k.width - 8), V < 8 && (V = 8), z + k.height > N && (z = N - k.height - 8), z < 8 && (z = 8), f.value = {
591
+ top: `${z}px`,
591
592
  left: `${V}px`,
592
593
  width: e.width === "auto" ? `${Math.max(l.width, 240)}px` : e.width,
593
594
  maxHeight: e.maxHeight,
@@ -597,7 +598,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
597
598
  return ee(() => {
598
599
  window.addEventListener("scroll", m, !0), window.addEventListener("resize", m);
599
600
  }), te(() => {
600
- window.removeEventListener("scroll", m, !0), window.removeEventListener("resize", m), document.removeEventListener("click", z), document.removeEventListener("keydown", I);
601
+ window.removeEventListener("scroll", m, !0), window.removeEventListener("resize", m), document.removeEventListener("click", M), document.removeEventListener("keydown", I);
601
602
  }), Y(() => e.items, () => {
602
603
  n.value && J(m);
603
604
  }, { deep: !0 }), (l, k) => (s(), o("div", {
@@ -607,7 +608,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
607
608
  ref_key: "triggerRef",
608
609
  ref: d
609
610
  }, [
610
- C(l.$slots, "trigger", {
611
+ $(l.$slots, "trigger", {
611
612
  isOpen: n.value,
612
613
  toggle: P
613
614
  }, () => [
@@ -622,7 +623,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
622
623
  "aria-expanded": n.value,
623
624
  "aria-haspopup": !0
624
625
  }, [
625
- C(l.$slots, "trigger-content", {}, () => [
626
+ $(l.$slots, "trigger-content", {}, () => [
626
627
  K(w(t.triggerText), 1)
627
628
  ], !0),
628
629
  t.showChevron ? (s(), o("svg", {
@@ -656,13 +657,13 @@ const le = { class: "flex items-center gap-4" }, ae = {
656
657
  key: 0,
657
658
  class: v(x.value)
658
659
  }, [
659
- C(l.$slots, "header", { close: $ }, void 0, !0)
660
+ $(l.$slots, "header", { close: C }, void 0, !0)
660
661
  ], 2)) : c("", !0),
661
662
  a("div", {
662
663
  class: v(D.value)
663
664
  }, [
664
- C(l.$slots, "default", {
665
- close: $,
665
+ $(l.$slots, "default", {
666
+ close: C,
666
667
  isOpen: n.value
667
668
  }, () => [
668
669
  (s(!0), o(F, null, A(t.items, (g, N) => (s(), o(F, {
@@ -670,19 +671,19 @@ const le = { class: "flex items-center gap-4" }, ae = {
670
671
  }, [
671
672
  g.type === "divider" ? (s(), o("div", {
672
673
  key: 0,
673
- class: v(_.value)
674
+ class: v(T.value)
674
675
  }, null, 2)) : g.type === "header" ? (s(), o("div", {
675
676
  key: 1,
676
- class: v(M.value)
677
+ class: v(_.value)
677
678
  }, w(g.label), 3)) : (s(), o("button", {
678
679
  key: 2,
679
680
  type: "button",
680
681
  class: v(O(g)),
681
682
  disabled: g.disabled,
682
- onClick: (T) => B(g)
683
+ onClick: (z) => B(g)
683
684
  }, [
684
685
  g.icon || l.$slots[`icon-${g.id}`] ? (s(), o("span", Fe, [
685
- C(l.$slots, `icon-${g.id}`, { item: g }, () => [
686
+ $(l.$slots, `icon-${g.id}`, { item: g }, () => [
686
687
  typeof g.icon != "string" ? (s(), q(Z(g.icon), {
687
688
  key: 0,
688
689
  class: "w-5 h-5"
@@ -694,9 +695,9 @@ const le = { class: "flex items-center gap-4" }, ae = {
694
695
  ], !0)
695
696
  ])) : c("", !0),
696
697
  a("div", We, [
697
- C(l.$slots, `item-${g.id}`, {
698
+ $(l.$slots, `item-${g.id}`, {
698
699
  item: g,
699
- close: $
700
+ close: C
700
701
  }, () => [
701
702
  a("div", Ae, [
702
703
  a("span", {
@@ -712,7 +713,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
712
713
  ], !0)
713
714
  ]),
714
715
  g.suffix || g.shortcut || l.$slots[`suffix-${g.id}`] ? (s(), o("span", Ne, [
715
- C(l.$slots, `suffix-${g.id}`, { item: g }, () => [
716
+ $(l.$slots, `suffix-${g.id}`, { item: g }, () => [
716
717
  g.shortcut ? (s(), o("span", qe, w(g.shortcut), 1)) : g.suffix ? (s(), o("span", Ue, w(g.suffix), 1)) : c("", !0)
717
718
  ], !0)
718
719
  ])) : c("", !0),
@@ -732,18 +733,18 @@ const le = { class: "flex items-center gap-4" }, ae = {
732
733
  key: 1,
733
734
  class: v(L.value)
734
735
  }, [
735
- C(l.$slots, "footer", { close: $ }, void 0, !0)
736
+ $(l.$slots, "footer", { close: C }, void 0, !0)
736
737
  ], 2)) : c("", !0)
737
738
  ], 6)) : c("", !0),
738
739
  n.value && t.overlay ? (s(), o("div", {
739
740
  key: 1,
740
741
  class: "fixed inset-0 bg-black/20 z-40",
741
- onClick: $
742
+ onClick: C
742
743
  })) : c("", !0)
743
744
  ]))
744
745
  ], 2));
745
746
  }
746
- }), Rt = /* @__PURE__ */ R(Qe, [["__scopeId", "data-v-335f2699"]]), Je = ["for"], Xe = {
747
+ }), Kt = /* @__PURE__ */ R(Qe, [["__scopeId", "data-v-335f2699"]]), Je = ["for"], Xe = {
747
748
  key: 0,
748
749
  class: "text-danger-600"
749
750
  }, Ye = { class: "relative" }, Ze = ["id", "disabled", "aria-expanded"], et = { class: "flex-1 text-left truncate" }, tt = {
@@ -813,10 +814,10 @@ const le = { class: "flex items-center gap-4" }, ae = {
813
814
  l[e.variant],
814
815
  k
815
816
  ].join(" ");
816
- }), D = p(() => `absolute ${e.menuPosition === "top" ? "bottom-full mb-1" : "top-full mt-1"} left-0 right-0 bg-white rounded-lg shadow-lg border border-secondary-200 z-50 overflow-hidden`), _ = (h) => {
817
+ }), D = p(() => `absolute ${e.menuPosition === "top" ? "bottom-full mb-1" : "top-full mt-1"} left-0 right-0 bg-white rounded-lg shadow-lg border border-secondary-200 z-50 overflow-hidden`), T = (h) => {
817
818
  const m = "w-full px-4 py-2 text-left hover:bg-primary-50 transition-colors focus:outline-none focus:bg-primary-50 disabled:opacity-50 disabled:cursor-not-allowed", l = O(h) ? "bg-primary-50" : "";
818
819
  return [m, l].join(" ");
819
- }, M = (h) => {
820
+ }, _ = (h) => {
820
821
  const m = "w-full px-4 py-2 text-left text-sm font-semibold transition-colors focus:outline-none flex items-center gap-3";
821
822
  return h.variant === "danger" ? `${m} text-danger-600 hover:bg-danger-50 focus:bg-danger-50` : `${m} text-secondary-700 hover:bg-secondary-50 focus:bg-secondary-50`;
822
823
  }, O = (h) => h.value === e.modelValue, P = () => {
@@ -826,11 +827,11 @@ const le = { class: "flex items-center gap-4" }, ae = {
826
827
  }));
827
828
  }, E = () => {
828
829
  n.value = !1, d.value = "";
829
- }, $ = (h) => {
830
+ }, C = (h) => {
830
831
  h.disabled || (u("update:modelValue", h.value), u("change", h), E());
831
832
  }, B = (h) => {
832
833
  h.action && h.action(), u("action", h), E();
833
- }, z = (h) => {
834
+ }, M = (h) => {
834
835
  const m = h.relatedTarget;
835
836
  m && m.closest(".select-wrapper") || setTimeout(() => {
836
837
  E();
@@ -860,7 +861,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
860
861
  "aria-expanded": n.value,
861
862
  "aria-haspopup": !0,
862
863
  onClick: P,
863
- onBlur: z,
864
+ onBlur: M,
864
865
  onKeydown: I
865
866
  }, [
866
867
  a("span", et, w(i.value ? i.value.label : t.placeholder), 1),
@@ -904,8 +905,8 @@ const le = { class: "flex items-center gap-4" }, ae = {
904
905
  (s(!0), o(F, null, A(y.value, (l) => (s(), o("button", {
905
906
  key: l.value,
906
907
  type: "button",
907
- class: v(_(l)),
908
- onClick: (k) => $(l)
908
+ class: v(T(l)),
909
+ onClick: (k) => C(l)
909
910
  }, [
910
911
  a("div", nt, [
911
912
  a("span", rt, w(l.label), 1),
@@ -923,7 +924,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
923
924
  (s(!0), o(F, null, A(t.actionItems, (l) => (s(), o("button", {
924
925
  key: l.id,
925
926
  type: "button",
926
- class: v(M(l)),
927
+ class: v(_(l)),
927
928
  onClick: (k) => B(l)
928
929
  }, [
929
930
  l.icon ? (s(), o("svg", {
@@ -949,7 +950,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
949
950
  })) : c("", !0)
950
951
  ], 2));
951
952
  }
952
- }), Nt = /* @__PURE__ */ R(gt, [["__scopeId", "data-v-f016a03c"]]), ht = /* @__PURE__ */ S({
953
+ }), Rt = /* @__PURE__ */ R(gt, [["__scopeId", "data-v-f016a03c"]]), ht = /* @__PURE__ */ S({
953
954
  __name: "Sidebar",
954
955
  props: {
955
956
  modelValue: { type: Boolean, default: !1 },
@@ -967,12 +968,12 @@ const le = { class: "flex items-center gap-4" }, ae = {
967
968
  setup(t, { emit: b }) {
968
969
  const e = t, u = b, n = p({
969
970
  get: () => e.modelValue,
970
- set: (_) => u("update:modelValue", _)
971
+ set: (T) => u("update:modelValue", T)
971
972
  }), d = () => {
972
973
  e.persistent || (n.value = !1, u("close"));
973
974
  }, r = p(() => e.position === "left" ? "slide-right" : "slide-left"), f = p(() => {
974
- const _ = "fixed top-0 h-full z-50 flex flex-col", M = e.position === "left" ? "left-0" : "right-0", O = e.shadow ? e.position === "left" ? "shadow-[2px_0_8px_rgba(0,0,0,0.1)]" : "shadow-[-2px_0_8px_rgba(0,0,0,0.1)]" : "";
975
- return [_, M, O].filter(Boolean).join(" ");
975
+ const T = "fixed top-0 h-full z-50 flex flex-col", _ = e.position === "left" ? "left-0" : "right-0", O = e.shadow ? e.position === "left" ? "shadow-[2px_0_8px_rgba(0,0,0,0.1)]" : "shadow-[-2px_0_8px_rgba(0,0,0,0.1)]" : "";
976
+ return [T, _, O].filter(Boolean).join(" ");
976
977
  }), i = p(() => ({
977
978
  width: e.width,
978
979
  backgroundColor: e.backgroundColor,
@@ -984,7 +985,7 @@ const le = { class: "flex items-center gap-4" }, ae = {
984
985
  md: "p-4",
985
986
  lg: "p-6"
986
987
  }, x = p(() => `flex items-center justify-between border-b border-gray-200 ${y[e.padding]}`), L = p(() => `flex-1 overflow-y-auto ${y[e.padding]}`), D = p(() => `border-t border-gray-200 ${y[e.padding]}`);
987
- return (_, M) => (s(), q(X, { to: "body" }, [
988
+ return (T, _) => (s(), q(X, { to: "body" }, [
988
989
  G(Q, { name: "fade" }, {
989
990
  default: U(() => [
990
991
  n.value && t.overlay ? (s(), o("div", {
@@ -1003,17 +1004,17 @@ const le = { class: "flex items-center gap-4" }, ae = {
1003
1004
  class: v(f.value),
1004
1005
  style: W(i.value)
1005
1006
  }, [
1006
- _.$slots.header ? (s(), o("div", {
1007
+ T.$slots.header ? (s(), o("div", {
1007
1008
  key: 0,
1008
1009
  class: v(x.value)
1009
1010
  }, [
1010
- C(_.$slots, "header", {}, void 0, !0),
1011
+ $(T.$slots, "header", {}, void 0, !0),
1011
1012
  t.closable ? (s(), o("button", {
1012
1013
  key: 0,
1013
1014
  onClick: d,
1014
1015
  class: "p-2 hover:bg-gray-100 rounded-md transition-colors",
1015
1016
  "aria-label": "Cerrar menú"
1016
- }, [...M[0] || (M[0] = [
1017
+ }, [..._[0] || (_[0] = [
1017
1018
  a("svg", {
1018
1019
  class: "w-5 h-5",
1019
1020
  fill: "none",
@@ -1032,13 +1033,13 @@ const le = { class: "flex items-center gap-4" }, ae = {
1032
1033
  a("div", {
1033
1034
  class: v(L.value)
1034
1035
  }, [
1035
- C(_.$slots, "default", {}, void 0, !0)
1036
+ $(T.$slots, "default", {}, void 0, !0)
1036
1037
  ], 2),
1037
- _.$slots.footer ? (s(), o("div", {
1038
+ T.$slots.footer ? (s(), o("div", {
1038
1039
  key: 1,
1039
1040
  class: v(D.value)
1040
1041
  }, [
1041
- C(_.$slots, "footer", {}, void 0, !0)
1042
+ $(T.$slots, "footer", {}, void 0, !0)
1042
1043
  ], 2)) : c("", !0)
1043
1044
  ], 6)) : c("", !0)
1044
1045
  ]),
@@ -1046,10 +1047,10 @@ const le = { class: "flex items-center gap-4" }, ae = {
1046
1047
  }, 8, ["name"])
1047
1048
  ]));
1048
1049
  }
1049
- }), qt = /* @__PURE__ */ R(ht, [["__scopeId", "data-v-fffb0e44"]]), vt = { class: "w-full overflow-x-auto" }, bt = { class: "w-full border-collapse" }, yt = { class: "w-full" }, xt = { class: "bg-white border-b border-gray-100 w-full" }, mt = ["onClick"], kt = { class: "flex items-center gap-2" }, wt = {
1050
+ }), Nt = /* @__PURE__ */ R(ht, [["__scopeId", "data-v-fffb0e44"]]), vt = { class: "w-full overflow-x-auto" }, bt = { class: "w-full border-collapse" }, yt = { class: "w-full" }, xt = ["onClick"], mt = { class: "flex items-center gap-2" }, kt = {
1050
1051
  key: 0,
1051
1052
  class: "text-xs text-gray-400"
1052
- }, $t = { key: 0 }, Ct = { key: 1 }, Bt = { class: "w-full" }, _t = {
1053
+ }, wt = { key: 0 }, Ct = { key: 1 }, $t = { class: "w-full" }, Bt = {
1053
1054
  key: 0,
1054
1055
  class: "flex items-center justify-center py-12 text-gray-400"
1055
1056
  }, Tt = {
@@ -1059,7 +1060,11 @@ const le = { class: "flex items-center gap-4" }, ae = {
1059
1060
  __name: "Table",
1060
1061
  props: {
1061
1062
  columns: {},
1062
- data: {}
1063
+ data: {},
1064
+ headerClass: { default: void 0 },
1065
+ headerCellClass: { default: void 0 },
1066
+ cellClass: { default: void 0 },
1067
+ rowClass: { default: void 0 }
1063
1068
  },
1064
1069
  setup(t) {
1065
1070
  const b = t, e = j(null), u = j("asc"), n = (r) => {
@@ -1076,58 +1081,70 @@ const le = { class: "flex items-center gap-4" }, ae = {
1076
1081
  return (r, f) => (s(), o("div", vt, [
1077
1082
  a("table", bt, [
1078
1083
  a("thead", yt, [
1079
- a("tr", xt, [
1084
+ a("tr", {
1085
+ class: v([
1086
+ "w-full",
1087
+ t.headerClass || "bg-neutral-50 border-b border-gray-100"
1088
+ ])
1089
+ }, [
1080
1090
  (s(!0), o(F, null, A(t.columns, (i) => (s(), o("th", {
1081
1091
  key: i.key,
1082
1092
  style: W(i.width ? { width: i.width } : {}),
1083
1093
  class: v([
1084
- "px-8 py-4 text-left text-base font-semibold text-gray-900 border-0",
1085
- i.sortable ? "cursor-pointer hover:text-primary-700 select-none transition-colors" : ""
1094
+ "px-4 py-3 text-left text-xs font-semibold text-gray-700 border-l border-gray-100 first:border-l-0",
1095
+ i.sortable ? "cursor-pointer hover:text-primary-600 select-none transition-colors" : "",
1096
+ t.headerCellClass
1086
1097
  ]),
1087
1098
  onClick: (y) => i.sortable && n(i.key)
1088
1099
  }, [
1089
- a("div", kt, [
1100
+ a("div", mt, [
1090
1101
  a("span", null, w(i.label), 1),
1091
- i.sortable ? (s(), o("span", wt, [
1092
- e.value !== i.key ? (s(), o("span", $t, "⇅")) : (s(), o("span", Ct, w(u.value === "asc" ? "↑" : "↓"), 1))
1102
+ i.sortable ? (s(), o("span", kt, [
1103
+ e.value !== i.key ? (s(), o("span", wt, "⇅")) : (s(), o("span", Ct, w(u.value === "asc" ? "↑" : "↓"), 1))
1093
1104
  ])) : c("", !0)
1094
1105
  ])
1095
- ], 14, mt))), 128))
1096
- ])
1106
+ ], 14, xt))), 128))
1107
+ ], 2)
1097
1108
  ]),
1098
- a("tbody", Bt, [
1109
+ a("tbody", $t, [
1099
1110
  (s(!0), o(F, null, A(d.value, (i, y) => (s(), o("tr", {
1100
1111
  key: y,
1101
- class: "w-full hover:bg-gray-50 transition-colors"
1112
+ class: v([
1113
+ "w-full border-b border-gray-200 hover:bg-gray-50 transition-colors",
1114
+ t.rowClass
1115
+ ])
1102
1116
  }, [
1103
1117
  (s(!0), o(F, null, A(t.columns, (x) => (s(), o("td", {
1104
1118
  key: `${y}-${x.key}`,
1105
- class: "px-8 py-4 text-base text-gray-700 border-0"
1119
+ class: v([
1120
+ "px-4 py-3 text-xs text-gray-600 border-l border-gray-100 first:border-l-0",
1121
+ t.cellClass
1122
+ ])
1106
1123
  }, [
1107
- C(r.$slots, `cell-${x.key}`, {
1124
+ $(r.$slots, `cell-${x.key}`, {
1108
1125
  value: i[x.key],
1109
1126
  row: i
1110
1127
  }, () => [
1111
1128
  K(w(i[x.key]), 1)
1112
1129
  ], !0)
1113
- ]))), 128))
1114
- ]))), 128))
1130
+ ], 2))), 128))
1131
+ ], 2))), 128))
1115
1132
  ])
1116
1133
  ]),
1117
- d.value.length === 0 ? (s(), o("div", _t, [
1118
- C(r.$slots, "empty", {}, () => [
1134
+ d.value.length === 0 ? (s(), o("div", Bt, [
1135
+ $(r.$slots, "empty", {}, () => [
1119
1136
  f[0] || (f[0] = K("No hay datos disponibles", -1))
1120
1137
  ], !0)
1121
1138
  ])) : c("", !0),
1122
1139
  r.$slots.footer ? (s(), o("div", Tt, [
1123
- C(r.$slots, "footer", {}, void 0, !0)
1140
+ $(r.$slots, "footer", {}, void 0, !0)
1124
1141
  ])) : c("", !0)
1125
1142
  ]));
1126
1143
  }
1127
- }), Ut = /* @__PURE__ */ R(zt, [["__scopeId", "data-v-6b3ff0a8"]]), Mt = { class: "w-full" }, Vt = {
1144
+ }), qt = /* @__PURE__ */ R(zt, [["__scopeId", "data-v-8e0ce286"]]), Mt = { class: "w-full" }, _t = {
1128
1145
  class: "flex border-b border-gray-100",
1129
1146
  role: "tablist"
1130
- }, jt = ["aria-selected", "onClick"], Lt = { role: "tabpanel" }, St = "relative px-6 py-3 text-base font-semibold tracking-wide transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary-500", Dt = "text-primary-700 border-b-4 border-primary-700", Ot = "text-gray-600 border-b-4 border-transparent hover:text-gray-800", Gt = /* @__PURE__ */ S({
1147
+ }, Vt = ["aria-selected", "onClick"], jt = { role: "tabpanel" }, Lt = "relative px-6 py-3 text-base font-semibold tracking-wide transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary-500", St = "text-primary-700 border-b-4 border-primary-700", Dt = "text-gray-600 border-b-4 border-transparent hover:text-gray-800", Ut = /* @__PURE__ */ S({
1131
1148
  __name: "Tabs",
1132
1149
  props: {
1133
1150
  modelValue: {},
@@ -1141,28 +1158,28 @@ const le = { class: "flex items-center gap-4" }, ae = {
1141
1158
  () => e.tabs.find((i) => i.value === r.value)
1142
1159
  );
1143
1160
  return (i, y) => (s(), o("div", Mt, [
1144
- a("div", Vt, [
1161
+ a("div", _t, [
1145
1162
  (s(!0), o(F, null, A(t.tabs, (x) => (s(), o("button", {
1146
1163
  key: x.value,
1147
1164
  type: "button",
1148
1165
  class: v([
1149
- St,
1150
- n(x.value) ? Dt : Ot
1166
+ Lt,
1167
+ n(x.value) ? St : Dt
1151
1168
  ]),
1152
1169
  "aria-selected": n(x.value),
1153
1170
  role: "tab",
1154
1171
  onClick: (L) => d(x.value)
1155
- }, w(x.label), 11, jt))), 128))
1172
+ }, w(x.label), 11, Vt))), 128))
1156
1173
  ]),
1157
- a("div", Lt, [
1158
- C(i.$slots, r.value, {
1174
+ a("div", jt, [
1175
+ $(i.$slots, r.value, {
1159
1176
  active: r.value,
1160
1177
  tab: f.value
1161
1178
  })
1162
1179
  ])
1163
1180
  ]));
1164
1181
  }
1165
- }), It = "font-sans", Qt = /* @__PURE__ */ S({
1182
+ }), Ot = "font-sans", Gt = /* @__PURE__ */ S({
1166
1183
  __name: "Text",
1167
1184
  props: {
1168
1185
  variant: { default: "body1" },
@@ -1235,9 +1252,9 @@ const le = { class: "flex items-center gap-4" }, ae = {
1235
1252
  bold: "font-bold",
1236
1253
  extrabold: "font-extrabold"
1237
1254
  }, r = t, f = p(() => r.variant), i = p(() => r.color), y = p(() => r.align), x = p(() => r.as || e[f.value] || "span"), L = p(() => r.weight ? d[r.weight] : "");
1238
- return (D, _) => (s(), q(Z(x.value), {
1255
+ return (D, T) => (s(), q(Z(x.value), {
1239
1256
  class: v([
1240
- It,
1257
+ Ot,
1241
1258
  b[f.value],
1242
1259
  n[i.value],
1243
1260
  u[y.value],
@@ -1249,23 +1266,23 @@ const le = { class: "flex items-center gap-4" }, ae = {
1249
1266
  ])
1250
1267
  }, {
1251
1268
  default: U(() => [
1252
- C(D.$slots, "default")
1269
+ $(D.$slots, "default")
1253
1270
  ]),
1254
1271
  _: 3
1255
1272
  }, 8, ["class"]));
1256
1273
  }
1257
1274
  });
1258
1275
  export {
1259
- Ht as AppBar,
1260
- Ft as Button,
1261
- Pt as Card,
1262
- Wt as Dialog,
1263
- At as FileUpload,
1264
- Kt as Loader,
1265
- Rt as Menu,
1266
- Nt as Select,
1267
- qt as Sidebar,
1268
- Ut as Table,
1269
- Gt as Tabs,
1270
- Qt as Text
1276
+ Et as AppBar,
1277
+ Ht as Button,
1278
+ Ft as Card,
1279
+ Pt as Dialog,
1280
+ Wt as FileUpload,
1281
+ At as Loader,
1282
+ Kt as Menu,
1283
+ Rt as Select,
1284
+ Nt as Sidebar,
1285
+ qt as Table,
1286
+ Ut as Tabs,
1287
+ Gt as Text
1271
1288
  };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-family:Poppins;src:url(./fonts/Poppins-ExtraBold.woff2) format("woff2");font-weight:800;font-style:normal;font-display:swap}@font-face{font-family:Poppins;src:url(./fonts/Poppins-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Poppins;src:url(./fonts/Poppins-Medium.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Poppins;src:url(./fonts/Poppins-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Poppins,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}body{font-feature-settings:"rlig" 1,"calt" 1}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-full{bottom:100%}.left-0{left:0}.right-0{right:0}.right-3{right:.75rem}.top-0{top:0}.top-1\/2{top:50%}.top-full{top:100%}.z-40{z-index:40}.z-50{z-index:50}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-1{margin-bottom:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-20{height:5rem}.h-32{height:8rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.max-h-64{max-height:16rem}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.w-20{width:5rem}.w-32{width:8rem}.w-4{width:1rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[1\.25rem\]{min-width:1.25rem}.max-w-2xl{max-width:42rem}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-4{border-bottom-width:4px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-danger-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-danger-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-primary-700{--tw-border-opacity: 1;border-color:rgb(38 158 164 / var(--tw-border-opacity, 1))}.border-secondary-200{--tw-border-opacity: 1;border-color:rgb(234 206 173 / var(--tw-border-opacity, 1))}.border-secondary-300{--tw-border-opacity: 1;border-color:rgb(228 182 128 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.bg-black\/20{background-color:#0003}.bg-black\/50{background-color:#00000080}.bg-danger-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-danger-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-primary-50{--tw-bg-opacity: 1;background-color:rgb(241 251 252 / var(--tw-bg-opacity, 1))}.bg-primary-500{--tw-bg-opacity: 1;background-color:rgb(86 206 212 / var(--tw-bg-opacity, 1))}.bg-primary-700{--tw-bg-opacity: 1;background-color:rgb(38 158 164 / var(--tw-bg-opacity, 1))}.bg-secondary-100{--tw-bg-opacity: 1;background-color:rgb(243 230 215 / var(--tw-bg-opacity, 1))}.bg-secondary-200{--tw-bg-opacity: 1;background-color:rgb(234 206 173 / var(--tw-bg-opacity, 1))}.bg-secondary-50{--tw-bg-opacity: 1;background-color:rgb(248 242 235 / var(--tw-bg-opacity, 1))}.bg-secondary-500{--tw-bg-opacity: 1;background-color:rgb(183 108 21 / var(--tw-bg-opacity, 1))}.bg-secondary-900{--tw-bg-opacity: 1;background-color:rgb(58 31 5 / var(--tw-bg-opacity, 1))}.bg-success-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-warning-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pr-10{padding-right:2.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-justify{text-align:justify}.font-mono{font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-poppins{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,Noto Sans,sans-serif}.font-sans{font-family:Poppins,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-\[10px\]{font-size:10px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.text-\[21px\]{font-size:21px}.text-\[28px\]{font-size:28px}.text-\[40px\]{font-size:40px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-\[15px\]{line-height:15px}.leading-\[18px\]{line-height:18px}.leading-\[20px\]{line-height:20px}.leading-\[21px\]{line-height:21px}.leading-\[22px\]{line-height:22px}.leading-\[24px\]{line-height:24px}.leading-\[29px\]{line-height:29px}.leading-\[39px\]{line-height:39px}.leading-\[57px\]{line-height:57px}.leading-none{line-height:1}.tracking-\[0\.15px\]{letter-spacing:.15px}.tracking-\[0\.1px\]{letter-spacing:.1px}.tracking-\[0\.25px\]{letter-spacing:.25px}.tracking-\[0\.4px\]{letter-spacing:.4px}.tracking-\[0\.5px\]{letter-spacing:.5px}.tracking-\[0px\]{letter-spacing:0px}.tracking-\[1\.25px\]{letter-spacing:1.25px}.tracking-\[1\.5px\]{letter-spacing:1.5px}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.text-danger-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-danger-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-primary-50{--tw-text-opacity: 1;color:rgb(241 251 252 / var(--tw-text-opacity, 1))}.text-primary-600{--tw-text-opacity: 1;color:rgb(59 184 190 / var(--tw-text-opacity, 1))}.text-primary-700{--tw-text-opacity: 1;color:rgb(38 158 164 / var(--tw-text-opacity, 1))}.text-secondary-400{--tw-text-opacity: 1;color:rgb(229 158 76 / var(--tw-text-opacity, 1))}.text-secondary-500{--tw-text-opacity: 1;color:rgb(183 108 21 / var(--tw-text-opacity, 1))}.text-secondary-600{--tw-text-opacity: 1;color:rgb(137 81 15 / var(--tw-text-opacity, 1))}.text-secondary-700{--tw-text-opacity: 1;color:rgb(108 62 12 / var(--tw-text-opacity, 1))}.text-secondary-900{--tw-text-opacity: 1;color:rgb(58 31 5 / var(--tw-text-opacity, 1))}.text-success-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-success-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-warning-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-warning-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.overline{text-decoration-line:overline}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[-2px_0_8px_rgba\(0\,0\,0\,0\.1\)\]{--tw-shadow: -2px 0 8px rgba(0,0,0,.1);--tw-shadow-colored: -2px 0 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[2px_0_8px_rgba\(0\,0\,0\,0\.1\)\]{--tw-shadow: 2px 0 8px rgba(0,0,0,.1);--tw-shadow-colored: 2px 0 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:border-primary-500:hover{--tw-border-opacity: 1;border-color:rgb(86 206 212 / var(--tw-border-opacity, 1))}.hover\:border-secondary-400:hover{--tw-border-opacity: 1;border-color:rgb(229 158 76 / var(--tw-border-opacity, 1))}.hover\:bg-danger-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.hover\:bg-danger-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-primary-50:hover{--tw-bg-opacity: 1;background-color:rgb(241 251 252 / var(--tw-bg-opacity, 1))}.hover\:bg-primary-600:hover{--tw-bg-opacity: 1;background-color:rgb(59 184 190 / var(--tw-bg-opacity, 1))}.hover\:bg-secondary-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 230 215 / var(--tw-bg-opacity, 1))}.hover\:bg-secondary-200:hover{--tw-bg-opacity: 1;background-color:rgb(234 206 173 / var(--tw-bg-opacity, 1))}.hover\:bg-secondary-300:hover{--tw-bg-opacity: 1;background-color:rgb(228 182 128 / var(--tw-bg-opacity, 1))}.hover\:bg-secondary-50:hover{--tw-bg-opacity: 1;background-color:rgb(248 242 235 / var(--tw-bg-opacity, 1))}.hover\:bg-success-50:hover{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.hover\:bg-warning-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.hover\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.hover\:text-danger-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\:text-primary-700:hover{--tw-text-opacity: 1;color:rgb(38 158 164 / var(--tw-text-opacity, 1))}.focus\:border-danger-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.focus\:border-primary-500:focus{--tw-border-opacity: 1;border-color:rgb(86 206 212 / var(--tw-border-opacity, 1))}.focus\:bg-danger-50:focus{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.focus\:bg-primary-50:focus{--tw-bg-opacity: 1;background-color:rgb(241 251 252 / var(--tw-bg-opacity, 1))}.focus\:bg-secondary-50:focus{--tw-bg-opacity: 1;background-color:rgb(248 242 235 / var(--tw-bg-opacity, 1))}.focus\:bg-success-50:focus{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.focus\:bg-warning-50:focus{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.focus\:bg-white:focus{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-danger-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus\:ring-primary-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(86 206 212 / var(--tw-ring-opacity, 1))}.focus\:ring-offset-0:focus{--tw-ring-offset-width: 0px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-danger-600:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-primary-500:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(86 206 212 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-primary-700:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(38 158 164 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-secondary-500:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(183 108 21 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width: 0px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\:bg-primary-700:active{--tw-bg-opacity: 1;background-color:rgb(38 158 164 / var(--tw-bg-opacity, 1))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}[data-v-883474b5] .transition-colors{transition-property:background-color,border-color,color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-v-883474b5] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.dialog-enter-active[data-v-091e8739],.dialog-leave-active[data-v-091e8739]{transition:opacity .3s ease}.dialog-enter-from[data-v-091e8739],.dialog-leave-to[data-v-091e8739]{opacity:0}.dialog-enter-active>div[data-v-091e8739],.dialog-leave-active>div[data-v-091e8739]{transition:transform .3s ease}.dialog-enter-from>div[data-v-091e8739],.dialog-leave-to>div[data-v-091e8739]{transform:scale(.95)}@keyframes linear-loader-8df4ec38{0%{transform:translate(-100%)}to{transform:translate(400%)}}.animate-linear-loader[data-v-8df4ec38]{animation:linear-loader-8df4ec38 1.5s ease-in-out infinite}.menu-wrapper[data-v-335f2699],.select-wrapper[data-v-f016a03c]{position:relative;display:inline-block}.slide-right-enter-active[data-v-fffb0e44],.slide-right-leave-active[data-v-fffb0e44]{transition:transform .3s ease}.slide-right-enter-from[data-v-fffb0e44],.slide-right-leave-to[data-v-fffb0e44]{transform:translate(-100%)}.slide-left-enter-active[data-v-fffb0e44],.slide-left-leave-active[data-v-fffb0e44]{transition:transform .3s ease}.slide-left-enter-from[data-v-fffb0e44],.slide-left-leave-to[data-v-fffb0e44]{transform:translate(100%)}.fade-enter-active[data-v-fffb0e44],.fade-leave-active[data-v-fffb0e44]{transition:opacity .3s ease}.fade-enter-from[data-v-fffb0e44],.fade-leave-to[data-v-fffb0e44]{opacity:0}table th[data-v-6b3ff0a8],table td[data-v-6b3ff0a8]{border:none!important}table thead tr[data-v-6b3ff0a8]{border-bottom:1px solid #f3f4f6!important;border-top:none!important;border-left:none!important;border-right:none!important;background-color:#fff!important}table thead tr th[data-v-6b3ff0a8]{background-color:#fff!important}table tbody tr[data-v-6b3ff0a8]{border:none!important;background-color:#fff!important;transition:background-color .2s}table tbody tr[data-v-6b3ff0a8]:hover,table tbody tr:hover td[data-v-6b3ff0a8]{background-color:#f9fafb!important}table tbody tr td[data-v-6b3ff0a8]{background-color:#fff!important}
1
+ @font-face{font-family:Poppins;src:url(./fonts/Poppins-ExtraBold.woff2) format("woff2");font-weight:800;font-style:normal;font-display:swap}@font-face{font-family:Poppins;src:url(./fonts/Poppins-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Poppins;src:url(./fonts/Poppins-Medium.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Poppins;src:url(./fonts/Poppins-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Poppins,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}body{font-feature-settings:"rlig" 1,"calt" 1}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-full{bottom:100%}.left-0{left:0}.right-0{right:0}.right-3{right:.75rem}.top-0{top:0}.top-1\/2{top:50%}.top-full{top:100%}.z-40{z-index:40}.z-50{z-index:50}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-1{margin-bottom:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-20{height:5rem}.h-32{height:8rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-8{height:2rem}.h-full{height:100%}.max-h-64{max-height:16rem}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.w-20{width:5rem}.w-32{width:8rem}.w-4{width:1rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[1\.25rem\]{min-width:1.25rem}.max-w-2xl{max-width:42rem}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-4{border-bottom-width:4px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-danger-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-danger-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-100\/60{border-color:#f3f4f699}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-primary-700{--tw-border-opacity: 1;border-color:rgb(38 158 164 / var(--tw-border-opacity, 1))}.border-secondary-200{--tw-border-opacity: 1;border-color:rgb(234 206 173 / var(--tw-border-opacity, 1))}.border-secondary-300{--tw-border-opacity: 1;border-color:rgb(228 182 128 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.bg-black\/20{background-color:#0003}.bg-black\/50{background-color:#00000080}.bg-danger-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-danger-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-neutral-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity, 1))}.bg-primary-50{--tw-bg-opacity: 1;background-color:rgb(241 251 252 / var(--tw-bg-opacity, 1))}.bg-primary-500{--tw-bg-opacity: 1;background-color:rgb(86 206 212 / var(--tw-bg-opacity, 1))}.bg-primary-700{--tw-bg-opacity: 1;background-color:rgb(38 158 164 / var(--tw-bg-opacity, 1))}.bg-secondary-100{--tw-bg-opacity: 1;background-color:rgb(243 230 215 / var(--tw-bg-opacity, 1))}.bg-secondary-200{--tw-bg-opacity: 1;background-color:rgb(234 206 173 / var(--tw-bg-opacity, 1))}.bg-secondary-50{--tw-bg-opacity: 1;background-color:rgb(248 242 235 / var(--tw-bg-opacity, 1))}.bg-secondary-500{--tw-bg-opacity: 1;background-color:rgb(183 108 21 / var(--tw-bg-opacity, 1))}.bg-secondary-900{--tw-bg-opacity: 1;background-color:rgb(58 31 5 / var(--tw-bg-opacity, 1))}.bg-success-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-warning-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pr-10{padding-right:2.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-justify{text-align:justify}.font-mono{font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-poppins{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,Noto Sans,sans-serif}.font-sans{font-family:Poppins,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-\[10px\]{font-size:10px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.text-\[21px\]{font-size:21px}.text-\[28px\]{font-size:28px}.text-\[40px\]{font-size:40px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-\[15px\]{line-height:15px}.leading-\[18px\]{line-height:18px}.leading-\[20px\]{line-height:20px}.leading-\[21px\]{line-height:21px}.leading-\[22px\]{line-height:22px}.leading-\[24px\]{line-height:24px}.leading-\[29px\]{line-height:29px}.leading-\[39px\]{line-height:39px}.leading-\[57px\]{line-height:57px}.leading-none{line-height:1}.tracking-\[0\.15px\]{letter-spacing:.15px}.tracking-\[0\.1px\]{letter-spacing:.1px}.tracking-\[0\.25px\]{letter-spacing:.25px}.tracking-\[0\.4px\]{letter-spacing:.4px}.tracking-\[0\.5px\]{letter-spacing:.5px}.tracking-\[0px\]{letter-spacing:0px}.tracking-\[1\.25px\]{letter-spacing:1.25px}.tracking-\[1\.5px\]{letter-spacing:1.5px}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.text-danger-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-danger-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-primary-50{--tw-text-opacity: 1;color:rgb(241 251 252 / var(--tw-text-opacity, 1))}.text-primary-600{--tw-text-opacity: 1;color:rgb(59 184 190 / var(--tw-text-opacity, 1))}.text-primary-700{--tw-text-opacity: 1;color:rgb(38 158 164 / var(--tw-text-opacity, 1))}.text-secondary-400{--tw-text-opacity: 1;color:rgb(229 158 76 / var(--tw-text-opacity, 1))}.text-secondary-500{--tw-text-opacity: 1;color:rgb(183 108 21 / var(--tw-text-opacity, 1))}.text-secondary-600{--tw-text-opacity: 1;color:rgb(137 81 15 / var(--tw-text-opacity, 1))}.text-secondary-700{--tw-text-opacity: 1;color:rgb(108 62 12 / var(--tw-text-opacity, 1))}.text-secondary-900{--tw-text-opacity: 1;color:rgb(58 31 5 / var(--tw-text-opacity, 1))}.text-success-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-success-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-warning-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-warning-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.overline{text-decoration-line:overline}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[-2px_0_8px_rgba\(0\,0\,0\,0\.1\)\]{--tw-shadow: -2px 0 8px rgba(0,0,0,.1);--tw-shadow-colored: -2px 0 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[2px_0_8px_rgba\(0\,0\,0\,0\.1\)\]{--tw-shadow: 2px 0 8px rgba(0,0,0,.1);--tw-shadow-colored: 2px 0 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.first\:border-l-0:first-child{border-left-width:0}.hover\:border-primary-500:hover{--tw-border-opacity: 1;border-color:rgb(86 206 212 / var(--tw-border-opacity, 1))}.hover\:border-secondary-400:hover{--tw-border-opacity: 1;border-color:rgb(229 158 76 / var(--tw-border-opacity, 1))}.hover\:bg-danger-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.hover\:bg-danger-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-primary-50:hover{--tw-bg-opacity: 1;background-color:rgb(241 251 252 / var(--tw-bg-opacity, 1))}.hover\:bg-primary-600:hover{--tw-bg-opacity: 1;background-color:rgb(59 184 190 / var(--tw-bg-opacity, 1))}.hover\:bg-secondary-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 230 215 / var(--tw-bg-opacity, 1))}.hover\:bg-secondary-200:hover{--tw-bg-opacity: 1;background-color:rgb(234 206 173 / var(--tw-bg-opacity, 1))}.hover\:bg-secondary-300:hover{--tw-bg-opacity: 1;background-color:rgb(228 182 128 / var(--tw-bg-opacity, 1))}.hover\:bg-secondary-50:hover{--tw-bg-opacity: 1;background-color:rgb(248 242 235 / var(--tw-bg-opacity, 1))}.hover\:bg-success-50:hover{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.hover\:bg-warning-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.hover\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.hover\:text-danger-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\:text-primary-600:hover{--tw-text-opacity: 1;color:rgb(59 184 190 / var(--tw-text-opacity, 1))}.focus\:border-danger-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.focus\:border-primary-500:focus{--tw-border-opacity: 1;border-color:rgb(86 206 212 / var(--tw-border-opacity, 1))}.focus\:bg-danger-50:focus{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.focus\:bg-primary-50:focus{--tw-bg-opacity: 1;background-color:rgb(241 251 252 / var(--tw-bg-opacity, 1))}.focus\:bg-secondary-50:focus{--tw-bg-opacity: 1;background-color:rgb(248 242 235 / var(--tw-bg-opacity, 1))}.focus\:bg-success-50:focus{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.focus\:bg-warning-50:focus{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.focus\:bg-white:focus{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-danger-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus\:ring-primary-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(86 206 212 / var(--tw-ring-opacity, 1))}.focus\:ring-offset-0:focus{--tw-ring-offset-width: 0px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-danger-600:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-primary-500:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(86 206 212 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-primary-700:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(38 158 164 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-secondary-500:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(183 108 21 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width: 0px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\:bg-primary-700:active{--tw-bg-opacity: 1;background-color:rgb(38 158 164 / var(--tw-bg-opacity, 1))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}[data-v-883474b5] .transition-colors{transition-property:background-color,border-color,color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-v-883474b5] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.dialog-enter-active[data-v-ce4f3dd4],.dialog-leave-active[data-v-ce4f3dd4]{transition:opacity .3s ease}.dialog-enter-from[data-v-ce4f3dd4],.dialog-leave-to[data-v-ce4f3dd4]{opacity:0}.dialog-enter-active>div[data-v-ce4f3dd4],.dialog-leave-active>div[data-v-ce4f3dd4]{transition:transform .3s ease}.dialog-enter-from>div[data-v-ce4f3dd4],.dialog-leave-to>div[data-v-ce4f3dd4]{transform:scale(.95)}@keyframes linear-loader-8df4ec38{0%{transform:translate(-100%)}to{transform:translate(400%)}}.animate-linear-loader[data-v-8df4ec38]{animation:linear-loader-8df4ec38 1.5s ease-in-out infinite}.menu-wrapper[data-v-335f2699],.select-wrapper[data-v-f016a03c]{position:relative;display:inline-block}.slide-right-enter-active[data-v-fffb0e44],.slide-right-leave-active[data-v-fffb0e44]{transition:transform .3s ease}.slide-right-enter-from[data-v-fffb0e44],.slide-right-leave-to[data-v-fffb0e44]{transform:translate(-100%)}.slide-left-enter-active[data-v-fffb0e44],.slide-left-leave-active[data-v-fffb0e44]{transition:transform .3s ease}.slide-left-enter-from[data-v-fffb0e44],.slide-left-leave-to[data-v-fffb0e44]{transform:translate(100%)}.fade-enter-active[data-v-fffb0e44],.fade-leave-active[data-v-fffb0e44]{transition:opacity .3s ease}.fade-enter-from[data-v-fffb0e44],.fade-leave-to[data-v-fffb0e44]{opacity:0}table th[data-v-8e0ce286],table td[data-v-8e0ce286]{border:none!important}table thead tr[data-v-8e0ce286]{border-bottom:1px solid #e5e7eb!important;border-top:none!important;border-left:none!important;border-right:none!important;background-color:#f3f4f6!important}table thead tr th[data-v-8e0ce286]{background-color:#f3f4f6!important;color:#565656!important}table tbody tr[data-v-8e0ce286]{border-bottom:1px solid #e4e4e4!important;border-top:none!important;border-left:none!important;border-right:none!important;background-color:#fff!important;transition:background-color .2s}table tbody tr[data-v-8e0ce286]:hover,table tbody tr:hover td[data-v-8e0ce286]{background-color:#fafafa!important}table tbody tr td[data-v-8e0ce286]{background-color:#fff!important;border-left:1px solid #e4e4e4!important}table tbody tr td[data-v-8e0ce286]:first-child{border-left:none!important}table thead tr th[data-v-8e0ce286]{border-left:1px solid #e5e7eb!important}table thead tr th[data-v-8e0ce286]:first-child{border-left:none!important}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iaclinical/components",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "Librería de componentes Vue 3 del IAclinical Design System",
5
5
  "type": "module",
6
6
  "main": "./dist/iaclinical-components.cjs",