import{_ as n}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{cJ as l,n as c}from"./index-BTglIPU2.js?v=1773287522785";import{u as d}from"./useTableColumns-DDeyYvje.js?v=1773287522785";import{u as _}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{g as u}from"./index-CCGECshE.js?v=1773287522785";import{s as f}from"./tools-CMJvIbk2.js?v=1773287522785";import{k as h,R as k,$ as y,Z as x,a0 as w,S as r}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";import"./rules-pmZEUQ_o.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DgjjuUjT.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-B7YvCBmY.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-C5hb-Th7.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import"./index-CZps0rIN.js?v=1773287522785";const R={class:"p-20px"},j=h({__name:"details",props:{list:{}},setup(a){const s=a,{t}=k(),{table:o,columns:p}=_([{key:"time_localtime",title:t("Waf.Report.index_13"),width:140},{key:"ip",title:t("Waf.Report.index_7"),width:120},{key:"server_name",title:t("Waf.Report.index_14"),width:120},{key:"ip_country",title:t("Waf.Report.index_8"),width:140,render:e=>e.ip_country||"--"},{key:"uri",title:"URI",ellipsis:{tooltip:!0},render:e=>l(e.uri)},{key:"filter_rule",title:t("Waf.Report.index_1"),width:140},d({width:80,options:e=>[{label:t("Public.Btn.Details"),onClick:async()=>{const{message:i}=await u({id:e.id});c(i)&&i.length>0&&f(i[0])}}]})]);return o.data=s.list,(e,i)=>{const m=n;return y(),x("div",R,[w(m,{"max-height":550,data:r(o).data,columns:r(p)},null,8,["data","columns"])])}}});export{j as default};
