1import{d as r,al as d,c as l,e as a,X as u,am as k,t as c,m as s,D as i,a0 as h,an as b,aM as x,ap as v}from"./DREHXjTd.js";const C={key:0,"flex-1":"","ms-2":"","pointer-events-none":""},p={key:1,"flex-1":"","ms-2":"","pointer-events-none":""},y=r({__name:"CommonCheckbox",props:v({label:{},hover:{type:Boolean},iconChecked:{},iconUnchecked:{},checkedIconColor:{},prependCheckbox:{type:Boolean}},{modelValue:{type:[Boolean,null]},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const o=d(e,"modelValue");return(m,n)=>(l(),a("label",u({class:["common-checkbox flex items-center cursor-pointer py-1 text-md w-full gap-y-1",e.hover?"hover:bg-active ms--2 px-4 py-2":null]},m.$attrs,{onClick:n[1]||(n[1]=k(t=>o.value=!o.value,["prevent"]))}),[e.label&&!e.prependCheckbox?(l(),a("span",C,c(e.label),1)):s("",!0),i("span",{class:h([o.value?e.iconChecked??"i-ri:checkbox-line":e.iconUnchecked??"i-ri:checkbox-blank-line",o.value&&e.checkedIconColor]),"text-lg":"","aria-hidden":"true"},null,2),b(i("input",{"onUpdate:modelValue":n[0]||(n[0]=t=>o.value=t),type:"checkbox","sr-only":""},null,512),[[x,o.value]]),e.label&&e.prependCheckbox?(l(),a("span",p,c(e.label),1)):s("",!0)],16))}}),g=Object.assign(y,{__name:"CommonCheckbox"});export{g as _};
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.