%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/hrsys/web/js/
Upload File :
Create Path :
Current File : /var/www/html/hrsys/web/js/chunk-ac4cc656.160e1cbb.js

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ac4cc656"],{"05e4":function(t,e,o){},"0c97":function(t,e,o){},"1f8b":function(t,e,o){t.exports=o.p+"img/login.d814adb7.png"},"89b8":function(t,e,o){"use strict";var n=o("05e4"),s=o.n(n);s.a},"8b48":function(t,e,o){"use strict";o.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"h-screen flex w-full bg-img vx-row no-gutter items-center justify-center",attrs:{id:"page-login"}},[n("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"},[n("vx-card",[n("div",{staticClass:"full-page-bg-color",attrs:{slot:"no-body"},slot:"no-body"},[n("div",{staticClass:"vx-row no-gutter justify-center items-center"},[n("div",{staticClass:"vx-col hidden lg:block lg:w-1/2"},[n("img",{staticClass:"mx-auto",attrs:{alt:"login",src:o("1f8b")}})]),n("div",{ref:"login",staticClass:"vx-col sm:w-full md:w-full lg:w-1/2 d-theme-dark-bg"},[n("ValidationObserver",{ref:"validator",attrs:{mode:"lazy"},scopedSlots:t._u([{key:"default",fn:function(e){var o=e.invalid;return[n("form",{on:{submit:function(e){return e.preventDefault(),t.login()}}},[n("div",{staticClass:"w-full p-8"},[n("div",{staticClass:"vx-card__title mb-8"},[n("h4",{staticClass:"mb-4"},[t._v("Login")]),n("p",[t._v("Welcome, please login to your account.")])]),n("base-input",{staticClass:"w-full no-icon-border",attrs:{"label-placeholder":t.$t("auth.email"),name:t.$t("auth.email"),autofocus:"",icon:"icon icon-user","icon-pack":"feather",rules:"required|email"},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}}),n("base-input",{staticClass:"w-full no-icon-border",attrs:{"label-placeholder":t.$t("auth.password"),name:t.$t("auth.password"),icon:"icon icon-lock","icon-pack":"feather",rules:"required",type:"password"},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),n("div",{staticClass:"flex flex-wrap justify-between mt-5"},[n("router-link",{attrs:{to:"#"}},[t._v("Forgot Password?")])],1),n("base-button",{staticClass:"w-full mt-5",attrs:{disabled:o,loading:t.loading,button:"filled",type:"submit"}},[t._v(" "+t._s(t.$t("auth.login"))+" ")])],1)])]}}])})],1)])])])],1)])},s=[],a=(o("d3b7"),o("96cf"),o("1da1")),i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{ref:"card",staticClass:"vx-card",class:[{"overflow-hidden":t.tempHidden},{"no-shadow":t.noShadow},{"rounded-none":t.noRadius},{"card-border":t.cardBorder},t.cardClasses],style:t.cardStyles},[t.hasHeader?o("div",{staticClass:"vx-card__header"},[o("div",{staticClass:"vx-card__title"},[this.$props.title?o("h4",{class:t.titleClasses,style:t.titleStyles},[t._v(t._s(t.title))]):t._e(),this.$props.subtitle?o("h6",{class:t.subtitleClasses,style:t.subtitleStyles},[t._v(t._s(t.subtitle))]):t._e()]),t.hasAction?o("div",{staticClass:"vx-card__actions"},[t._t("actions",[(t.actionButtons||t.collapseAction||t.refreshContentAction||t.removeCardAction)&&!t.codeToggler?o("div",{staticClass:"vx-card__action-buttons"},[t.actionButtons||t.collapseAction?o("feather-icon",{staticClass:"ml-4",class:{rotate180:!t.isContentCollapsed},attrs:{icon:"ChevronUpIcon"},on:{click:t.toggleContent}}):t._e(),t.actionButtons||t.refreshContentAction?o("feather-icon",{staticClass:"ml-4",attrs:{icon:"RotateCwIcon"},on:{click:t.refreshcard}}):t._e(),t.actionButtons||t.removeCardAction?o("feather-icon",{staticClass:"ml-4",attrs:{icon:"XIcon"},on:{click:t.removeCard}}):t._e()],1):t._e(),t.codeToggler&&!t.actionButtons?o("div",{staticClass:"vx-card__code-toggler sm:block hidden"},[o("feather-icon",{class:{"border border-solid border-primary border-t-0 border-r-0 border-l-0":t.showCode},attrs:{icon:"CodeIcon"},on:{click:t.toggleCode}})],1):t._e()])],2):t._e()]):t._e(),o("div",{ref:"content",staticClass:"vx-card__collapsible-content vs-con-loading__container",class:[{collapsed:t.isContentCollapsed},{"overflow-hidden":t.tempHidden}],style:t.StyleItems},[t._t("no-body"),this.$slots.default?o("div",{staticClass:"vx-card__body"},[t._t("default")],2):t._e(),t._t("no-body-bottom"),this.$slots.footer?o("div",{staticClass:"vx-card__footer"},[t._t("footer")],2):t._e()],2),o("div",{directives:[{name:"show",rawName:"v-show",value:this.$slots.codeContainer,expression:"this.$slots.codeContainer"}],ref:"codeContainer",staticClass:"vx-card__code-container",class:{collapsed:!t.showCode},style:t.codeContainerStyles},[o("div",{staticClass:"code-content"},[o("prism",{attrs:{language:t.codeLanguage}},[t._t("codeContainer")],2)],1)])])},r=[],l=(o("498a"),o("8d51")),c=o.n(l),d=o("ee53"),u={name:"vx-card",props:{title:String,subtitle:String,actionButtons:{type:Boolean,default:!1},actionButtonsColor:{type:String,default:"success"},codeToggler:{type:Boolean,default:!1},noShadow:{default:!1,type:Boolean},noRadius:{default:!1,type:Boolean},cardBorder:{default:!1,type:Boolean},codeLanguage:{default:"markup",type:String},collapseAction:{default:!1,type:Boolean},refreshContentAction:{default:!1,type:Boolean},removeCardAction:{default:!1,type:Boolean},headerBackground:{default:"",type:String},cardBackground:{default:"",type:String},contentColor:{default:"",type:String},titleColor:{default:"",type:String},subtitleColor:{default:"#b8c2cc",type:String}},data:function(){return{isContentCollapsed:!1,showCode:!1,maxHeight:null,cardMaxHeight:null,codeContainerMaxHeight:"0px",tempHidden:!1}},computed:{hasAction:function(){return this.$slots.actions||this.actionButtons||this.collapseAction||this.refreshContentAction||this.removeCardAction||this.codeToggler},hasHeader:function(){return this.hasAction||this.title||this.subtitle},StyleItems:function(){return{maxHeight:this.maxHeight}},cardStyles:function(){var t={maxHeight:this.cardMaxHeight};return d["a"].isColor(this.cardBackground)||(t.background=d["a"].getColor(this.cardBackground)),d["a"].isColor(this.contentColor)||(t.color=d["a"].getColor(this.contentColor)),t},codeContainerStyles:function(){return{maxHeight:this.codeContainerMaxHeight}},cardClasses:function(){var t="";return d["a"].isColor(this.cardBackground)&&(t+=" bg-".concat(this.cardBackground)),d["a"].isColor(this.contentColor)&&(t+=" text-".concat(this.contentColor)),t.trim()},titleStyles:function(){return{color:d["a"].getColor(this.titleColor)}},titleClasses:function(){var t="";return d["a"].isColor(this.titleColor)&&(t+=" text-".concat(this.titleColor)),t.trim()},subtitleStyles:function(){var t={};return d["a"].isColor(this.subtitleColor)||(t.color=d["a"].getColor(this.subtitleColor)),t},subtitleClasses:function(){var t="";return d["a"].isColor(this.subtitleColor)&&(t+=" text-".concat(this.subtitleColor)),t.trim()}},methods:{toggleContent:function(){var t=this;this.$refs.content.style.overflow="hidden";var e=this.$refs.content.scrollHeight;"1.5rem"==this.maxHeight?(this.maxHeight="".concat(e,"px"),setTimeout((function(){t.maxHeight="none",t.$refs.content.style.overflow="hidden"}),300)):(this.maxHeight="".concat(e,"px"),setTimeout((function(){t.maxHeight="1.5rem",t.$refs.content.style.overflow="hidden"}),50)),this.isContentCollapsed=!this.isContentCollapsed,this.$emit("toggleCollapse",this.isContentCollapsed)},refreshcard:function(){this.$vs.loading({container:this.$refs.content,scale:.5}),this.tempHidden=!0,this.$emit("refresh",this)},removeRefreshAnimation:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;setTimeout((function(){t.$vs.loading.close(t.$refs.content),t.tempHidden=!1}),e)},removeCard:function(){var t=this,e=this.$refs.card.scrollHeight;this.cardMaxHeight="".concat(e,"px"),this.$el.style.overflow="hidden",setTimeout((function(){t.cardMaxHeight="0px"}),50),this.$emit("remove")},toggleCode:function(){var t=this;this.tempHidden=!0,this.showCode=!this.showCode;var e=this.$refs.codeContainer.scrollHeight;"0px"==this.codeContainerMaxHeight?(this.codeContainerMaxHeight="".concat(e,"px"),setTimeout((function(){t.codeContainerMaxHeight="none",t.tempHidden=!1}),300)):(this.codeContainerMaxHeight="".concat(e,"px"),setTimeout((function(){t.codeContainerMaxHeight="0px",t.tempHidden=!1}),150))}},components:{Prism:c.a}},h=u,f=(o("89b8"),o("2877")),g=Object(f["a"])(h,i,r,!1,null,null,null),p=g.exports,m=o("8339"),C={components:{BaseButton:m["default"],VxCard:p},data:function(){return{email:"",password:"",loading:!1}},methods:{login:function(){var t=this;return Object(a["a"])(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.validator.validate();case 2:if(o=e.sent,o){e.next=5;break}return e.abrupt("return");case 5:t.loading=!0,t.$store.dispatch("login",{email:t.email,password:t.password}).then(Object(a["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$store["dispatch"]("me");case 2:return e.next=4,t.$router.push({name:"home"});case 4:case"end":return e.stop()}}),e)})))).catch((function(e){t.$notificationService.error(e.error)})).finally((function(){t.loading=!1}));case 7:case"end":return e.stop()}}),e)})))()}}},v=C,x=(o("f499"),Object(f["a"])(v,n,s,!1,null,null,null));e["default"]=x.exports},"8d51":function(t,e,o){"use strict";function n(t){for(var e=arguments,o=1;o<arguments.length;o++)for(var n in arguments[o])t[n]=e[o][n];return t}var s={functional:!0,props:{code:{type:String},inline:{type:Boolean,default:!1},language:{type:String,default:"markup"}},render:function(t,e){var o=e.props.code||(e.children&&e.children.length>0?e.children[0].text:""),s=e.props.inline,a=e.props.language,i=Prism.languages[a],r="language-"+a;return s?t("code",n({},e.data,{class:[e.data.class,r],domProps:n({},e.data.domProps,{innerHTML:Prism.highlight(o,i)})})):t("pre",n({},e.data,{class:[e.data.class,r]}),[t("code",{class:r,domProps:{innerHTML:Prism.highlight(o,i)}})])}};t.exports=s},f499:function(t,e,o){"use strict";var n=o("0c97"),s=o.n(n);s.a}}]);
//# sourceMappingURL=chunk-ac4cc656.160e1cbb.js.map

Zerion Mini Shell 1.0