import{cJ as n}from"./index.ab0d47a4.js";const r=[{title:"\u540D\u79F0",dataIndex:"name",key:"name",width:120},{title:"\u56FE\u6807",dataIndex:"icon",key:"icon",width:60},{title:"\u8DEF\u7531",dataIndex:"path",key:"path",width:120},{title:"\u7C7B\u578B",dataIndex:"type",key:"type",width:80},{title:"\u7EC4\u4EF6\u8DEF\u5F84",dataIndex:"component",key:"component",width:120},{title:"\u6743\u9650\u6807\u8BC6",dataIndex:"identifier",key:"identifier",width:120},{title:"\u8BF7\u6C42\u63A5\u53E3",dataIndex:"api",key:"api",width:80},{title:"\u8BF7\u6C42\u65B9\u6CD5",dataIndex:"method",key:"method",width:80},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created",key:"created",width:80},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"modified",key:"modified",width:80},{title:"\u64CD\u4F5C",key:"action",width:120}],a={0:"\u76EE\u5F55",1:"\u83DC\u5355",2:"\u6309\u94AE",3:"\u6570\u636E"},d={GET:"#61AFFE",POST:"#49CC90",DELETE:"#F93E3E",PUT:"#FCA130"},i={label:null,value:null},s=()=>Object.keys(a).map(e=>({label:a[e],value:parseInt(e)})),o=()=>{let e=Object.keys(d).map(t=>({label:t,value:t}));return e.unshift(i),e},m=()=>{let e=Object.keys(n).filter(t=>t.indexOf("Outlined")!==-1).map(t=>({label:t,value:t}));return e.unshift(i),e},u={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0",trigger:"blur"},{min:3,max:12,message:"3-12",trigger:"blur"}],path:[{required:!0,message:"\u8BF7\u8F93\u5165\u8DEF\u7531",trigger:"blur"},{min:1,max:20,message:"1~20",trigger:"blur"}]};export{o as a,a as b,r as c,d,m as i,s as m,u as r};
