import{_ as s}from"./index105.js?v=1761009159";import{c as t,r as a,q as e,v as l,x as o,e as r,B as i,z as n,C as c,A as m,y as p,F as f,b0 as u,K as d,D as h,I as w,J as g}from"./base-lib.js?v=1761009159";import{_ as v}from"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";const x={class:"px-[20px]"},_={class:"text-medium mt-[1.6rem] flex items-center"},b={class:"list-con"},j=["onClick"],k=["title"],y={key:0,class:"showDetail"},D=v(t({__name:"springboot-check-list",props:{compData:{default:()=>{}}},setup(t){const v=t,D=a([]);a(!1);const C=s=>{if(!s)return!1;switch(!0){case s.startsWith("/"):return"来源：文件路径".concat(s);case"命令行或环境变量"===s:return"来源：命令行或环境变量";default:return"来源：jar包内文件".concat(s)}};return e(async()=>{v.compData.params,D.value=v.compData.data.map(s=>({...s,show:!1}))}),(t,a)=>{const e=s;return l(),o("div",x,[r(e,null,{"header-left":i(()=>[n("div",_,[a[0]||(a[0]=n("span",{class:"text-warning svgtofont-el-warning-outline text-subtitleLarge mr-[1rem]"},null,-1)),c("检查到"+m(p(D).length)+"项问题，是否继续创建项目?",1)])]),"header-right":i(()=>a[1]||(a[1]=[])),content:i(()=>[n("div",b,[(l(!0),o(f,null,u(p(D),(s,t)=>(l(),o("div",{key:t,class:d(["list-item",s.show?"!bg-light":""])},[n("div",{class:d(["flex justify-between items-center h-[4.5rem]",s.file?"cursor-pointer":""]),onClick:t=>(s=>{s.file&&(s.show=!s.show)})(s)},[n("span",{class:"font-bold text-small w-[90%] truncate",title:s.msg},m(s.msg),9,k),C(s.file)?(l(),o("span",y,[a[2]||(a[2]=c("详情",-1)),n("span",{class:d(s.show?"svgtofont-el-arrow-down":"svgtofont-el-arrow-right")},null,2)])):h("",!0)],10,j),C(s.file)?w((l(),o("div",{key:0,class:"list-detail"},m(C(s.file)),513)),[[g,s.show]]):h("",!0)],2))),128))])]),_:1})])}}}),[["__scopeId","data-v-b32faef1"]]);export{D as default};
