System.register(["./index-c820db66.system.js","./index-2d937df8.system.js","./_commonjsHelpers-c8881874.system.js"],(function(t){"use strict";var e,i,n,o,s;return{setters:[function(t){e=t.r;i=t.j;n=t.h;o=t.g},function(t){s=t.d},function(){}],execute:function(){var r={Amount:"Summa","Add item":"Lägg till artikel"};function c(t){return s.create({sv:r},t)}var u=".sc-ig-total-amount-h{display:-ms-flexbox;display:flex}[hidden].sc-ig-total-amount-h{display:none}.sc-ig-total-amount-h>*.sc-ig-total-amount:first-child{-ms-flex-positive:1;flex-grow:1}smoothly-select.sc-ig-total-amount{margin-top:.25em}";var l=t("ig_total_amount",function(){function t(t){e(this,t);this.addItem=i(this,"addItem",7);this.currencies=["SEK","EUR","USD","DKK","GBP","ISK","NOK","AUD","CAD","JPY","NZD","CHF","TRY","PLN","RUB"];this.currency="SEK";this.itemsvisible=false}t.prototype.componentWillLoad=function(){this.t=c(this.element)};t.prototype.add=function(t){this.addItem.emit(t)};t.prototype.render=function(){var t=this;return[n("smoothly-input",{disabled:this.itemsvisible,type:"price",value:this.price,name:"price"},this.t("Amount")),n("smoothly-select",{identifier:"currency",background:"transparent"},this.currencies.map((function(e){return t.currency==e?n("option",{value:e,selected:true},e):n("option",{value:e},e)}))),n("button",{type:"button",tabindex:"-1",onClick:function(e){return t.add(e)}},n("smoothly-icon",{toolTip:this.t("Add item"),name:"add-circle-outline",fill:"clear",size:"medium",color:"medium"}))]};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());l.style=u}}}));