PageSourceSearch

https://esi.info/_nuxt/Z-5gzWNU.js

js esi.info collected 2026-10-02 10:51:34 UTC 2,406 bytes, 1 lines download raw bytes

1import{_ as g}from"./DVOtnF_7.js";import{_ as O}from"./D1i1oiv-.js";import{_ as C}from"./BRaUv141.js";import{_ as N}from"./Be-fCs2e.js";import{u as y}from"./awG8f-0E.js";import{u as V}from"./IAdYh4L6.js";import{d as v,m as E,a as D,o as d,c as u,b as t,h as p,e as a,f as i,F as L,z as A,g as B,t as o,r as w,q as F}from"#entry";import"./BYoYheRd.js";import"./A9fzfJfu.js";import"./DINZ9J8n.js";import"./CpdebNfN.js";const I={class:"section section--squared"},$={class:"table table--wide"},q={class:"thead thead--light thead--search",style:{position:"sticky",top:"75px","background-color":"white"}},W=v({__name:"index",async setup(J){let r,m;const _=y(),{data:c}=([r,m]=E(()=>V("/api/content/admin/newsletter/")),r=await r,m(),r),f=s=>{console.log(s),l.sortOrder=s},l=w({name:"",sortOrder:"dateSent.asc"}),x=F(()=>{let s=JSON.parse(JSON.stringify(c.value));return l.name.length>0&&(s=s.filter(e=>e.name.toLowerCase().indexOf(l.name.toLowerCase())>-1)),_(l.sortOrder,s)});return D({title:"ESI.info | Admin | Newsletters",ogTitle:"ESI.info | Admin | Newsletters"}),(s,e)=>{const S=g,h=O,k=C,b=N;return d(),u("div",null,[e[9]||(e[9]=t("div",{class:"cms-header"},[t("h1",{class:"h2"},"Metrics - bulletin"),t("aside",{class:"aside"})],-1)),t("section",I,[t("table",$,[t("thead",q,[t("tr",null,[t("th",null,[e[1]||(e[1]=p(" Bulletin ",-1)),a(S,{id:"bulletin-admin-name",modelValue:i(l).name,"onUpdate:modelValue":e[0]||(e[0]=n=>i(l).name=n),stacked:!0,"hide-validation":!0},null,8,["modelValue"])]),t("th",null,[a(h,{"current-sort":i(l).sortOrder,label:"Date first sent",field:"dateSent",onSorted:f},null,8,["current-sort"])]),e[2]||(e[2]=t("th",null,"Sent",-1)),e[3]||(e[3]=t("th",null,"DELIVERED",-1)),e[4]||(e[4]=t("th",null,"%DEL",-1)),e[5]||(e[5]=t("th",null,"Opens",-1)),e[6]||(e[6]=t("th",null,"%OPN",-1)),e[7]||(e[7]=t("th",null,"Clicks",-1)),e[8]||(e[8]=t("th",null,"%CLK",-1))])]),t("tbody",null,[(d(!0),u(L,null,A(i(x),n=>(d(),u("tr",{key:n.id},[t("td",null,[a(k,{to:`/esi-admin/newsletter/${n.id}/`,class:"link"},{default:B(()=>[p(o(n.name),1)]),_:2},1032,["to"])]),t("td",null,[a(b,{"unix-date-time":n.dateSent},null,8,["unix-date-time"])]),t("td",null,o(n.sent),1),t("td",null,o(n.delivered),1),t("td",null,o(n.percentDelivered),1),t("td",null,o(n.opens),1),t("td",null,o(n.percentOpened),1),t("td",null,o(n.clicks),1),t("td",null,o(n.percentClicked),1)]))),128))])])])])}}});export{W 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.