import{d as u,o as l,x as s,F as p,h as y,D as d,E as _,z as t,A as i}from"./vue.1703796278973.js";import{_ as f}from"./_plugin-vue_export-helper.1703796278973.js";const v=["onClick"],g={class:"way-item-title"},m={class:"way-item-image"},S=["src","width"],h=u({__name:"CardSelect",props:{value:{type:String,default:""},options:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},type:{type:String,default:"horizontal"},imageSize:{type:Number,default:48},cardSize:{type:Number,default:237}},emits:["update:value"],setup(a,{emit:o}){const c=a,r=n=>{c.disabled||o("update:value",n)};return(n,b)=>(l(),s("div",{class:d(["scene-trigger-way-warp",{disabled:a.disabled}])},[(l(!0),s(p,null,y(a.options,e=>(l(),s("div",{key:e.value,class:d(["trigger-way-item",{active:(e==null?void 0:e.value)===a.value}]),style:_({width:`${a.cardSize}px`}),onClick:w=>r(e.value)},[t("div",g,[t("p",null,i(e.label),1),t("span",null,i(e.subLabel),1)]),t("div",m,[t("img",{src:e.iconUrl,width:a.imageSize},null,8,S)])],14,v))),128))],2))}});const x=f(h,[["__scopeId","data-v-41f74ac3"]]);export{x as default};
