{"version":3,"sources":["webpack:///./src/components/InputAmount.vue?524a","webpack:///./src/components/InputAmount.vue?dc81","webpack:///./src/components/InputAmount.vue?c693","webpack:///./src/components/InputAmount.vue?f203","webpack:///./src/components/InputAmount.vue","webpack:///./src/components/Base/BaseIconAlert.vue?1264","webpack:///./src/components/Base/BaseIconAlert.vue?a33e","webpack:///./src/components/Base/BaseIconAlert.vue?27e6","webpack:///./src/components/Base/BaseIconAlert.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","class","variant","attrs","disabled","value","on","subtract","min","iMax","placeholder","domProps","aantal","$event","handleInput","target","add","staticRenderFns","name","props","type","Number","default","max","String","Boolean","computed","methods","parseFloat","$emit","component","icon","size","_t","required"],"mappings":"gHAAA,yBAA0iB,EAAG,G,oCCA7iB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,SAAS,CAACE,YAAY,aAAaC,MAAO,OAASP,EAAIQ,QAASC,MAAM,CAAC,KAAO,SAAS,SAAW,KAAK,SAAWT,EAAIU,UAAYV,EAAIW,OAAS,GAAGC,GAAG,CAAC,MAAQZ,EAAIa,WAAW,CAACT,EAAG,oBAAoB,CAACK,MAAM,CAAC,KAAO,YAAY,KAAKL,EAAG,QAAQ,CAACE,YAAY,0BAA0BG,MAAM,CAAC,KAAO,SAAS,IAAMT,EAAIc,IAAI,IAAMd,EAAIe,KAAK,YAAcf,EAAIgB,YAAY,KAAO,MAAM,KAAO,KAAK,SAAWhB,EAAIU,UAAUO,SAAS,CAAC,MAAQjB,EAAIkB,QAAQN,GAAG,CAAC,MAAQ,SAASO,GAAQ,OAAOnB,EAAIoB,YAAYD,EAAOE,OAAOV,WAAWP,EAAG,MAAM,CAACE,YAAY,sBAAsB,CAACF,EAAG,SAAS,CA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ACL,EAAG,MAAM,CAACE,YAAY,OAAO,CAACF,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,oBAAoB,CAACE,YAAY,oBAAoBG,MAAM,CAAC,KAAOT,EAAIqC,KAAK,KAAOrC,EAAIsC,SAAS,GAAGlC,EAAG,MAAM,CAACE,YAAY,OAAO,CAACN,EAAIuC,GAAG,YAAY,QAC1YhB,EAAkB,GCiBP,GACbC,KAAM,gBACNC,MAAO,CACLY,KAAM,CACJX,KAAMI,OACNU,UAAU,GAEZd,KAAM,CACJA,KAAMI,OACNU,UAAU,GAEZF,KAAM,CACJZ,KAAMI,OACNF,QAAS,QC/B2Y,I,YCOtZQ,EAAY,eACd,EACArC,EACAwB,GACA,EACA,KACA,KACA,MAIa,OAAAa,E","file":"js/chunk-5ea90e5e.abf4ffb137ed0dfc88ce.js","sourcesContent":["import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputAmount.vue?vue&type=style&index=0&id=4282e488&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputAmount.vue?vue&type=style&index=0&id=4282e488&scoped=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group\"},[_c('div',{staticClass:\"input-group-prepend\"},[_c('button',{staticClass:\"btn btn-sm\",class:(\"btn-\" + _vm.variant),attrs:{\"type\":\"button\",\"tabindex\":\"-1\",\"disabled\":_vm.disabled || _vm.value <= 0},on:{\"click\":_vm.subtract}},[_c('font-awesome-icon',{attrs:{\"icon\":\"minus\"}})],1)]),_c('input',{staticClass:\"form-control text-right\",attrs:{\"type\":\"number\",\"min\":_vm.min,\"max\":_vm.iMax,\"placeholder\":_vm.placeholder,\"step\":\"any\",\"lang\":\"nl\",\"disabled\":_vm.disabled},domProps:{\"value\":_vm.aantal},on:{\"input\":function($event){return _vm.handleInput($event.target.value)}}}),_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-sm\",class:(\"btn-\" + _vm.variant),attrs:{\"type\":\"button\",\"tabindex\":\"-1\",\"disabled\":_vm.disabled},on:{\"click\":_vm.add}},[_c('font-awesome-icon',{attrs:{\"icon\":\"plus\"}})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nexport default {\n name: \"InputAmount\",\n props: {\n value: {\n type: Number,\n default: null\n },\n placeholder: {\n type: Number,\n default: 0\n },\n min: {\n type: Number,\n default: 0\n },\n max: {\n type: Number,\n default: 9999\n },\n variant: {\n type: String,\n default: \"outline-secondary\"\n },\n disabled: {\n type: Boolean,\n default: false\n }\n },\n computed: {\n aantal() {\n return this.value;\n },\n iMax() {\n if (this.max === null) {\n return 9999;\n }\n\n return this.max;\n }\n },\n methods: {\n handleInput(value) {\n value = parseFloat(value);\n\n if (!value) {\n this.$emit(\"input\", null);\n return;\n }\n\n this.$emit(\"input\", value);\n },\n add() {\n if (this.value === null) {\n this.$emit(\"input\", 1);\n return;\n }\n\n this.$emit(\"input\", this.value + 1);\n },\n subtract() {\n if (!this.value) {\n return;\n }\n\n if (this.value === 1) {\n this.$emit(\"input\", null);\n return;\n }\n\n this.$emit(\"input\", this.value - 1);\n }\n }\n};\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputAmount.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputAmount.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InputAmount.vue?vue&type=template&id=4282e488&scoped=true&\"\nimport script from \"./InputAmount.vue?vue&type=script&lang=ts&\"\nexport * from \"./InputAmount.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InputAmount.vue?vue&type=style&index=0&id=4282e488&scoped=true&lang=scss&\"\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 \"4282e488\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"alert\",class:'alert-' + _vm.type,attrs:{\"role\":\"alert\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-auto pr-1\"},[_c('font-awesome-icon',{staticClass:\"text-center h-100\",attrs:{\"icon\":_vm.icon,\"size\":_vm.size}})],1),_c('div',{staticClass:\"col\"},[_vm._t(\"default\")],2)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nexport default {\n name: \"BaseIconAlert\",\n props: {\n icon: {\n type: String,\n required: true\n },\n type: {\n type: String,\n required: true\n },\n size: {\n type: String,\n default: \"lg\"\n }\n }\n};\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/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BaseIconAlert.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BaseIconAlert.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BaseIconAlert.vue?vue&type=template&id=68cc673d&\"\nimport script from \"./BaseIconAlert.vue?vue&type=script&lang=ts&\"\nexport * from \"./BaseIconAlert.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}