import{P as c,c as f}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-DKWl2XLX.js";import{a as _}from"./index-hboZUdbT.js";import{d as l,a as n,o as d,w as p,r as u,m as i,u as o,c as m}from"./app-Cb9hmj6k.js";var b=l({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(s){const t=s;return _(),(r,a)=>(d(),n(o(c),i(t,{onMousedown:a[0]||(a[0]=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()})}),{default:p(()=>[u(r.$slots,"default")]),_:3},16))}}),g=b;const x=l({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{type:[String,Object,Function]},class:{}},setup(s){const t=s,r=m(()=>{const{class:a,...e}=t;return e});return(a,e)=>(d(),n(o(g),i({"data-slot":"label"},r.value,{class:o(f)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t.class)}),{default:p(()=>[u(a.$slots,"default")]),_:3},16,["class"]))}});export{x as _};
