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