UNPKG

925 BJavaScriptView Raw
1System.register(["./p-b3e9ed20.system.js"],(function(e){"use strict";var i,s;return{setters:[function(e){i=e.r;s=e.h}],execute:function(){var t=".radio,.checkbox{cursor:pointer;display:inline-block;line-height:1.25;position:relative}.radio input,.checkbox input{cursor:pointer}.radio:hover,.checkbox:hover{color:#363636}[disabled].radio,[disabled].checkbox,fieldset[disabled] .radio,fieldset[disabled] .checkbox{color:#7a7a7a;cursor:not-allowed}.radio+.radio{margin-left:0.5em}";var a=e("bm_radio",function(){function e(e){i(this,e);this.inputClass="";this.labelClass="";this.checked=false;this.disabled=false}e.prototype.render=function(){var e,i;return s("label",{class:(e={radio:true},e[this.labelClass]=Boolean(this.labelClass),e)},s("input",{class:(i={},i[this.inputClass]=Boolean(this.inputClass),i),type:"radio",name:this.name,disabled:this.disabled,checked:this.checked}),s("slot",null))};return e}());a.style=t}}}));
\No newline at end of file