PageSourceSearch

https://www.baden.fm/wp-content/themes/cmms-theme-baden_fm/assets/dist/4.22.3/Checkbox.js

js baden.fm collected 2026-09-24 21:32:40 UTC 1,508 bytes, 1 lines download raw bytes

1import{C as i,_ as u}from"./Element.js";import{_ as m}from"./app.js";import"./swiper.js";const p={name:"CmmsFormHtmlLabel",extends:i,computed:{label(){let e=this.element.label;return this.element.required&&(e+="<sup> *</sup>"),e}}},t=window.Vue.openBlock,l=window.Vue.createElementBlock,_=window.Vue.createCommentVNode,w=window.Vue.normalizeClass,V=window.Vue.createElementVNode,b=window.Vue.renderSlot,C=window.Vue.Fragment,f=["for"],h=["innerHTML"];function k(e,o,s,r,a,n){return t(),l(C,null,[V("label",{for:e.element.id,class:w([{"if-mandatory":e.element.required},"theme__label"])},[e.element.label?(t(),l("span",{key:0,innerHTML:n.label},null,8,h)):_("",!0)],10,f),b(e.$slots,"default")],64)}const $=m(p,[["render",k]]),E={name:"CmmsFormElementCheckbox",components:{CmmsFormHtmlLabel:$},extends:u,methods:{update(){this.$emit("update:modelValue",!this.modelValue)}}},B=window.Vue.normalizeClass,F=window.Vue.createElementVNode,N=window.Vue.resolveComponent,L=window.Vue.createVNode,H=window.Vue.openBlock,q=window.Vue.createElementBlock,v=["id","value","required","checked","disabled"];function z(e,o,s,r,a,n){const d=N("CmmsFormHtmlLabel");return H(),q("p",null,[F("input",{type:"checkbox",class:B(["theme__input",e.element.class]),id:e.element.id,value:e.element.value,required:e.element.required,checked:e.modelValue,disabled:e.disabled,onClick:o[0]||(o[0]=(...c)=>n.update&&n.update(...c))},null,10,v),L(d,{element:e.element},null,8,["element"])])}const S=m(E,[["render",z]]);export{S 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.