import{av as v,aw as f}from"./index.17037962789732.js";import"./index.170379627897319.js";import"./index.170379627897327.js";import{d as u,r as h,o as n,x as i,z as e,b as t,a,j as r,B as k,D as C}from"./vue.1703796278973.js";import{_ as x}from"./_plugin-vue_export-helper.1703796278973.js";import"./index.17037962789733.js";import"./dayjs.min.1703796278973.js";import"./isArray.1703796278973.js";import"./editor.api.1703796278973.js";import"./preload-helper.1703796278973.js";import"./monaco.contribution.1703796278973.js";const y={class:"card"},w={class:"card-content"},B={class:"card-item-avatar"},j={key:0,class:"checked-icon"},g=u({__name:"index",props:{value:{type:Object,default:()=>{}},active:{type:Boolean,default:!1}},emits:["click"],setup(o,{emit:d}){const l=o,_=()=>{d("click",l.value)};return(s,I)=>{const c=v,p=f,m=h("AIcon");return n(),i("div",y,[e("div",{class:C(["card-warp",{active:o.active?"active":""}]),onClick:_},[e("div",w,[t(p,{gutter:20},{default:a(()=>[t(c,{span:10},{default:a(()=>[e("div",B,[r(s.$slots,"img",{},void 0,!0)])]),_:3}),t(c,{span:14},{default:a(()=>[r(s.$slots,"content",{},void 0,!0)]),_:3})]),_:3}),o.active?(n(),i("div",j,[e("div",null,[t(m,{type:"CheckOutlined"})])])):k("",!0)])],2)])}}});const S=x(g,[["__scopeId","data-v-3f5f805f"]]);export{S as default};
