import{c as t,f as e,h as i}from"./public.js?v=1763625242172";import{dL as s,x as r}from"./page_layout.js?v=1763625242172";import{g as p}from"./index80.js?v=1763625242172";import{s as a}from"./tools2.js?v=1763625242172";import{k as o,P as _,R as n,S as l,X as u,V as m}from"./vue.js?v=1763625242172";import"./naive.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";import"./rules.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang5.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang6.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang7.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang.js?v=1763625242172";import"./index99.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang15.js?v=1763625242172";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};
