"use strict";const e=require("./main-BB7fFseo.cjs"),p=require("./index-YwS-u3iG.cjs"),u={key:0,class:"description"},m=e.defineComponent({__name:"Input",props:e.mergeModels({placeholder:{},maxLength:{},type:{},desc:{},label:{},tips:{},wrap:{type:Boolean},custom:{type:Boolean},is_title:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:e.mergeModels(["blur"],["update:modelValue"]),setup(l,{emit:r}){const n=e.useModel(l,"modelValue"),t=l,s=r;function d(){try{s("blur")}catch{}}return(o,a)=>(e.openBlock(),e.createBlock(p.Row,e.normalizeProps(e.guardReactiveProps(t)),{default:e.withCtx(()=>[t.desc?(e.openBlock(),e.createElementBlock("div",u,e.toDisplayString(t.desc),1)):e.createCommentVNode("",!0),e.createVNode(e.unref(e.ElInput),{type:o.type,modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=c=>n.value=c),maxlength:o.maxLength,placeholder:o.placeholder,onBlur:d},null,8,["type","modelValue","maxlength","placeholder"])]),_:1},16))}}),i=e._export_sfc(m,[["__scopeId","data-v-c3abe453"]]);exports.InputRow=i;
