import a from"./TopBar.8157552e.js";import m from"./Container.f87d9f62.js";import p from"./Content.e22a1fd6.js";import s from"./Page.3927bdbf.js";import n from"./PageHeader.a5f457a5.js";import l from"./PageHeaderTitle.3ed783af.js";import f from"./PageBody.dec1fae1.js";import c from"./Button.f17dffc9.js";import u from"./List.d5d221b1.js";import _ from"./ListItem.ee1e88fb.js";import d from"./StatusBubble.4f1d8322.js";import b from"./NotificationBadge.b6fae3d5.js";import g from"./MainLayout.17290af6.js";import y from"./SettingsLayout.3305573b.js";import T from"./SettingsSegment.e8fdfb41.js";import v from"./FormInput.7debc7c5.js";import h from"./FormSelect.6e35ae7d.js";import F from"./Form.2cdcadd9.js";import B from"./FormActions.83ccca91.js";import C from"./Tabs.88273262.js";import P from"./Table.5d32c28c.js";import S from"./TableHead.1eed799b.js";import H from"./TableHeader.44bdf327.js";import k from"./TableRow.6382a60a.js";import x from"./TableBody.c78326a3.js";import w from"./TableData.c69a64ca.js";import{t as L,p as D}from"./pickBy.33496a24.js";import{n as A}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";import"./FormGroup.efd02a6a.js";import"./Label.9d0d3ee0.js";import"./ErrorText.b141a597.js";import"./HelperText.14a7ed0b.js";import"./IconClipboard.8551be1b.js";import"./IconKey.455a255f.js";const R={metaInfo(){return{title:`${this.__("Application logs")}`}},layout:g,components:{TopBar:a,Container:m,Content:p,Page:s,PageHeader:n,PageHeaderTitle:l,PageBody:f,Button:c,List:u,ListItem:_,StatusBubble:d,NotificationBadge:b,FormInput:v,FormSelect:h,SettingsLayout:y,SettingsSegment:T,Form:F,FormActions:B,Tabs:C,Table:P,TableHead:S,TableHeader:H,TableRow:k,TableBody:x,TableData:w},props:{logData:Object,filters:Object},data(){return{searchFilters:{date:this.filters.date}}},watch:{searchFilters:{handler:L(function(){let e=D(this.searchFilters);this.$inertia.replace(this.route("admin.application-logs",Object.keys(e).length?e:{remember:"forget"}))},150),deep:!0}}};var j=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.__("Application logs")))])]},proxy:!0}])}),r("PageBody",[r("SettingsLayout",{scopedSlots:t._u([{key:"nav",fn:function(){return[r("Tabs")]},proxy:!0},{key:"segments",fn:function(){return[r("div",{staticClass:"space-y-4"},[r("FormSelect",{attrs:{label:t.__("Date")},model:{value:t.searchFilters.date,callback:function(o){t.$set(t.searchFilters,"date",o)},expression:"searchFilters.date"}},t._l(t.logData.available_dates,function(o){return r("option",{domProps:{value:o}},[t._v(t._s(o))])}),0),r("div",{staticClass:"overflow-scroll"},[r("Table",{attrs:{caption:"User list overview"}},[r("TableHead",[r("TableRow",[r("TableHeader",[t._v(t._s(t.__("Content")))])],1)],1),r("TableBody",t._l(t.logData.logs,function(o,i){return r("TableRow",{key:i},[r("TableData",[t._v(" "+t._s(o.message)+" "),r("p",{staticClass:"text-medium-emphasis"},[t._v(t._s(o.type)+" at "+t._s(o.timestamp))])])],1)}),1)],1)],1)],1)]},proxy:!0}])})],1)],1)],1)],1)},I=[],O=A(R,j,I,!1,null,null,null,null);const zt=O.exports;export{zt as default};
