mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 20:01:07 +03:30
425 lines
18 KiB
JavaScript
Vendored
425 lines
18 KiB
JavaScript
Vendored
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[7],{
|
|
|
|
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.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/Auth/Login.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 vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
|
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
data: function data() {
|
|
return {
|
|
cell_number: "",
|
|
password: "",
|
|
show1: false
|
|
};
|
|
},
|
|
computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__["mapGetters"])('auth', ['authenticating', 'authenticationError', 'authenticationErrorCode'])),
|
|
methods: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__["mapActions"])('auth', ['login']), {
|
|
handleSubmit: function handleSubmit() {
|
|
// Perform a simple validation that cell_number and password have been typed in
|
|
if (this.cell_number != '' && this.password != '') {
|
|
this.login({
|
|
cell_number: this.cell_number,
|
|
password: this.password
|
|
});
|
|
this.password = "";
|
|
}
|
|
}
|
|
})
|
|
});
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&":
|
|
/*!************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true& ***!
|
|
\************************************************************************************************************************************************************************************************************************/
|
|
/*! 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-form",
|
|
[
|
|
_c(
|
|
"v-container",
|
|
{ attrs: { "grid-list-xs": "" } },
|
|
[
|
|
_c(
|
|
"v-layout",
|
|
{ staticClass: "justify-center", attrs: { row: "", wrap: "" } },
|
|
[
|
|
_c(
|
|
"v-flex",
|
|
{
|
|
staticClass: "WM-WidthScreen-SM WM-WidthScreen-XS",
|
|
attrs: { xs12: "", md3: "", sm3: "" }
|
|
},
|
|
[
|
|
_c(
|
|
"material-card",
|
|
{ attrs: { color: "black", title: "Login Page" } },
|
|
[
|
|
_c(
|
|
"v-layout",
|
|
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
|
[
|
|
_c(
|
|
"v-flex",
|
|
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
|
[
|
|
_c("v-text-field", {
|
|
attrs: {
|
|
name: "cellnumber",
|
|
label: "Cell Number",
|
|
id: "id1",
|
|
color: "black"
|
|
},
|
|
model: {
|
|
value: _vm.cell_number,
|
|
callback: function($$v) {
|
|
_vm.cell_number = $$v
|
|
},
|
|
expression: "cell_number"
|
|
}
|
|
})
|
|
],
|
|
1
|
|
)
|
|
],
|
|
1
|
|
),
|
|
_vm._v(" "),
|
|
_c(
|
|
"v-layout",
|
|
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
|
[
|
|
_c(
|
|
"v-flex",
|
|
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
|
[
|
|
_c("v-text-field", {
|
|
staticClass: "pa-2",
|
|
attrs: {
|
|
name: "password",
|
|
label: "Password",
|
|
type: _vm.show1 ? "text" : "password",
|
|
"append-icon": _vm.show1
|
|
? "visibility"
|
|
: "visibility_off",
|
|
color: "black"
|
|
},
|
|
on: {
|
|
"click:append": function($event) {
|
|
_vm.show1 = !_vm.show1
|
|
}
|
|
},
|
|
model: {
|
|
value: _vm.password,
|
|
callback: function($$v) {
|
|
_vm.password = $$v
|
|
},
|
|
expression: "password"
|
|
}
|
|
})
|
|
],
|
|
1
|
|
)
|
|
],
|
|
1
|
|
),
|
|
_vm._v(" "),
|
|
_c(
|
|
"v-layout",
|
|
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
|
[
|
|
_c(
|
|
"v-flex",
|
|
{
|
|
staticClass:
|
|
"text-md-left text-sm-center text-xs-center",
|
|
attrs: { xs12: "", md6: "", sm6: "" }
|
|
},
|
|
[
|
|
_c(
|
|
"v-btn",
|
|
{
|
|
staticClass: "WM-CyanBlueGradient-BG",
|
|
staticStyle: { padding: "10px 60px" },
|
|
on: { click: _vm.handleSubmit }
|
|
},
|
|
[
|
|
_c(
|
|
"v-icon",
|
|
{ staticClass: "white--text mr-2 caption" },
|
|
[_vm._v("fas fa-sign-in-alt")]
|
|
),
|
|
_vm._v(" "),
|
|
_c("span", { staticClass: "white--text" }, [
|
|
_vm._v("Login")
|
|
])
|
|
],
|
|
1
|
|
)
|
|
],
|
|
1
|
|
),
|
|
_vm._v(" "),
|
|
_c(
|
|
"v-flex",
|
|
{
|
|
staticClass:
|
|
"text-md-right text-sm-center text-xs-center",
|
|
attrs: { xs12: "", md6: "", sm6: "" }
|
|
},
|
|
[
|
|
_c(
|
|
"router-link",
|
|
{
|
|
staticClass: "black--text",
|
|
attrs: { to: "register" }
|
|
},
|
|
[
|
|
_c(
|
|
"v-btn",
|
|
{
|
|
staticClass:
|
|
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
|
},
|
|
[
|
|
_c(
|
|
"v-icon",
|
|
{
|
|
staticClass:
|
|
"black--text mr-2 caption"
|
|
},
|
|
[_vm._v("fas fa-plus")]
|
|
),
|
|
_vm._v(" "),
|
|
_c(
|
|
"span",
|
|
{ staticClass: "black--text" },
|
|
[_vm._v("Register")]
|
|
)
|
|
],
|
|
1
|
|
)
|
|
],
|
|
1
|
|
)
|
|
],
|
|
1
|
|
)
|
|
],
|
|
1
|
|
),
|
|
_vm._v(" "),
|
|
_c(
|
|
"v-layout",
|
|
{
|
|
staticClass:
|
|
"text-md-left text-sm-center text-xs-center",
|
|
attrs: { row: "", wrap: "" }
|
|
},
|
|
[
|
|
_c(
|
|
"v-flex",
|
|
{
|
|
staticClass: "px-4 py-3",
|
|
attrs: { xs12: "", md6: "", sm6: "" }
|
|
},
|
|
[
|
|
_c(
|
|
"router-link",
|
|
{ attrs: { to: "/forgot-password" } },
|
|
[
|
|
_c(
|
|
"span",
|
|
{
|
|
staticClass: "black--text",
|
|
staticStyle: {
|
|
"border-bottom": "1px solid #000"
|
|
}
|
|
},
|
|
[_vm._v("Forgot Password ?")]
|
|
)
|
|
]
|
|
)
|
|
],
|
|
1
|
|
)
|
|
],
|
|
1
|
|
)
|
|
],
|
|
1
|
|
)
|
|
],
|
|
1
|
|
)
|
|
],
|
|
1
|
|
)
|
|
],
|
|
1
|
|
)
|
|
],
|
|
1
|
|
)
|
|
}
|
|
var staticRenderFns = []
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./resources/js/vue/views/Auth/Login.vue":
|
|
/*!***********************************************!*\
|
|
!*** ./resources/js/vue/views/Auth/Login.vue ***!
|
|
\***********************************************/
|
|
/*! exports provided: default */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Login.vue?vue&type=template&id=36ebd76a&scoped=true& */ "./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&");
|
|
/* harmony import */ var _Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Login.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Auth/Login.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"])(
|
|
_Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
false,
|
|
null,
|
|
"36ebd76a",
|
|
null
|
|
|
|
)
|
|
|
|
/* hot reload */
|
|
if (false) { var api; }
|
|
component.options.__file = "resources/js/vue/views/Auth/Login.vue"
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&":
|
|
/*!************************************************************************!*\
|
|
!*** ./resources/js/vue/views/Auth/Login.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_Login_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!./Login.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.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_Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&":
|
|
/*!******************************************************************************************!*\
|
|
!*** ./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true& ***!
|
|
\******************************************************************************************/
|
|
/*! 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_Login_vue_vue_type_template_id_36ebd76a_scoped_true___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!./Login.vue?vue&type=template&id=36ebd76a&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&");
|
|
/* 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_Login_vue_vue_type_template_id_36ebd76a_scoped_true___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_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
}]); |