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