import{B as r}from"./Checkbox.66c1e532.js";import{B as s}from"./Radio.76a0cae5.js";import{o as l,c as i,k as u,l as c,m as g,q as m,I as d}from"./vue.runtime.esm-bundler.78401fbe.js";import{_}from"./_plugin-vue_export-helper.58be9317.js";const f={components:{BaseCheckbox:r,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 p(n,t,e,y,B,a){return l(),i("div",{class:d(["aioseo-highlight-toggle",[{active:e.active},{[e.size]:e.size}]]),onClick:t[1]||(t[1]=(...o)=>a.toggleCheckbox&&a.toggleCheckbox(...o))},[(l(),u(m(`base-${e.type}`),{ref:"toggle",name:e.name,modelValue:e.modelValue,size:e.size,round:e.round,"onUpdate:modelValue":t[0]||(t[0]=o=>n.$emit("update:modelValue",o))},{default:c(()=>[g(n.$slots,"default")]),_:3},8,["name","modelValue","size","round"]))],2)}const C=_(f,[["render",p]]);export{C as B};
