"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("lodash-unified");require("../../../ap-field/number/index.vue2.js");const s=require("../../constant.js");require("../../item/index.vue2.js");const c=require("../../item/index.vue.js"),f=require("../../../ap-field/number/index.vue.js"),m=e.defineComponent({name:"ApFormItemNumber",__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(l,{expose:i}){const d=l,u=e.useSlots(),o=e.shallowRef();return i({focus:()=>{o.value?.focus()},blur:()=>{o.value?.blur()}}),(n,b)=>(e.openBlock(),e.createBlock(c.default,e.normalizeProps(e.guardReactiveProps(e.unref(a.omit)(d,["field","placeholder"]))),e.createSlots({default:e.withCtx(()=>[e.createVNode(f.default,e.mergeProps({ref_key:"inputNumberRef",ref:o,placeholder:l.placeholder,disabled:l.disabled},l.field),e.createSlots({_:2},[e.renderList(e.unref(a.omit)(u,e.unref(s.apFormItemSlotNames)),(p,t)=>({name:t,fn:e.withCtx(r=>[e.renderSlot(n.$slots,t,e.normalizeProps(e.guardReactiveProps(r||{})))])}))]),1040,["placeholder","disabled"])]),_:2},[e.renderList(e.unref(a.pick)(u,e.unref(s.apFormItemSlotNames)),(p,t)=>({name:t,fn:e.withCtx(r=>[e.renderSlot(n.$slots,t,e.normalizeProps(e.guardReactiveProps(r||{})))])}))]),1040))}});exports.default=m;
