1import{E as u}from"./B_gfwmFi.js";import{h as r,c as m,a as v,d,b as f,t as p,i as g,e as x}from"./BW8Gosg2.js";/* empty css */import"./Cp4nIjse.js";import"./Bhiz1iUW.js";import"./BuA_bKv5.js";import"./BXOgFJg-.js";import"./B0jpQ8KJ.js";import"./Cq9Fpw4b.js";const b={class:"flex items-center justify-between gap-2 w-full"},h={class:"font-bold text-sm text-gray-sub"},C={__name:"ConditionSwitch",props:{config:{type:Object,required:!0},value:{required:!0}},emits:["update:value"],setup(e,{emit:o}){const l=e,c=o,t=r({get:()=>l.value,set:i=>{c("update:value",i)}});return(i,a)=>{const n=u;return v(),m("div",b,[d("p",h,p(e.config.title),1),f(n,{modelValue:x(t),"onUpdate:modelValue":a[0]||(a[0]=s=>g(t)?t.value=s:null),"inline-prompt":"","active-value":e.config.active.value||!0,"inactive-value":e.config.inactive.value||!1,"active-text":e.config.active.label,"inactive-text":e.config.inactive.label},null,8,["modelValue","active-value","inactive-value","active-text","inactive-text"])])}}};export{C as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.