System.register(["./index-c820db66.system.js","./index-dc84aac6.system.js","./index-2d937df8.system.js","./index-9ceb7f8c.system.js","./_commonjsHelpers-c8881874.system.js","./index-b0fe4e4c.system.js"],(function(t){"use strict";var e,i,s,r,n;return{setters:[function(t){e=t.r;i=t.h;s=t.g},function(t){r=t.I},function(t){n=t.d},function(){},function(){},function(){}],execute:function(){var o={Qty:"Antal",Name:"Namn",Price:"Pris",VAT:"Moms",Total:"Totalt",Status:"Status"};function a(t){return n.create({sv:o},t)}var u=".sc-ig-order-items-h{display:inline-block}[hidden].sc-ig-order-items-h{display:none}.sc-ig-order-items-h>table.sc-ig-order-items{table-layout:fixed;width:100%}.sc-ig-order-items-h>table.sc-ig-order-items>tr.sc-ig-order-items>th.sc-ig-order-items{text-align:left;padding-top:0.4em;padding-bottom:0.5em}.sc-ig-order-items-h>table.sc-ig-order-items>tr.sc-ig-order-items>th.wide.sc-ig-order-items{width:20%}.sc-ig-order-items-h>table.sc-ig-order-items>tr.sc-ig-order-items>th.status.sc-ig-order-items{width:19%;max-width:20em}";var c=t("ig_order_items",function(){function t(t){e(this,t);this.quantityStatus=false}t.prototype.componentWillLoad=function(){this.t=a(this.element)};t.prototype.handleQuantityStatus=function(t){this.quantityStatus=true};t.prototype.render=function(){var t=this;var e=this.t;return[i("table",null,i("tr",null,i("th",null,this.quantityStatus?e("Qty"):""),i("th",{class:"wide"},this.quantityStatus?e("Name"):""),i("th",null,this.quantityStatus?e("Price"):""),i("th",null,this.quantityStatus?e("VAT"):""),i("th",null,e("Total")),i("th",{class:"status"},e("Status"))),typeof this.order.items==="number"?[]:r.asArray(this.order.items).map((function(e,s){return i("ig-order-items-quantity",{order:t.order.id,currency:t.order.currency,item:e})})),i("ig-order-items-total",{currency:this.order.currency,items:this.order.items}))]};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());c.style=u}}}));