import{B as l}from"./Checkbox.DUOJ_PLM.js";import{B as s}from"./Radio.DHWLjgLM.js";import{o as r,c as i,l as u,m as c,q as m,v as g,H as d}from"./vue.esm-bundler.DqIKZLqK.js";import{_ as f}from"./_plugin-vue_export-helper.BN1snXvA.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(),i("div",{class:d(["aioseo-highlight-toggle",[{active:e.active},{[e.size]:e.size}]]),onClick:o[1]||(o[1]=(...t)=>a.toggleCheckbox&&a.toggleCheckbox(...t))},[(r(),u(g(`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:c(()=>[m(n.$slots,"default")]),_:3},8,["name","modelValue","size","round"]))],2)}const v=f(p,[["render",_]]);export{v as B};
