System.register(["./p-e0e8055c.system.js","./p-f0b14c35.system.js","./p-b9937edc.system.js","./p-2cf27486.system.js","./p-b93550e9.system.js"],(function(e){"use strict";var t,i,l,a,s,c;return{setters:[function(e){t=e.r;i=e.c;l=e.h;a=e.g},function(e){s=e.i},function(e){c=e.d},function(){},function(){}],execute:function(){var n={Loading:"Laddar","from server...":"från servern...","There are no":"Det finns inga","to display.":"att visa."};function r(e){return c.create({sv:n},e)}var h=".sc-ig-table-h{display:block;width:100%;max-width:90em;margin:auto;border:1px solid rgb(var(--smoothly-medium-color))}[hidden].sc-ig-table-h{display:none}.sc-ig-table-h>p.sc-ig-table{padding-left:1em}.sc-ig-table-h>table.sc-ig-table{width:100%;table-layout:fixed}.sc-ig-table-h>table.sc-ig-table>thead.sc-ig-table>tr.sc-ig-table{display:table-row;font-weight:bold;height:2em}.sc-ig-table-h>table.sc-ig-table>thead.sc-ig-table>tr.sc-ig-table>th.sc-ig-table{text-transform:capitalize}.sc-ig-table-h>table.sc-ig-table>thead.sc-ig-table>tr.sc-ig-table>*.sc-ig-table{display:table-cell;padding-right:.5em;padding-left:.3em;vertical-align:middle;position:-webkit-sticky;position:sticky;top:1.55cm;z-index:1;text-align:left}.sc-ig-table-h>table.sc-ig-table>thead.sc-ig-table>tr.sc-ig-table>th.right.sc-ig-table{text-align:right;padding-right:5.3em}.sc-ig-table-h>table.sc-ig-table>td.sc-ig-table{text-align:center}th.checkbox.sc-ig-table{width:2em}";var o=e("ig_table",function(){function e(e){t(this,e);this.selectedChanged=i(this,"selectedChanged",7);this.selectable=false;this.selected={}}e.prototype.componentWillLoad=function(){this.t=r(this.element)};e.prototype.handleToggle=function(e){var t=this.selected;if(e.detail.checked)t[e.detail.id]=e.detail.value;else delete t[e.detail.id];this.selectedChanged.emit(this.selected=t)};e.prototype.onChecked=function(e){this.selectedChanged.emit(e.detail.selected?{allSelected:true}:{})};e.prototype.render=function(){var e=this.t;return[!this.value?l("p",null,e("Loading")+" "+this.name+" "+e("from server...")):this.value.length>0?[l("table",null,l("thead",null,l("tr",null,this.selectable&&l("th",{class:"checkbox",color:"light"},l("smoothly-checkbox",{"select-all":true})),this.header.filter(s).map((function(e){return l("th",{class:e.align=="right"?"right":"",color:"light"},e.name)})))),l("slot",null))]:l("p",null,e("There are no")+" "+this.name+" "+e("to display."))]};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());o.style=h}}}));