{"version":3,"sources":["webpack:///./src/assets/back.png","webpack:///./src/shared/componentTemplate/LoginMixin.ts","webpack:///./src/shared/componentTemplate/DefaultLoginTemplate.vue?3224","webpack:///./src/shared/componentTemplate/DefaultLoginTemplate.vue?7b3b","webpack:///./src/shared/componentTemplate/DefaultLoginTemplate.vue?edf5","webpack:///./src/shared/componentTemplate/DefaultLoginTemplate.vue?74aa","webpack:///./src/shared/componentTemplate/DefaultLoginTemplate.vue?dcdd","webpack:///./src/assets/login_logo2.png"],"names":["module","exports","mixins","props","logoSrc","type","String","default","bigLogoSrc","rules","Object","enableOAuth","Boolean","logoHeight","logoWidth","data","login","password","computed","isValid","this","cardMaxWidth","isMobile","logoMaxWidth","isSmallHeight","$vuetify","breakpoint","height","authButtonCols","created","getAuthClientIds","methods","doLogin","name","document","cookie","$store","dispatch","tryLogin","makeLogin","value","then","onLogin","doNtlmLogin","url","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","ref","staticStyle","_t","$t","required","on","$event","indexOf","_k","keyCode","key","model","callback","$$v","expression","_v","_s","loginErrorMessage","_e","staticRenderFns","LoginMixin","component","VBtn","VCard","VCardText","VCol","VContainer","VForm","VImg","VRow","VTextField"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,yB,oCCA3C,4BAGe,QACdC,OAAQ,CAAC,QACTC,MAAO,CACNC,QAAS,CACRC,KAAMC,OACNC,QAAS,EAAQ,SAElBC,WAAY,CACXH,KAAMC,OACNC,QAAS,EAAQ,SAElBE,MAAOC,OACPC,YAAaC,QACbC,WAAY,CACXR,KAAMC,OACNC,QAAS,QAEVO,UAAW,CACVT,KAAMC,OACNC,QAAS,SAGXQ,KAAM,iBAAO,CACZC,MAAO,KACPC,SAAU,OAEXC,SAAU,OAAF,wBACJ,eAAW,CAAC,eAAgB,oBAAqB,gBAAc,CAClEC,QADkE,WAEjE,OAAOC,KAAKJ,OAASI,KAAKH,UAE3BI,aAJkE,WAKjE,OAAOD,KAAKE,SAAW,QAAU,QAElCC,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iB,QAahC,IAAkBA,EAAW,CAACC,OAAA,KAAKC,QAAA,KAAMC,UAAA,OAAUC,OAAA,KAAKC,aAAA,KAAWC,QAAA,KAAMC,OAAA,KAAKC,OAAA,KAAKC,aAAA,Q,qBChCnFnF,EAAOC,QAAU,IAA0B","file":"js/chunk-5df4f30e.0f2611f3.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/back.d2964fb6.png\";","import { mapGetters, mapActions } from \"vuex\";\r\nimport MobileMixin from \"@/shared/utils/MobileMixin.ts\";\r\n\r\nexport default {\r\n\tmixins: [MobileMixin],\r\n\tprops: {\r\n\t\tlogoSrc: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: require(\"@/assets/login_logo2.png\"),\r\n\t\t},\r\n\t\tbigLogoSrc: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: require(\"@/assets/back.png\"),\r\n\t\t},\r\n\t\trules: Object,\r\n\t\tenableOAuth: Boolean,\r\n\t\tlogoHeight: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: \"17vh\",\r\n\t\t},\r\n\t\tlogoWidth: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: \"auto\",\r\n\t\t},\r\n\t},\r\n\tdata: () => ({\r\n\t\tlogin: null,\r\n\t\tpassword: null,\r\n\t}),\r\n\tcomputed: {\r\n\t\t...mapGetters([\"isLoginError\", \"loginErrorMessage\", \"isLoggined\"]),\r\n\t\tisValid() {\r\n\t\t\treturn this.login && this.password;\r\n\t\t},\r\n\t\tcardMaxWidth() {\r\n\t\t\treturn this.isMobile ? \"100vw\" : \"25vw\";\r\n\t\t},\r\n\t\tlogoMaxWidth() {\r\n\t\t\treturn this.isMobile ? \"10vw\" : \"13vw\";\r\n\t\t},\r\n\t\tisSmallHeight() {\r\n\t\t\treturn this.$vuetify.breakpoint.height < 600;\r\n\t\t},\r\n\t\tauthButtonCols() {\r\n\t\t\treturn this.isSmallHeight ? 6 : 12;\r\n\t\t},\r\n\t},\r\n\tcreated() {\r\n\t\tthis.getAuthClientIds();\r\n\t},\r\n\tmethods: {\r\n\t\t...mapActions([\"getAuthClientIds\"]),\r\n\t\tdoLogin() {\r\n\t\t\tconst name = this.login;\r\n\t\t\tconst password = this.password;\r\n\t\t\tdocument.cookie = \"\";\r\n\t\t\tthis.$store\r\n\t\t\t\t.dispatch(\"login\", { name, password });\r\n\t\t},\r\n\t\ttryLogin() {\r\n\t\t\tif (this.isValid) {\r\n\t\t\t\tthis.doLogin();\r\n\t\t\t}\r\n\t\t},\r\n\t\tmakeLogin(value) {\r\n\t\t\tthis.$store.dispatch(\"login\", value).then(() => this.onLogin());\r\n\t\t},\r\n\t\tdoNtlmLogin() {\r\n\t\t\tthis.$store\r\n\t\t\t\t.dispatch(\"ntlmLogin\", { url: \"/#/main\" });\r\n\t\t},\r\n\t},\r\n};\r\n","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!./DefaultLoginTemplate.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"fill-height\",attrs:{\"fluid\":\"\"}},[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-col',[_c('v-card',{staticClass:\"mx-auto\",attrs:{\"max-width\":_vm.cardMaxWidth,\"outlined\":\"\"}},[_c('v-card-text',[_c('v-form',{ref:\"form\"},[_c('v-container',[_c('v-row',{attrs:{\"justify\":\"space-between\"}},[_c('v-col',{staticClass:\"mb-4\",attrs:{\"cols\":\"12\"}},[_c('v-img',{staticStyle:{\"margin\":\"auto\"},attrs:{\"maxWidth\":_vm.logoMaxWidth,\"src\":_vm.logoSrc}})],1),_vm._t(\"form\",[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"prepend-inner-icon\":\"fas fa-user\",\"label\":_vm.$t('login'),\"rules\":[_vm.rules.required],\"filled\":\"\",\"outlined\":\"\"},on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.tryLogin($event)}},model:{value:(_vm.login),callback:function ($$v) {_vm.login=$$v},expression:\"login\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-text-field',{attrs:{\"prepend-inner-icon\":\"fas fa-key\",\"label\":_vm.$t('password'),\"type\":\"password\",\"rules\":[_vm.rules.required],\"filled\":\"\",\"outlined\":\"\"},on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.tryLogin($event)}},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}})],1),_c('LoginForm'),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-btn',{attrs:{\"block\":\"\",\"color\":\"primary\",\"dark\":\"\",\"xLarge\":\"\"},on:{\"click\":_vm.doLogin}},[_vm._v(\" \"+_vm._s(_vm.$t(\"enter\"))+\" \")])],1),_c('v-col',{attrs:{\"cols\":_vm.authButtonCols}},[_c('GoogleAuthBtn',{attrs:{\"height\":\"5vh\",\"isSmall\":_vm.isSmallHeight},on:{\"input\":_vm.makeLogin}})],1),_c('v-col',{attrs:{\"cols\":_vm.authButtonCols}},[_c('FacebookAuthBtn',{attrs:{\"height\":\"5vh\",\"isSmall\":_vm.isSmallHeight},on:{\"input\":_vm.makeLogin}})],1),_vm._v(\"` \")]),_c('v-row',{staticClass:\"justify-space-between\",attrs:{\"no-gutter\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('v-btn',{attrs:{\"to\":\"/forget_password\",\"text\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"forgetPassword\"))+\" \")])],1),_c('v-col',{staticClass:\"mr-3\",attrs:{\"cols\":\"auto\"}},[_c('v-btn',{attrs:{\"to\":\"/register\",\"text\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"register\"))+\" \")])],1)],1),(_vm.isLoginError)?_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticStyle:{\"color\":\"red\"}},[_vm._v(\" * \"+_vm._s(_vm.loginErrorMessage)+\" \")])]):_vm._e()],2)],1)],1)],1)],1)],1)],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\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { mapGetters } from \"vuex\";\r\nimport LoginMixin from \"@/shared/componentTemplate/LoginMixin.ts\";\r\n\r\nexport default /*extend*/ {\r\n\tmixins: [LoginMixin],\r\n\tdata: () => ({\r\n\t\tlogin: null,\r\n\t\tpassword: null,\r\n\t}),\r\n\tcomputed: {\r\n\t\t...mapGetters([\"isLoginError\", \"loginErrorMessage\", \"isLoggined\"]),\r\n\t},\r\n};\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLoginTemplate.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLoginTemplate.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DefaultLoginTemplate.vue?vue&type=template&id=908051f4&\"\nimport script from \"./DefaultLoginTemplate.vue?vue&type=script&lang=ts&\"\nexport * from \"./DefaultLoginTemplate.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DefaultLoginTemplate.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/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardText,VCol,VContainer,VForm,VImg,VRow,VTextField})\n","module.exports = __webpack_public_path__ + \"img/login_logo2.468c5f58.png\";"],"sourceRoot":""}