import c from"./action-table.68b8a5f6.js";import p from"./edit-dialog.e85c39d4.js";import{q as u,B as s,C as f,aD as _,r as d,o as v,n as w,t as l,H as h}from"./index.10c3f8e5.js";import"./columns.0f8482f1.js";import"./index.afc916e5.js";import"./index.1c15f518.js";import"./hooks.5f77ce90.js";import"./responseHandle.3a46a31b.js";import"./status.7319085b.js";const C={class:"main"},A=u({__name:"index",setup(k){const t=s(null),i=s(null),e=s([]);function a(o,n,r){i.value.show(o,n,r)}return f(()=>{e.value=_().getMenuActions("menuOperator"),e.value.some(o=>o=="001")&&t.value.onSearch()}),(o,n)=>{const r=d("PagePower");return v(),w("div",C,[l(r,{isShow:e.value.some(m=>m=="001")},{default:h(()=>[l(c,{ref_key:"actionTableRef",ref:t,powers:e.value,onEdit:a,onCreate:a,onView:a},null,8,["powers"]),l(p,{ref_key:"modelRef",ref:i,onReload:n[0]||(n[0]=m=>t.value.onSearch())},null,512)]),_:1},8,["isShow"])])}}});export{A as default};
