"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("lodash-unified"),m=require("../../../ap-field/index.js"),d=require("../../constant.js");require("../../item/index.vue2.js");const v=require("../../item/index.vue.js"),g=e.defineComponent({name:"ApFormItemText",__name:"index",props:{htmlFor:{},prefixCls:{},label:{},help:{},extra:{},labelCol:{},wrapperCol:{},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:{},prop:{},name:{},rules:{},autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:{},validateTrigger:{},messageVariables:{},hidden:{type:Boolean},noStyle:{type:Boolean},tooltip:{},span:{},order:{},offset:{},push:{},pull:{},xs:{},sm:{},md:{},lg:{},xl:{},xxl:{},flex:{},bordered:{type:Boolean},valuePropName:{},initialValue:{},_signal:{},transform:{},description:{},customFilled:{},disabled:{type:Boolean,default:void 0},autoFocus:{type:Boolean},field:{default:()=>({})},placeholder:{}},setup(a,{expose:c}){const{Text:p}=m.ApField,u=e.useSlots(),f=a,t=e.shallowRef();return c({focus:l=>{t.value?.focus(l)},blur:()=>{t.value?.blur()},setSelectionRange:(l,i,r)=>{t.value?.setSelectionRange(l,i,r)},select:()=>{t.value?.select()},input:e.computed(()=>t.value?.input)}),(l,i)=>(e.openBlock(),e.createBlock(v.default,e.normalizeProps(e.guardReactiveProps(e.unref(s.omit)(f,["field","placeholder"]))),e.createSlots({default:e.withCtx(()=>[e.createVNode(e.unref(p),e.mergeProps({ref_key:"inputRef",ref:t,disabled:a.disabled,placeholder:a.placeholder},a.field),e.createSlots({_:2},[e.renderList(e.unref(s.omit)(u,e.unref(d.apFormItemSlotNames)),(r,o)=>({name:o,fn:e.withCtx(n=>[e.renderSlot(l.$slots,o,e.normalizeProps(e.guardReactiveProps(n||{})))])}))]),1040,["disabled","placeholder"])]),_:2},[e.renderList(e.unref(s.pick)(u,e.unref(d.apFormItemSlotNames)),(r,o)=>({name:o,fn:e.withCtx(n=>[e.renderSlot(l.$slots,o,e.normalizeProps(e.guardReactiveProps(n||{})))])}))]),1040))}});exports.default=g;
