(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-24b1bec4"],{"0b4b":function(s,e,a){},2026:function(s,e,a){"use strict";a.r(e);var t=function(){var s=this,e=s.$createElement,a=s._self._c||e;return a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-12"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("router-link",{staticClass:"btn btn-light btn-sm",attrs:{to:{name:"guru.data"}}},[s._v("kembali")])],1),a("div",{staticClass:"card-body"},[a("guru-form"),a("div",{staticClass:"form-group"},[a("b-button",{attrs:{size:"sm",variant:"primary",disabled:s.isLoading},on:{click:s.submit}},[a("b-spinner",{directives:[{name:"show",rawName:"v-show",value:s.isLoading,expression:"isLoading"}],attrs:{small:"",type:"grow"}}),s._v("Simpan")],1)],1)],1),a("div",{staticClass:"card-footer"})])])])},r=[],o=a("5530"),i=a("2f62"),n=a("cecb"),c=a("9387"),u={name:"AddGuru",data:function(){return{}},computed:Object(o["a"])({},Object(i["c"])(["isLoading"])),methods:Object(o["a"])(Object(o["a"])({},Object(i["b"])("user",["storeUser"])),{},{submit:function(){var s=this;this.storeUser().then((function(e){s.$bvToast.toast("Data user berhasil disimpan.",Object(n["b"])()),s.$router.push({name:"guru.data"})})).catch((function(e){s.$bvToast.toast(e.message,Object(n["a"])())}))}}),components:{"guru-form":c["a"]}},l=u,d=a("2877"),m=Object(d["a"])(l,t,r,!1,null,null,null);e["default"]=m.exports},"60bc":function(s,e,a){"use strict";var t=a("0b4b"),r=a.n(t);r.a},9387:function(s,e,a){"use strict";var t=function(){var s=this,e=s.$createElement,a=s._self._c||e;return a("div",[a("div",{staticClass:"form-group"},[a("label",[s._v("Nama")]),a("input",{directives:[{name:"model",rawName:"v-model",value:s.user.name,expression:"user.name"}],staticClass:"form-control",class:{"is-invalid":s.errors.name},attrs:{type:"text",placeholder:"Nama",autofocus:""},domProps:{value:s.user.name},on:{input:function(e){e.target.composing||s.$set(s.user,"name",e.target.value)}}}),s.errors.name?a("p",{staticClass:"text-danger"},[s._v(s._s(s.errors.name[0]))]):s._e()]),a("div",{staticClass:"form-group"},[a("label",[s._v("Email")]),a("input",{directives:[{name:"model",rawName:"v-model",value:s.user.email,expression:"user.email"}],staticClass:"form-control",class:{"is-invalid":s.errors.email},attrs:{type:"email",placeholder:"Email",autofocus:""},domProps:{value:s.user.email},on:{input:function(e){e.target.composing||s.$set(s.user,"email",e.target.value)}}}),s.errors.email?a("p",{staticClass:"text-danger"},[s._v(s._s(s.errors.email[0]))]):s._e()]),a("div",{staticClass:"form-group"},[a("label",[s._v("Password")]),a("input",{directives:[{name:"model",rawName:"v-model",value:s.user.password,expression:"user.password"}],staticClass:"form-control",class:{"is-invalid":s.errors.password},attrs:{type:"password",placeholder:"Password",autofocus:""},domProps:{value:s.user.password},on:{input:function(e){e.target.composing||s.$set(s.user,"password",e.target.value)}}}),s.errors.password?a("p",{staticClass:"text-danger"},[s._v(s._s(s.errors.password[0]))]):s._e()])])},r=[],o=a("5530"),i=a("2f62"),n={name:"FormMatpel",created:function(){},data:function(){return{}},computed:Object(o["a"])(Object(o["a"])({},Object(i["e"])(["errors"])),Object(i["e"])("user",{user:function(s){return s.user}}))},c=n,u=(a("60bc"),a("2877")),l=Object(u["a"])(c,t,r,!1,null,null,null);e["a"]=l.exports}}]);
//# sourceMappingURL=chunk-24b1bec4.2a558742.js.map