{"version":3,"sources":["webpack:///./src/components/wizard/balance/WizardStepBalance.vue?559e","webpack:///./src/utilities/FileProcess.ts","webpack:///./src/components/wizard/BaseWizard.vue?7d6d","webpack:///./src/components/wizard/BaseWizard.vue","webpack:///./src/components/wizard/BaseWizard.vue?77f9","webpack:///./src/components/wizard/BaseWizard.vue?cd16","webpack:///./src/views/Balance.vue?a7f3","webpack:///./src/components/wizard/balance/WizardStepBalance.vue?bbe3","webpack:///./src/components/wizard/balance/WizardStepBalance.vue","webpack:///./src/components/wizard/balance/WizardStepBalance.vue?7e2d","webpack:///./src/components/wizard/balance/WizardStepBalance.vue?3311","webpack:///./src/views/Balance.vue","webpack:///./src/views/Balance.vue?3935","webpack:///./src/views/Balance.vue?2f32"],"names":["FileProcess","data","fileName","window","navigator","msSaveBlob","fileURL","URL","createObjectURL","fileLink","document","createElement","href","setAttribute","body","appendChild","click","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_t","staticRenderFns","BaseWizard","Vue","Component","component","directives","name","rawName","value","expression","staticStyle","scopedSlots","_u","key","fn","_v","proxy","componentKey","getSelectedProduct","visible","_e","transitionName","isExactActive","ref","id","WizardBaseStepTitle","processing","class","_f","CreditOrDebit","_s","AccountBalance","variant","html","modifiers","OverdueBalance","getBalanceDetails","EmptyBalanceInformation","bordered","striped","BalanceInformationDetail","InvoiceFields","invoiceUnavailable","item","InvoiceDate","InvoiceNo","invalidInvoiceNo","on","$event","onClick","DataCollectionDate","DownloadPDF","DownloadXlsx","Auth","namespace","GasAccounts","Balance","Invoices","WizardStepBalance","GtagHelper","label","formatter","formatDate","formatCurrency","invoiceNo","$refs","style","display","accountNum","getSelectedAccount","userId","getUserId","invoiceDownload","then","fileProcess","catch","reason","console","error","log","getDownloadFileData","Event","GetBalanceDetails","watchGasAccountSelection","$store","watch","state","getters","newValue","oldValue","submitGetBalanceDetails","accountNumber","submitDownloadDDManadate","downlaodFile","getDownloadBalanceFileData","submitDownloadBalanceXlsx","success","submitDownloadBalancePDF","watchSelectedProduct","invoiceDate","result","moment","isBefore","substring","format","Intl","NumberFormat","currency","replace","trim","__decorate","Prop","type","String","default","Boolean","Getter","Action","components","WizardBaseStep","filters","setBadgeStatus","Products","to","from","undefined","toDepth","split","length","fromDepth","rv","setMprnSelectionDisabled","setAgreementSelectionDisabled","Watch","immediate","deep","Mutation","BasePage"],"mappings":"kHAAA,W,kGCAaA,G,kDAAb,kGAEW,SAAaC,EAAmBC,GACnC,GAAY,MAARD,EACA,OAAO,EAGX,GAAIE,OAAOC,WAAaD,OAAOC,UAAUC,WAErC,OADAF,OAAOC,UAAUC,WAAYJ,EAAeC,IACrC,EAEP,IAAMI,EAAUH,OAAOI,IAAIC,gBAAiBP,GACtCQ,EAAWC,SAASC,cAAc,KAKxC,OAJAF,EAASG,KAAON,EAChBG,EAASI,aAAa,WAAYX,GAClCQ,SAASI,KAAKC,YAAYN,GAC1BA,EAASO,SACF,MAjBnB,O,6DCAA,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,YAAYC,MAAM,CAAC,KAAO,YAAY,CAACP,EAAIQ,GAAG,YAAY,IAC5KC,EAAkB,G,wECUDC,EAAU,qJAASC,QAAnBD,EAAU,gBAD9BE,QACoBF,WCXkY,I,YCOnZG,EAAY,eACd,EACAd,EACAU,GACA,EACA,KACA,KACA,MAIa,OAAAI,E,kDClBf,IAAId,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,YAAY,CAACA,EAAG,MAAM,CAACU,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOjB,EAAiB,cAAEkB,WAAW,mBAAmB,CAACd,EAAG,SAAS,CAACE,YAAY,mBAAmBa,YAAY,CAAC,aAAa,QAAQZ,MAAM,CAAC,aA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AyC,qBAAlB9B,KAAKyE,MAAMiE,KA3BnB,qBA8BxB,WACI1I,KAAK8B,cAAyC,qBAAlB9B,KAAKyE,MAAMiE,GAEvC1I,KAAK2I,0BAAyB,GAC9B3I,KAAK4I,+BAA8B,KAlCf,2BAqCxB,WACI5I,KAAK2I,0BAAyB,GAC9B3I,KAAK4I,+BAA8B,KAvCf,2BA2CxB,WACI5I,KAAKyB,cAAgB,MA5CD,GAASf,QAOjC4G,gBADCuB,eAAM,cAAe,CAAEC,WAAW,EAAMC,MAAM,KAC/C,gCAWAzB,gBADCY,EAASN,QACV,yCAGAN,gBADCvD,EAAYiF,UACb,+CAGA1B,gBADCvD,EAAYiF,UACb,oDAxBiBhF,EAAO,gBAP3BrD,eAAU,CACPmH,WAAY,CACRmB,gBACAxI,kBACAyD,wBAGaF,WChD6W,ICO9X,EAAY,eACd,EACAlE,EACAU,GACA,EACA,KACA,KACA,MAIa,e","file":"js/chunk-b68b9412.a251bb9a.js","sourcesContent":["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!./WizardStepBalance.vue?vue&type=style&index=0&lang=css&\"","export class FileProcess {\r\n\r\n public downlaodFile(data: Blob | null, fileName: string | null): boolean {\r\n if (data == null) {\r\n return false;\r\n }\r\n\r\n if (window.navigator && window.navigator.msSaveBlob) {\r\n window.navigator.msSaveBlob((data) as Blob, fileName as string);\r\n return true;\r\n } else {\r\n const fileURL = window.URL.createObjectURL((data) as Blob);\r\n const fileLink = document.createElement('a');\r\n fileLink.href = fileURL;\r\n fileLink.setAttribute('download', fileName as string);\r\n document.body.appendChild(fileLink);\r\n fileLink.click();\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"accordion\",attrs:{\"role\":\"tablist\"}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport { namespace } from 'vuex-class';\n\n@Component\nexport default class BaseWizard extends Vue {\n\n}\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!./BaseWizard.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!./BaseWizard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BaseWizard.vue?vue&type=template&id=bd77665e&\"\nimport script from \"./BaseWizard.vue?vue&type=script&lang=ts&\"\nexport * from \"./BaseWizard.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('base-page',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isExactActive),expression:\"isExactActive\"}]},[_c('b-card',{staticClass:\"mb-3 card-border\",staticStyle:{\"text-align\":\"left\"},attrs:{\"header-tag\":\"header\",\"footer-tag\":\"footer\"},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('h6',{staticClass:\"mb-0 text-deep-blue\"},[_vm._v(\"Balance\")])]},proxy:true}])},[_c('b-card-text',[_c('base-wizard',{key:_vm.componentKey},[(_vm.getSelectedProduct=='Gas')?[_c('wizard-step-balance',{attrs:{\"id\":\"balance\",\"visible\":_vm.visible,\"WizardBaseStepTitle\":\"Balance\"}})]:(_vm.getSelectedProduct=='Power')?[_c('b-col',{staticClass:\"mb-2\",attrs:{\"cols\":\"12\"}},[_c('b-card',{attrs:{\"body-class\":\"shadow\",\"border-variant\":\"gazprom-blue\"}},[_c('p',[_vm._v(\"Balance is unavailable for power accounts\")])])],1)]:_vm._e()],2)],1)],1)],1),_c('transition',{attrs:{\"name\":_vm.transitionName,\"mode\":\"out-in\"}},[_c('router-view',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isExactActive),expression:\"!isExactActive\"}],ref:\"rv\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('wizard-base-step',{attrs:{\"id\":_vm.id,\"title\":_vm.WizardBaseStepTitle,\"accordionGroupName\":\"balance-wizard\",\"visible\":_vm.visible}},[_c('b-overlay',{attrs:{\"show\":_vm.processing,\"rounded\":\"sm\",\"opacity\":\"0.53\",\"blur\":\"1rem\"},scopedSlots:_vm._u([{key:\"overlay\",fn:function(){return [_c('div',{staticClass:\"text-center\"},[_c('b-spinner',{attrs:{\"label\":\"Loading...\"}})],1)]},proxy:true}])},[_c('b-row',[_c('b-col',{staticClass:\"mb-2\",attrs:{\"cols\":\"12\",\"md\":\"12\",\"lg\":\"8\"}},[_c('p',{},[_vm._v(\"The balance information for the above account is shown below.\")])])],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('p',[_c('label',{staticClass:\"text-deep-blue font-weight-bold\"},[_vm._v(\"Total balance:\")]),_vm._v(\" \"),_c('span',{staticClass:\"btn text-white\",class:_vm._f(\"setBadgeStatus\")(_vm.CreditOrDebit),staticStyle:{\"cursor\":\"default\"}},[_vm._v(_vm._s(_vm.AccountBalance))]),_c('b-button',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.right\",value:({ variant: 'sefe-blue', html: true }),expression:\"{ variant: 'sefe-blue', html: true }\",modifiers:{\"hover\":true,\"right\":true}}],staticClass:\"info-button\",attrs:{\"title\":\"This is the total amount currently due to be paid on your account, including any overdue amount.\",\"variant\":\"sefe-blue\"}},[_c('b-icon',{attrs:{\"variant\":\"gazprom-blue\",\"icon\":\"info-circle-fill\",\"font-scale\":\"0.90\"}})],1)],1)]),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('p',[_c('label',{staticClass:\"text-deep-blue font-weight-bold\"},[_vm._v(\"Overdue balance:\")]),_vm._v(\" \"),_c('span',{staticClass:\"btn text-white\",class:_vm._f(\"setBadgeStatus\")(_vm.CreditOrDebit),staticStyle:{\"cursor\":\"default\"}},[_vm._v(_vm._s(_vm.OverdueBalance))]),_c('b-button',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.right\",value:({ variant: 'sefe-blue', html: true }),expression:\"{ variant: 'sefe-blue', html: true }\",modifiers:{\"hover\":true,\"right\":true}}],staticClass:\"info-button\",attrs:{\"title\":\"This is the amount that has passed the payment due date.\",\"variant\":\"sefe-blue\"}},[_c('b-icon',{attrs:{\"variant\":\"gazprom-blue\",\"icon\":\"info-circle-fill\",\"font-scale\":\"0.90\"}})],1)],1)]),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('a',{attrs:{\"href\":\"https://www.sefe-energy.co.uk/media/7323/dd-mandate-sefe-energy.pdf\",\"target\":\"_blank\"}},[_c('b-button',{attrs:{\"variant\":\"gazprom-blue\"}},[_vm._v(\"Download DD Mandate\"),_c('b-icon',{staticClass:\"ml-2\",attrs:{\"icon\":\"cloud-arrow-down\"}})],1)],1)])],1),_c('b-row',[(!_vm.processing && _vm.getBalanceDetails.EmptyBalanceInformation)?[_c('p',{staticClass:\"alert-danger p-3 mx-auto mt-3\",staticStyle:{\"width\":\"max-content\"}},[_vm._v(_vm._s(_vm.getBalanceDetails.EmptyBalanceInformation))])]:[(_vm.processing)?[_c('b-col',{staticClass:\"mt-3\",attrs:{\"cols\":\"12\"}},[_c('b-skeleton-table',{attrs:{\"rows\":5,\"columns\":7,\"stacked\":\"md\",\"table-props\":{ bordered: true, striped: true }}})],1)]:[_c('b-col',{staticClass:\"mt-3\",attrs:{\"cols\":\"12\"}},[_c('b-table',{staticClass:\" mb-2 text-center\",attrs:{\"sticky-header\":\"\",\"tbody-tr-class\":\"text-center\",\"responsive\":\"\",\"striped\":\"\",\"hover\":\"\",\"items\":_vm.getBalanceDetails.BalanceInformationDetail,\"fields\":_vm.InvoiceFields},scopedSlots:_vm._u([{key:\"cell(DownloadLink)\",fn:function(data){return [_c('div',{staticClass:\"d-flex flex-column justify-content-center\"},[(_vm.invoiceUnavailable(data.item.InvoiceDate)||!data.item.InvoiceNo||!_vm.invalidInvoiceNo(data.item.InvoiceNo))?[_c('div',[_vm._v(\"Not available online\")])]:[_c('b-button',{staticClass:\"btn-outline-none\",attrs:{\"id\":data.item.InvoiceNo,\"variant\":\"link\"},on:{\"click\":function($event){return _vm.onClick(data.item.InvoiceNo)}}},[_c('b-img',{staticClass:\"mx-auto text-center\",attrs:{\"src\":require(\"../../../assets/pdf_icon.svg\"),\"width\":\"20\",\"height\":\"30\"}})],1),_c('div',{staticClass:\"d-flex flex-row justify-content-center\"},[_c('b-progress',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.progressBarHidden),expression:\"progressBarHidden\"}],key:data,ref:data.item.InvoiceNo,staticStyle:{\"width\":\"40px\",\"height\":\"5px\"},attrs:{\"value\":\"10\",\"max\":\"5\",\"variat\":\"gazprom-blue\",\"animated\":\"\"}})],1)]],2)]}}])})],1),_c('b-col',{attrs:{\"cols\":\"8\"}},[_c('p',{staticClass:\"mt-3\"},[_vm._v(\"This information is accurate as of \"+_vm._s(_vm._f(\"formatDate\")(_vm.getBalanceDetails.DataCollectionDate))+\". Please note that payments (credits) will not appear on the transaction list above but will be reflected in the total balance and can take up to five working days to appear.\")])]),_c('b-col',{staticClass:\"mt-3\",attrs:{\"cols\":\"4\"}},[_c('b-button',{staticClass:\"mr-3 mb-1\",attrs:{\"variant\":\"gazprom-blue\"},on:{\"click\":_vm.DownloadPDF}},[_vm._v(\"Download .PDF\"),_c('b-icon',{staticClass:\"ml-2\",attrs:{\"icon\":\"cloud-arrow-down\"}})],1),_c('b-button',{staticClass:\"mb-1\",attrs:{\"variant\":\"gazprom-blue\"},on:{\"click\":_vm.DownloadXlsx}},[_vm._v(\"Download .xlsx\"),_c('b-icon',{staticClass:\"ml-2\",attrs:{\"icon\":\"cloud-arrow-down\"}})],1)],1),_c('b-col',{attrs:{\"cols\":\"12\"}})]]],2)],1)],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\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\n\n\n\n\n\n\n\n\nimport WizardBaseStep from \"@/components/wizard/WizardBaseStep.vue\"\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { namespace } from 'vuex-class';\nimport { IAccountBalanceDetails } from \"@/interfaces/accountBalanceDetails\";\nimport { FileProcess } from \"@/utilities/FileProcess\";\nimport { GtagHelper } from '../../../utilities/GtagHelper';\n\n\nimport moment from 'moment';\n\nconst Auth = namespace(\"Auth\");\nconst GasAccounts = namespace(\"GasAccounts\");\nconst Balance = namespace(\"Balance\");\nconst Products = namespace(\"Products\");\nconst Invoices = namespace(\"Invoices\");\n\n@Component({\n components: {\n WizardBaseStep \n },\n filters: {\n formatDate(value: any) {\n\n if (value === null || value === \"\") {\n return \"\";\n }\n\n return moment(value).format('DD/MM/YYYY');\n },\n\n setBadgeStatus(value: any) {\n\n if (value == \"Credit\") return \"badge-credit\";\n if (value == \"Debit\") return \"badge-debit\";\n return \"\";\n }\n }\n})\nexport default class WizardStepBalance extends Vue {\n\n @Prop({ type: String, default: '' }) readonly id!: string;\n @Prop({ type: String, default: '' }) readonly WizardBaseStepTitle!: string;\n @Prop({ type: Boolean, default: false }) readonly visible!: boolean;\n\n private processing = false;\n private watchGasAccountSelection: any;\n private watchSelectedProduct: any;\n\n private AccountBalance = \"\";\n private OverdueBalance = \"\";\n private CreditOrDebit = \"\";\n\n private FileProcess = new FileProcess();\n\n private GtagHelper = new GtagHelper();\n\n public InvoiceFields = [\n {\n key: 'DocumentDate',\n label: 'Document date',\n formatter: this.formatDate\n },\n {\n key: 'SiteRef',\n label: 'Agreement'\n },\n {\n key: 'InvoiceNo',\n label: 'Document number'\n },\n {\n key: 'DownloadLink',\n label: 'Download'\n },\n {\n key: 'DueDate',\n label: 'Due date',\n formatter: this.formatDate\n },\n {\n key: 'DebitAmount',\n label: 'Debit (£)',\n formatter: this.formatCurrency\n },\n {\n key: 'CreditAmount',\n label: 'Credit (£)',\n formatter: this.formatCurrency\n },\n {\n key: 'RunningBalance',\n label: 'Balance (£)',\n formatter: this.formatCurrency\n }];\n\n @Auth.Getter\n private getUserId!: string;\n\n @GasAccounts.Getter\n private getSelectedAccount!: string;\n\n @Balance.Getter\n private getBalanceDetails!: IAccountBalanceDetails;\n\n @Balance.Action\n private submitGetBalanceDetails!: (params: { userId: string, accountNumber: string }) => Promise;\n\n @Balance.Action\n private submitDownloadDDManadate!: (params: { userId: string, accountNumber: string }) => Promise;\n\n @Balance.Action\n private submitDownloadBalanceXlsx!: (params: { userId: string, accountNumber: string }) => Promise;\n\n @Balance.Action\n private submitDownloadBalancePDF!: (params: { userId: string, accountNumber: string }) => Promise;\n\n @Balance.Getter\n private getDownloadBalanceFileData!: { data: Blob | null, fileName: string | null };\n\n @Invoices.Action\n private invoiceDownload!: (params: { accountNum: string, invoiceNo: string, userId: string }) => Promise;\n\n @Invoices.Getter\n private getDownloadFileData!: { data: Blob | null, fileName: string | null };\n\n private async onClick(invoiceNo) {\n this.$refs[invoiceNo]!['$el'].style.display = 'flex';\n const accountNum = this.getSelectedAccount;\n const userId = this.getUserId;\n this.invoiceDownload({ accountNum, invoiceNo, userId }).then(() => {\n this.fileProcess();\n this.$refs[invoiceNo]!['$el'].style.display = 'none';\n }).catch(reason => {\n console.error(reason);\n this.$refs[invoiceNo]!['$el'].style.display = 'none';\n });\n }\n\n private fileProcess() {\n\n console.log(\"fileProcess\");\n\n if (this.getDownloadFileData == null) {\n return null;\n }\n\n var fileName = this.getDownloadFileData.fileName;\n console.log(fileName);\n if (window.navigator && window.navigator.msSaveBlob) {\n window.navigator.msSaveBlob((this.getDownloadFileData.data) as Blob, fileName as string);\n } else {\n var fileURL = window.URL.createObjectURL((this.getDownloadFileData.data) as Blob);\n var fileLink = document.createElement('a');\n fileLink.href = fileURL;\n fileLink.setAttribute('download', fileName as string);\n document.body.appendChild(fileLink);\n fileLink.click();\n }\n\n this.GtagHelper.Event(\"LumiDownloadInvoiceBalancePage\", this.getUserId);\n }\n\n mounted() {\n\n if (this.getSelectedAccount != null) {\n this.GetBalanceDetails();\n } else {\n this.processing = true;\n }\n\n this.watchGasAccountSelection = this.$store.watch((state, getters) => getters[\"GasAccounts/getSelectedAccount\"], (newValue, oldValue) => {\n if (newValue === null || newValue === oldValue) {\n return;\n }\n this.GetBalanceDetails();\n });\n\n }\n\n\n\n GetBalanceDetails(): void {\n this.processing = true;\n this.AccountBalance = \"\";\n this.OverdueBalance = \"\";\n this.CreditOrDebit = \"\";\n this.submitGetBalanceDetails({ userId: this.getUserId, accountNumber: this.getSelectedAccount }).then(() => {\n this.AccountBalance = this.getBalanceDetails.AccountBalance;\n this.OverdueBalance = this.getBalanceDetails.OverdueBalance;\n this.CreditOrDebit = this.getBalanceDetails.CreditOrDebit;\n this.processing = false;\n });\n }\n\n DownloadDDMandate(): void {\n this.submitDownloadDDManadate({ userId: this.getUserId, accountNumber: this.getSelectedAccount }).then(() => {\n this.FileProcess.downlaodFile(this.getDownloadBalanceFileData.data, this.getDownloadBalanceFileData.fileName);\n });\n }\n\n DownloadXlsx(): void {\n this.submitDownloadBalanceXlsx({ userId: this.getUserId, accountNumber: this.getSelectedAccount }).then(() => {\n let success = this.FileProcess.downlaodFile(this.getDownloadBalanceFileData.data, this.getDownloadBalanceFileData.fileName);\n if (success) {\n this.GtagHelper.Event(\"LumiDownloadBalanceXls\", this.getUserId);\n }\n });\n }\n\n DownloadPDF(): void {\n this.submitDownloadBalancePDF({ userId: this.getUserId, accountNumber: this.getSelectedAccount }).then(() => {\n let success = this.FileProcess.downlaodFile(this.getDownloadBalanceFileData.data, this.getDownloadBalanceFileData.fileName);\n if (success) {\n this.GtagHelper.Event(\"LumiDownloadBalancePdf\", this.getUserId);\n }\n });\n }\n\n beforeDestroy() {\n this.watchGasAccountSelection();\n this.watchSelectedProduct();\n }\n\n public invoiceUnavailable(invoiceDate: string): boolean {\n\n const result = moment(invoiceDate).isBefore('01 Jan 2014');\n\n return result;\n }\n\n public invalidInvoiceNo(invoiceNo: string): boolean {\n\n const result = (invoiceNo.substring(0, 3) == \"INV\" || invoiceNo.substring(0, 2) == \"CR\");\n\n return result;\n }\n\n private formatDate(value: string): string {\n if (value === null) {\n return \"\";\n }\n return moment(value).format('DD/MM/YYYY');\n }\n\n private formatCurrency(value: number): string {\n\n\n var formatter = new Intl.NumberFormat('en-GB', {\n style: 'currency',\n currency: 'GBP'\n });\n\n\n if (value == 0) {\n return \"0.00\";\n }\n else {\n return formatter.format(value).replace(\"£\",\"\").trim();\n //fix currency formatting and remove £\n }\n }\n\n}\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!./WizardStepBalance.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!./WizardStepBalance.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WizardStepBalance.vue?vue&type=template&id=68974cc4&\"\nimport script from \"./WizardStepBalance.vue?vue&type=script&lang=ts&\"\nexport * from \"./WizardStepBalance.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./WizardStepBalance.vue?vue&type=style&index=0&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 null,\n null\n \n)\n\nexport default component.exports","\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\nimport { Component, Watch, Vue } from \"vue-property-decorator\";\nimport BasePage from \"@/components/pages/BasePage.vue\";\nimport BaseWizard from \"@/components/wizard/BaseWizard.vue\"\n\nimport { namespace } from 'vuex-class';\n\nimport WizardStepBalance from \"@/components/wizard/balance/WizardStepBalance.vue\";\n\nconst Products = namespace(\"Products\");\nconst GasAccounts = namespace(\"GasAccounts\");\n\n@Component({\n components: {\n BasePage,\n BaseWizard,\n WizardStepBalance\n },\n})\nexport default class Balance extends Vue {\n private isExactActive = false;\n private componentKey = 0;\n private transitionName = 'fade';\n private visible = true;\n\n @Watch('$route.path', { immediate: true, deep: true })\n onUrlChange(to: string, from: string) {\n if (to == null || to == undefined) {\n this.transitionName = 'fade';\n return;\n }\n const toDepth = to.split('/').length\n const fromDepth = from?.split('/').length\n this.transitionName = toDepth < fromDepth ? 'slide-right' : 'slide-left';\n }\n\n @Products.Getter\n private getSelectedProduct!: string;\n\n @GasAccounts.Mutation\n private setMprnSelectionDisabled!: (disabled: boolean) => void;\n\n @GasAccounts.Mutation\n private setAgreementSelectionDisabled!: (disabled: boolean) => void;\n\n updated() {\n this.isExactActive = typeof this.$refs.rv === 'undefined';\n }\n\n mounted() {\n this.isExactActive = typeof this.$refs.rv === 'undefined';\n\n this.setMprnSelectionDisabled(true);\n this.setAgreementSelectionDisabled(true);\n }\n\n beforeDestroy(): void {\n this.setMprnSelectionDisabled(false);\n this.setAgreementSelectionDisabled(false);\n }\n\n\n forceRerender() {\n this.componentKey += 1\n }\n}\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!./Balance.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!./Balance.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Balance.vue?vue&type=template&id=3068a6f5&\"\nimport script from \"./Balance.vue?vue&type=script&lang=ts&\"\nexport * from \"./Balance.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":""}