import{_ as C}from"./admin-form-header-a4bfb576.js";import{r,M as b,G as u,e as L,o as a,c as y,h as e,w as p,a as n,g as S,j as T,t as k,l as B}from"./index-25eb6331.js";/* empty css            */import{S as x}from"./ShareListTable-c1438c54.js";import{l as N}from"./admin-storage-8eb4a874.js";import{b as s}from"./route-block-83d24a4e.js";import{E as V}from"./index-73ac7f16.js";/* empty css                */import"./pagination-7be6ee5b.js";import"./index-3bef6acb.js";import"./index-1c392315.js";import"./index-51e1cffc.js";import"./request-14d7fed5.js";import"./button-c2afb424.js";import"./index-b7ba0c9a.js";import"./strings-59e484a0.js";import"./index-0746525e.js";import"./_initCloneObject-55db8b76.js";import"./scroll-044a6ede.js";import"./debounce-8de7dc13.js";import"./index-272fcf3f.js";/* empty css               *//* empty css                  *//* empty css               *//* empty css              */import"./el-table-column-plus-b730a697.js";import"./index-96a4e1cd.js";import"./index-345a9e42.js";import"./popconfirm-350330c8.js";/* empty css                *//* empty css                     */import"./dropdown-item-13559a59.js";import"./dropdown-8894c5a8.js";import"./refs-e3c707bd.js";import"./content-copy-501bdf2a.js";import"./information-outline-0496086d.js";import"./tooltip-4ed993c7.js";/* empty css                  */import"./date-picker-408a8b1c.js";import"./index-dde256e1.js";import"./col-6d08a2dc.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./vue3-clipboard.esm-f774ce6a.js";import"./path-8ad564a3.js";import"./base-00eb0fe9.js";import"./util-adbe916f.js";import"./share-b912a5b4.js";import"./MagnifyingGlassIcon-94894876.js";import"./ArrowPathIcon-5c9e3e1e.js";import"./index-98eb1092.js";import"./index-db57f3ab.js";import"./vnode-761469ca.js";import"./validator-551b2058.js";import"./index-d3a3425f.js";import"./directive-77ef4fb1.js";const E={class:"header-title"},R=n("span",{class:"mr-2"},"分享列表",-1),w={__name:"index",setup(A){const l=r(null),o=b({loading:!1,firstLoadCompleted:!1}),c=t=>{o.loading=!!(t!=null&&t.loading),o.firstLoadCompleted=!!(t!=null&&t.firstLoadCompleted)},i=r(0),d=t=>{i.value=Number(t!=null?t:0)},m=r([]),f=u(()=>m.value||[]),_=()=>{N().then(t=>{m.value=Array.isArray(t==null?void 0:t.data)?t.data:[]})};return L(()=>{_()}),(t,M)=>{const h=V,g=C;return a(),y("div",null,[e(g,{"hide-bottom-border":""},{title:p(()=>[n("div",E,[R,o.firstLoadCompleted&&!o.loading?(a(),S(h,{key:0,type:"info",size:"small"},{default:p(()=>[T(k(i.value),1)]),_:1})):B("",!0)])]),_:1}),e(x,{ref_key:"shareTableRef",ref:l,mode:"admin","storage-list":f.value,onStatusChange:c,onTotalChange:d},null,8,["storage-list"])])}}};typeof s=="function"&&s(w);export{w as default};
