{"version":3,"sources":["webpack:///./src/app/reservation/views/Booking.vue","webpack:///./src/app/reservation/views/Booking.vue?f004","webpack:///./src/app/reservation/views/Booking.vue?2e72","webpack:///./src/app/reservation/views/Booking.vue?c58e"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","i18n","getRezToursLanguageEnum","bookingConfirmed","_v","attrs","referenceNumber","getInvoice","invoice","on","onClickOpenPDF","toUpperCase","onClickHome","home","staticRenderFns","Booking","$tStore","state","reservationState","length","$router","push","name","RoutesEnum","Package","query","InvoicePrintURLQuery","file","$apiManager","getPrintURLAsync","printModel","window","open","url","Mixins","BeforeRouteEnterMixin","Component","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,aAAa,CAACH,EAAG,MAAM,CAACG,YAAY,+CAA+C,CAACH,EAAG,MAAM,CAACG,YAAY,oCAAoC,CAACH,EAAG,MAAM,CAACG,YAAY,sCAAsC,CAACH,EAAG,OAAO,CAACI,SAAS,CAAC,UAAYN,EAAIO,GAAGP,EAAIQ,KAAKR,EAAIS,wBAAwBC,iBAAkB,gCAAgCV,EAAIW,GAAG,KAAKT,EAAG,MAAM,CAACG,YAAY,oDAAoD,CAACH,EAAG,WAAW,CAACG,YAAY,iBAAiBO,MAAM,CAAC,KAAO,CAAC,MAAM,oBAAoB,GAAGZ,EAAIW,GAAG,KAAKT,EAAG,MAAM,CAACG,YAAY,6DAA6D,CAACL,EAAIW,GAAG,qBAAqBX,EAAIO,GAAGP,EAAIQ,KAAKR,EAAIS,wBAAwBI,kBAAkB,qBAAqBb,EAAIW,GAAG,KAAKT,EAAG,MAAM,CAACG,YAAY,6CAA6C,CAACL,EAAIW,GAAG,qBAAqBX,EAAIO,GAAGP,EAAIc,WAAWC,SAAS,oBAAoBf,EAAIW,GAAG,KAAKT,EAAG,MAAM,CAACG,YAA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OAAWC,cACxC,EA3BuB,CAASU,eAAOC,SAAvBpB,EAAO,gBAD3BqB,QACoBrB,WCP6Y,I,YCOlasB,EAAY,eACd,EACA7C,EACAsB,GACA,EACA,KACA,KACA,MAIa,aAAAuB,E","file":"js/chunk-2d0a4b44.475cacc2.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"productResume box-booking pt-3 mb-4 pt-md-5\"},[_c('div',{staticClass:\"d-flex flex-column title-booking\"},[_c('div',{staticClass:\"d-flex justify-content-center pt-4\"},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.bookingConfirmed, `
`))}})]),_vm._v(\" \"),_c('div',{staticClass:\"d-flex justify-content-center icons-booking pt-4\"},[_c('pcv-icon',{staticClass:\"icon-animation\",attrs:{\"icon\":['fal','file-invoice']}})],1),_vm._v(\" \"),_c('div',{staticClass:\"d-flex justify-content-center title-reference-number pt-4\"},[_vm._v(\"\\n \"+_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.referenceNumber))+\":\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"d-flex justify-content-center number-type\"},[_vm._v(\"\\n \"+_vm._s(_vm.getInvoice.invoice)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"d-flex justify-content-center mt-5\"},[_c('div',[_c('div',{staticClass:\"d-flex justify-content-center\"},[_c('button',{staticClass:\"b-primary pl-2\",on:{\"click\":_vm.onClickOpenPDF}},[_c('pcv-icon',{staticClass:\"b-primary__icon pl-1\",attrs:{\"icon\":['fal','arrow-to-bottom']}}),_vm._v(\" \"),_c('div',{staticClass:\"b-primary__tag\"},[_c('span',[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.getInvoice).toUpperCase()))])])],1)]),_vm._v(\" \"),_c('div',{staticClass:\"d-flex justify-content-center mb-5\"},[_c('button',{staticClass:\"b-secondary mt-4 mb-5\",on:{\"click\":_vm.onClickHome}},[_c('pcv-icon',{staticClass:\"b-secondary__icon pl-3\",attrs:{\"icon\":['fal','home-lg']}}),_vm._v(\" \"),_c('div',{staticClass:\"b-secondary__tag\"},[_c('span',[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.home)))])])],1)])])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n import { Component, Vue, Mixins } from \"vue-property-decorator\";\r\n import BeforeRouteEnterMixin from \"@/mixins/beforeRouteEnterMixin\";\r\n import RoutesEnum from \"@/router/routesEnum\";\r\n import { InvoiceCreateModel, InvoicePrintURLModel, InvoicePrintURLQuery } from \"@/apiManager/invoice/invoiceData\";\r\n\r\n @Component\r\n export default class Booking extends Mixins(BeforeRouteEnterMixin)\r\n {\r\n get getInvoice() : InvoiceCreateModel\r\n {\r\n return this.$tStore.state.reservationState.invoice;\r\n }\r\n\r\n async beforeMount()\r\n {\r\n if (this.getInvoice.invoice.length === 0)\r\n {\r\n this.$router.push({ name: RoutesEnum.Package });\r\n }\r\n }\r\n\r\n async onClickOpenPDF()\r\n {\r\n let query: InvoicePrintURLQuery = new InvoicePrintURLQuery(this.getInvoice.invoice, this.getInvoice.file);\r\n\r\n let printModel: InvoicePrintURLModel = await this.$apiManager.invoice.getPrintURLAsync(query);\r\n\r\n window.open(printModel.url);\r\n }\r\n\r\n onClickHome()\r\n {\r\n this.$router.push({ name: RoutesEnum.Package });\r\n }\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Booking.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Booking.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Booking.vue?vue&type=template&id=f0ffec10&\"\nimport script from \"./Booking.vue?vue&type=script&lang=ts&\"\nexport * from \"./Booking.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":""}