import o from"./FormGroup.efd02a6a.js";import l from"./Label.9d0d3ee0.js";import s from"./ErrorText.b141a597.js";import a from"./HelperText.14a7ed0b.js";import{n}from"./plugin-vue2_normalizer.000ba15c.js";const u="w-full border-medium-emphasis text-body max-w-lg px-2 border rounded bg-surface-1 focus:outline-none focus:border-primary",p={props:{id:{type:String,required:!1},label:{type:String,required:!0},required:{type:Boolean,default:()=>!1},errors:{type:Array},placeholder:{type:String},value:{required:!1,default:""},rows:{default:3,required:!1},helperText:{type:String}},components:{FormGroup:o,Label:l,ErrorText:s,HelperText:a},data(){return{defaultClasses:u}},methods:{updateValue(t){this.$emit("input",t)}}};var d=function(){var r=this,e=r._self._c;return e("FormGroup",[e("Label",{attrs:{errors:r.errors,forId:r.id}},[r._v(r._s(r.label))]),r._t("default"),r.errors?e("ErrorText",[r._v(r._s(r.errors[0]))]):r._e(),r.helperText&&!r.errors?e("HelperText",[r._v(r._s(r.helperText))]):r._e()],2)},i=[],m=n(p,d,i,!1,null,null,null,null);const v=m.exports;export{v as default};
