{"version":3,"sources":["webpack:///./src/assets/img/svg/visiosign_cloud_logo_black.svg","webpack:///./src/components/security/legacyLogin/_LegacyLogin.vue?5f39","webpack:///./src/components/security/legacyLogin/_LegacyLogin.vue","webpack:///./src/components/security/legacyLogin/_LegacyLogin.vue?f39a","webpack:///./src/components/security/legacyLogin/_LegacyLogin.vue?2539","webpack:///./src/components/security/legacyLogin/_LegacyLogin.vue?822a"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","$t","attrs","directives","name","rawName","value","authUser","expression","class","failedLogin","domProps","on","$event","type","indexOf","_k","keyCode","key","onLogin","target","composing","$set","inputModified","staticRenderFns","namespace","processingLogin","userName","password","then","response","validated","isSharedUser","$router","push","params","legacyUser","JSON","stringify","catch","reason","languageCode","getCurrentUser","cultureCode","i18n","locale","component"],"mappings":"4HAAAA,EAAOC,QAAU,IAA0B,+C,2CCA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,KAAK,CAACE,YAAY,mCAAmC,CAACN,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,qBAAqBL,EAAG,MAAM,CAACE,YAAY,OAAOI,MAAM,CAAC,IAAM,EAAQ,WAAsDN,EAAG,QAAQ,CAACE,YAAY,QAAQ,CAACN,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,4BAA4BL,EAAG,QAAQ,CAACE,YAAY,QAAQ,CAACN,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,6BAA6BL,EAAG,QAAQ,CAACE,YAAY,QAAQ,CAACN,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,6BAA6BL,EAAG,QAAQ,CAACE,YAAY,Q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OAASJ,GAAgB,WA/CtC,GAAmC,QACU,gBAAxC,eAAO,iBAAkB,CAAEhB,e,qCADX,EAAK,gBADzB,QACoB,WCxDsZ,I,wBCQvaqB,EAAY,eACd,EACAvD,EACAiC,GACA,EACA,KACA,WACA,MAIa,aAAAsB,E,2CCnBf,yBAA+gB,EAAG","file":"js/chunk-4bbb909b.2b98ba3a.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/visiosign_cloud_logo_black.d71ea7cd.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login-page\"},[_c('div',{staticClass:\"login-wrap\"},[_c('div',{staticClass:\"login-box\"},[_c('h6',{staticClass:\"font-size-13 font-weight-normal\"},[_vm._v(_vm._s(_vm.$t(\"login.welcome\")))]),_c('img',{staticClass:\"logo\",attrs:{\"src\":require(\"@/assets/img/svg/visiosign_cloud_logo_black.svg\")}}),_c('label',{staticClass:\"mt-6\"},[_vm._v(_vm._s(_vm.$t(\"login.loginExplainer\")))]),_c('label',{staticClass:\"mt-2\"},[_vm._v(_vm._s(_vm.$t(\"login.loginExplainer2\")))]),_c('label',{staticClass:\"mt-2\"},[_vm._v(_vm._s(_vm.$t(\"login.loginExplainer3\")))]),_c('label',{staticClass:\"mt-2\"},[_vm._v(_vm._s(_vm.$t(\"login.loginExplainer4\"))+\" \"),_c('a',{attrs:{\"href\":\"mailto:support@dnpvisiosign.com\"}},[_vm._v(\"support@dnpvisiosign.com\")])]),_c('div',{staticClass:\"mt-7 mb-6\"},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"inputUserName\"}},[_vm._v(_vm._s(_vm.$t('channels.acl.username')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.authUser.userName),expression:\"authUser.userName\"}],staticClass:\"form-control mb-4\",class:{ 'shake-x failed-login': _vm.failedLogin },attrs:{\"autofocus\":\"\",\"id\":\"inputUserName\",\"required\":\"\",\"type\":\"text\",\"placeholder\":_vm.$t('channels.acl.username')},domProps:{\"value\":(_vm.authUser.userName)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.onLogin()},\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.authUser, \"userName\", $event.target.value)},function($event){return _vm.inputModified()}]}}),_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"inputPassword\"}},[_vm._v(_vm._s(_vm.$t('users.password')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.authUser.password),expression:\"authUser.password\"}],staticClass:\"form-control\",class:{ 'shake-x failed-login': _vm.failedLogin },attrs:{\"id\":\"inputPassword\",\"required\":\"\",\"type\":\"password\",\"placeholder\":_vm.$t('users.password')},domProps:{\"value\":(_vm.authUser.password)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.onLogin()},\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.authUser, \"password\", $event.target.value)},function($event){return _vm.inputModified()}]}})]),_c('button',{staticClass:\"btn btn-lg btn-block btn-secondary has-icon\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.onLogin()}}},[_c('span',[_vm._v(_vm._s(_vm.$t('login.signIn')))])])]),_c('div',{staticClass:\"login-aside-graphic\"})])])}\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\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport { Getter } from \"vuex-class\";\r\nimport { validateLegacyUser } from \"@/services/security/authService\";\r\nimport { LegacyLoginDtoIn, ValidateLegacyLoginDto } from \"@/services/security/types\";\r\nimport i18n from \"@/i18n\";\r\nimport { FALLBACK_LOCALE } from \"@/app.config\";\r\nconst namespace: string = \"authentication\";\r\n\r\n@Component\r\nexport default class Login extends Vue {\r\n @Getter(\"getCurrentUser\", { namespace }) getCurrentUser: any;\r\n\r\n processingLogin = false;\r\n failedLogin = false;\r\n authUser: LegacyLoginDtoIn = {\r\n userName: \"\",\r\n password: \"\"\r\n };\r\n\r\n onLogin(): void {\r\n this.processingLogin = true;\r\n this.failedLogin = false;\r\n\r\n validateLegacyUser(this.authUser)\r\n .then((response: ValidateLegacyLoginDto) => {\r\n if (response.validated) {\r\n if (!response.isSharedUser) {\r\n this.$router.push({\r\n name: \"IsSharedAccount\",\r\n params: {\r\n legacyUser: JSON.stringify(this.authUser)\r\n }\r\n });\r\n } else {\r\n this.$router.push({\r\n name: \"SharedAccount\",\r\n params: {\r\n legacyUser: JSON.stringify(this.authUser)\r\n }\r\n });\r\n }\r\n } else {\r\n this.failedLogin = true;\r\n }\r\n })\r\n .catch((reason: any) => {\r\n this.failedLogin = true;\r\n });\r\n }\r\n\r\n inputModified(): void {\r\n this.failedLogin = false;\r\n }\r\n\r\n setLocale(): void {\r\n const languageCode: string = this.getCurrentUser.cultureCode;\r\n i18n.locale = languageCode || FALLBACK_LOCALE;\r\n }\r\n}\r\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--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_LegacyLogin.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--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_LegacyLogin.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./_LegacyLogin.vue?vue&type=template&id=28794af6&scoped=true&\"\nimport script from \"./_LegacyLogin.vue?vue&type=script&lang=ts&\"\nexport * from \"./_LegacyLogin.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./_LegacyLogin.vue?vue&type=style&index=0&id=28794af6&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 \"28794af6\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_LegacyLogin.vue?vue&type=style&index=0&id=28794af6&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_LegacyLogin.vue?vue&type=style&index=0&id=28794af6&scoped=true&lang=css&\""],"sourceRoot":""}