"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../confirm-button/index.js");require("../../count-down-button/index.js");require("../../ellipsis/index.js");require("../../rich-text-editor/index.js");require("../index.js");const c=require("../../pro-form/index.js");require("../../pro-table/index.js");require("../../pro-descriptions/index.js");require("../../layout/index.js");require("../../page/index.js");require("../../guide/index.js");const p=require("element-plus"),s=require("../../pro-form/src/types.js"),i=e.defineComponent({name:"WetAutocomplete",__name:"autocomplete",props:{...s.wetProFormItemProps,placeholder:String,formInputProps:{type:Object}},setup(t){const r=t,u=e.computed(()=>{const o={...r};return delete o.formInputProps,o}),l=e.computed(()=>r.placeholder?r.placeholder:`请输入${r.label}`);return(o,a)=>(e.openBlock(),e.createBlock(e.unref(c.WetProFormItem),e.normalizeProps(e.guardReactiveProps(u.value)),{default:e.withCtx(({modelValue:n})=>[e.createVNode(e.unref(p.ElAutocomplete),e.normalizeProps(e.guardReactiveProps({...n,placeholder:l.value,...r.formInputProps})),null,16)]),_:1},16))}});exports.default=i;
