import{k as o}from"./vue-vendor-CxLCUzY4.js";import{Y as l}from"./antd-vue-vendor-CahNzUUa.js";import{bx as r,K as n}from"./index-Cy4uayzW.js";import"./vxe-table-vendor-Cdi8WfTx.js";const{t}=n();function d(){return[{dataIndex:"type",title:t("sys.errorLog.tableColumnType"),width:80,customRender:({text:e})=>{const a=e===r.VUE?"green":e===r.RESOURCE?"cyan":e===r.PROMISE?"blue":r.AJAX?"red":"purple";return o(l,{color:a},{default:()=>e})}},{dataIndex:"url",title:"URL",width:200},{dataIndex:"time",title:t("sys.errorLog.tableColumnDate"),width:160},{dataIndex:"file",title:t("sys.errorLog.tableColumnFile"),width:200},{dataIndex:"name",title:"Name",width:200},{dataIndex:"message",title:t("sys.errorLog.tableColumnMsg"),width:300},{dataIndex:"stack",title:t("sys.errorLog.tableColumnStackMsg")}]}function c(){return d().map(e=>({field:e.dataIndex,label:e.title}))}export{d as getColumns,c as getDescSchema};
