import{B as l}from"./Checkbox.6a913600.js";import{B as s}from"./Radio.b8474a23.js";import{_ as i}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as r,c as u,a1 as c,a2 as m,a3 as g,a5 as d,ae as f}from"./runtime-core.esm-bundler.ce5add0b.js";const p={components:{BaseCheckbox:l,BaseRadio:s},props:{type:{type:String,required:!0},name:{type:String,required:!0},modelValue:{type:[Boolean,String,Event],required:!0},active:Boolean,size:String,round:Boolean},methods:{toggleCheckbox(){this.$refs.toggle.labelToggle()}}};function _(n,o,e,y,B,a){return r(),u("div",{class:f(["aioseo-highlight-toggle",[{active:e.active},{[e.size]:e.size}]]),onClick:o[1]||(o[1]=(...t)=>a.toggleCheckbox&&a.toggleCheckbox(...t))},[(r(),c(d(`base-${e.type}`),{ref:"toggle",name:e.name,modelValue:e.modelValue,size:e.size,round:e.round,"onUpdate:modelValue":o[0]||(o[0]=t=>n.$emit("update:modelValue",t))},{default:m(()=>[g(n.$slots,"default")]),_:3},8,["name","modelValue","size","round"]))],2)}const z=i(p,[["render",_]]);export{z as B};
