import{_,d as p,cC as u,n as m,c9 as C,r as g,o as h,c as v,h as s,y as k,e as w,i as e,d1 as B,d2 as P}from"./index.js";import{s as S,c as x}from"./search.config.c40fb88b.js";import y from"./share-modal.6ef3d6.js";import"./configs.f2380b52.js";const R={class:"main role"},D={"w-full":""},M={name:"dataShare"},N=p({...M,setup(V){const r="dataShare",{pageContentRef:i,handleResetClick:a,handleSearchClick:l}=u(),n=m(null),{permissions:c,hasPermissionWithCode:d}=C(r);return(j,o)=>{const f=g("PagePower");return h(),v("div",R,[s(f,{"is-show":e(d)("001")},{default:k(()=>[w("div",D,[s(e(B),{"form-config":e(S),onSearchBtnClick:e(l),onResetBtnClick:e(a)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),s(e(P),{ref_key:"pageContentRef",ref:i,powers:e(c),"content-config":e(x),onCreateBtnClick:o[0]||(o[0]=()=>n.value.onDisplay()),onPreviewBtnClick:o[1]||(o[1]=({id:t})=>n.value.onDisplay(t,!0)),onUpdateBtnClick:o[2]||(o[2]=({id:t})=>n.value.onDisplay(t))},null,8,["powers","content-config"])])]),_:1},8,["is-show"]),s(y,{ref_key:"shareModalRef",ref:n,onReload:o[3]||(o[3]=()=>e(a)())},null,512)])}}});var W=_(N,[["__scopeId","data-v-680e7c4d"],["__file","D:/work/jiesuan/settle-vue3/src/views/interest/dataShare/index.vue"]]);export{W as default};
