1import{A as k}from"./AuthenticatedLayout-DcpqZk2r.js";import{Z as g,i as x,r as n,f as t,a as i,w as d,b as s,o as e,F as _,j as y,n as C,t as m}from"./app-B9KORyBa.js";import{_ as b}from"./InputLabel-C-zTQq7X.js";import{S as w}from"./Switch-CjgwlyRI.js";import{P as O}from"./PrimaryButton-vaEit9c1.js";import{_ as $}from"./ArrowDownOutline-DJK0Og38.js";import{_ as A}from"./ArrowUpOutline-BhcV9wP_.js";import{c as L,b as B,_ as D,a as E}from"./EyeOutline-BJItCWaF.js";import{_ as N}from"./CheckmarkCircleOutline-D-9-1wJh.js";import{_ as H}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ApplicationLogo-DrAX-EpC.js";import"./NavLink-BiVKPBr8.js";import"./TextOutline-CGLkonHp.js";import"./DocumentTextOutline-B7A647Cs.js";import"./InformationCircleOutline-DCl6slX2.js";const M={name:"Dashboard",components:{EditOutline:E,CloseCircleOutline:D,TrashOutline:B,CheckmarkCircleOutline:N,EyeOutline:L,ArrowUpOutline:A,ArrowDownOutline:$,PrimaryButton:O,Link:x,Switch:w,InputLabel:b,AuthenticatedLayout:k,Head:g},props:{emails:{type:Object,default:[]}}},S={class:"py-12 space-y-5"},j={class:"bg-white overflow-hidden shadow-sm sm:rounded-lg p-4 space-y-12"},F={key:0},P={class:"border-b-2"},V={class:"col-span-1 xl:col-span-1"},z={key:0},I={key:1},T={class:"col-span-4 xl:col-span-4"},U={key:0},Z={key:1},q={class:"col-span-7 xl:col-span-7"},G={key:1};function J(K,o,l,Q,R,W){const p=n("Head"),u=n("CheckmarkCircleOutline"),f=n("CloseCircleOutline"),h=n("AuthenticatedLayout");return e(),t(_,null,[i(p,{title:"Dashboard"}),i(h,null,{header:d(()=>[...o[0]||(o[0]=[s("h2",{class:"font-semibold text-xl text-gray-800 leading-tight"},"Marketing",-1)])]),default:d(()=>{var r;return[s("div",S,[s("div",j,[(r=l.emails)!=null&&r.length?(e(),t("div",F,[o[1]||(o[1]=s("div",{class:"grid grid-cols-12 p-4 border-b-2"},[s("div",{class:"col-span-1 xl:col-span-1"},"Marketing"),s("div",{class:"col-span-4 xl:col-span-4"},"Name"),s("div",{class:"col-span-7 xl:col-span-7"},"Email")],-1)),s("div",null,[s("div",P,[(e(!0),t(_,null,y(l.emails,(a,v)=>{var c;return e(),t("div",{class:C(["py-2 px-4 grid grid-cols-12",{"border-b-2":l.emails.length!==v+1}])},[s("div",V,[a.marketing?(e(),t("div",z,[i(u,{class:"w-6 text-green-600"})])):(e(),t("div",I,[i(f,{class:"w-6 text-red-600"})]))]),s("div",T,[(c=a==null?void 0:a.name)!=null&&c.lv?(e(),t("span",U,m(a.name.lv),1)):(e(),t("span",Z,"â"))]),s("div",q,[s("span",null,m(a.email),1)])],2)}),256))])])])):(e(),t("div",G,[...o[2]||(o[2]=[s("div",{class:"flex w-full p-4"},[s("span",{class:"mx-auto"},"No emails with consent")],-1)])]))])])]}),_:1})],64)}const ps=H(M,[["render",J]]);export{ps 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.