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