"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("element-plus"),a=e.defineComponent({__name:"selection",props:{type:String,modelValue:{type:Array}},setup(u){const l=u;return(t,d)=>{var o;return l.type==="checkbox"?(e.openBlock(),e.createBlock(e.unref(r.ElCheckboxGroup),{key:0,style:{display:"flex"},"model-value":l.modelValue},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["model-value"])):l.type==="radio"?(e.openBlock(),e.createBlock(e.unref(r.ElRadioGroup),{key:1,style:{display:"flex"},"model-value":(o=l.modelValue)==null?void 0:o[0]},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["model-value"])):e.renderSlot(t.$slots,"default",{key:2})}}});exports.default=a;
