import{B as l}from"./index.0d411246.js";import"./elementPlus.0e5067e4.js";import{createCrudOptions as p}from"./crud.8074af4b.js";import{d as u,r as i,a9 as m,o as _,E as d,B as x,u as h}from"./vue.3f733908.js";const E=u({__name:"index",setup(B,{expose:o}){let s=i({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{E as _};
