mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 17:31:05 +03:30
517 lines
22 KiB
JavaScript
Vendored
517 lines
22 KiB
JavaScript
Vendored
<<<<<<< HEAD
|
||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[21],{
|
||
|
||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js&":
|
||
/*!*********************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js& ***!
|
||
\*********************************************************************************************************************************************************************/
|
||
/*! exports provided: default */
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
__webpack_require__.r(__webpack_exports__);
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
//
|
||
/* harmony default export */ __webpack_exports__["default"] = ({//
|
||
});
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346&":
|
||
/*!*************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346& ***!
|
||
\*************************************************************************************************************************************************************************************************************/
|
||
/*! exports provided: render, staticRenderFns */
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
__webpack_require__.r(__webpack_exports__);
|
||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
||
var render = function() {
|
||
var _vm = this
|
||
var _h = _vm.$createElement
|
||
var _c = _vm._self._c || _h
|
||
return _c(
|
||
"v-container",
|
||
{ attrs: { "fill-height": "", fluid: "", "grid-list-xl": "" } },
|
||
[
|
||
_c(
|
||
"v-layout",
|
||
{ attrs: { "justify-center": "", wrap: "" } },
|
||
[
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "", md8: "" } },
|
||
[
|
||
_c(
|
||
"material-card",
|
||
{
|
||
attrs: {
|
||
color: "green",
|
||
title: "Edit Profile",
|
||
text: "Complete your profile"
|
||
}
|
||
},
|
||
[
|
||
_c(
|
||
"v-form",
|
||
[
|
||
_c(
|
||
"v-container",
|
||
{ attrs: { "py-0": "" } },
|
||
[
|
||
_c(
|
||
"v-layout",
|
||
{ attrs: { wrap: "" } },
|
||
[
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "", md4: "" } },
|
||
[
|
||
_c("v-text-field", {
|
||
attrs: {
|
||
label: "Company (disabled)",
|
||
disabled: ""
|
||
}
|
||
})
|
||
],
|
||
1
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "", md4: "" } },
|
||
[
|
||
_c("v-text-field", {
|
||
staticClass: "purple-input",
|
||
attrs: { label: "User Name" }
|
||
})
|
||
],
|
||
1
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "", md4: "" } },
|
||
[
|
||
_c("v-text-field", {
|
||
staticClass: "purple-input",
|
||
attrs: { label: "Email Address" }
|
||
})
|
||
],
|
||
1
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "", md6: "" } },
|
||
[
|
||
_c("v-text-field", {
|
||
staticClass: "purple-input",
|
||
attrs: { label: "First Name" }
|
||
})
|
||
],
|
||
1
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "", md6: "" } },
|
||
[
|
||
_c("v-text-field", {
|
||
staticClass: "purple-input",
|
||
attrs: { label: "Last Name" }
|
||
})
|
||
],
|
||
1
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "", md12: "" } },
|
||
[
|
||
_c("v-text-field", {
|
||
staticClass: "purple-input",
|
||
attrs: { label: "Adress" }
|
||
})
|
||
],
|
||
1
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "", md4: "" } },
|
||
[
|
||
_c("v-text-field", {
|
||
staticClass: "purple-input",
|
||
attrs: { label: "City" }
|
||
})
|
||
],
|
||
1
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "", md4: "" } },
|
||
[
|
||
_c("v-text-field", {
|
||
staticClass: "purple-input",
|
||
attrs: { label: "Country" }
|
||
})
|
||
],
|
||
1
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "", md4: "" } },
|
||
[
|
||
_c("v-text-field", {
|
||
staticClass: "purple-input",
|
||
attrs: {
|
||
label: "Postal Code",
|
||
type: "number"
|
||
}
|
||
})
|
||
],
|
||
1
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "" } },
|
||
[
|
||
_c("v-textarea", {
|
||
staticClass: "purple-input",
|
||
attrs: {
|
||
label: "About Me",
|
||
value:
|
||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
||
}
|
||
})
|
||
],
|
||
1
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "", "text-xs-right": "" } },
|
||
[
|
||
_c(
|
||
"v-btn",
|
||
{
|
||
staticClass: "mx-0 font-weight-light",
|
||
attrs: { color: "success" }
|
||
},
|
||
[
|
||
_vm._v(
|
||
"\n Update Profile\n "
|
||
)
|
||
]
|
||
)
|
||
],
|
||
1
|
||
)
|
||
],
|
||
1
|
||
)
|
||
],
|
||
1
|
||
)
|
||
],
|
||
1
|
||
)
|
||
],
|
||
1
|
||
)
|
||
],
|
||
1
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-flex",
|
||
{ attrs: { xs12: "", md4: "" } },
|
||
[
|
||
_c(
|
||
"material-card",
|
||
{ staticClass: "v-card-profile" },
|
||
[
|
||
_c(
|
||
"v-avatar",
|
||
{
|
||
staticClass: "mx-auto d-block",
|
||
attrs: { slot: "offset", size: "130" },
|
||
slot: "offset"
|
||
},
|
||
[_c("img", { attrs: { src: "/img/" } })]
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-card-text",
|
||
{ staticClass: "text-xs-center" },
|
||
[
|
||
_c(
|
||
"h6",
|
||
{
|
||
staticClass:
|
||
"category text-gray font-weight-thin mb-3"
|
||
},
|
||
[_vm._v("CEO / CO-FOUNDER")]
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"h4",
|
||
{ staticClass: "card-title font-weight-light" },
|
||
[_vm._v("Alec Thompson")]
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"p",
|
||
{ staticClass: "card-description font-weight-light" },
|
||
[
|
||
_vm._v(
|
||
"Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is..."
|
||
)
|
||
]
|
||
),
|
||
_vm._v(" "),
|
||
_c(
|
||
"v-btn",
|
||
{
|
||
staticClass: "font-weight-light",
|
||
attrs: { color: "success", round: "" }
|
||
},
|
||
[_vm._v("Follow")]
|
||
)
|
||
],
|
||
1
|
||
)
|
||
],
|
||
1
|
||
)
|
||
],
|
||
1
|
||
)
|
||
],
|
||
1
|
||
)
|
||
],
|
||
1
|
||
)
|
||
}
|
||
var staticRenderFns = []
|
||
render._withStripped = true
|
||
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./resources/js/vue/views/UserProfile.vue":
|
||
/*!************************************************!*\
|
||
!*** ./resources/js/vue/views/UserProfile.vue ***!
|
||
\************************************************/
|
||
/*! exports provided: default */
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
__webpack_require__.r(__webpack_exports__);
|
||
/* harmony import */ var _UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UserProfile.vue?vue&type=template&id=47383346& */ "./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346&");
|
||
/* harmony import */ var _UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./UserProfile.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js&");
|
||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||
|
||
|
||
|
||
|
||
|
||
/* normalize component */
|
||
|
||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||
_UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||
_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||
_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||
false,
|
||
null,
|
||
null,
|
||
null
|
||
|
||
)
|
||
|
||
/* hot reload */
|
||
if (false) { var api; }
|
||
component.options.__file = "resources/js/vue/views/UserProfile.vue"
|
||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js&":
|
||
/*!*************************************************************************!*\
|
||
!*** ./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js& ***!
|
||
\*************************************************************************/
|
||
/*! exports provided: default */
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
__webpack_require__.r(__webpack_exports__);
|
||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./UserProfile.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js&");
|
||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346&":
|
||
/*!*******************************************************************************!*\
|
||
!*** ./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346& ***!
|
||
\*******************************************************************************/
|
||
/*! exports provided: render, staticRenderFns */
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
__webpack_require__.r(__webpack_exports__);
|
||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./UserProfile.vue?vue&type=template&id=47383346& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346&");
|
||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||
|
||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||
|
||
|
||
|
||
/***/ })
|
||
|
||
}]);
|
||
=======
|
||
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{"S++u":function(e,t,s){"use strict";s.r(t);var a=s("o0o1"),r=s.n(a),n=s("Y8XJ"),l=s("85lN");function i(e,t,s,a,r,n,l){try{var i=e[n](l),c=i.value}catch(e){return void s(e)}i.done?t(c):Promise.resolve(c).then(a,r)}var c={data:function(){return{user:{cell_number:"",gender:"",name:"",email:"",address:""},items:["Male","FeMale"],rules:{required:function(e){return!!e||"Required."},counter:function(e){return 0==e.length||e.length>=5||"Min 5 characters"},email:function(e){if(e.length>0){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)||"Invalid e-mail."}}}}},created:function(){this.user=this.$store.state.user},methods:{saveInfo:function(){var e,t=(e=r.a.mark(function e(){var t;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.$refs.form.validate()){e.next=5;break}return e.next=3,n.a.post(l.a.updateInfo,this.user);case 3:(t=e.sent)&&200==t.status&&(this.$store.dispatch("info",{},{root:!0}),this.$router.push({name:"Dashboard"}));case 5:case"end":return e.stop()}},e,this)}),function(){var t=this,s=arguments;return new Promise(function(a,r){var n=e.apply(t,s);function l(e){i(n,a,r,l,c,"next",e)}function c(e){i(n,a,r,l,c,"throw",e)}l(void 0)})});return function(){return t.apply(this,arguments)}}()}},u=s("KHd+"),o=Object(u.a)(c,function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("v-form",{ref:"form"},[s("v-container",{attrs:{"grid-list-xs":"",fluid:""}},[s("material-card",{attrs:{color:"black",title:"My Info"}},[s("v-layout",{staticClass:"px-5 my-3",attrs:{"align-center":"","justify-center":"",wrap:""}},[s("v-flex",{attrs:{xs12:"",sm4:"",md4:""}},[s("v-text-field",{staticClass:"pa-2",attrs:{name:"name",label:"Name",color:"black",rules:[e.rules.required,e.rules.counter]},model:{value:e.user.name,callback:function(t){e.$set(e.user,"name",t)},expression:"user.name"}})],1),e._v(" "),s("v-flex",{attrs:{xs12:"",sm4:"",md4:""}},[s("v-select",{staticClass:"pa-2",attrs:{items:e.items,label:"Gender",name:"gender","single-line":"",rules:[e.rules.required],color:"black"},model:{value:e.user.gender,callback:function(t){e.$set(e.user,"gender",t)},expression:"user.gender"}})],1),e._v(" "),s("v-flex",{attrs:{xs12:"",sm4:"",md4:""}},[s("v-text-field",{staticClass:"pa-2",attrs:{name:"cellnumber",label:"Cell Number",mask:"0### ### ####",color:"black",disabled:""},model:{value:e.user.cell_number,callback:function(t){e.$set(e.user,"cell_number",t)},expression:"user.cell_number"}})],1)],1),e._v(" "),s("v-layout",{staticClass:"px-5 mb-3",attrs:{"align-center":"","justify-center":"",wrap:""}},[s("v-flex",{attrs:{xs12:"",sm4:"",md4:""}},[s("v-text-field",{staticClass:"px-2",staticStyle:{"padding-top":"75px"},attrs:{name:"emailaddress",label:"Email Address",rules:[e.rules.email],color:"black"},model:{value:e.user.email,callback:function(t){e.$set(e.user,"email",t)},expression:"user.email"}})],1),e._v(" "),s("v-flex",{attrs:{xs12:"",sm8:"",md8:""}},[s("v-textarea",{staticClass:"pa-2",attrs:{color:"black",rules:[e.rules.counter],name:"address"},scopedSlots:e._u([{key:"label",fn:function(){return[s("div",[e._v("Address")])]},proxy:!0}]),model:{value:e.user.address,callback:function(t){e.$set(e.user,"address",t)},expression:"user.address"}})],1)],1),e._v(" "),s("v-layout",{attrs:{row:"",wrap:"","justify-center":"","align-center":""}},[s("v-flex",{staticClass:"text-md-center text-xs-center",attrs:{xs12:"",md2:"",sm2:""}},[s("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"},on:{click:function(t){return e.saveInfo()}}},[s("v-icon",{staticClass:"white--text mr-2 caption"},[e._v("fas fa-check")]),e._v(" "),s("span",{staticClass:"white--text"},[e._v("SAVE")])],1)],1),e._v(" "),s("v-flex",{staticClass:"text-md-center text-sm-center text-xs-center",attrs:{xs12:"",md2:"",sm2:""}},[s("router-link",{attrs:{to:"/"}},[s("v-btn",{staticClass:"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"},[s("v-icon",{staticClass:"black--text"},[e._v("keyboard_arrow_left")]),e._v(" "),s("span",{staticClass:"black--text"},[e._v("Back")])],1)],1)],1)],1)],1)],1)],1)},[],!1,null,null,null);t.default=o.exports}}]);
|
||
>>>>>>> c0523d8c4c6c4a2bf434f5e44966d4bd2196d99e
|