"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue"),s=require("@ant-design/icons-vue/SearchOutlined"),c=require("../_util/props-util/initDefaultProps.js");require("../input/index.js");const d=require("../input/Input.js"),n={prefixCls:String,placeholder:String,value:String,handleClear:Function,disabled:{type:Boolean,default:void 0},onChange:Function},h=r.defineComponent({compatConfig:{MODE:3},name:"Search",inheritAttrs:!1,props:c.default(n,{placeholder:""}),emits:["change"],setup(a,{emit:t}){const l=e=>{t("change",e),e.target.value===""&&a.handleClear?.()};return()=>{const{placeholder:e,value:o,prefixCls:u,disabled:i}=a;return r.createVNode(d.default,{placeholder:e,class:u,value:o,onChange:l,disabled:i,allowClear:!0},{prefix:()=>r.createVNode(s,null,null)})}}});exports.default=h;exports.transferSearchProps=n;
