import{B as l}from"./index.373e4c1e.js";import"./elementPlus.c5b0e04f.js";import{createCrudOptions as p}from"./crud.a4691789.js";import{d as u,r as i,a9 as m,o as _,E as d,B as x,u as h}from"./vue.65d9dadc.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 _};
