import{h as u}from"./moment-BAtM24Ew.js";import{_ as h}from"./Paginate-DtQjslkz.js";import{_ as d}from"./NoDataFound-su6Kbmdk.js";import{s as f}from"./sharedComposable-VJJUONp6.js";import{_ as g}from"./UserLayout-DG2qUs8x.js";import{c as o,o as r,b as t,a as y,i as _,t as a,F as b,g as N,n as S,u as m}from"./app-B4kV47qU.js";import"./toastComposable-CvcyPmJb.js";import"./Modal-ChMy0A7y.js";import"./modalStore-BgORG3Nn.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ToastrContainer-Cfx6wOd2.js";import"./AssetModal-vtiWQmiY.js";import"./IntersectionObserver-DbdokySM.js";import"./assetStore-cDK0Afhq.js";const D={class:"table-responsive mt-6 w-full"},k={class:"table"},B={class:"!text-right"},M={key:0,class:"tbody"},Y={class:"capitalize"},v={class:"!text-right"},G=Object.assign({layout:g},{__name:"Index",props:["bulkSends"],setup(n){const{badgeClass:c}=f();return(s,C)=>(r(),o("div",D,[t("table",k,[t("thead",null,[t("tr",null,[t("th",null,a(s.trans("Recipient Number")),1),t("th",null,a(s.trans("Device")),1),t("th",null,a(s.trans("Template")),1),t("th",null,a(s.trans("Message Type")),1),t("th",null,a(s.trans("Status")),1),t("th",B,a(s.trans("Date")),1)])]),n.bulkSends.data.length?(r(),o("tbody",M,[(r(!0),o(b,null,N(n.bulkSends.data,(e,p)=>{var l,i;return r(),o("tr",{key:p},[t("td",null,a(e.recipient_number),1),t("td",null,a(((l=e.platform)==null?void 0:l.name)||s.trans("None")),1),t("td",null,a(((i=e==null?void 0:e.template)==null?void 0:i.name)||s.trans("None")),1),t("td",Y,a(e.message_type||s.trans("None")),1),t("td",null,[t("span",{class:S(m(c)(e.status))},a(e.status),3)]),t("td",v,a(m(u)(e.created_at).format("DD MMM, YYYY | h:mm A")),1)])}),128))])):(r(),_(d,{key:1,forTable:!0}))]),y(h,{links:n.bulkSends.links},null,8,["links"])]))}});export{G as default};
