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