import{_ as p,d as _,bd as u,x as m,aM as C,r as g,o as h,c as v,l as s,D as k,h as w,m as e,bE as B,bF as P}from"./index.js";import{s as x,c as S}from"./search.config.b55392a1.js";import R from"./share-modal.a21927.js";import"./configs.c0ac88f7.js";const y={class:"main role"},D={"w-full":""},M={name:"dataShare"},b=_({...M,setup(N){const r="dataShare",{pageContentRef:i,handleResetClick:a,handleSearchClick:l}=u(),n=m(null),{permissions:c,hasPermissionWithCode:d}=C(r);return(E,o)=>{const f=g("PagePower");return h(),v("div",y,[s(f,{"is-show":e(d)("001")},{default:k(()=>[w("div",D,[s(e(B),{"form-config":e(x),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(S),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(R,{ref_key:"shareModalRef",ref:n,onReload:o[3]||(o[3]=()=>e(a)())},null,512)])}}});var I=p(b,[["__scopeId","data-v-680e7c4d"],["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/interest/dataShare/index.vue"]]);export{I as default};
