import{_ as p,d as u,w as _,aL as m,r as C,o as g,c as v,l as t,C as h,b as k,u as e,bt as w,bu as B}from"./index.1d1a5ecb.js";import{u as P}from"./use-page-search.f4c305e2.js";import{s as S,c as x}from"./search.config.91e68af2.js";import R from"./share-modal.813e8963.js";import"./configs.834154f5.js";import"./status.d6b2a53d.js";const y={class:"main role"},D={"w-full":""},b={name:"dataShare"},M=u({...b,setup(N){const r="dataShare",{pageContentRef:i,handleResetClick:a,handleSearchClick:l}=P(),n=_(null),{permissions:c,hasPermissionWithCode:d}=m(r);return(U,o)=>{const f=C("PagePower");return g(),v("div",y,[t(f,{"is-show":e(d)("001")},{default:h(()=>[k("div",D,[t(e(w),{"form-config":e(S),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(x),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 W=p(M,[["__scopeId","data-v-680e7c4d"],["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/interest/dataShare/index.vue"]]);export{W as default};
