import{b as t,h as e,f as i}from"./public.js?v=1753954525509";import{cY as s,w as r}from"./page_layout.js?v=1753954525509";import{g as p}from"./index79.js?v=1753954525509";import{s as a}from"./tools2.js?v=1753954525509";import{k as o,P as _,U as n,V as l,Q as u,X as m}from"./vue.js?v=1753954525509";import"./naive.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";import"./rules.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang4.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang7.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang5.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang.js?v=1753954525509";import"./index100.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang15.js?v=1753954525509";const d={class:"p-20px"},c=o({__name:"details",props:{list:{}},setup(o){const c=o,{t:j}=_(),{table:x,columns:y}=t([{key:"time_localtime",title:j("Waf.Report.index_13"),width:140},{key:"ip",title:j("Waf.Report.index_7"),width:120},{key:"server_name",title:j("Waf.Report.index_14"),width:120},{key:"ip_country",title:j("Waf.Report.index_8"),width:140,render:t=>t.ip_country||"--"},{key:"uri",title:"URI",ellipsis:{tooltip:!0},render:t=>s(t.uri)},{key:"filter_rule",title:j("Waf.Report.index_1"),width:140},e({width:80,options:t=>[{label:j("Public.Btn.Details"),onClick:async()=>{const{message:e}=await p({id:t.id});r(e)&&e.length>0&&a(e[0])}}]})]);return x.data=c.list,(t,e)=>{const s=i;return n(),l("div",d,[u(s,{"max-height":550,data:m(x).data,columns:m(y)},null,8,["data","columns"])])}}});export{c as default};
