/* empty css             *//* empty css                     *//* empty css                  */import{_ as a}from"./index-44ccf907.js";import{d as s,o as e,c as r,e as t,a as l,w as n,H as o,b as i,aC as m,U as d,a4 as p,Z as u}from"./index-0ffeeea6.js";const c={class:"w-full min-h-0 pl-5 pr-5 bg-white rounded-lg dark:bg-regal-dark"},g={class:"w-full min-h-0 pt-5 pl-5 pr-5 bg-white rounded-lg dark:bg-regal-dark"},b=s({__name:"search",props:{search:{type:Function,required:!0},reset:{type:Function,required:!0}},setup:s=>(b,f)=>{const h=a,_=d,w=p,k=u;return e(),r("div",c,[t("div",g,[l(k,{inline:!0,onSubmit:f[2]||(f[2]=m((()=>{}),["prevent"]))},{default:n((()=>[o(b.$slots,"body"),l(w,null,{default:n((()=>[l(_,{type:"primary",onClick:f[0]||(f[0]=a=>s.search())},{default:n((()=>[l(h,{name:"magnifying-glass",className:"w-4 h-4 mr-1 -ml-1"}),i(" 搜索 ")])),_:1}),l(_,{onClick:f[1]||(f[1]=a=>s.reset())},{default:n((()=>[l(h,{name:"arrow-path",className:"w-4 h-4 mr-1 -ml-1"}),i(" 重置 ")])),_:1}),o(b.$slots,"extra_button")])),_:3})])),_:3})]),o(b.$slots,"content")])}});export{b as _};
