"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue");function i(t){const u=a.shallowRef(!1),l=a.ref({});return a.watchEffect(()=>{if(!t.value){u.value=!1,l.value={};return}let e={matchInputWidth:!0,limit:50};t.value&&typeof t.value=="object"&&(e={...e,...t.value}),e.limit<=0&&delete e.limit,u.value=!0,l.value=e}),{showSearch:u,searchConfig:l}}exports.default=i;
