System.register(["./p-89dd5253.system.js"],function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.c;n=e.h}],execute:function(){var c=function(){function e(e){t(this,e);this.selectAll=r(this,"selectAll",7)}e.prototype.watchSelected=function(){this.selectAll.emit(this.selected)};e.prototype.renderSelectBox=function(){var e=this;if(this.selectable){return n("materials-checkbox",{color:"primary",onChange:function(){e.selected=!e.selected},onClick:function(e){return e.stopPropagation()},checked:this.selected})}};e.prototype.getClasses=function(){return{container:true,"container-background-primary":this.color==="primary","container-background-secondary":this.color==="secondary"}};e.prototype.render=function(){return n("div",{class:this.getClasses()},this.renderSelectBox(),n("slot",null))};Object.defineProperty(e,"watchers",{get:function(){return{selected:["watchSelected"]}},enumerable:true,configurable:true});Object.defineProperty(e,"style",{get:function(){return":host{display:block}:host .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border-bottom:1px solid #e0e0e0;background-color:var(--mdc-theme-datatable-header,#fff);color:var(--mdc-theme-on-datatable-header,#212121);padding:0 8px}:host materials-checkbox{-ms-flex-item-align:center;align-self:center}"},enumerable:true,configurable:true});return e}();e("materials_datatable_header",c)}}});