import{_ as f,d as _,m,cU as u,r as C,o as g,c as h,h as t,x as v,b as k,u as e,cV as w,cW as B}from"./index.e80c366d.js";import{u as P}from"./use-page-search.e3e95470.js";import{s as x,c as S}from"./search.config.4728039a.js";import R from"./share-modal.2908b79f.js";import"./configs.f27adc45.js";import"./status.3ccd5ebb.js";const y={class:"main role"},D={"w-full":""},M={name:"dataShare"},N=_({...M,setup(U){const r="dataShare",{pageContentRef:i,handleResetClick:a,handleSearchClick:l}=P(),n=m(null),{permissions:c,hasPermissionWithCode:p}=u(r);return(V,o)=>{const d=C("PagePower");return g(),h("div",y,[t(d,{"is-show":e(p)("001")},{default:v(()=>[k("div",D,[t(e(w),{"form-config":e(x),onSearchBtnClick:e(l),onResetBtnClick:e(a)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),t(e(B),{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:s})=>n.value.onDisplay(s,!0)),onUpdateBtnClick:o[2]||(o[2]=({id:s})=>n.value.onDisplay(s))},null,8,["powers","content-config"])])]),_:1},8,["is-show"]),t(R,{ref_key:"shareModalRef",ref:n,onReload:o[3]||(o[3]=()=>e(a)())},null,512)])}}});var q=f(N,[["__scopeId","data-v-680e7c4d"],["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/interest/dataShare/index.vue"]]);export{q as default};
