{"version":3,"sources":["webpack:///./src/components/InvitationLinkInfo.vue?9540","webpack:///./src/components/InvitationLinkInfo.vue","webpack:///./src/components/InvitationLinkInfo.vue?c1a0","webpack:///./src/components/InvitationLinkInfo.vue?fa9d","webpack:///./src/components/InvitationLinkInfo.vue?7528"],"names":["_c","_self","_setup","checked","staticClass","this","getRouteInvitationLink","open","_vm","customerName","attrs","staticRenderFns","Vue","extend","components","Card","name","data","loading","$store","dispatch","ActionTypes","setExistingVerjiAccount","watch","deep","handler","computed","state","routeInvitationLink","response","personName","methods","$router","push","id","component"],"mappings":"uIAAA,W,yDCA4CA,EAAOC,W,IAASC,EAAM,KAAuB,EAAQ,EAAI,MAACC,GAAmBC,EAAY,kBAAW,OAAIC,KAAKC,gBAAuBC,CAAiBH,YAAY,aAAqB,CAACJ,KAAG,uBAAa,KAAgBA,EAAG,OAAQ,CAAMI,YAAY,qBAAe,CAACJ,EAAG,QAAUQ,GAAG,gBAAgBC,UAAc,IAAGD,CAAiHJ,YAAY,eAAe,CAACI,EAAG,SAAI,wIAA4E,OAACJ,YAAY,eAAMM,GAAK,GAAC,2E,YAAW,M,MAAC,CAAkB,MAAQ,GAAI,gBAAG,OAAC,IAAwB,IAAIF,MAAO,gBAAgF,CAACR,EAAG,GAAI,iCAAS,GAA4B,EAAG,OAAK,CAACI,YAAY,qBAAe,CAACI,EAAG,KAAI,0CACn1B,2BACGG,mEAAoB,W,qDCMTC,SAAIC,OAAO,CACtBC,WAAY,CAAEC,mBACdC,KAAM,qBACNC,OAIF,MAAO,CACNd,SAAS,EACAe,SAAS,IAGjB,gBACFb,KAAKF,QAAUE,KAAKC,uBAAuBH,cAE/BE,KAAKc,OAAOC,SAASC,OAAYC,yBAAyB,IAEvEC,MAAO,CACNjB,uBAAwB,CACdkB,MAAM,EACNC,UAC8C,GAAvCpB,KAAKC,uBAAuBH,UAC1CE,KAAKF,SAAU,MAKhBuB,SAAU,CACNpB,yBACI,OAAOD,KAAKc,OAAOQ,MAAMC,qBAE7BnB,eACI,OAAOJ,KAAKc,OAAOQ,MAAMC,oBAAoBC,SAASpB,cAE1DO,OACI,OAAOX,KAAKc,OAAOQ,MAAMC,oBAAoBC,SAASC,aAG9DC,QAAS,CACN,oBAEK1B,KAAK2B,QAAQC,KAAK5B,KAAKc,OAAOQ,MAAMC,oBAAoBM,GAAK,eCjDmU,I,wBCQxYC,EAAY,eACd,EACA,EACAxB,GACA,EACA,KACA,WACA,MAIa,aAAAwB,E","file":"js/chunk-76ae4e60.abeb3283.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!./InvitationLinkInfo.vue?vue&type=style&index=0&id=a4022606&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (this.checked)?_c('div',{staticClass:\"parentDiv\"},[(this.getRouteInvitationLink.open)?_c('card',{staticClass:\"card centeredText\"},[_c('h1',[_vm._v(\"Velkommen!\")]),_c('br'),_c('p',{staticClass:\"paddingTop1\"},[_c('strong',[_vm._v(_vm._s(this.customerName))]),_vm._v(\" har invitert deg til Verji for å etablere en sikker, enkel og effektiv kommunikasjonskanal.\")]),_c('p',{staticClass:\"paddingTop1\"},[_vm._v(\"Trykk på knappen nedenfor, for å legitimere deg med BankID.\")]),_c('v-btn',{staticClass:\"btn\",attrs:{\"large\":\"\",\"color\":\"primary\",\"raised\":\"\"},on:{\"click\":_vm.loginBankId}},[_vm._v(\" Legitimer deg med BankID \")])],1):_c('card',{staticClass:\"card centeredText\"},[_c('h2',[_vm._v(\"Invalid invitation link\")]),_c('p',{staticClass:\"paddingTop1\"},[_vm._v(\"This invitation link is invalid or no longer active.\")])])],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\nimport Vue from \"vue\"\nimport { RouteInvitationLink } from \"@/types/data\"\nimport Card from '@/components/global/Card.vue'\nimport { ActionTypes } from \"@/enums/vuex\"\n\nexport default Vue.extend({\n components: { Card },\n name: \"InvitationLinkInfo\",\n data(): {\n\t\tchecked: boolean\n loading: boolean\n\t} {\n\t\treturn {\n\t\t\tchecked: false,\n loading: false\n\t\t}\n\t},\n async mounted() {\n\t\tthis.checked = this.getRouteInvitationLink.checked;\n // Ensure existingVerjiAccount flag is set to false, to avoid cached value having effect on later registrations\n await this.$store.dispatch(ActionTypes.setExistingVerjiAccount, false)\n\t},\n\twatch: {\n\t\tgetRouteInvitationLink: {\n deep: true,\n handler(){\n if(this.getRouteInvitationLink.checked == true){\n\t\t\t\t\tthis.checked = true\n\t\t\t\t}\n }\n }\n\t},\n computed: {\n getRouteInvitationLink(): RouteInvitationLink {\n return this.$store.state.routeInvitationLink\n },\n customerName(): RouteInvitationLink {\n return this.$store.state.routeInvitationLink.response.customerName\n },\n name(): RouteInvitationLink {\n return this.$store.state.routeInvitationLink.response.personName\n },\n\t},\n methods: {\n async loginBankId(): Promise {\n\n this.$router.push(this.$store.state.routeInvitationLink.id + '/bankId')\n \n }\n }\n})\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvitationLinkInfo.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvitationLinkInfo.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InvitationLinkInfo.vue?vue&type=template&id=a4022606&scoped=true\"\nimport script from \"./InvitationLinkInfo.vue?vue&type=script&lang=ts\"\nexport * from \"./InvitationLinkInfo.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InvitationLinkInfo.vue?vue&type=style&index=0&id=a4022606&prod&scoped=true&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 \"a4022606\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}