import{M as m}from"./vendor-primevue-RJTR6wkG.js";import{f as s,S as i}from"./widgetPropFilter-CygYoMQt.js";import{_ as d}from"./WidgetLayoutField.vue_vue_type_script_setup_true_lang-C1YhXoEw.js";import{bq as p,cB as u,cC as n,E as f,p as c,d as g,q as w,A as V,br as _,m as b}from"./vendor-other-yzRpIrj2.js";import"./index-xLwXl4ov.js";import"./vendor-vue-ByIfjd1d.js";import"./vendor-xterm-CWYFmgbN.js";import"./vendor-three-b7sMVVQK.js";import"./vendor-tiptap-DcddbIvp.js";const E=p({__name:"WidgetToggleSwitch",props:u({widget:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const o=n(e,"modelValue"),l=f(()=>s(e.widget.options,i));return(a,t)=>(g(),c(d,{widget:a.widget},{default:w(()=>[V(_(m),b({modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=r=>o.value=r)},l.value,{class:"ml-auto block","aria-label":a.widget.name}),null,16,["modelValue","aria-label"])]),_:1},8,["widget"]))}});export{E as default};
//# sourceMappingURL=WidgetToggleSwitch-PP6OwfzY.js.map
