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