PageSourceSearch

https://cdn.peatix.com/assets/production/static/peaz-frontend/js/BaseCheckbox-BHrZTu3b.js

js peatix.com collected 2026-09-24 06:33:28 UTC 2,342 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e1f04ba4-a418-4c12-90c6-b11dff6779be`,e._sentryDebugIdIdentifier=`sentry-dbid-e1f04ba4-a418-4c12-90c6-b11dff6779be`)}catch{}})();import{$ as e,C as t,Ct as n,G as r,J as i,O as a,S as o,Wt as s,Yt as c,b as l,nt as u,y as d}from"./route-CITprrr5.js";import{t as f}from"./_plugin-vue_export-helper-CdgHZ22j.js";var p=[`for`],m=[`id`,`checked`,`value`,`name`,`disabled`],h={key:1},g={key:0,class:`helper-text`},_=f(a({__name:`BaseCheckbox`,props:{label:{type:String,default:void 0},name:{type:String,default:``},value:{type:String,default:``,required:!0},id:{type:String,default:``,required:!0},modelValue:{type:[Boolean,String,Array],default:``,required:!0},modelModifiers:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!1}},emits:[`update:modelValue`,`onChange`],setup(a,{emit:f}){let _=a,v=f,y=e();function b(e){let t=e.target,n=t.checked;if(_.modelValue instanceof Array)v(`update:modelValue`,n?[..._.modelValue,t.value]:_.modelValue.filter(e=>e!==_.value));else if(_.modelModifiers.multipleStringWithComma&&_.value){let e=_.value;if(typeof _.modelValue==`string`){let t=_.modelValue.split(`,`);n?(t.push(_.value),e=t.join()):e=t.filter(e=>e!==_.value).join()}v(`update:modelValue`,e)}else v(`update:modelValue`,n)}let x=d(()=>_.modelValue instanceof Array||_.modelModifiers.multipleStringWithComma&&typeof _.modelValue==`string`&&_.value?_.modelValue.includes(_.value):typeof _.modelValue==`boolean`&&!_.value?_.modelValue:_.modelValue===_.value),S=d(()=>!!y.helperText),C=d(()=>!!y.labelText);return u(()=>x.value,e=>{v(`onChange`,e)}),(e,u)=>(r(),t(`label`,{for:a.id,class:`checkbox-container`},[l(`input`,{id:a.id,checked:n(x),value:a.value,name:a.name,disabled:a.disabled,class:`checkbox`,type:`checkbox`,onInput:b},null,40,m),l(`span`,{class:s([`checkmark`,{top:n(S)}])},null,2),l(`span`,{class:s([`label`,`text-sm`,{"text-medium":n(S)}])},[n(C)?i(e.$slots,`labelText`,{key:0},void 0,!0):(r(),t(`span`,h,c(a.label),1))],2),n(S)?(r(),t(`p`,g,[i(e.$slots,`helperText`,{},void 0,!0)])):o(``,!0)],8,p))}}),[[`__scopeId`,`data-v-39ef2490`]]);export{_ as t};
2//# sourceMappingURL=BaseCheckbox-BHrZTu3b.js.map

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.