"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("lodash-unified"),p=require("../../../ap-field/index.js");require("../../item/index.vue2.js");const c=require("../../item/index.vue.js"),f=e.defineComponent({name:"ApFormItemTextArea",__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:{},valuePropName:{},initialValue:{},_signal:{},transform:{},description:{},customFilled:{},disabled:{type:Boolean,default:void 0},autoFocus:{type:Boolean},field:{default:()=>({})},placeholder:{}},setup(l,{expose:r}){const{TextArea:s}=p.ApField,u=e.useSlots(),d=l,t=e.shallowRef();return r({focus:a=>{t.value?.focus(a)},blur:()=>{t.value?.blur()},resizableTextArea:e.computed(()=>t.value?.resizableTextArea)}),(a,v)=>(e.openBlock(),e.createBlock(c.default,e.normalizeProps(e.guardReactiveProps(e.unref(n.omit)(d,["field","placeholder"]))),e.createSlots({default:e.withCtx(()=>[e.createVNode(e.unref(s),e.mergeProps({ref_key:"textAreaRef",ref:t,disabled:l.disabled,placeholder:l.placeholder},l.field),null,16,["disabled","placeholder"])]),_:2},[e.renderList(u,(b,o)=>({name:o,fn:e.withCtx(i=>[e.renderSlot(a.$slots,o,e.normalizeProps(e.guardReactiveProps(i||{})))])}))]),1040))}});exports.default=f;
