"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("vue"),n=require("./vue-types/index.js"),c=l.defineComponent({compatConfig:{MODE:3},props:{disabled:n.default.looseBool,type:n.default.string,value:n.default.any,tag:{type:String,default:"input"},size:n.default.string,onChange:Function,onInput:Function,onBlur:Function,onFocus:Function,onKeydown:Function,onCompositionstart:Function,onCompositionend:Function,onKeyup:Function,onPaste:Function,onMousedown:Function},emits:["change","input","blur","keydown","focus","compositionstart","compositionend","keyup","paste","mousedown"],setup(s,{expose:i}){const e=l.shallowRef(null);return i({focus:()=>{e.value&&e.value.focus()},blur:()=>{e.value&&e.value.blur()},input:e,setSelectionRange:(t,o,u)=>{e.value?.setSelectionRange(t,o,u)},select:()=>{e.value?.select()},getSelectionStart:()=>e.value?.selectionStart,getSelectionEnd:()=>e.value?.selectionEnd,getScrollTop:()=>e.value?.scrollTop}),()=>{const{tag:t,value:o,...u}=s;return l.createVNode(t,{...u,ref:e,value:o},null)}}});exports.default=c;
