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