{"version":3,"sources":["webpack:///./src/views/questionnaires/Payment/paymentHelpers.js","webpack:///./src/mixins/currencyFormat.js","webpack:///./src/views/questionnaires/Payment/index.vue","webpack:///./src/components/common/questionnaires/fieldsets/payment/CardForm.vue","webpack:///./src/components/common/questionnaires/question/questions/payment/CardNumber.vue","webpack:///src/components/common/questionnaires/question/questions/payment/CardNumber.vue","webpack:///./src/components/common/questionnaires/question/questions/payment/CardNumber.vue?3553","webpack:///./src/components/common/questionnaires/question/questions/payment/CardNumber.vue?be21","webpack:///./src/components/common/questionnaires/question/questions/payment/CardHolder.vue","webpack:///src/components/common/questionnaires/question/questions/payment/CardHolder.vue","webpack:///./src/components/common/questionnaires/question/questions/payment/CardHolder.vue?18c2","webpack:///./src/components/common/questionnaires/question/questions/payment/CardHolder.vue?8506","webpack:///./src/components/common/questionnaires/question/questions/payment/CardDetails.vue","webpack:///src/components/common/questionnaires/question/questions/payment/CardDetails.vue","webpack:///./src/components/common/questionnaires/question/questions/payment/CardDetails.vue?8089","webpack:///./src/components/common/questionnaires/question/questions/payment/CardDetails.vue?bede","webpack:///src/components/common/questionnaires/fieldsets/payment/CardForm.vue","webpack:///./src/components/common/questionnaires/fieldsets/payment/CardForm.vue?b570","webpack:///./src/components/common/questionnaires/fieldsets/payment/CardForm.vue?36f5","webpack:///src/views/questionnaires/Payment/index.vue","webpack:///./src/views/questionnaires/Payment/index.vue?62ae","webpack:///./src/views/questionnaires/Payment/index.vue?ac23","webpack:///./src/views/questionnaires/loadHelpers.js"],"names":["paymentHelpers","mixins","toast","mounted","window","c_1","this","methods","clearErrors","httpQuestionnaire","post","form","then","async","console","log","response","data","success","action","show","loading","orderId","order_id","addAuthenticateElement","element","catch","error","handleErrors","keys","Object","errors","i","y","length","toastError","newElement","elem","document","getElementById","innerHTML","querySelectorAll","forEach","x","script","createElement","appendChild","createTextNode","innerText","currencyFormat","currency","number","formatter","Intl","NumberFormat","style","minimumFractionDigits","maximumFractionDigits","format","currencyInvoice","render","_vm","_c","_self","attrs","title","scopedSlots","_u","key","fn","ref","tag","model","value","callback","$$v","expression","load","$options","components","directives","name","rawName","_e","proxy","staticRenderFns","staticClass","_v","paymentRequest","_s","amount","invoice","total","transaction","type","clientNameList","clients","on","pay","question","errorsPost","security_code","db","argsNumber","skipped","$event","serverErrors","jsErrors","$set","argsSecurity","component","full_name","argsFullName","expiry_month","expiry_year","argsMonth","argsYear","loadHelpers","clone","$route","params","code","$store","commit","dispatch","fetchAccessCodeDetails","coupon","clientId","client_id","willId","will_id","lpaId","lpa_id","estatePlanningSurveyId","survey_id","mortgageSurveyId","mortgage_survey_id","mortgagePropertyId","mortgage_property_id","storageId","storage_id","vaultId","vault_id","transactionId","transaction_id","$nextTick","fetchData","beforeDestroy","computed","getters","accessCode","codeDetails","accessCodeDetails","couponDetails","questionsLoaded","setQuestions","get","url","client","family","people","storeExtraGetData","multipleSameFieldSetsConfig","loadFieldSetMultiple","order","timeout","formFieldSetData","componentBaseName","unshift","comp","Promise","resolve","ms","setTimeout"],"mappings":"kHAAA,8DAGO,MAAMA,EAAiB,CAC1BC,OAAQ,CAACC,QACTC,UAEIC,OAAOC,IAAMC,MAEjBC,QAAS,CACL,YAuBI,OAtBAD,KAAKE,cACLC,OAAkBC,KAAK,UAAWJ,KAAKK,MAAMC,KACzCC,UACIC,QAAQC,IAAIC,EAASC,MAErB,IAAIA,EAAOD,EAASC,KAEhBA,EAAKC,SAA2B,sBAAhBD,EAAKE,QACrBb,KAAKc,KAAKC,SAAU,EACpBf,KAAKc,KAAKF,SAAU,EACpBZ,KAAKc,KAAKE,QAAUN,EAASC,KAAKM,UAC3BN,EAAKC,SAA2B,yBAAhBD,EAAKE,SAC5BL,QAAQC,IAAI,8BACNT,KAAKkB,uBAAuBP,EAAKQ,YAGjDC,MACEC,IACIb,QAAQC,IAAIY,GACZrB,KAAKsB,aAAaD,EAAMX,SAASC,SAGlC,GAEXW,aAAaX,GACT,GAAI,WAAYA,EAAM,CAElB,IAAIY,EAAOC,OAA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F,EAAOnK,KAAKgH,MAAMhH,KAAK4J,4BAA4BpD,WACvD2D,EAAKxF,KAAOA,EACZ3E,KAAKsG,KAAKtG,KAAKwE,SAASC,WAAYE,EAAMwF,GAE9C,OAAOC,QAAQC,WAEnB,cAAcC,GAEV,OAAO,IAAIF,QAAQC,GAAWE,WAAWF,EAASC","file":"js/chunk-6b339594.9642cf96.js","sourcesContent":["import {httpQuestionnaire} from \"@/services\";\nimport {toast} from '@/mixins/toast'\n\nexport const paymentHelpers = {\n mixins: [toast],\n mounted() {\n // required for iframe access to this files methods\n window.c_1 = this\n },\n methods: {\n async pay() {\n this.clearErrors()\n httpQuestionnaire.post('payment', this.form).then(\n async response => {\n console.log(response.data)\n\n let data = response.data\n\n if (data.success && data.action === 'PAYMENT_PROCESSED') {\n this.show.loading = false;\n this.show.success = true;\n this.show.orderId = response.data.order_id;\n } else if (data.success && data.action === 'AUTHENTICATE_BROWSER') {\n console.log('authenticate browser')\n await this.addAuthenticateElement(data.element)\n }\n }\n ).catch(\n error => {\n console.log(error)\n this.handleErrors(error.response.data)\n }\n )\n return true\n },\n handleErrors(data) {\n if ('errors' in data) {\n // first data response errors\n let keys = Object.keys(data.errors);\n for (let i in keys) {\n if (keys[i] === 'non_field_errors') {\n for (let y = 0; y < data.errors[keys[i]].length; y++) {\n this.toastError(data.errors[keys[i]][y])\n }\n }\n this.errors[keys[i]] = data.errors[keys[i]];\n }\n } else {\n // server form serializer errors\n let keys = Object.keys(data);\n for (let i in keys) {\n if (keys[i] === 'non_field_errors') {\n for (let y = 0; y < data[keys[i]].length; y++) {\n this.toastError(data[keys[i]][y])\n }\n }\n this.errors[keys[i]] = data[keys[i]];\n }\n }\n },\n clearErrors() {\n // clear server for serializer errors\n let keys = Object.keys(this.errors);\n for (let i in keys) {\n this.errors[keys[i]] = [];\n }\n },\n async addAuthenticateElement(newElement) {\n console.log('add browser auth element', newElement)\n // adds and run javascript for authenticate 3ds\n // let existingElement = document.getElementById(name)\n // if (existingElement) existingElement.remove()\n\n // remove previous elements created\n var elem = document.getElementById('promptModalContent')\n elem.innerHTML = newElement\n\n elem.querySelectorAll(\"script\")\n .forEach(x => {\n var script = document.createElement(\"script\");\n script.appendChild(document.createTextNode(x.innerText));\n elem.appendChild(script)\n }\n )\n return true\n },\n }\n}\n","export const currencyFormat = {\n methods: {\n currency(number) {\n if (!number) return '--'\n var formatter = new Intl.NumberFormat('en-GB', {\n style: 'currency',\n currency: 'GBP',\n minimumFractionDigits: 0,\n maximumFractionDigits: 0\n });\n\n return formatter.format(number);\n },\n currencyInvoice(number) {\n var formatter = new Intl.NumberFormat('en-GB', {\n style: 'currency',\n currency: 'GBP',\n minimumFractionDigits: 2,\n maximumFractionDigits: 2\n });\n\n return formatter.format(number);\n }\n }\n};\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('QuestionnaireBase',{attrs:{\"title\":_vm.title,\"form\":_vm.form,\"finishFunction\":null,\"showNavigationButtons\":false},scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c(_vm.show,{key:1,ref:_vm.show,tag:\"component\",model:{value:(_vm.form),callback:function ($$v) {_vm.form=$$v},expression:\"form\"}}),(_vm.load in _vm.$options.components)?_c(_vm.load,{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}],key:\"load\",ref:_vm.load,tag:\"component\",model:{value:(_vm.form),callback:function ($$v) {_vm.form=$$v},expression:\"form\"}}):_vm._e()]},proxy:true}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"fieldset\"},[_c('h3',{staticClass:\"fieldset-heading\"},[_vm._v(\"Request for Payment\")]),(_vm.paymentRequest)?[_c('p',[_vm._v(\" Please pay \"+_vm._s(_vm.currencyInvoice(_vm.paymentRequest.amount))+\" for invoice totaling \"+_vm._s(_vm.currencyInvoice(_vm.paymentRequest.invoice.total))+\" for \"+_vm._s(_vm.paymentRequest.invoice.transaction.type)+\" services provided to \"+_vm._s(_vm.clientNameList({clients: _vm.paymentRequest.invoice.transaction.clients}))+\". \")])]:_vm._e(),_c('CardNumber',{attrs:{\"errors-post\":_vm.errors},model:{value:(_vm.form),callback:function ($$v) {_vm.form=$$v},expression:\"form\"}}),_c('CardDetails',{attrs:{\"errors-post\":_vm.errors},model:{value:(_vm.form),callback:function ($$v) {_vm.form=$$v},expression:\"form\"}}),_c('CardHolder',{attrs:{\"errors-post\":_vm.errors},model:{value:(_vm.form),callback:function ($$v) {_vm.form=$$v},expression:\"form\"}}),_c('b-button',{on:{\"click\":_vm.pay}},[_vm._v(\"Pay\")])],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('QuestionBase',{attrs:{\"question\":_vm.question,\"errors\":[..._vm.errorsPost.number, ..._vm.errorsPost.security_code],\"valid\":!!_vm.form.number && !!_vm.form.security_code}},[_c('div',{staticClass:\"question-multipart-wrapper d-flex flex-wrap align-items-end\"},[_c('div',{staticClass:\"question question-multipart field-66\"},[_c('label',[_vm._v(\"Card Number\")]),_c('InputBasic',{attrs:{\"errors-post\":_vm.errorsPost.number,\"db\":_vm.db,\"args\":_vm.argsNumber,\"skipped\":_vm.skipped,\"noSave\":true},on:{\"skipped\":function($event){_vm.skipped=$event},\"serverErrors\":function($event){_vm.serverErrors=$event},\"jsErrors\":function($event){_vm.jsErrors=$event}},model:{value:(_vm.form.number),callback:function ($$v) {_vm.$set(_vm.form, \"number\", $$v)},expression:\"form.number\"}})],1),_c('div',{staticClass:\"question question-multipart field-33\"},[_c('label',[_vm._v(\"Security Code\")]),_c('InputBasic',{attrs:{\"errors-post\":_vm.errorsPost.security_code,\"db\":_vm.db,\"args\":_vm.argsSecurity,\"skipped\":_vm.skipped,\"noSave\":true},on:{\"skipped\":function($event){_vm.skipped=$event},\"serverErrors\":function($event){_vm.serverErrors=$event},\"jsErrors\":function($event){_vm.jsErrors=$event}},model:{value:(_vm.form.security_code),callback:function ($$v) {_vm.$set(_vm.form, \"security_code\", $$v)},expression:\"form.security_code\"}})],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardNumber.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!./CardNumber.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CardNumber.vue?vue&type=template&id=ffdee4ba\"\nimport script from \"./CardNumber.vue?vue&type=script&lang=js\"\nexport * from \"./CardNumber.vue?vue&type=script&lang=js\"\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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('QuestionBase',{attrs:{\"question\":_vm.question,\"errors\":[..._vm.errorsPost.full_name],\"valid\":!!_vm.form.full_name}},[_c('div',{staticClass:\"question-multipart-wrapper d-flex flex-wrap align-items-end\"},[_c('div',{staticClass:\"question question-multipart field-40\"},[_c('label',[_vm._v(\"Full Name\")]),_c('InputBasic',{attrs:{\"errors-post\":_vm.errorsPost.full_name,\"db\":_vm.db,\"args\":_vm.argsFullName,\"skipped\":_vm.skipped,\"noSave\":true},on:{\"skipped\":function($event){_vm.skipped=$event},\"serverErrors\":function($event){_vm.serverErrors=$event},\"jsErrors\":function($event){_vm.jsErrors=$event}},model:{value:(_vm.form.full_name),callback:function ($$v) {_vm.$set(_vm.form, \"full_name\", $$v)},expression:\"form.full_name\"}})],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardHolder.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!./CardHolder.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CardHolder.vue?vue&type=template&id=f1e9696a\"\nimport script from \"./CardHolder.vue?vue&type=script&lang=js\"\nexport * from \"./CardHolder.vue?vue&type=script&lang=js\"\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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('QuestionBase',{attrs:{\"question\":_vm.question,\"errors\":[..._vm.errorsPost.expiry_month, ..._vm.errorsPost.expiry_year],\"valid\":!!_vm.form.expiry_month && !!_vm.form.expiry_year}},[_c('div',{staticClass:\"question-multipart-wrapper d-flex flex-wrap align-items-end\"},[_c('div',{staticClass:\"question question-multipart field-20\"},[_c('label',[_vm._v(\"Expiry Month\")]),_c('InputBasic',{attrs:{\"errors-post\":_vm.errorsPost.expiry_month,\"db\":_vm.db,\"args\":_vm.argsMonth,\"skipped\":_vm.skipped,\"noSave\":true},on:{\"skipped\":function($event){_vm.skipped=$event},\"serverErrors\":function($event){_vm.serverErrors=$event},\"jsErrors\":function($event){_vm.jsErrors=$event}},model:{value:(_vm.form.expiry_month),callback:function ($$v) {_vm.$set(_vm.form, \"expiry_month\", $$v)},expression:\"form.expiry_month\"}})],1),_c('div',{staticClass:\"question question-multipart field-20\"},[_c('label',[_vm._v(\"Expiry Year\")]),_c('InputBasic',{attrs:{\"errors-post\":_vm.errorsPost.expiry_year,\"db\":_vm.db,\"args\":_vm.argsYear,\"skipped\":_vm.skipped,\"noSave\":true},on:{\"skipped\":function($event){_vm.skipped=$event},\"serverErrors\":function($event){_vm.serverErrors=$event},\"jsErrors\":function($event){_vm.jsErrors=$event}},model:{value:(_vm.form.expiry_year),callback:function ($$v) {_vm.$set(_vm.form, \"expiry_year\", $$v)},expression:\"form.expiry_year\"}})],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardDetails.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!./CardDetails.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CardDetails.vue?vue&type=template&id=0ba157f8\"\nimport script from \"./CardDetails.vue?vue&type=script&lang=js\"\nexport * from \"./CardDetails.vue?vue&type=script&lang=js\"\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","\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/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardForm.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!./CardForm.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CardForm.vue?vue&type=template&id=5e93208f\"\nimport script from \"./CardForm.vue?vue&type=script&lang=js\"\nexport * from \"./CardForm.vue?vue&type=script&lang=js\"\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","\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/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.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!./index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=6a4d55de\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\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","import {httpQuestionnaire} from '@/services'\nimport {toast} from '@/mixins/toast'\nimport { clone } from \"@/mixins/clone\";\n\nexport const loadHelpers = {\n mixins: [toast, clone],\n mounted() {\n if (this.$route.params.code) {\n // clear tokens if logged in\n this.$store.commit('removeTokens');\n // client one time access via code\n this.$store.dispatch('setClientAuthorizationHeader', this.$route.params.code)\n this.$store.commit('accessCode', this.$route.params.code)\n // get details of the access code, used for displaying registration form\n this.fetchAccessCodeDetails()\n } else if (this.$route.params.coupon) {\n // Coupon access\n this.$store.commit('removeTokens');\n // client one time access via Coupon\n this.$store.dispatch('setClientAuthorizationHeader', this.$route.params.coupon)\n this.$store.commit('accessCode', this.$route.params.coupon)\n } else {\n // client or introducer access (logged in version)\n let params = {}\n if (this.$route.params.clientId) params.client_id = this.$route.params.clientId\n if (this.$route.params.willId) params.will_id = this.$route.params.willId\n if (this.$route.params.lpaId) params.lpa_id = this.$route.params.lpaId\n if (this.$route.params.estatePlanningSurveyId) params.survey_id = this.$route.params.estatePlanningSurveyId\n if (this.$route.params.mortgageSurveyId) params.mortgage_survey_id = this.$route.params.mortgageSurveyId\n if (this.$route.params.mortgagePropertyId) params.mortgage_property_id = this.$route.params.mortgagePropertyId\n if (this.$route.params.storageId) params.storage_id = this.$route.params.storageId\n if (this.$route.params.vaultId) params.vault_id = this.$route.params.vaultId\n if (this.$route.params.transactionId) params.transaction_id = this.$route.params.transactionId\n\n this.$store.dispatch('setIntroducerClientIDAuthorizationHeader', params)\n }\n this.$nextTick(() => {\n this.fetchData()\n })\n },\n beforeDestroy() {\n this.$store.dispatch('resetQuestionnaire')\n },\n computed: {\n code() {\n return this.$store.getters.accessCode\n },\n codeDetails() {\n return this.$store.getters.accessCodeDetails\n },\n couponDetails() {\n return this.$store.getters.coupon\n },\n questionsLoaded() {\n return this.$store.getters.questionsLoaded\n }\n },\n data() {\n return {\n data: null, // store original data\n form: {},\n show: null,\n load: null // load individual fieldset\n }\n },\n methods: {\n fetchData(setQuestions=true) {\n console.log('fetch data')\n // clear existing questionnaires\n this.$store.commit('fieldSetsClear')\n this.$store.commit('questionsLoaded', false)\n this.$store.commit('questionLoadError', false)\n this.$store.commit('questionLoadError401', false)\n // fetch data from server\n httpQuestionnaire.get(this.url).then(\n response => {\n // set form data and keep in sync with v-model on questions for progress\n this.data = response.data\n this.form = response.data.form\n this.$store.commit('client', response.data.client)\n this.$store.commit('family', response.data.family)\n this.$store.commit('people', response.data.people)\n if (this.storeExtraGetData) this.storeExtraGetData(response.data)\n if (setQuestions) this.setQuestions()\n }\n ).catch(\n error => {\n console.log(error.response)\n console.log('fetch data error')\n // fetch access code details below handles the error message todo with access problems\n }\n )\n },\n fetchAccessCodeDetails() {\n httpQuestionnaire.get('client_access_code_detail').then(\n response => {\n this.$store.commit('accessCodeDetails', response.data)\n }\n ).catch(\n error => {\n console.log(error)\n this.$store.commit('accessCodeDetails', error.response.data)\n this.$store.commit('questionLoadError', true)\n }\n )\n },\n async setQuestions() {\n if (this.multipleSameFieldSetsConfig) {\n console.log('multiple same field')\n await this.loadFieldSetMultiple()\n }\n // load questions into dom in order to set store questions properties for progress calculations\n for (var i = this.order.length - 1; i >= 0; i--) {\n console.log(i)\n this.show = this.order[i]\n console.log('show = ', this.show, this.order)\n // wait for components to load before moving to next fieldset\n await this.timeout(70)\n }\n\n // load first fieldset\n console.log(this.order[0])\n\n this.show = this.order[0]\n console.log(this.order)\n\n this.$nextTick(() => {\n console.log('questions loaded')\n this.$store.commit('questionsLoaded', true)\n })\n },\n async loadFieldSetMultiple() {\n // loads multiple field sets that are the same\n // if fieldset is the same (loop)\n for (let i = 0; i < this.form[this.multipleSameFieldSetsConfig.formFieldSetData].length; i++) {\n // add component to order to show/navigation\n let name = `${this.multipleSameFieldSetsConfig.componentBaseName}${i}`\n this.order.unshift(name)\n // add component to components\n let comp = this.clone(this.multipleSameFieldSetsConfig.component)\n comp.name = name\n this.$set(this.$options.components, name, comp)\n }\n return Promise.resolve()\n },\n async timeout(ms) {\n // pass a time in milliseconds to this function\n return new Promise(resolve => setTimeout(resolve, ms));\n }\n }\n}\n"],"sourceRoot":""}