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