UNPKG

1.05 kBJavaScriptView Raw
1System.register(["./p-e4030803.system.js"],(function(e){"use strict";var s,t;return{setters:[function(e){s=e.r;t=e.h}],execute:function(){var c=e("bm_checkbox",function(){function e(e){s(this,e);this.class="";this.labelClass="";this.checked=false;this.disabled=false}e.prototype.render=function(){var e,s;return t("label",{class:(e={checkbox:true},e[this.labelClass]=Boolean(this.labelClass),e)},t("input",{type:"checkbox",class:(s={},s[this.class]=Boolean(this.class),s),disabled:this.disabled,checked:this.checked}),t("slot",null))};Object.defineProperty(e,"style",{get:function(){return".checkbox,.radio{cursor:pointer;display:inline-block;line-height:1.25;position:relative}.checkbox input,.radio input{cursor:pointer}.checkbox:hover,.radio:hover{color:#363636}[disabled].checkbox,[disabled].radio,fieldset[disabled] .checkbox,fieldset[disabled] .radio{color:#7a7a7a;cursor:not-allowed}.radio+.radio{margin-left:.5em}bm-checkbox[disabled=true] .checkbox{color:#7a7a7a;cursor:not-allowed}"},enumerable:true,configurable:true});return e}())}}}));
\No newline at end of file