This commit is contained in:
mahdi purHosseini
2023-10-26 13:27:20 +03:30
parent 6b6bfebffa
commit 11ae279f95
86 changed files with 92742 additions and 0 deletions
+438
View File
@@ -0,0 +1,438 @@
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[29],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Dashboard.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/Dashboard.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"] = ({
data: function data() {
return {
AdminCards: [{
title: 'Manage Users',
text: 'You can Manage the users information',
icon: '/img/Static/Dashboard/manageusers.png',
color: 'WM-LightGreenGradient-BG',
route: {
name: 'ManageUsers'
},
aligntext: 'text-md-center',
alignimg: 'text-md-left',
column: 'xs12 md12 sm12',
role: 'Admin|Supervisor'
}, {
title: 'Manage Medical Center',
text: 'You can edit the medical center information',
icon: '/img/Static/Dashboard/settings.png',
color: 'WM-MuskGradient-BG',
route: {
name: 'ManageMedicalCenter'
},
aligntext: 'text-md-left',
alignimg: 'text-md-right',
column: 'xs12 md7 sm7',
role: 'Admin'
}, {
title: 'List Test Type',
text: 'You can simply add your test type',
icon: '/img/Static/Dashboard/result.png',
color: 'WM-GreyGradient-BG',
route: {
name: 'ListTestType'
},
aligntext: 'text-md-left',
alignimg: 'text-md-right',
column: 'xs12 md5 sm5',
role: 'Admin'
}],
SupervisorCards: [{
title: 'Manage Users',
text: 'You can Manage the users information',
icon: '/img/Static/Dashboard/manageusers.png',
color: 'WM-LightGreenGradient-BG',
route: {
name: 'ManageUsers'
},
aligntext: 'text-md-center',
alignimg: 'text-md-left',
column: 'xs12 md12 sm12',
role: 'Admin|Supervisor'
}, {
title: 'Test to Verify',
text: 'You can simply verify your own medical center test result in this section of website',
icon: '/img/Static/Dashboard/verify.png',
color: 'WM-PinkGradient-BG',
route: {
name: 'NotVerifyTestResult'
},
aligntext: 'text-md-center',
alignimg: 'text-md-left',
column: 'xs12 md12 sm12',
role: 'Admin|Supervisor'
}],
UsersCards: [{
title: 'My Info',
text: 'You can easily edit your registration information',
icon: '/img/Static/Dashboard/info.png',
color: 'WM-OrangeGradient-BG',
route: {
name: 'MyInfo'
},
aligntext: 'text-md-left',
alignimg: 'text-md-right',
column: 'xs12 md6 sm6'
}, {
title: 'All Test Result',
text: 'You can see all user tests and own tests',
icon: '/img/Static/Dashboard/alltest.png',
color: 'WM-GreenGradient-BG',
route: {
name: 'AllResultTest'
},
aligntext: 'text-md-left',
alignimg: 'text-md-right',
column: 'xs12 md6 sm6'
}, {
title: 'Add a Test Result',
text: 'You can add the test result',
icon: '/img/Static/Dashboard/addtest.png',
color: 'WM-YellowGradient-BG',
route: {
name: 'SubmitTestResult'
},
aligntext: 'text-md-center',
alignimg: 'text-md-left',
column: 'xs12 md12 sm12'
}]
};
}
});
/***/ }),
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c&":
/*!***********************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c& ***!
\***********************************************************************************************************************************************************************************************************/
/*! 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: { fluid: "" } },
[
_vm.$hasRole("Admin")
? _c(
"material-card",
{ attrs: { color: "black", title: "Admin", text: "" } },
[
_c(
"v-layout",
{ attrs: { row: "", wrap: "" } },
[
_vm._l(_vm.AdminCards, function (AdminCard, Key) {
return [
!AdminCard.role || _vm.$hasRole(AdminCard.role)
? _c(
"v-flex",
{ key: Key, class: [AdminCard.column, "pa-2"] },
[
_c(
"router-link",
{ attrs: { to: AdminCard.route } },
[
_c("material-cards", {
attrs: {
title: AdminCard.title,
icon: AdminCard.icon,
color: AdminCard.color,
text: AdminCard.text,
aligntext: AdminCard.aligntext,
alignimg: AdminCard.alignimg,
},
}),
],
1
),
],
1
)
: _vm._e(),
]
}),
],
2
),
],
1
)
: _vm._e(),
_vm._v(" "),
_vm.$hasRole("Supervisor|Admin")
? _c(
"material-card",
{ attrs: { color: "black", title: "Supervisor", text: "" } },
[
_c(
"v-layout",
{ attrs: { row: "", wrap: "" } },
[
_vm._l(_vm.SupervisorCards, function (SupervisorCard, Key) {
return [
!SupervisorCard.role || _vm.$hasRole(SupervisorCard.role)
? _c(
"v-flex",
{
key: Key,
class: [SupervisorCard.column, "pa-2"],
},
[
_c(
"router-link",
{ attrs: { to: SupervisorCard.route } },
[
_c("material-cards", {
attrs: {
title: SupervisorCard.title,
icon: SupervisorCard.icon,
color: SupervisorCard.color,
text: SupervisorCard.text,
aligntext: SupervisorCard.aligntext,
alignimg: SupervisorCard.alignimg,
},
}),
],
1
),
],
1
)
: _vm._e(),
]
}),
],
2
),
],
1
)
: _vm._e(),
_vm._v(" "),
_c(
"material-card",
{ attrs: { color: "black", title: "User", text: "" } },
[
_c(
"v-layout",
{ attrs: { row: "", wrap: "" } },
[
_vm._l(_vm.UsersCards, function (UsersCard, Key) {
return [
!UsersCard.role || _vm.$hasRole(UsersCard.role)
? _c(
"v-flex",
{ key: Key, class: [UsersCard.column, "pa-2"] },
[
_c(
"router-link",
{ attrs: { to: UsersCard.route } },
[
_c("material-cards", {
attrs: {
title: UsersCard.title,
icon: UsersCard.icon,
color: UsersCard.color,
text: UsersCard.text,
aligntext: UsersCard.aligntext,
alignimg: UsersCard.alignimg,
},
}),
],
1
),
],
1
)
: _vm._e(),
]
}),
],
2
),
],
1
),
],
1
)
}
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ "./resources/js/vue/views/Dashboard.vue":
/*!**********************************************!*\
!*** ./resources/js/vue/views/Dashboard.vue ***!
\**********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dashboard.vue?vue&type=template&id=1e64fb7c& */ "./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c&");
/* harmony import */ var _Dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dashboard.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Dashboard.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"])(
_Dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__["render"],
_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
null,
null
)
/* hot reload */
if (false) { var api; }
component.options.__file = "resources/js/vue/views/Dashboard.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ "./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js&":
/*!***********************************************************************!*\
!*** ./resources/js/vue/views/Dashboard.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_Dashboard_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!./Dashboard.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Dashboard.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_Dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
/***/ }),
/***/ "./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c&":
/*!*****************************************************************************!*\
!*** ./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c& ***!
\*****************************************************************************/
/*! 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_Dashboard_vue_vue_type_template_id_1e64fb7c___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!./Dashboard.vue?vue&type=template&id=1e64fb7c& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c&");
/* 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_Dashboard_vue_vue_type_template_id_1e64fb7c___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_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/***/ })
}]);