import o from"./TopBar.8157552e.js";import i from"./Container.f87d9f62.js";import m from"./Content.e22a1fd6.js";import a from"./Page.3927bdbf.js";import n from"./PageHeader.a5f457a5.js";import p from"./PageHeaderTitle.3ed783af.js";import s from"./PageBody.dec1fae1.js";import _ from"./Button.f17dffc9.js";import f from"./List.d5d221b1.js";import l from"./ListItem.ee1e88fb.js";import u from"./StatusBubble.4f1d8322.js";import d from"./NotificationBadge.b6fae3d5.js";import c from"./MainLayout.17290af6.js";import T from"./SettingsLayout.3305573b.js";import b from"./SettingsSegment.e8fdfb41.js";import y from"./Pagination.a93b6f75.js";import g from"./Tabs.1a21a1c7.js";import v from"./Table.5d32c28c.js";import x from"./TableHead.1eed799b.js";import H from"./TableHeader.44bdf327.js";import P from"./TableRow.6382a60a.js";import S from"./TableBody.c78326a3.js";import B from"./TableData.c69a64ca.js";import{n as C}from"./plugin-vue2_normalizer.000ba15c.js";import"./TopBar.27b84f08.js";import"./Dropdown.d1060583.js";import"./DropdownList.02c48c2f.js";import"./DropdownListItem.ac31464c.js";import"./IconMoon.ade3e41b.js";import"./IconSun.8809e5d7.js";import"./IconSearch.27dac870.js";import"./IconButton.eadc8d3d.js";import"./Breadcrumbs.d39e2491.js";import"./BreadcrumbsItem.da3f8155.js";import"./TopBarTabBarContainer.3bdb2bb3.js";import"./TabBar.c1d45ed5.js";import"./TabBarItem.e9886f0a.js";import"./Confirm.888708f1.js";import"./Notification.d432029f.js";import"./IconDanger.2f6e115d.js";import"./IconWarning.ca92fb65.js";import"./IconSuccess.09b85716.js";import"./IconInfo.ad7662f9.js";import"./SearchPalette.282fdde5.js";import"./notification.db2f2ae7.js";import"./app.79e1f42d.js";const k={metaInfo(){return{title:`${this.__("Alerts")}`}},layout:c,components:{TopBar:o,Container:i,Content:m,Page:a,PageHeader:n,PageHeaderTitle:p,PageBody:s,Button:_,List:f,ListItem:l,StatusBubble:u,NotificationBadge:d,SettingsLayout:T,SettingsSegment:b,Pagination:y,Tabs:g,Table:v,TableHead:x,TableHeader:H,TableRow:P,TableBody:S,TableData:B},props:{alerts:Object}};var L=function(){var t=this,r=t._self._c;return r("Page",[r("TopBar"),r("Content",[r("Container",[r("PageHeader",{scopedSlots:t._u([{key:"start",fn:function(){return[r("PageHeaderTitle",[t._v(t._s(t.__("Alerts")))])]},proxy:!0}])}),r("PageBody",[r("SettingsLayout",{scopedSlots:t._u([{key:"nav",fn:function(){return[r("Tabs")]},proxy:!0},{key:"segments",fn:function(){return[r("SettingsSegment",{scopedSlots:t._u([{key:"title",fn:function(){return[t._v(t._s(t.__("Overview")))]},proxy:!0},{key:"content",fn:function(){return[r("Table",{attrs:{caption:"Alert list overview"}},[r("TableHead",[r("TableRow",[r("TableHeader",[t._v(t._s(t.__("Content")))]),r("TableHeader",[t._v(t._s(t.__("Expires at")))]),r("TableHeader")],1)],1),r("TableBody",t._l(t.alerts.data,function(e){return r("TableRow",{key:e.id},[r("TableData",[r("div",{domProps:{innerHTML:t._s(e.message_html)}}),r("p",{staticClass:"text-medium-emphasis"},[t._v(t._s(e.type))])]),r("TableData",[t._v(t._s(e.expires_at?e.expires_at:"-No expire date-"))]),r("TableData",[r("inertia-link",{staticClass:"text-primary font-medium",attrs:{href:t.route("admin.alerts.edit",e.id)}},[t._v(" "+t._s(t.__("Edit"))+" ")])],1)],1)}),1)],1)]},proxy:!0}])})]},proxy:!0}])})],1)],1)],1)],1)},h=[],w=C(k,L,h,!1,null,null,null,null);const St=w.exports;export{St as default};
