1import{_ as F}from"./CBrDI8Ki.js";import{_ as L}from"./C1-ccsfh.js";import{_ as P}from"./FVo8QhfF.js";import{p as $,c as k,aH as D}from"./weAkk1de.js";import{u as N,a as z}from"./C392xkM9.js";import{d as E,v as U,aP as W,aq as G,c as m,C as p,D as u,V as n,P as r,F as H,h as t,E as M,M as Q,N as R}from"./DlFYsrWP.js";import"./N0oXkFUh.js";import"./nHpabT80.js";import"./RwDhmajz.js";import"./Bo0dyPxh.js";import"./gUtqD_h6.js";import"./94CzsbrB.js";const st=E({__name:"announcements",async setup(S){let s,c;const _={filter:"",cursor:""},d=U(),{values:f,setValues:q,setFieldValue:g}=$({formOptions:{initialValues:_},onLoadingData:()=>v(),onBeforeSetQueryItems:(i,e)=>{if(i.cursor===e.cursor)return{cursor:""}}}),{data:l,status:x,error:y,execute:v}=([s,c]=W(async()=>G("announcements",async()=>(await d.announcements.index({pages:9,...f}))._data,{default:()=>({data:[],meta:{}})})),s=await s,c(),s),o=m(()=>l.value?.data||[]),h=m(()=>l.value?.meta);return N(),(i,e)=>{const B=F,w=L,b=P,A=D,C=k,V=z;return u(),p(V,null,{default:n(()=>[r(B,{hero:"",image:"/assets/banners/default/Announcements.svg",label:"Enterprise DNA",title:"Announcements","size-content":"xl","title-classes":"text-3xl capitalize md:text-4xl xl:text-6xl font-bold",description:" ",buttons:[]},{"before-content":n(()=>[...e[1]||(e[1]=[H("div",{class:"description text-white"}," Welcome to our announcements page! Here you will find the latest news, updates, and events related to our company, products, and services. From exciting product launches to important updates about our operations, this page is your go-to source for all things related to our business. ",-1)])]),_:1}),r(C,null,{default:n(()=>[r(A,{"static-slot":"",navigation:t(h),"show-not-found":t(o)&&!t(o).length,status:t(x),items:t(o),errors:t(y),onSetPage:e[0]||(e[0]=a=>t(g)("cursor",a))},{default:n(()=>[r(b,{count:1},{default:n(()=>[(u(!0),M(Q,null,R(t(o),a=>(u(),p(w,{key:a?.id,card:a},null,8,["card"]))),128))]),_:1})]),_:1},8,["navigation","show-not-found","status","items","errors"])]),_:1})]),_:1})}}});
1export{st as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.