System.register(["./index-c820db66.system.js","./index-2d937df8.system.js","./_commonjsHelpers-c8881874.system.js"],(function(e){"use strict";var t,o,s,c,l;return{setters:[function(e){t=e.r;o=e.j;s=e.h;c=e.g},function(e){l=e.d},function(){}],execute:function(){var n={"Select all":"Markera alla","Deselect all":"Avmarkera alla",Select:"Markera",Deselect:"Avmarkera"};function i(e){return l.create({sv:n},e)}var r=".sc-smoothly-checkbox-h{display:block}[hidden].sc-smoothly-checkbox-h{display:none}smoothly-icon.sc-smoothly-checkbox{cursor:pointer}[disabled].sc-smoothly-checkbox-h smoothly-icon.sc-smoothly-checkbox{stroke:rgba(var(--smoothly-color-contrast), 0.3)}";var h=e("smoothly_checkbox",function(){function e(e){t(this,e);this.checked=o(this,"checked",7);this.selectAll=false}e.prototype.componentWillLoad=function(){this.t=i(this.element)};e.prototype.toggle=function(){if(!this.disabled){this.selected=!this.selected;this.checked.emit({selected:this.selected})}};e.prototype.render=function(){var e=this;return[s("smoothly-icon",{toolTip:this.t(this.selectAll?"Deselect all":"Deselect"),onClick:function(){return e.toggle()},style:{display:this.selected?"":"none"},name:"checkbox-outline"}),s("smoothly-icon",{toolTip:this.t(this.selectAll?"Select all":"Select"),onClick:function(){return e.toggle()},style:{display:!this.selected?"":"none"},name:"square-outline"})]};Object.defineProperty(e.prototype,"element",{get:function(){return c(this)},enumerable:false,configurable:true});return e}());h.style=r}}}));