"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 p=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 c=require("element-plus"),s=require("../../pro-form/src/types.js"),i=e.defineComponent({name:"WetFormText",__name:"text",props:{...s.wetProFormItemProps,placeholder:String,formInputProps:{type:Object}},setup(o){const r=o,u=e.computed(()=>{const t={...r};return delete t.formInputProps,t}),n=e.computed(()=>r.placeholder?r.placeholder:`请输入${r.label}`);return(t,a)=>(e.openBlock(),e.createBlock(e.unref(p.WetProFormItem),e.normalizeProps(e.guardReactiveProps(u.value)),{default:e.withCtx(({modelValue:l})=>[e.createVNode(e.unref(c.ElInput),e.normalizeProps(e.guardReactiveProps({...l,placeholder:n.value,...r.formInputProps})),null,16)]),_:1},16))}});exports.default=i;
