{"version":3,"sources":["webpack:///./src/project/auth/AuthenticationModuleOverlay.vue?ff11","webpack:///./src/project/auth/LoginPanel.vue?0f47","webpack:///./src/project/auth/LoginPanel.vue","webpack:///./src/project/auth/LoginPanel.vue?eee2","webpack:///./src/project/auth/LoginPanel.vue?f54b","webpack:///./src/project/auth/ForgotPasswordPanel.vue?82da","webpack:///./src/project/auth/ForgotPasswordPanel.vue","webpack:///./src/project/auth/ForgotPasswordPanel.vue?1e2d","webpack:///./src/project/auth/ForgotPasswordPanel.vue?86ec","webpack:///./src/project/auth/ResetPasswordPanel.vue?2bde","webpack:///./src/project/auth/PasswordCondition.vue?505b","webpack:///./src/project/auth/PasswordCondition.vue","webpack:///./src/project/auth/PasswordCondition.vue?bf9d","webpack:///./src/project/auth/PasswordCondition.vue?7b80","webpack:///./src/project/auth/ResetPasswordPanel.vue","webpack:///./src/project/auth/ResetPasswordPanel.vue?95e9","webpack:///./src/project/auth/ResetPasswordPanel.vue?efd1","webpack:///./src/project/auth/ChangePasswordPanel.vue?2162","webpack:///./src/project/auth/ChangePasswordPanel.vue","webpack:///./src/project/auth/ChangePasswordPanel.vue?5cf9","webpack:///./src/project/auth/ChangePasswordPanel.vue?c68d","webpack:///./src/project/auth/AuthenticationModuleOverlay.vue","webpack:///./src/project/auth/AuthenticationModuleOverlay.vue?c95e","webpack:///./src/project/auth/AuthenticationModuleOverlay.vue?5b62","webpack:///./src/project/modals/Modal.vue","webpack:///./src/project/modals/Modal.vue?4482","webpack:///./src/project/modals/Modal.vue?1301","webpack:///./src/core/messages/WebApiMessage.vue?7e3a","webpack:///./src/core/messages/WebApiMessage.vue","webpack:///./src/core/messages/WebApiMessage.vue?5af9","webpack:///./src/core/messages/WebApiMessage.vue?0b74"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","state","key","staticClass","redirect","on","$event","closeOverlay","_e","staticRenderFns","mode","_v","_s","_f","scopedSlots","_u","fn","ref","handleSubmit","preventDefault","submit","model","value","callback","$$v","email","expression","password","busy","forgotPassword","registrationPage","nativeOn","close","apply","arguments","required","twoFactorCode","backToLogin","$emit","pushToDataLayer","event","buttonTarget","response","authentication","login","siteId","siteInfo","resendTwoFactorCode","parseInt","undefined","enableTwoFactorFlow","handleTwoFactorMode","handlePostLogin","err","clearTwoFactorCode","logIn","token","update","$router","push","catch","e","settings","accessRequestPage","type","String","components","WebApiMessage","component","emailSent","goBack","requestPasswordReset","resendToken","isValidToken","done","newUser","gotoLogin","hasUppercase","hasLowercase","hasNumeric","hasSpecialChar","hasLength","password2","class","condition","text","Boolean","guidPattern","submitFailed","tokenExpired","tokenQuery","decodeURI","location","search","match","toLowerCase","includes","length","validateTokenExpired","replace","query","resetPassword","cleanUpQuery","tokenExpirationResponse","validateResetPasswordToken","isTokenValid","PasswordCondition","newPassword","newPasswordConfirm","isImpersonating","changePassword","oldPassword","confirmNewPassword","Modal","newState","trackLoginStateChange","loginState","initialState","ResetPasswordPanel","ForgotPasswordPanel","LoginPanel","ChangePasswordPanel","data","ModalState","hideModal","modal","id","Object","messages","_t","_l","message","ix","getMessage","errorId","bus","onMessages","validationErrorEvent","messagesId","handled","msgOrLabel","exists","get","off"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,aAAa,CAACE,MAAM,CAAC,KAAO,SAAS,IAAM,MAAM,qBAAqB,iCAAiC,qBAAqB,oCAAoC,CAAc,UAAZN,EAAIO,MAAiBH,EAAG,aAAa,CAACI,IAAI,QAAQC,YAAY,iBAAiBH,MAAM,CAAC,SAAWN,EAAIU,UAAUC,GAAG,CAAC,YAAY,SAASC,GAAQZ,EAAIO,MAAQ,aAAa,MAAQP,EAAIa,gBAA+B,cAAdb,EAAIO,MAAuBH,EAAG,sBAAsB,CAACI,IAAI,SAASC,YAAY,iBAAiBE,GAAG,CAAC,UAAU,SAASC,GAAQZ,EAAIO,MAAQ,SAAS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EACA,KACA,KACA,MAIa,OAAA2D,E,2CElBf,IAAI3E,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAIsI,SAAS/B,OAAS,EAAGnG,EAAG,MAAM,CAACJ,EAAIuI,GAAG,WAAU,WAAW,MAAO,CAACnI,EAAG,KAAK,CAACK,YAAY,+CAA+CT,EAAIwI,GAAIxI,EAAY,UAAE,SAASyI,EAAQC,GAAI,OAAOtI,EAAG,KAAK,CAACI,IAAIkI,EAAGjI,YAAY,SAAS,CAACT,EAAIiB,GAAG,IAAIjB,EAAIkB,GAAGlB,EAAI2I,WAAWF,EAAQA,UAAU,KAAMzI,EAAW,QAAE,CAACA,EAAIiB,GAAG,MAAMjB,EAAIkB,GAAGlB,EAAI4I,SAAS,OAAO5I,EAAIc,MAAM,MAAK,MAAK,CAAC,SAAWd,EAAIsI,YAAY,GAAGtI,EAAIc,MACteC,EAAkB,G,oFCwBtB,IAAqB,EAArB,cAA2C,aAA3C,c,oBACY,KAAAuH,SAA4B,GAC5B,KAAAM,QAAkB,GAMlB,UACJC,EAAA,KAAIlI,GAAG,OAAyBV,KAAK6I,YAGjC,WAAWC,GACXA,EAAqBC,aAAe/I,KAAKmI,KACzCnI,KAAKqI,SAAWS,EAAqBT,SACrCrI,KAAK2I,QAAUG,EAAqBH,QACpCG,EAAqBE,WAIrB,WAAWC,GACf,OAAI,OAAkBC,OAAOD,GAClB,OAAkBE,IAAIF,GAE1BA,EAGH,YACJL,EAAA,KAAIQ,IAAI,OAAyBpJ,KAAK6I,cAtB1C,gBAHC,eAAK,CACFrG,UAAU,K,yBAJG,EAAa,gBADjC,QACoB,WCzBqY,I,YCOtZiC,EAAY,eACd,EACA3E,EACAgB,GACA,EACA,KACA,KACA,MAIa,OAAA2D,E","file":"js/chunk-ffcb101e.9b12799b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"mode\":\"out-in\",\"tag\":\"div\",\"enter-active-class\":\"animated fadeIn u-anim-dur-350\",\"leave-active-class\":\"animated fadeOut u-anim-dur-250\"}},[(_vm.state==='login')?_c('LoginPanel',{key:\"login\",staticClass:\"w-300 md:w-400\",attrs:{\"redirect\":_vm.redirect},on:{\"forgot-pw\":function($event){_vm.state = 'forgot-pw'},\"close\":_vm.closeOverlay}}):(_vm.state === 'forgot-pw')?_c('ForgotPasswordPanel',{key:\"forgot\",staticClass:\"w-300 md:w-400\",on:{\"go-back\":function($event){_vm.state = 'login'},\"close\":_vm.closeOverlay}}):(_vm.state === 'reset-pw')?_c('ResetPasswordPanel',{key:\"reset-pw\",staticClass:\"w-300 md:w-400\",on:{\"goto-login\":function($event){_vm.state = 'login'},\"forgot-pw\":function($event){_vm.state = 'forgot-pw'},\"close\":_vm.closeOverlay}}):(_vm.state === 'change-pw')?_c('ChangePasswordPanel',{key:\"reset-pw\",staticClass:\"w-300 md:w-400\",on:{\"close\":_vm.closeOverlay}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.mode === 'login')?_c('article',{key:\"login\"},[_c('h1',{staticClass:\"sub-header\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.Login.WelcomeMsg'))+\" \")]),_c('h2',{staticClass:\"mt-10 mb-5 text-34\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.Login.Header'))+\" \")]),_c('ValidationObserver',{attrs:{\"tag\":\"div\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{staticClass:\"bg-white\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submit)}}},[_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"email\",\"autofocus\":true,\"label\":_vm._f(\"t\")('Authentication.Login.EmailFieldLabel'),\"rules\":\"email\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('InputText',{staticClass:\"mt-10\",attrs:{\"type\":\"password\",\"name\":\"password\",\"label\":_vm._f(\"t\")('Authentication.Login.PasswordFieldLabel')},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}),_c('WebApiMessage',{attrs:{\"id\":\"login\"}}),_c('div',{staticClass:\"flex\"},[_c('CallToAction',{staticClass:\"mt-20 ml-auto px-10 md:px-20\",attrs:{\"disabled\":_vm.busy,\"text\":_vm._f(\"t\")('Authentication.Login.LoginBtn'),\"type\":\"submit\"}})],1)],1),_c('a',{staticClass:\"-small-gray mt-20\",on:{\"click\":function($event){return _vm.forgotPassword()}}},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.Login.ForgotPassword'))+\" \")]),(_vm.registrationPage)?_c('p',{staticClass:\"block mt-10 text-12 text-gray-800\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.CreateAccount'))+\" \"),_c('CultureAwareRouterLink',{staticClass:\"text-gray-800 underline hover:text-black\",attrs:{\"to\":_vm.registrationPage,\"data-tracking-name\":\"accessRequestPage\"},nativeOn:{\"click\":function($event){$event.preventDefault();return _vm.close.apply(null, arguments)}}},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.CreateAccount.Link'))+\" \")])],1):_vm._e()]}}],null,false,652298090)})],1):(_vm.mode === 'twoFactorCode')?_c('article',{key:\"twofactor\"},[_c('h1',{staticClass:\"mt-10 mb-5 text-34\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.TwoFactorLogin.Heading'))+\" \")]),_c('p',{staticClass:\"block mt-10 text-12 text-gray-800\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.TwoFactorLogin.IntroText',_vm.email))+\" \")]),_c('ValidationObserver',{attrs:{\"tag\":\"div\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{staticClass:\"bg-white\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submit)}}},[_c('div',{staticClass:\"md:flex\"},[_c('div',{staticClass:\"md:flex-grow\"},[_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"twoFactorCode\",\"input-class\":\"h-40\",\"autofocus\":_vm.mode === 'twoFactorCode',\"label\":_vm._f(\"t\")('Authentication.TwoFactorLogin.TwoFactorCodeLabel'),\"rules\":{required: _vm.mode === 'twoFactorCode'}},model:{value:(_vm.twoFactorCode),callback:function ($$v) {_vm.twoFactorCode=$$v},expression:\"twoFactorCode\"}})],1),_c('CallToAction',{staticClass:\"mt-20 md:ml-20\",attrs:{\"disabled\":_vm.busy,\"text\":_vm._f(\"t\")('Authentication.TwoFactorLogin.TwoFactorCodeBtn'),\"type\":\"submit\"}})],1),_c('WebApiMessage',{attrs:{\"id\":\"login\"}})],1),_c('a',{staticClass:\"-small-gray mt-20\",on:{\"click\":function($event){return _vm.backToLogin()}}},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.TwoFactorLogin.BackToLoginBtn'))+\" \")])]}}])})],1):_vm._e()}\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\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport Api from '@/project/http/Api.service';\r\nimport authService from '@/core/auth/auth.service';\r\nimport WebApiMessage from '@/core/messages/WebApiMessage.vue';\r\nimport siteService from '@/project/site/site.service';\r\nimport serverContextService from '@/core/serverContext.service';\r\nimport GTMBasics from '@/project/tracking/gtm/GTM.basics';\r\n\r\n@Component({\r\n components: { WebApiMessage }\r\n})\r\nexport default class LoginPanel extends Vue {\r\n @Prop({ type: String })\r\n private redirect!: string;\r\n\r\n email: string = '';\r\n password: string = '';\r\n twoFactorCode: string = '';\r\n busy = false;\r\n mode: 'login' | 'twoFactorCode' = 'login';\r\n\r\n forgotPassword() {\r\n this.$emit('forgot-pw');\r\n }\r\n\r\n async submit() {\r\n GTMBasics.pushToDataLayer({\r\n event: 'button.click',\r\n buttonTarget: 'login'\r\n });\r\n try {\r\n this.busy = true;\r\n const response = await Api.authentication.login(\r\n {\r\n email: this.email,\r\n password: this.password,\r\n siteId: serverContextService.siteInfo.siteId,\r\n resendTwoFactorCode: false,\r\n twoFactorCode: this.twoFactorCode && this.mode === 'twoFactorCode' ? parseInt(this.twoFactorCode, 10) : undefined\r\n }, 'login');\r\n if (response.enableTwoFactorFlow) {\r\n this.handleTwoFactorMode(response);\r\n } else {\r\n // Login success\r\n this.handlePostLogin(response);\r\n }\r\n } catch (err) {\r\n // Ok, validation-messages will be shown\r\n // Clear two-factor code in case anything is present\r\n this.clearTwoFactorCode();\r\n } finally {\r\n this.busy = false;\r\n }\r\n }\r\n\r\n private handlePostLogin(response) {\r\n authService.logIn(response.token);\r\n siteService.update(response);\r\n this.$emit('close');\r\n\r\n if (this.redirect) {\r\n this.$router.push(this.redirect).catch(e => {});\r\n }\r\n }\r\n\r\n private handleTwoFactorMode(response) {\r\n if (response.enableTwoFactorFlow) {\r\n this.clearTwoFactorCode();\r\n this.mode = 'twoFactorCode';\r\n }\r\n }\r\n\r\n private clearTwoFactorCode() {\r\n this.twoFactorCode = '';\r\n }\r\n\r\n private get registrationPage(): string | undefined {\r\n return serverContextService.settings?.accessRequestPage;\r\n }\r\n\r\n private close() {\r\n this.$emit('close');\r\n }\r\n\r\n private backToLogin() {\r\n this.clearTwoFactorCode();\r\n this.mode = 'login';\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!./LoginPanel.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!./LoginPanel.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LoginPanel.vue?vue&type=template&id=01cbdd03&\"\nimport script from \"./LoginPanel.vue?vue&type=script&lang=ts&\"\nexport * from \"./LoginPanel.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('div',[_c('transition',{attrs:{\"mode\":\"out-in\",\"enter-active-class\":\"animated fadeIn u-anim-dur-350\",\"leave-active-class\":\"animated fadeOut u-anim-dur-250\"}},[(!_vm.emailSent)?_c('article',{key:\"sendEmail\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ForgotPassword.Title'))+\" \")]),_c('h2',{staticClass:\"sub-header mt-15 mb-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ForgotPassword.SubTitle'))+\" \")]),_c('ValidationObserver',{attrs:{\"tag\":\"div\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{staticClass:\"bg-white\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submit)}}},[_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"email\",\"autofocus\":true,\"label\":_vm._f(\"t\")('Authentication.ForgotPassword.EmailFieldLabel'),\"rules\":\"email\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('WebApiMessage',{attrs:{\"id\":\"requestpasswordreset\"}}),_c('CallToAction',{staticClass:\"mt-20\",attrs:{\"disabled\":_vm.busy,\"text\":_vm._f(\"t\")('Authentication.ForgotPassword.ForgotBtn'),\"type\":\"submit\"}})],1),_c('a',{staticClass:\"-small-gray mt-20\",on:{\"click\":function($event){return _vm.goBack()}}},[_vm._v(_vm._s(_vm._f(\"t\")('Authentication.ForgotPassword.BackToLogin')))])]}}],null,false,756835058)})],1):_c('article',{key:\"confirmation\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ForgotPassword.EmailConfirmationTitle'))+\" \")]),_c('h2',{staticClass:\"mt-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ForgotPassword.EmailConfirmationSubTitle'))+\" \")]),_c('p',{staticClass:\"text-15 mt-20\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ForgotPassword.EmailConfirmationText'))+\" \")]),_c('CallToAction',{staticClass:\"mt-30\",attrs:{\"text\":_vm._f(\"t\")('Authentication.ForgotPassword.EmailConfirmationClose')},on:{\"click\":function($event){return _vm.close()}}})],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\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport WebApiMessage from '@/core/messages/WebApiMessage.vue';\r\nimport Api from '@/project/http/Api.service';\r\n\r\n@Component({\r\n components: { WebApiMessage }\r\n})\r\nexport default class ForgotPasswordPanel extends Vue {\r\n email: string = '';\r\n emailSent = false;\r\n busy = false;\r\n\r\n goBack() {\r\n this.$emit('go-back');\r\n }\r\n\r\n close() {\r\n this.$emit('close');\r\n }\r\n\r\n async submit() {\r\n try {\r\n this.busy = true;\r\n await Api.authentication.requestPasswordReset(this.email, 'requestpasswordreset');\r\n this.emailSent = true;\r\n } catch (err) {\r\n // Ok, validation-messages will be shown\r\n } finally {\r\n this.busy = false;\r\n }\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!./ForgotPasswordPanel.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!./ForgotPasswordPanel.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ForgotPasswordPanel.vue?vue&type=template&id=98ef3290&\"\nimport script from \"./ForgotPasswordPanel.vue?vue&type=script&lang=ts&\"\nexport * from \"./ForgotPasswordPanel.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('div',[_c('transition',{attrs:{\"mode\":\"out-in\",\"enter-active-class\":\"animated fadeIn u-anim-dur-350\",\"leave-active-class\":\"animated fadeOut u-anim-dur-250\"}},[(_vm.tokenExpired)?_c('article',[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ResetPassword.ExpiredTokenTitle'))+\" \")]),_c('p',{staticClass:\"mt-20\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ResetPassword.ExpiredTokenText'))+\" \")]),_c('CallToAction',{staticClass:\"mt-30\",attrs:{\"text\":_vm._f(\"t\")('Authentication.ResetPassword.ResendTokenBtn')},on:{\"click\":function($event){return _vm.resendToken()}}})],1):(!_vm.isValidToken)?_c('article',{key:\"invalid-token\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ResetPassword.InvalidTokenTitle'))+\" \")]),_c('p',{staticClass:\"mt-20\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ResetPassword.InvalidTokenText'))+\" \")]),_c('CallToAction',{staticClass:\"mt-30\",attrs:{\"text\":_vm._f(\"t\")('Authentication.ResetPassword.InvalidTokenBtn')},on:{\"click\":function($event){return _vm.close()}}})],1):(!_vm.done)?_c('article',{key:\"change-password\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")((_vm.newUser ? 'Authentication.NewUser.Title' : 'Authentication.ResetPassword.Title')))+\" \")]),_c('h2',{staticClass:\"sub-header mt-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")((_vm.newUser ? 'Authentication.NewUser.SubTitle' : 'Authentication.ResetPassword.SubTitle')))+\" \")]),_c('section',{staticClass:\"bg-gray-300 mt-20 p-20\"},[_c('div',{staticClass:\"text-15 font-medium\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ResetPassword.SecurityTitle'))+\" \")]),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasUppercase,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.UppercaseCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasLowercase,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.LowercaseCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasNumeric,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.NumericCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasSpecialChar,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.SpecialCharCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasLength,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.LengthCondition')}})],1),_c('ValidationObserver',{attrs:{\"tag\":\"div\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{staticClass:\"bg-white\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submit)}}},[_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"password1\",\"type\":\"password\",\"autofocus\":true,\"label\":_vm._f(\"t\")((_vm.newUser ? 'Authentication.NewUser.FirstPasswordFieldLabel' : 'Authentication.ResetPassword.FirstPasswordFieldLabel')),\"rules\":\"password|required\"},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}),_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"password2\",\"type\":\"password\",\"label\":_vm._f(\"t\")((_vm.newUser ? 'Authentication.NewUser.SecondPasswordFieldLabel' : 'Authentication.ResetPassword.SecondPasswordFieldLabel')),\"rules\":\"required|same-password:@password1\"},model:{value:(_vm.password2),callback:function ($$v) {_vm.password2=$$v},expression:\"password2\"}}),_c('WebApiMessage',{attrs:{\"id\":\"resetpassword\"}}),(_vm.submitFailed)?_c('CallToAction',{staticClass:\"mt-30\",attrs:{\"text\":_vm._f(\"t\")('Authentication.ResetPassword.GetNewResetLinkBtn')},on:{\"click\":function($event){return _vm.forgotPassword()}}}):_c('CallToAction',{staticClass:\"mt-20\",attrs:{\"disabled\":_vm.busy,\"text\":_vm._f(\"t\")((_vm.newUser ? 'Authentication.NewUser.CreatePasswordBtn' : 'Authentication.ResetPassword.ChangePasswordBtn')),\"type\":\"submit\"}})],1)]}}])})],1):_c('article',{key:\"confirmation\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")((_vm.newUser ? 'Authentication.NewUser.ChangeConfirmationTitle' : 'Authentication.ResetPassword.ChangeConfirmationTitle')))+\" \")]),_c('p',{staticClass:\"text-15 mt-20\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ChangeConfirmation.ChangeConfirmationText'))+\" \")]),_c('CallToAction',{staticClass:\"mt-30\",attrs:{\"text\":_vm._f(\"t\")('Authentication.ChangeConfirmation.GotoLoginBtn')},on:{\"click\":function($event){return _vm.gotoLogin()}}})],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('div',{staticClass:\"flex items-center\"},[_c('span',{staticClass:\"mr-10 o-password-checkmark\",class:_vm.condition ? 'checked' : ''},[_c('CIcon',{attrs:{\"name\":\"checkmark\"}})],1),_c('span',{staticClass:\"text-13 font-medium\"},[_vm._v(_vm._s(_vm.text))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport { Prop } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class PasswordCondition extends Vue {\r\n @Prop(Boolean) condition!: boolean;\r\n @Prop(String) text!: string;\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!./PasswordCondition.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!./PasswordCondition.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PasswordCondition.vue?vue&type=template&id=3fb6661b&\"\nimport script from \"./PasswordCondition.vue?vue&type=script&lang=ts&\"\nexport * from \"./PasswordCondition.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","\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\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport WebApiMessage from '@/core/messages/WebApiMessage.vue';\r\nimport Api from '@/project/http/Api.service';\r\nimport passwordService from '@/project/form/custom-rules/password';\r\nimport PasswordCondition from '@/project/auth/PasswordCondition.vue';\r\n\r\nconst guidPattern = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;\r\n\r\n@Component({\r\n components: { PasswordCondition, WebApiMessage }\r\n})\r\nexport default class LoginPanel extends Vue {\r\n password: string = '';\r\n password2: string = '';\r\n token = '';\r\n done = false;\r\n busy = false;\r\n newUser = false;\r\n submitFailed = false;\r\n tokenExpired = false;\r\n\r\n created() {\r\n // Just a way to get token=xyz from a query string that can contain token=xyz&foo=baa#boo\r\n const tokenQuery = decodeURI(location.search).match(/token=([^&#]*)/i);\r\n this.newUser = location.search.toLowerCase().includes('newuser');\r\n if (tokenQuery?.length !== 2) return;\r\n this.token = tokenQuery[1];\r\n this.validateTokenExpired();\r\n }\r\n\r\n get isValidToken() {\r\n return this.token.match(guidPattern);\r\n }\r\n\r\n get hasLength(): boolean {\r\n return passwordService.hasLength(this.password);\r\n }\r\n\r\n get hasNumeric() {\r\n return passwordService.hasNumeric(this.password);\r\n }\r\n\r\n get hasUppercase() {\r\n return passwordService.hasUppercase(this.password);\r\n }\r\n\r\n get hasLowercase() {\r\n return passwordService.hasLowercase(this.password);\r\n }\r\n\r\n get hasSpecialChar() {\r\n return passwordService.hasSpecialChar(this.password);\r\n }\r\n\r\n gotoLogin() {\r\n this.$emit('goto-login');\r\n }\r\n\r\n forgotPassword() {\r\n this.$emit('forgot-pw');\r\n }\r\n\r\n close() {\r\n this.$emit('close');\r\n }\r\n\r\n cleanUpQuery() {\r\n this.$router.replace({ query: undefined });\r\n }\r\n\r\n async submit() {\r\n try {\r\n this.busy = true;\r\n await Api.authentication.resetPassword(this.password, this.token, 'resetpassword');\r\n this.done = true;\r\n this.cleanUpQuery();\r\n } catch (err) {\r\n // Ok, validation-messages will be shown\r\n this.submitFailed = true;\r\n } finally {\r\n this.busy = false;\r\n }\r\n }\r\n\r\n async validateTokenExpired() {\r\n try {\r\n this.busy = true;\r\n const tokenExpirationResponse = await Api.authentication.validateResetPasswordToken(this.token);\r\n this.tokenExpired = !tokenExpirationResponse.isTokenValid;\r\n } catch (err) {\r\n } finally {\r\n this.busy = false;\r\n }\r\n }\r\n\r\n resendToken() {\r\n this.forgotPassword();\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!./ResetPasswordPanel.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!./ResetPasswordPanel.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ResetPasswordPanel.vue?vue&type=template&id=ce1c9cf2&\"\nimport script from \"./ResetPasswordPanel.vue?vue&type=script&lang=ts&\"\nexport * from \"./ResetPasswordPanel.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('div',[_c('transition',{attrs:{\"mode\":\"out-in\",\"enter-active-class\":\"animated fadeIn u-anim-dur-350\",\"leave-active-class\":\"animated fadeOut u-anim-dur-250\"}},[(!_vm.done)?_c('article',{key:\"change-password\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ChangePassword.Title'))+\" \")]),_c('h2',{staticClass:\"sub-header mt-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ChangePassword.SubTitle'))+\" \")]),_c('section',{staticClass:\"bg-gray-300 mt-20 p-20\"},[_c('div',{staticClass:\"text-15 font-medium\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ResetPassword.SecurityTitle'))+\" \")]),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasUppercase,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.UppercaseCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasLowercase,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.LowercaseCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasNumeric,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.NumericCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasSpecialChar,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.SpecialCharCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasLength,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.LengthCondition')}})],1),_c('ValidationObserver',{attrs:{\"tag\":\"div\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{staticClass:\"bg-white\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submit)}}},[(_vm.oldPasswordIsNeeded)?_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"password1\",\"type\":\"password\",\"autofocus\":true,\"label\":_vm._f(\"t\")('Authentication.ChangePassword.FirstPasswordFieldLabel'),\"rules\":\"required|password\"},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}):_vm._e(),_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"password2\",\"type\":\"password\",\"label\":_vm._f(\"t\")('Authentication.ChangePassword.SecondPasswordFieldLabel'),\"rules\":'required|password:@password3'},model:{value:(_vm.newPassword),callback:function ($$v) {_vm.newPassword=$$v},expression:\"newPassword\"}}),_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"password3\",\"type\":\"password\",\"label\":_vm._f(\"t\")('Authentication.ChangePassword.ThirdPasswordFieldLabel'),\"rules\":\"required|password\"},model:{value:(_vm.newPasswordConfirm),callback:function ($$v) {_vm.newPasswordConfirm=$$v},expression:\"newPasswordConfirm\"}}),_c('WebApiMessage',{attrs:{\"id\":\"changepassword\"}}),_c('CallToAction',{staticClass:\"mt-20\",attrs:{\"disabled\":_vm.busy,\"text\":_vm._f(\"t\")('Authentication.ChangePassword.ChangeBtn'),\"type\":\"submit\"}})],1)]}}],null,false,3735828357)})],1):_c('article',{key:\"confirmation\"},[_c('h1',{staticClass:\"text-18 font-bold\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ChangePassword.ChangeConfirmationTitle'))+\" \")]),_c('p',{staticClass:\"text-15 mt-20\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ChangePassword.ChangeConfirmationText'))+\" \")]),_c('CallToAction',{staticClass:\"mt-30\",attrs:{\"text\":_vm._f(\"t\")('Authentication.ChangePassword.Exit')},on:{\"click\":function($event){return _vm.close()}}})],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\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport WebApiMessage from '@/core/messages/WebApiMessage.vue';\r\nimport Api from '@/project/http/Api.service';\r\nimport passwordService from '@/project/form/custom-rules/password';\r\nimport PasswordCondition from '@/project/auth/PasswordCondition.vue';\r\nimport { ChangePasswordRequest } from '@/types/apiServerContract';\r\nimport impersonationStore from '@/project/shared/impersonation/impersonation.service';\r\n\r\n@Component({\r\n components: { PasswordCondition, WebApiMessage }\r\n})\r\nexport default class ChangePasswordPanel extends Vue {\r\n private password: string = '';\r\n private newPassword: string = '';\r\n private newPasswordConfirm: string = '';\r\n private done = false;\r\n private busy = false;\r\n\r\n get hasLength(): boolean {\r\n return passwordService.hasLength(this.newPassword);\r\n }\r\n\r\n get hasNumeric() {\r\n return passwordService.hasNumeric(this.newPassword);\r\n }\r\n\r\n get hasUppercase() {\r\n return passwordService.hasUppercase(this.newPassword);\r\n }\r\n\r\n get hasLowercase() {\r\n return passwordService.hasLowercase(this.newPassword);\r\n }\r\n\r\n get hasSpecialChar() {\r\n return passwordService.hasSpecialChar(this.newPassword);\r\n }\r\n\r\n get isImpersonating(): boolean {\r\n return impersonationStore.isImpersonating;\r\n }\r\n\r\n get oldPasswordIsNeeded(): boolean {\r\n return !this.isImpersonating;\r\n }\r\n\r\n close() {\r\n this.$emit('close');\r\n }\r\n\r\n async submit() {\r\n try {\r\n this.busy = true;\r\n await Api.authentication.changePassword({\r\n oldPassword: this.password,\r\n newPassword: this.newPassword,\r\n confirmNewPassword: this.newPasswordConfirm\r\n } as ChangePasswordRequest, 'changepassword');\r\n this.done = true;\r\n } catch (err) {\r\n // Ok, validation-messages will be shown\r\n } finally {\r\n this.busy = false;\r\n }\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!./ChangePasswordPanel.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!./ChangePasswordPanel.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChangePasswordPanel.vue?vue&type=template&id=16fdcd07&\"\nimport script from \"./ChangePasswordPanel.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChangePasswordPanel.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","\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\r\nimport { Component, Prop, Watch } from 'vue-property-decorator';\r\nimport Modal from '@/project/modals/Modal.vue';\r\nimport LoginPanel from './LoginPanel.vue';\r\nimport ForgotPasswordPanel from './ForgotPasswordPanel.vue';\r\nimport ResetPasswordPanel from './ResetPasswordPanel.vue';\r\nimport ChangePasswordPanel from './ChangePasswordPanel.vue';\r\nimport GTMBasics from '@/project/tracking/gtm/GTM.basics';\r\n\r\n@Component({\r\n components: { ResetPasswordPanel, ForgotPasswordPanel, LoginPanel, ChangePasswordPanel }\r\n})\r\nexport default class AuthenticationModuleOverlay extends Modal {\r\n @Prop({ required: true, type: String })\r\n private initialState!: 'login' | 'forgot-pw' | 'reset-pw' | 'change-pw';\r\n\r\n @Prop({ required: false, type: String })\r\n private redirect!: string;\r\n\r\n state: '' | 'login' | 'forgot-pw' | 'reset-pw' | 'change-pw' = '';\r\n\r\n @Watch('state')\r\n onStateChange(newState: string) {\r\n this.trackLoginStateChange(newState);\r\n }\r\n\r\n trackLoginStateChange(newState) {\r\n GTMBasics.pushToDataLayer({\r\n event: 'login.click',\r\n loginState: newState\r\n });\r\n }\r\n\r\n created() {\r\n this.state = this.initialState;\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!./AuthenticationModuleOverlay.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!./AuthenticationModuleOverlay.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AuthenticationModuleOverlay.vue?vue&type=template&id=10bed453&\"\nimport script from \"./AuthenticationModuleOverlay.vue?vue&type=script&lang=ts&\"\nexport * from \"./AuthenticationModuleOverlay.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","\r\nimport { Vue, Component, Prop } from 'vue-property-decorator';\r\nimport { IModal, ModalState } from '@/core/modals/ModalState';\r\n\r\n@Component\r\nexport default class Modal extends Vue {\r\n @Prop({ type: Object, required: true })\r\n protected modal!: IModal;\r\n\r\n protected closeOverlay(data?: any) {\r\n ModalState.hideModal(this.modal.id, data);\r\n }\r\n}\r\n","var render, staticRenderFns\nimport script from \"./Modal.vue?vue&type=script&lang=ts&\"\nexport * from \"./Modal.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","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!./Modal.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!./Modal.vue?vue&type=script&lang=ts&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.messages.length > 0)?_c('div',[_vm._t(\"default\",function(){return [_c('ul',{staticClass:\"text-red-500 text-12 font-medium list-reset\"},_vm._l((_vm.messages),function(message,ix){return _c('li',{key:ix,staticClass:\"mt-15\"},[_vm._v(\" \"+_vm._s(_vm.getMessage(message.message))+\" \"),(_vm.errorId)?[_vm._v(\" [ \"+_vm._s(_vm.errorId)+\"] \")]:_vm._e()],2)}),0)]},{\"messages\":_vm.messages})],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport { Prop } from 'vue-property-decorator';\r\nimport bus from '@/core/bus';\r\nimport { ClientMessage, ValidationErrorEvent, ValidationErrorEventKey } from '@/core/messages/types';\r\nimport dictionaryService from '@/core/translation/dictionary.service';\r\n\r\n@Component\r\nexport default class WebApiMessage extends Vue {\r\n private messages: ClientMessage[] = [];\r\n private errorId: string = '';\r\n @Prop({\r\n required: true\r\n })\r\n private id!: string;\r\n\r\n private created() {\r\n bus.on(ValidationErrorEventKey, this.onMessages);\r\n }\r\n\r\n private onMessages(validationErrorEvent: ValidationErrorEvent) {\r\n if (validationErrorEvent.messagesId === this.id) {\r\n this.messages = validationErrorEvent.messages;\r\n this.errorId = validationErrorEvent.errorId;\r\n validationErrorEvent.handled();\r\n }\r\n }\r\n\r\n private getMessage(msgOrLabel: string): string {\r\n if (dictionaryService.exists(msgOrLabel)) {\r\n return dictionaryService.get(msgOrLabel);\r\n }\r\n return msgOrLabel;\r\n }\r\n\r\n private destroyed() {\r\n bus.off(ValidationErrorEventKey, this.onMessages);\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!./WebApiMessage.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!./WebApiMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WebApiMessage.vue?vue&type=template&id=5e361244&\"\nimport script from \"./WebApiMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./WebApiMessage.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":""}