{"version":3,"sources":["webpack:///./src/components/security/_Login.vue?dc89","webpack:///./src/components/security/_Login.vue","webpack:///./src/components/security/_Login.vue?8c86","webpack:///./src/components/security/_Login.vue?aa24","webpack:///./node_modules/vuex-class/lib/bindings.js","webpack:///./node_modules/vuex-class/lib/index.js","webpack:///./src/assets/img/svg/visiosign_cloud_logo_pos.svg"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","attrs","on","$event","onAzureSignIn","_s","$t","staticRenderFns","namespace","processingLogin","failedLogin","authUser","email","password","languageCode","getCurrentUser","i18n","locale","azureLoginAction","then","response","setLocale","$router","push","catch","reason","alert","component","Getter","createBindingHelper","Action","bindTo","mapFn","makeDecorator","map","componentOptions","key","_a","mapObject","undefined","helper","a","b","proto","extractNamespace","type","options","n","length","module","exports"],"mappings":"yHAAA,IAAIA,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,GAAG,gBAAgBH,EAAG,MAAM,CAACE,YAAY,OAAOE,MAAM,CAAC,IAAM,EAAQ,WAAoDJ,EAAG,QAAQ,CAACE,YAAY,gBAAgB,CAACN,EAAIO,GAAG,gEAAgEH,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,SAAS,CAACE,YAAY,qCAAqCE,MAAM,CAAC,KAAO,UAAUC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOV,EAAIW,mBAAmB,CAACX,EAAIO,GAAG,IAAIP,EAAIY,GAAGZ,EAAIa,GAAG,sBAAsB,WAAWT,EAAG,MAAM,CAACE,YAAY,6BACtvBQ,EAAkB,G,woDCwBtB,IAAMC,EAAoB,iBAGL,EAArB,kE,0BAKI,EAA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AApBA,EAAEA,EAAEC,OAAS,GACND,EAAI,IAERA,EChEX,qE,qBCAAE,EAAOC,QAAU,IAA0B","file":"js/chunk-55bfba57.a3594364.js","sourcesContent":["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(\"Welcome to\")]),_c('img',{staticClass:\"logo\",attrs:{\"src\":require(\"@/assets/img/svg/visiosign_cloud_logo_pos.svg\")}}),_c('small',{staticClass:\"sign-up-note\"},[_vm._v(\"This is a secure site. Please enter your login information\")]),_c('div',{staticClass:\"mt-7 mb-6\"},[_c('button',{staticClass:\"btn btn-lg btn-block btn-secondary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.onAzureSignIn()}}},[_vm._v(\" \"+_vm._s(_vm.$t('login.azureSignIn'))+\" \")])])]),_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\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { User } from \"@/store/authentication/types\";\r\nimport { authentication } from \"@/store/authentication\";\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 @Action(\"loginAction\", { namespace }) loginAction: any;\r\n @Action(\"azureLoginAction\", { namespace }) azureLoginAction: any;\r\n @Getter(\"getCurrentUser\", { namespace }) getCurrentUser: any;\r\n\r\n processingLogin = false;\r\n failedLogin = false;\r\n authUser: User = {\r\n email: \"\",\r\n password: \"\"\r\n };\r\n\r\n setLocale(): void {\r\n const languageCode: string = this.getCurrentUser.languageCode;\r\n i18n.locale = languageCode || FALLBACK_LOCALE;\r\n }\r\n\r\n onAzureSignIn() {\r\n this.azureLoginAction()\r\n .then((response: string) => {\r\n this.setLocale();\r\n this.$router.push(\"/\");\r\n })\r\n .catch((reason: any) => {\r\n // TODO failed notification\r\n alert(\"login failed\");\r\n });\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!./_Login.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!./_Login.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./_Login.vue?vue&type=template&id=0ec8ea5a&\"\nimport script from \"./_Login.vue?vue&type=script&lang=ts&\"\nexport * from \"./_Login.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 { createDecorator } from 'vue-class-component';\nimport { mapState, mapGetters, mapActions, mapMutations } from 'vuex';\nexport var State = createBindingHelper('computed', mapState);\nexport var Getter = createBindingHelper('computed', mapGetters);\nexport var Action = createBindingHelper('methods', mapActions);\nexport var Mutation = createBindingHelper('methods', mapMutations);\nexport function namespace(namespace, helper) {\n function createNamespacedHelper(helper) {\n function namespacedHelper(a, b) {\n if (typeof b === 'string') {\n var key = b;\n var proto = a;\n return helper(key, { namespace: namespace })(proto, key);\n }\n var type = a;\n var options = merge(b || {}, { namespace: namespace });\n return helper(type, options);\n }\n return namespacedHelper;\n }\n if (helper) {\n console.warn('[vuex-class] passing the 2nd argument to `namespace` function is deprecated. pass only namespace string instead.');\n return createNamespacedHelper(helper);\n }\n return {\n State: createNamespacedHelper(State),\n Getter: createNamespacedHelper(Getter),\n Mutation: createNamespacedHelper(Mutation),\n Action: createNamespacedHelper(Action)\n };\n}\nfunction createBindingHelper(bindTo, mapFn) {\n function makeDecorator(map, namespace) {\n return createDecorator(function (componentOptions, key) {\n if (!componentOptions[bindTo]) {\n componentOptions[bindTo] = {};\n }\n var mapObject = (_a = {}, _a[key] = map, _a);\n componentOptions[bindTo][key] = namespace !== undefined\n ? mapFn(namespace, mapObject)[key]\n : mapFn(mapObject)[key];\n var _a;\n });\n }\n function helper(a, b) {\n if (typeof b === 'string') {\n var key = b;\n var proto = a;\n return makeDecorator(key, undefined)(proto, key);\n }\n var namespace = extractNamespace(b);\n var type = a;\n return makeDecorator(type, namespace);\n }\n return helper;\n}\nfunction extractNamespace(options) {\n var n = options && options.namespace;\n if (typeof n !== 'string') {\n return undefined;\n }\n if (n[n.length - 1] !== '/') {\n return n + '/';\n }\n return n;\n}\nfunction merge(a, b) {\n var res = {};\n [a, b].forEach(function (obj) {\n Object.keys(obj).forEach(function (key) {\n res[key] = obj[key];\n });\n });\n return res;\n}\n","export { State, Getter, Action, Mutation, namespace } from './bindings';\n","module.exports = __webpack_public_path__ + \"img/visiosign_cloud_logo_pos.1c4198e1.svg\";"],"sourceRoot":""}