import{B as l}from"./index.ad3efb29.js";import"./elementPlus.4833989a.js";import{createCrudOptions as p}from"./crud.3c942071.js";import{d as i,r as u,ai as m,o as _,M as d,K as x,u as h}from"./vue.adf17aba.js";const O=i({__name:"index",setup(B,{expose:o}){let s=u({name:null});const{crudRef:n,crudBinding:t,crudExpose:r,context:R}=l({createCrudOptions:p,context:{selectOptions:s}}),{doRefresh:a,setTableData:c}=r;return o({selectOptions:s,handleRefreshTable:e=>{!e.is_catalog&&e.id?(s.value=e,a()):c([])}}),(e,g)=>{const f=m("fs-crud");return _(),d(f,x({ref_key:"crudRef",ref:n},h(t)),null,16)}}});export{O as _};
