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