import{_ as s}from"./index106.js?v=1761009159";import{R as a,aH as e,_ as t}from"./utils-lib.js?v=1761009159";import{k as n}from"./validator.js?v=1761009159";import{c as l,t as i,g as o,q as r,v as c,x as d,z as m,F as p,b0 as v,y as u,D as f,M as _,A as x,N as g}from"./base-lib.js?v=1761009159";import"./index.vue_vue_type_style_index_0_scoped_cdc7f4d3_lang.js?v=1761009159";const y={class:"software-install"},b={class:"software-view"},k={key:0,class:"flex items-center"},w={class:"flex text-base font-black"},j={class:"mr-[1rem]"},h=t(l({__name:"index",props:{options:{default:()=>({name:"",title:""})},icon:{type:Boolean},width:{},height:{}},setup(t){const l=t,{options:h}=i(l),I=o(()=>a(h.value)?h.value:[h.value]),N=async()=>{const{data:s}=await e({sName:h.value.name});n({name:h.value.name,type:"i",pluginInfo:s})};return r(()=>{}),(a,e)=>{const t=s;return c(),d("div",null,[e[1]||(e[1]=m("div",{class:"software-mask"},null,-1)),m("div",y,[m("div",b,[a.$slots.content?f("",!0):(c(),d("div",k,[e[0]||(e[0]=m("i",{class:"svgtofont-el-warning text-warning mr-[4px] !text-extraLarge"},null,-1)),(c(!0),d(p,null,v(u(I),(s,a)=>(c(),d(p,{key:a},[m("div",w,[m("span",j,"未安装 "+x(s.title),1),m("span",{class:"bt-link text-base",onClick:N}," 立即安装 ")]),u(I).length<a?(c(),g(t,{key:0})):f("",!0)],64))),128))])),_(a.$slots,"content",{},void 0,!0)])])])}}}),[["__scopeId","data-v-cdc7f4d3"]]);export{h as _};
