import{u as i}from"./useDefaults-DESCdb0p-CFLjYrdG.js";import{u as w}from"./useColorVariantClasses-ZDE19TZw-Cvu7SygP.js";import{l as d,x as r,c as n,o as u,w as c,J as p,e as m,t as _,D as a,n as B,G as f}from"./index-D02r7Zsc.js";const b=d({__name:"BFormInvalidFeedback",props:{ariaLive:{default:void 0},forceShow:{type:Boolean,default:!1},id:{default:void 0},role:{default:void 0},state:{type:[Boolean,null],default:null},tag:{default:"div"},text:{default:void 0},tooltip:{type:Boolean,default:!1}},setup(t){const e=i(t,"BFormInvalidFeedback"),o=r(()=>e.forceShow===!0||e.state===!1),l=r(()=>({"d-block":o.value,"invalid-feedback":!e.tooltip,"invalid-tooltip":e.tooltip}));return(s,x)=>(u(),n(f(a(e).tag),{id:a(e).id,role:a(e).role,"aria-live":a(e).ariaLive,"aria-atomic":a(e).ariaLive?!0:void 0,class:B(l.value)},{default:c(()=>[p(s.$slots,"default",{},()=>[m(_(a(e).text),1)])]),_:3},8,["id","role","aria-live","aria-atomic","class"]))}}),k=d({__name:"BFormRow",props:{tag:{default:"div"}},setup(t){const e=i(t,"BFormRow");return(o,l)=>(u(),n(f(a(e).tag),{class:"row d-flex flex-wrap"},{default:c(()=>[p(o.$slots,"default")]),_:3}))}}),C=d({__name:"BFormText",props:{id:{default:void 0},inline:{type:Boolean,default:!1},tag:{default:"small"},text:{default:void 0},textVariant:{default:"body-secondary"}},setup(t){const e=i(t,"BFormText"),o=w(e),l=r(()=>[o.value,{"form-text":!e.inline}]);return(s,x)=>(u(),n(f(a(e).tag),{id:a(e).id,class:B(l.value)},{default:c(()=>[p(s.$slots,"default",{},()=>[m(_(a(e).text),1)])]),_:3},8,["id","class"]))}}),g=d({__name:"BFormValidFeedback",props:{ariaLive:{default:void 0},forceShow:{type:Boolean,default:!1},id:{default:void 0},role:{default:void 0},state:{type:[Boolean,null],default:null},tag:{default:"div"},text:{default:void 0},tooltip:{type:Boolean,default:!1}},setup(t){const e=i(t,"BFormInvalidFeedback"),o=r(()=>e.forceShow===!0||e.state===!0),l=r(()=>({"d-block":o.value,"valid-feedback":!e.tooltip,"valid-tooltip":e.tooltip}));return(s,x)=>(u(),n(f(a(e).tag),{id:a(e).id,role:a(e).role,"aria-live":a(e).ariaLive,"aria-atomic":a(e).ariaLive?!0:void 0,class:B(l.value)},{default:c(()=>[p(s.$slots,"default",{},()=>[m(_(a(e).text),1)])]),_:3},8,["id","role","aria-live","aria-atomic","class"]))}});export{k as _,b as a,g as b,C as c};
