%PDF- %PDF-
Direktori : /var/www/html/hr/web/js/ |
Current File : /var/www/html/hr/web/js/chunk-ac4cc656.160e1cbb.js.map |
{"version":3,"sources":["webpack:///./src/assets/images/pages/login.png","webpack:///./src/components/vx-card/VxCard.vue?35c3","webpack:///./src/views/pages/Login.vue?02c7","webpack:///./src/components/vx-card/VxCard.vue?6b18","webpack:///src/components/vx-card/VxCard.vue","webpack:///./src/components/vx-card/VxCard.vue?170f","webpack:///./src/components/vx-card/VxCard.vue","webpack:///src/views/pages/Login.vue","webpack:///./src/views/pages/Login.vue?8b7f","webpack:///./src/views/pages/Login.vue","webpack:///./node_modules/vue-prism-component/dist/vue-prism-component.common.js","webpack:///./src/views/pages/Login.vue?843a"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","slot","ref","scopedSlots","_u","key","fn","invalid","on","$event","preventDefault","login","_v","$t","model","value","callback","$$v","email","expression","password","loading","_s","staticRenderFns","class","tempHidden","noShadow","noRadius","cardBorder","cardClasses","style","$props","titleClasses","title","_e","subtitleClasses","subtitle","_t","actionButtons","collapseAction","refreshContentAction","removeCardAction","codeToggler","rotate180","isContentCollapsed","toggleContent","refreshcard","removeCard","showCode","toggleCode","collapsed","$slots","directives","name","rawName","codeLanguage","component","assign","obj","arguments$1","arguments","i","length","p","index","functional","props","code","type","String","inline","Boolean","default","language","h","ctx","children","text","prismLanguage","Prism","languages","className","data","domProps","innerHTML","highlight"],"mappings":"uJAAAA,EAAOC,QAAU,IAA0B,0B,oCCA3C,yBAAgiB,EAAG,G,2CCAniB,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,2EAA2EC,MAAM,CAAC,GAAK,eAAe,CAACH,EAAG,MAAM,CAACE,YAAY,yDAAyD,CAACF,EAAG,UAAU,CAACA,EAAG,MAAM,CAACE,YAAY,qBAAqBC,MAAM,C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,gBAVA,gDCtE8V,ICQ1V,G,UAAY,eACd,EACAhE,EACA+B,GACA,EACA,KACA,KACA,OAIa,e,6CCjBf,SAASkC,EAAOC,GAGd,IAFA,IAAIC,EAAcC,UAETC,EAAI,EAAGA,EAAID,UAAUE,OAAQD,IAEpC,IAAK,IAAIE,KAAKH,UAAUC,GAAMH,EAAIK,GAAKJ,EAAYE,GAAGE,GAExD,OAAOL,EAGT,IAAIM,EAAQ,CACVC,YAAY,EACZC,MAAO,CACLC,KAAM,CACJC,KAAMC,QAERC,OAAQ,CACNF,KAAMG,QACNC,SAAS,GAEXC,SAAU,CACRL,KAAMC,OACNG,QAAS,WAGbhF,OAAQ,SAAgBkF,EAAGC,GACzB,IAAIR,EACFQ,EAAIT,MAAMC,OACTQ,EAAIC,UAAYD,EAAIC,SAASd,OAAS,EAAIa,EAAIC,SAAS,GAAGC,KAAO,IAChEP,EAASK,EAAIT,MAAMI,OACnBG,EAAWE,EAAIT,MAAMO,SACrBK,EAAgBC,MAAMC,UAAUP,GAChCQ,EAAY,YAAcR,EAQ9B,OAAIH,EACKI,EACL,OACAjB,EAAO,GAAIkB,EAAIO,KAAM,CACnB1D,MAAO,CAACmD,EAAIO,KAAK1D,MAAOyD,GACxBE,SAAU1B,EAAO,GAAIkB,EAAIO,KAAKC,SAAU,CACtCC,UAAWL,MAAMM,UAAUlB,EAAMW,QAMlCJ,EACL,MACAjB,EAAO,GAAIkB,EAAIO,KAAM,CACnB1D,MAAO,CAACmD,EAAIO,KAAK1D,MAAOyD,KAE1B,CACEP,EAAE,OAAQ,CACRlD,MAAOyD,EACPE,SAAU,CACRC,UAAWL,MAAMM,UAAUlB,EAAMW,UAQ7CxF,EAAOC,QAAUyE,G,kCCvEjB,yBAA+hB,EAAG","file":"js/chunk-ac4cc656.160e1cbb.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/login.d814adb7.png\";","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VxCard.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VxCard.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"h-screen flex w-full bg-img vx-row no-gutter items-center justify-center\",attrs:{\"id\":\"page-login\"}},[_c('div',{staticClass:\"vx-col sm:w-1/2 md:w-1/2 lg:w-3/4 xl:w-3/5 sm:m-0 m-4\"},[_c('vx-card',[_c('div',{staticClass:\"full-page-bg-color\",attrs:{\"slot\":\"no-body\"},slot:\"no-body\"},[_c('div',{staticClass:\"vx-row no-gutter justify-center items-center\"},[_c('div',{staticClass:\"vx-col hidden lg:block lg:w-1/2\"},[_c('img',{staticClass:\"mx-auto\",attrs:{\"alt\":\"login\",\"src\":require(\"@/assets/images/pages/login.png\")}})]),_c('div',{ref:\"login\",staticClass:\"vx-col sm:w-full md:w-full lg:w-1/2 d-theme-dark-bg\"},[_c('ValidationObserver',{ref:\"validator\",attrs:{\"mode\":\"lazy\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar invalid = ref.invalid;\nreturn [_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.login()}}},[_c('div',{staticClass:\"w-full p-8\"},[_c('div',{staticClass:\"vx-card__title mb-8\"},[_c('h4',{staticClass:\"mb-4\"},[_vm._v(\"Login\")]),_c('p',[_vm._v(\"Welcome, please login to your account.\")])]),_c('base-input',{staticClass:\"w-full no-icon-border\",attrs:{\"label-placeholder\":_vm.$t('auth.email'),\"name\":_vm.$t('auth.email'),\"autofocus\":\"\",\"icon\":\"icon icon-user\",\"icon-pack\":\"feather\",\"rules\":\"required|email\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('base-input',{staticClass:\"w-full no-icon-border\",attrs:{\"label-placeholder\":_vm.$t('auth.password'),\"name\":_vm.$t('auth.password'),\"icon\":\"icon icon-lock\",\"icon-pack\":\"feather\",\"rules\":\"required\",\"type\":\"password\"},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}),_c('div',{staticClass:\"flex flex-wrap justify-between mt-5\"},[_c('router-link',{attrs:{\"to\":\"#\"}},[_vm._v(\"Forgot Password?\")])],1),_c('base-button',{staticClass:\"w-full mt-5\",attrs:{\"disabled\":invalid,\"loading\":_vm.loading,\"button\":\"filled\",\"type\":\"submit\"}},[_vm._v(\" \"+_vm._s(_vm.$t('auth.login'))+\" \")])],1)])]}}])})],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',{ref:\"card\",staticClass:\"vx-card\",class:[\n {'overflow-hidden': _vm.tempHidden},\n {'no-shadow': _vm.noShadow},\n {'rounded-none': _vm.noRadius},\n {'card-border': _vm.cardBorder},\n _vm.cardClasses ],style:(_vm.cardStyles)},[(_vm.hasHeader)?_c('div',{staticClass:\"vx-card__header\"},[_c('div',{staticClass:\"vx-card__title\"},[(this.$props.title)?_c('h4',{class:_vm.titleClasses,style:(_vm.titleStyles)},[_vm._v(_vm._s(_vm.title))]):_vm._e(),(this.$props.subtitle)?_c('h6',{class:_vm.subtitleClasses,style:(_vm.subtitleStyles)},[_vm._v(_vm._s(_vm.subtitle))]):_vm._e()]),(_vm.hasAction)?_c('div',{staticClass:\"vx-card__actions\"},[_vm._t(\"actions\",[((_vm.actionButtons || _vm.collapseAction || _vm.refreshContentAction || _vm.removeCardAction) && !_vm.codeToggler)?_c('div',{staticClass:\"vx-card__action-buttons\"},[(_vm.actionButtons || _vm.collapseAction)?_c('feather-icon',{staticClass:\"ml-4\",class:{rotate180: !_vm.isContentCollapsed},attrs:{\"icon\":\"ChevronUpIcon\"},on:{\"click\":_vm.toggleContent}}):_vm._e(),(_vm.actionButtons || _vm.refreshContentAction)?_c('feather-icon',{staticClass:\"ml-4\",attrs:{\"icon\":\"RotateCwIcon\"},on:{\"click\":_vm.refreshcard}}):_vm._e(),(_vm.actionButtons || _vm.removeCardAction)?_c('feather-icon',{staticClass:\"ml-4\",attrs:{\"icon\":\"XIcon\"},on:{\"click\":_vm.removeCard}}):_vm._e()],1):_vm._e(),(_vm.codeToggler && !_vm.actionButtons)?_c('div',{staticClass:\"vx-card__code-toggler sm:block hidden\"},[_c('feather-icon',{class:{'border border-solid border-primary border-t-0 border-r-0 border-l-0': _vm.showCode},attrs:{\"icon\":\"CodeIcon\"},on:{\"click\":_vm.toggleCode}})],1):_vm._e()])],2):_vm._e()]):_vm._e(),_c('div',{ref:\"content\",staticClass:\"vx-card__collapsible-content vs-con-loading__container\",class:[{collapsed: _vm.isContentCollapsed}, {'overflow-hidden': _vm.tempHidden}],style:(_vm.StyleItems)},[_vm._t(\"no-body\"),(this.$slots.default)?_c('div',{staticClass:\"vx-card__body\"},[_vm._t(\"default\")],2):_vm._e(),_vm._t(\"no-body-bottom\"),(this.$slots.footer)?_c('div',{staticClass:\"vx-card__footer\"},[_vm._t(\"footer\")],2):_vm._e()],2),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(this.$slots.codeContainer),expression:\"this.$slots.codeContainer\"}],ref:\"codeContainer\",staticClass:\"vx-card__code-container\",class:{collapsed: !_vm.showCode},style:(_vm.codeContainerStyles)},[_c('div',{staticClass:\"code-content\"},[_c('prism',{attrs:{\"language\":_vm.codeLanguage}},[_vm._t(\"codeContainer\")],2)],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- =========================================================================================\n File Name: VxCard.vue\n Description: Card Component\n Component Name: VxCard\n ----------------------------------------------------------------------------------------\n Item Name: Vuesax Admin - VueJS Dashboard Admin Template\n Author: Pixinvent\n Author URL: http://www.themeforest.net/user/pixinvent\n========================================================================================== -->\n\n <template>\n <div class=\"vx-card\" ref=\"card\" :class=\"[\n {'overflow-hidden': tempHidden},\n {'no-shadow': noShadow},\n {'rounded-none': noRadius},\n {'card-border': cardBorder},\n cardClasses ]\" :style=\"cardStyles\">\n <div class=\"vx-card__header\" v-if=\"hasHeader\">\n\n <!-- card title -->\n <div class=\"vx-card__title\">\n <h4 v-if=\"this.$props.title\" :style=\"titleStyles\" :class=\"titleClasses\">{{ title }}</h4>\n <h6 v-if=\"this.$props.subtitle\" :style=\"subtitleStyles\" :class=\"subtitleClasses\">{{ subtitle }}</h6>\n </div>\n\n <!-- card actions -->\n <div class=\"vx-card__actions\" v-if=\"hasAction\">\n <slot name=\"actions\">\n <div class=\"vx-card__action-buttons\" v-if=\"(actionButtons || collapseAction || refreshContentAction || removeCardAction) && !codeToggler\">\n <feather-icon @click=\"toggleContent\" icon=\"ChevronUpIcon\" :class=\"{rotate180: !isContentCollapsed}\" class=\"ml-4\" v-if=\"actionButtons || collapseAction\" />\n <feather-icon @click=\"refreshcard\" icon=\"RotateCwIcon\" class=\"ml-4\" v-if=\"actionButtons || refreshContentAction\" />\n <feather-icon @click=\"removeCard\" icon=\"XIcon\" class=\"ml-4\" v-if=\"actionButtons || removeCardAction\" />\n </div>\n <div class=\"vx-card__code-toggler sm:block hidden\" v-if=\"codeToggler && !actionButtons\">\n <feather-icon icon=\"CodeIcon\" :class=\"{'border border-solid border-primary border-t-0 border-r-0 border-l-0': showCode}\" @click=\"toggleCode\"></feather-icon>\n </div>\n </slot>\n </div>\n </div>\n\n <div class=\"vx-card__collapsible-content vs-con-loading__container\" ref=\"content\" :class=\"[{collapsed: isContentCollapsed}, {'overflow-hidden': tempHidden}]\" :style=\"StyleItems\">\n\n <!-- content with no body(no padding) -->\n <slot name=\"no-body\"></slot>\n\n <!-- content inside body(with padding) -->\n <div class=\"vx-card__body\" v-if=\"this.$slots.default\">\n <slot></slot>\n </div>\n\n <!-- content with no body(no padding) -->\n <slot name=\"no-body-bottom\"></slot>\n\n <div class=\"vx-card__footer\" v-if=\"this.$slots.footer\">\n <slot name=\"footer\"></slot>\n </div>\n </div>\n\n <div class=\"vx-card__code-container\" ref=\"codeContainer\" v-show=\"this.$slots.codeContainer\" :style=\"codeContainerStyles\" :class=\"{collapsed: !showCode}\">\n <div class=\"code-content\">\n <prism :language=\"codeLanguage\">\n <slot name=\"codeContainer\"></slot>\n </prism>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport Prism from 'vue-prism-component'\nimport _color from '@/assets/utils/color.js'\n\nexport default{\n name: 'vx-card',\n props: {\n title: String,\n subtitle: String,\n actionButtons: {\n type: Boolean,\n default: false,\n },\n actionButtonsColor: {\n type: String,\n default: \"success\",\n },\n codeToggler: {\n type: Boolean,\n default: false,\n },\n noShadow: {\n default: false,\n type: Boolean,\n },\n noRadius: {\n default: false,\n type: Boolean,\n },\n cardBorder: {\n default: false,\n type: Boolean,\n },\n codeLanguage: {\n default: \"markup\",\n type: String,\n },\n collapseAction: {\n default: false,\n type: Boolean\n },\n refreshContentAction: {\n default: false,\n type: Boolean\n },\n removeCardAction: {\n default: false,\n type: Boolean\n },\n headerBackground: {\n default: '',\n type: String\n },\n // bodyBackground: {\n // default: '',\n // type: String\n // },\n // headerbackground: {\n // default: '',\n // type: String\n // },\n cardBackground: {\n default: '',\n type: String\n },\n contentColor: {\n default: '',\n type: String\n },\n titleColor: {\n default: '',\n type: String\n },\n subtitleColor: {\n default: '#b8c2cc',\n type: String\n }\n },\n data() {\n return {\n isContentCollapsed: false,\n showCode: false,\n maxHeight: null,\n cardMaxHeight: null,\n codeContainerMaxHeight: '0px',\n tempHidden: false,\n }\n },\n computed: {\n hasAction() {\n return this.$slots.actions || (this.actionButtons || this.collapseAction || this.refreshContentAction || this.removeCardAction || this.codeToggler)\n },\n hasHeader() {\n return this.hasAction || (this.title || this.subtitle)\n },\n StyleItems() {\n return { maxHeight: this.maxHeight }\n },\n cardStyles() {\n let obj = { maxHeight: this.cardMaxHeight }\n if (!_color.isColor(this.cardBackground)) obj.background = _color.getColor(this.cardBackground)\n if (!_color.isColor(this.contentColor)) obj.color = _color.getColor(this.contentColor)\n return obj\n },\n codeContainerStyles() {\n return { maxHeight: this.codeContainerMaxHeight }\n },\n cardClasses() {\n let str = '';\n\n // Add bg class\n if(_color.isColor(this.cardBackground)) {\n str += ` bg-${this.cardBackground}`\n }\n\n // add content color\n if (_color.isColor(this.contentColor)){\n str += ` text-${this.contentColor}`\n }\n\n return str.trim()\n },\n titleStyles() {\n return {\n color: _color.getColor(this.titleColor)\n }\n },\n titleClasses() {\n let str = '';\n\n // add content color\n if(_color.isColor(this.titleColor)) {\n str += ` text-${this.titleColor}`\n }\n\n return str.trim()\n },\n subtitleStyles() {\n let obj = {}\n if (!_color.isColor(this.subtitleColor)) obj.color = _color.getColor(this.subtitleColor)\n\n return obj\n },\n subtitleClasses() {\n let str = '';\n\n // add content color\n if(_color.isColor(this.subtitleColor)) {\n str += ` text-${this.subtitleColor}`\n }\n\n return str.trim()\n },\n },\n methods: {\n toggleContent() {\n this.$refs.content.style.overflow = \"hidden\";\n let scrollHeight = this.$refs.content.scrollHeight\n if (this.maxHeight == '1.5rem') {\n this.maxHeight = `${scrollHeight}px`\n setTimeout(() => {\n this.maxHeight = 'none';\n this.$refs.content.style.overflow = \"hidden\";\n }, 300)\n } else {\n this.maxHeight = `${scrollHeight}px`\n setTimeout(() => {\n this.maxHeight = `1.5rem`;\n this.$refs.content.style.overflow = \"hidden\";\n }, 50)\n }\n this.isContentCollapsed = !this.isContentCollapsed;\n this.$emit(\"toggleCollapse\", this.isContentCollapsed);\n },\n refreshcard() {\n this.$vs.loading({\n container: this.$refs.content,\n scale: 0.5,\n });\n this.tempHidden = true;\n this.$emit(\"refresh\", this);\n },\n removeRefreshAnimation(time=100) {\n setTimeout( ()=> {\n this.$vs.loading.close(this.$refs.content)\n this.tempHidden = false;\n }, time)\n },\n removeCard() {\n let scrollHeight = this.$refs.card.scrollHeight\n this.cardMaxHeight = `${scrollHeight}px`\n this.$el.style.overflow = \"hidden\";\n setTimeout(() => {\n this.cardMaxHeight = `0px`\n }, 50)\n this.$emit(\"remove\");\n },\n toggleCode() {\n this.tempHidden = true;\n this.showCode = !this.showCode;\n let scrollHeight = this.$refs.codeContainer.scrollHeight\n if (this.codeContainerMaxHeight == '0px') {\n this.codeContainerMaxHeight = `${scrollHeight}px`\n setTimeout(() => {\n this.codeContainerMaxHeight = 'none'\n this.tempHidden = false;\n }, 300)\n } else {\n this.codeContainerMaxHeight = `${scrollHeight}px`\n setTimeout(() => {\n this.codeContainerMaxHeight = `0px`\n this.tempHidden = false;\n }, 150)\n }\n },\n },\n components: {\n Prism,\n }\n}\n</script>\n\n<style lang=\"scss\">\n@import \"@/assets/scss/vuesax/components/vxCard.scss\";\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VxCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VxCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VxCard.vue?vue&type=template&id=1a85d9e2&\"\nimport script from \"./VxCard.vue?vue&type=script&lang=js&\"\nexport * from \"./VxCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./VxCard.vue?vue&type=style&index=0&lang=scss&\"\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","<template>\n <div class=\"h-screen flex w-full bg-img vx-row no-gutter items-center justify-center\" id=\"page-login\">\n <div class=\"vx-col sm:w-1/2 md:w-1/2 lg:w-3/4 xl:w-3/5 sm:m-0 m-4\">\n <vx-card>\n <div class=\"full-page-bg-color\" slot=\"no-body\">\n <div class=\"vx-row no-gutter justify-center items-center\">\n <div class=\"vx-col hidden lg:block lg:w-1/2\">\n <img alt=\"login\" class=\"mx-auto\" src=\"@/assets/images/pages/login.png\">\n </div>\n <div class=\"vx-col sm:w-full md:w-full lg:w-1/2 d-theme-dark-bg\" ref=\"login\">\n <ValidationObserver mode=\"lazy\" ref=\"validator\" v-slot=\"{ invalid }\">\n <form @submit.prevent=\"login()\">\n <div class=\"w-full p-8\">\n <div class=\"vx-card__title mb-8\">\n <h4 class=\"mb-4\">Login</h4>\n <p>Welcome, please login to your account.</p>\n </div>\n\n <base-input\n :label-placeholder=\"$t('auth.email')\"\n :name=\"$t('auth.email')\"\n autofocus\n class=\"w-full no-icon-border\"\n icon=\"icon icon-user\"\n icon-pack=\"feather\"\n rules=\"required|email\"\n v-model=\"email\"/>\n\n <base-input\n :label-placeholder=\"$t('auth.password')\"\n :name=\"$t('auth.password')\"\n class=\"w-full no-icon-border\"\n icon=\"icon icon-lock\"\n icon-pack=\"feather\"\n rules=\"required\"\n type=\"password\"\n v-model=\"password\"/>\n\n <div class=\"flex flex-wrap justify-between mt-5\">\n <router-link to=\"#\">Forgot Password?</router-link>\n </div>\n <base-button :disabled=\"invalid\" :loading=\"loading\" button=\"filled\"\n class=\"w-full mt-5\" type=\"submit\">\n {{ $t('auth.login') }}\n </base-button>\n </div>\n </form>\n </ValidationObserver>\n </div>\n </div>\n </div>\n </vx-card>\n </div>\n </div>\n</template>\n\n<script>\n import VxCard from \"../../components/vx-card/VxCard\";\n import BaseButton from \"../../components/_base-button\";\n\n export default {\n components: {BaseButton, VxCard},\n data () {\n return {\n email: '',\n password: '',\n loading: false\n }\n },\n methods: {\n async login () {\n const isValid = await this.$refs.validator.validate()\n if (!isValid) return\n this.loading = true\n this.$store.dispatch('login', {email: this.email, password: this.password}).then(async () => {\n await this.$store['dispatch']('me');\n await this.$router.push({name: 'home'});\n }).catch((error) => {\n this.$notificationService.error(error.error)\n }).finally(() => {\n this.loading = false\n })\n }\n }\n }\n</script>\n\n<style lang=\"scss\">\n #page-login {\n .social-login {\n .bg-facebook {\n background-color: #1551b1;\n }\n\n .bg-twitter {\n background-color: #00aaff;\n }\n\n .bg-google {\n background-color: #4285F4;\n }\n\n .bg-github {\n background-color: #333;\n }\n }\n }\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../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=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../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=js&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=45210f6e&\"\nimport script from \"./Login.vue?vue&type=script&lang=js&\"\nexport * from \"./Login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Login.vue?vue&type=style&index=0&lang=scss&\"\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","'use strict';\n\nfunction assign(obj) {\n var arguments$1 = arguments;\n\n for (var i = 1; i < arguments.length; i++) {\n // eslint-disable-next-line guard-for-in, prefer-rest-params\n for (var p in arguments[i]) { obj[p] = arguments$1[i][p]; }\n }\n return obj\n}\n\nvar index = {\n functional: true,\n props: {\n code: {\n type: String\n },\n inline: {\n type: Boolean,\n default: false\n },\n language: {\n type: String,\n default: 'markup'\n }\n },\n render: function render(h, ctx) {\n var code =\n ctx.props.code ||\n (ctx.children && ctx.children.length > 0 ? ctx.children[0].text : '');\n var inline = ctx.props.inline;\n var language = ctx.props.language;\n var prismLanguage = Prism.languages[language];\n var className = \"language-\" + language;\n\n if (process.env.NODE_ENV === 'development' && !prismLanguage) {\n throw new Error(\n (\"Prism component for language \\\"\" + language + \"\\\" was not found, did you forget to register it? See all available ones: https://cdn.jsdelivr.net/npm/prismjs/components/\")\n )\n }\n\n if (inline) {\n return h(\n 'code',\n assign({}, ctx.data, {\n class: [ctx.data.class, className],\n domProps: assign({}, ctx.data.domProps, {\n innerHTML: Prism.highlight(code, prismLanguage)\n })\n })\n )\n }\n\n return h(\n 'pre',\n assign({}, ctx.data, {\n class: [ctx.data.class, className]\n }),\n [\n h('code', {\n class: className,\n domProps: {\n innerHTML: Prism.highlight(code, prismLanguage)\n }\n })\n ]\n )\n }\n};\n\nmodule.exports = index;\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-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=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-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=style&index=0&lang=scss&\""],"sourceRoot":""}