{"version":3,"sources":["webpack:///./src/views/ComponentViews/Component3.vue","webpack:///src/views/ComponentViews/Component3.vue","webpack:///./src/views/ComponentViews/Component3.vue?b694","webpack:///./src/views/ComponentViews/Component3.vue?86fd","webpack:///./src/views/ComponentViews/Component3.vue?ceb7","webpack:///./src/views/ComponentViews/Component3.vue?0f95"],"names":["_vm","attrs","_v","errorText","shoppingCartError","staticClass","_c","_l","staticStyle","model","value","comment","formatWithoutCurrency","key","domProps","line","Article","ArticleImage","on","imageLoadError","scopedSlots","proxy","require","showItem","$event","staticRenderFns","name","props","components","data","mounted","methods","item","getPartialSum","cart","sum","deleteItem","http","delete","then","sendUpdateCartEvent","window","sendOrderConfirmedEvent","text","computed","canOrder","getTotalItems","v","c","getTotalSum","shoppingCart","shoppingCartLoading","watch","component"],"mappings":"uVAA0T,W,IAAe,OAAE,EAAK,QAAQ,G,OAAM,EAAC,Q,YAAQ,OAAM,aAAIA,MAAOA,mBAAuEC,MAAM,CAAC,MAAO,KAAM,CAACD,EAAIE,kBAAcC,EAAS,OAAKC,CAAgFC,YAAY,OAAO,YAAK,CAAqBJ,cAAM,OAAmB,OAAIK,KAAG,QAAqBL,MAAM,QAAmB,WAAG,MAAKK,CAAwBL,aAAM,KAAmB,WAAG,MAAKM,CAAuB,KAAU,S,CAA+BN,KAAM,8C,YAAQ,O,MAA2B,CAAG,WAAmII,QAAY,KAAM,oFAACG,YAAY,Q,CAAC,SAAiB,CAAkB,MAAC,CAACP,KAAM,eAAW,UAAE,MAAK,CAASO,qBAAiC,GAAK,EAAC,OAAG,C,MAAC,CAAW,KAAO,eAAuB,oBAACP,OAAM,UAAC,MAAe,OAAM,KAAQ,mCAAoB,+FAAE,YAAa,OAAEI,YAAY,CAASL,iBAAO,oB,MAA2C,CAAiB,MAAQ,K,CAAsG,U,YAAwB,CAAC,SAAW,SAAI,QAAsB,SAACS,MAAM,OAACC,UAAWC,M,MAAqC,CAAY,aAAC,KAAqB,WAAG,MAAI,CAAeN,Y,CAAkE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,MAAC,C,YAAwBA,+B,YAA6B,CAAC,iBAAIA,OAAU,IAC9/H,SACGyB,aAEJ,OAAe,U,wRCuJA,GACfC,kBACAC,SACAC,cAEAC,OACA,OACAlB,aAIAmB,UACA,yCAGAC,SACAZ,kBACAa,oBAGAC,iBACA,QAEA,UACAC,oBACAC,oCAEA,mCAEA,cAGAC,cACAC,iBACAC,oDACAC,UACA,8CACA,8BAIAC,sBACA,6BACAC,4DAIAC,0BACA,4BACAD,wCACA,0BACA,cAGA,4BAGAtC,aAAA,MACA,EACA,iBACA,SACAwC,6BACA,MACA,SACAA,kCACA,MACA,QACAA,sEAEA,WAIAC,UACAC,WACA,sDAGAC,gBACA,sBACA,QAMA,OALA,8BACAC,oBACAC,sBAGA,EAEA,UAGAC,cACA,QACA,0BACA,8BACAjB,oBACAG,sCAGA,mCAEA,cAGAe,eACA,sCACA,+BAEA,IAGAC,sBACA,kDAGA/C,oBACA,qCAIAgD,UCnRmW,I,kCCS/VC,EAAY,eACd,EACA,EACA5B,GACA,EACA,KACA,WACA,MAIa,aAAA4B,E,6CCpBf,W,gFCAA","file":"js/chunk-08715a5e.59ccc429.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-container',{staticClass:\"pa-0\",staticStyle:{\"width\":\"100% !important\"},attrs:{\"fluid\":\"\"}},[(_vm.shoppingCartError)?_c('v-alert',{staticClass:\"mt-6\",staticStyle:{\"margin-left\":\"10%\"},attrs:{\"type\":\"error\",\"width\":\"80%\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"auto\"}},[_vm._v(_vm._s(_vm.shoppingCartError.status))]),_c('v-col',{staticClass:\"ml-3\",attrs:{\"cols\":\"0\"}},[_vm._v(_vm._s(_vm.errorText(_vm.shoppingCartError)))])],1)],1):(_vm.shoppingCartLoading)?_c('div',[_c('v-card',{staticClass:\"pa-3\"},[_c('v-skeleton-loader',{attrs:{\"type\":\"paragraph\"}}),_c('v-skeleton-loader',{attrs:{\"type\":\"list-item\"}})],1),_c('v-skeleton-loader',{attrs:{\"type\":\"list-item\"}}),_vm._l((6),function(index){return _c('v-skeleton-loader',{key:index,attrs:{\"type\":\"list-item-avatar-two-line\"}})})],2):(_vm.shoppingCart.length == 0)?_c('v-card-subtitle',[_vm._v(_vm._s(_vm.$t(\"text.empty_shopping_cart\")))]):_c('v-container',{staticClass:\"pa-0\",staticStyle:{\"padding-bottom\":\"100px !important\"},attrs:{\"fluid\":\"\"}},[_c('v-row',{staticStyle:{\"position\":\"sticky\",\"top\":\"0\",\"left\":\"0\",\"width\":\"100%\",\"z-index\":\"20\"},attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-card',{staticClass:\"pa-3\"},[_vm._t(\"prepend-top\"),_c('v-textarea',{attrs:{\"id\":\"issuetextarea\",\"label\":\"Note (optional)\",\"hint\":\"Anything else the technician should know before delivering your new parts?\",\"outlined\":\"\",\"rows\":\"1\",\"auto-grow\":\"\",\"hide-details\":\"auto\"},model:{value:(_vm.comment),callback:function ($$v) {_vm.comment=$$v},expression:\"comment\"}}),_c('v-card-text',{staticClass:\"text-center font-weight-bold pb-0 pt-3\",staticStyle:{\"font-size\":\"20px\"}},[_vm._v(\" Cart total: \"+_vm._s(_vm.formatWithoutCurrency(_vm.getTotalSum))+\" \")])],2)],1)],1),_vm._l((_vm.shoppingCart),function(cart,index){return [_c('v-row',{key:'cart-'+ index,staticClass:\"my-2\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('h5',{staticClass:\"mx-3\",staticStyle:{\"color\":\"#4d4d4d\",\"font-size\":\"15px\"},domProps:{\"textContent\":_vm._s(cart.Machine.DisplayName)}}),_c('v-list',{staticClass:\"OddMarkedList\",attrs:{\"dense\":\"\"}},_vm._l((cart.Items),function(line){return _c('v-list-item',{key:line.Id,staticClass:\"px-0\"},[_c('v-list-item-icon',{staticClass:\"ma-0 mr-3\"},[_c('v-card',{staticClass:\"transparent rounded-0\",attrs:{\"width\":\"55\",\"height\":\"55\",\"flat\":\"\"}},[(line.Article.ArticleImage != null)?_c('v-img',{attrs:{\"src\":line.Article.ArticleImage,\"max-height\":\"55\",\"max-width\":\"55\",\"contain\":\"\"},on:{\"error\":function($event){return _vm.imageLoadError(line, $event)},\"click\":function($event){return _vm.showItem(line)}},scopedSlots:_vm._u([{key:\"placeholder\",fn:function(){return [_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\",\"size\":\"30\"}})]},proxy:true}],null,true)}):_c('v-img',{attrs:{\"contain\":\"\",\"max-height\":\"55\",\"max-width\":\"55\",\"src\":require('@/assets/noimage.jpg')},on:{\"click\":function($event){return _vm.showItem(line)}}})],1)],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(line.Article.ArticleDescription)+\" \")]),_vm._v(\" \"+_vm._s(line.Article.ArticleNumber)+\" \"),_c('v-list-item-subtitle')],1),_vm._v(\" \"+_vm._s(line.ArticlePrice ? _vm.formatWithoutCurrency(line.ArticlePrice) : '')+\" \"),_c('v-list-item-action',{staticClass:\"ma-0\"},[_c('v-btn',{staticClass:\"pl-1 pr-1\",attrs:{\"icon\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.deleteItem(line)}}},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1)],1)],1)}),1),_c('div',{staticClass:\"text-right mr-3\"},[_vm._v(\" Machine total: \"+_vm._s(_vm.formatWithoutCurrency(_vm.getPartialSum(cart)))+\" \")])],1)],1),_c('v-divider',{key:'divider-'+ index})]})],2),_c('div',{staticClass:\"grey_to_transparent_gradient\",staticStyle:{\"position\":\"fixed\",\"bottom\":\"0\",\"left\":\"0\",\"width\":\"100%\",\"height\":\"100px\"}},[_c('v-btn',{staticStyle:{\"position\":\"fixed\",\"bottom\":\"2%\",\"left\":\"2%\",\"width\":\"96%\",\"height\":\"60px\"},attrs:{\"disabled\":!_vm.canOrder,\"color\":\"primary\"},on:{\"click\":function($event){return _vm.sendOrderConfirmedEvent()}}},[_vm._v(_vm._s(_vm.$t(\"text.order_now\")))])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"," \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Component3.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Component3.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Component3.vue?vue&type=template&id=38910960&scoped=true&\"\nimport script from \"./Component3.vue?vue&type=script&lang=js&\"\nexport * from \"./Component3.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Component3.vue?vue&type=style&index=0&id=38910960&prod&lang=scss&scoped=true&\"\nimport style1 from \"./Component3.vue?vue&type=style&index=1&id=38910960&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"38910960\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Component3.vue?vue&type=style&index=1&id=38910960&prod&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Component3.vue?vue&type=style&index=0&id=38910960&prod&lang=scss&scoped=true&\""],"sourceRoot":""}