import{_ as h}from"./EmptyStateBlock-BaR9js3E.js";import{_ as u}from"./BlockBalanceAgreement-qtspRQ_B.js";import{u as v}from"./content-CZvpGWUh.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{f as C,D as g,c as o,b as k,a as t,C as y,F as d,i as B,o as e,t as n}from"./index-CmCGXBst.js";import"./contracts-P7YPBhEI.js";import"./ButtonDefault-BIBStZbJ.js";const L={class:"section"},S={class:"container"},x={key:0,class:"list"},b={class:"list-item_client"},D={class:"list-item__header"},I={class:"list-item__header-col"},N={class:"list-item__img"},R=["src"],U={class:"list-item__header-col"},w={class:"list-item__title"},A={class:"list-item__subtitle"},E=["href"],F={class:"list-item__text"},V={__name:"ContentClients",async setup(j){let _,a;const i=v(),c=C(()=>Object.keys(i?.clientsList)?.map(l=>i?.clientsList[l])?.reverse());return[_,a]=g(()=>i.fetchClients()),await _,a(),(l,r)=>{const m=u,p=h;return e(),o(d,null,[k(m),t("section",L,[t("div",S,[r[0]||(r[0]=t("div",{class:"section-header"},[t("h1",{class:"section-title"},"Клиенты")],-1)),c.value&&c.value.length>0?(e(),o("div",x,[(e(!0),o(d,null,B(c.value,s=>(e(),o("div",{class:"list-col",key:s?.ID},[t("div",b,[t("div",D,[t("div",I,[t("div",N,[t("img",{class:"list-item__image",src:s?.IconURL},null,8,R)])]),t("div",U,[t("div",w,n(s?.Name),1),t("div",A,[t("a",{href:s?.SiteURL},n(s?.SiteURL),9,E)])])]),t("div",F,n(s?.Comment),1)])]))),128))])):(e(),y(p,{key:1,label:"Пока что нет добавленных клиентов"}))])])],64)}}},K=f(V,[["__scopeId","data-v-a7c5ce61"]]);export{K as default};
