text: (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[93],{
  
  /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=script&lang=js&":
  /*!**********************************************************************************************************************************************************************************!*\
    !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/admin/js/src/views/apps/user/UserView.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 _store_user_management_moduleUserManagement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/store/user-management/moduleUserManagement.js */ "./resources/admin/js/src/store/user-management/moduleUserManagement.js");
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  
  /* harmony default export */ __webpack_exports__["default"] = ({
    data: function data() {
      return {
        user_data: null,
        user_not_found: false
      };
    },
    computed: {
      userAddress: function userAddress() {
        var str = '';
  
        for (var field in this.user_data.location) {
          str += "".concat(field, " ");
        }
  
        return str;
      }
    },
    methods: {
      confirmDeleteRecord: function confirmDeleteRecord() {
        this.$vs.dialog({
          type: 'confirm',
          color: 'danger',
          title: 'Confirm Delete',
          text: "You are about to delete \"".concat(this.user_data.username, "\""),
          accept: this.deleteRecord,
          acceptText: 'Delete'
        });
      },
      deleteRecord: function deleteRecord() {
        /* Below two lines are just for demo purpose */
        this.$router.push({
          name: 'app-user-list'
        });
        this.showDeleteSuccess();
        /* UnComment below lines for enabling true flow if deleting user */
        // this.$store.dispatch("userManagement/removeRecord", this.user_data.id)
        //   .then(()   => { this.$router.push({name:'app-user-list'}); this.showDeleteSuccess() })
        //   .catch(err => { console.error(err)       })
      },
      showDeleteSuccess: function showDeleteSuccess() {
        this.$vs.notify({
          color: 'success',
          title: 'User Deleted',
          text: 'The selected user was successfully deleted'
        });
      }
    },
    created: function created() {
      var _this = this;
  
      // Register Module UserManagement Module
      if (!_store_user_management_moduleUserManagement_js__WEBPACK_IMPORTED_MODULE_0__["default"].isRegistered) {
        this.$store.registerModule('userManagement', _store_user_management_moduleUserManagement_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
        _store_user_management_moduleUserManagement_js__WEBPACK_IMPORTED_MODULE_0__["default"].isRegistered = true;
      }
  
      var userId = this.$route.params.userId;
      this.$store.dispatch('userManagement/fetchUser', userId).then(function (res) {
        _this.user_data = res.data;
      })["catch"](function (err) {
        if (err.response.status === 404) {
          _this.user_not_found = true;
          return;
        }
  
        console.error(err);
      });
    }
  });
  
  /***/ }),
  
  /***/ "./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=style&index=0&lang=scss&":
  /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** ./node_modules/css-loader!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-2!./node_modules/sass-loader/dist/cjs.js??ref--8-3!./node_modules/vue-loader/lib??vue-loader-options!./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=style&index=0&lang=scss& ***!
    \*********************************************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  exports = module.exports = __webpack_require__(/*! ../../../../../../../node_modules/css-loader/lib/css-base.js */ "./node_modules/css-loader/lib/css-base.js")(false);
  // imports
  
  
  // module
  exports.push([module.i, "#avatar-col {\n  width: 10rem;\n}\n#page-user-view table td {\n  vertical-align: top;\n  min-width: 140px;\n  word-break: break-all;\n}\n[dir] #page-user-view table td {\n  padding-bottom: 0.8rem;\n}\n@media screen and (max-width: 370px) {\n#page-user-view table:not(.permissions-table) td {\n    display: block;\n}\n}\n@media screen and (min-width: 1201px) and (max-width: 1211px), only screen and (min-width: 636px) and (max-width: 991px) {\n#account-info-col-1 {\n    width: calc(100% - 12rem) !important;\n}\n}", ""]);
  
  // exports
  
  
  /***/ }),
  
  /***/ "./node_modules/style-loader/index.js!./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=style&index=0&lang=scss&":
  /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** ./node_modules/style-loader!./node_modules/css-loader!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-2!./node_modules/sass-loader/dist/cjs.js??ref--8-3!./node_modules/vue-loader/lib??vue-loader-options!./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=style&index=0&lang=scss& ***!
    \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  
  var content = __webpack_require__(/*! !../../../../../../../node_modules/css-loader!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src??ref--8-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-3!../../../../../../../node_modules/vue-loader/lib??vue-loader-options!./UserView.vue?vue&type=style&index=0&lang=scss& */ "./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=style&index=0&lang=scss&");
  
  if(typeof content === 'string') content = [[module.i, content, '']];
  
  var transform;
  var insertInto;
  
  
  
  var options = {"hmr":true}
  
  options.transform = transform
  options.insertInto = undefined;
  
  var update = __webpack_require__(/*! ../../../../../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
  
  if(content.locals) module.exports = content.locals;
  
  if(false) {}
  
  /***/ }),
  
  /***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=template&id=6102ef3e&":
  /*!**************************************************************************************************************************************************************************************************************************!*\
    !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=template&id=6102ef3e& ***!
    \**************************************************************************************************************************************************************************************************************************/
  /*! 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(
      "div",
      { attrs: { id: "page-user-view" } },
      [
        _c(
          "vs-alert",
          {
            attrs: {
              color: "danger",
              title: "User Not Found",
              active: _vm.user_not_found
            },
            on: {
              "update:active": function($event) {
                _vm.user_not_found = $event
              }
            }
          },
          [
            _c("span", [
              _vm._v(
                "User record with id: " +
                  _vm._s(_vm.$route.params.userId) +
                  " not found. "
              )
            ]),
            _vm._v(" "),
            _c(
              "span",
              [
                _c("span", [_vm._v("Check ")]),
                _c(
                  "router-link",
                  {
                    staticClass: "text-inherit underline",
                    attrs: { to: { name: "page-user-list" } }
                  },
                  [_vm._v("All Users")]
                )
              ],
              1
            )
          ]
        ),
        _vm._v(" "),
        _vm.user_data
          ? _c(
              "div",
              { attrs: { id: "user-data" } },
              [
                _c(
                  "vx-card",
                  { staticClass: "mb-base", attrs: { title: "Account" } },
                  [
                    _c("div", { staticClass: "vx-row" }, [
                      _c(
                        "div",
                        { staticClass: "vx-col", attrs: { id: "avatar-col" } },
                        [
                          _c("div", { staticClass: "img-container mb-4" }, [
                            _c("img", {
                              staticClass: "rounded w-full",
                              attrs: { src: _vm.user_data.avatar }
                            })
                          ])
                        ]
                      ),
                      _vm._v(" "),
                      _c(
                        "div",
                        {
                          staticClass: "vx-col flex-1",
                          attrs: { id: "account-info-col-1" }
                        },
                        [
                          _c("table", [
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Username")
                              ]),
                              _vm._v(" "),
                              _c("td", [_vm._v(_vm._s(_vm.user_data.username))])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Name")
                              ]),
                              _vm._v(" "),
                              _c("td", [_vm._v(_vm._s(_vm.user_data.name))])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Email")
                              ]),
                              _vm._v(" "),
                              _c("td", [_vm._v(_vm._s(_vm.user_data.email))])
                            ])
                          ])
                        ]
                      ),
                      _vm._v(" "),
                      _c(
                        "div",
                        {
                          staticClass: "vx-col flex-1",
                          attrs: { id: "account-info-col-2" }
                        },
                        [
                          _c("table", [
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Status")
                              ]),
                              _vm._v(" "),
                              _c("td", [_vm._v(_vm._s(_vm.user_data.status))])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Role")
                              ]),
                              _vm._v(" "),
                              _c("td", [_vm._v(_vm._s(_vm.user_data.role))])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Company")
                              ]),
                              _vm._v(" "),
                              _c("td", [_vm._v(_vm._s(_vm.user_data.company))])
                            ])
                          ])
                        ]
                      ),
                      _vm._v(" "),
                      _c(
                        "div",
                        {
                          staticClass: "vx-col w-full flex",
                          attrs: { id: "account-manage-buttons" }
                        },
                        [
                          _c(
                            "vs-button",
                            {
                              staticClass: "mr-4",
                              attrs: {
                                "icon-pack": "feather",
                                icon: "icon-edit",
                                to: {
                                  name: "app-user-edit",
                                  params: { userId: _vm.$route.params.userId }
                                }
                              }
                            },
                            [_vm._v("Edit")]
                          ),
                          _vm._v(" "),
                          _c(
                            "vs-button",
                            {
                              attrs: {
                                type: "border",
                                color: "danger",
                                "icon-pack": "feather",
                                icon: "icon-trash"
                              },
                              on: { click: _vm.confirmDeleteRecord }
                            },
                            [_vm._v("Delete")]
                          )
                        ],
                        1
                      )
                    ])
                  ]
                ),
                _vm._v(" "),
                _c("div", { staticClass: "vx-row" }, [
                  _c(
                    "div",
                    { staticClass: "vx-col lg:w-1/2 w-full" },
                    [
                      _c(
                        "vx-card",
                        {
                          staticClass: "mb-base",
                          attrs: { title: "Information" }
                        },
                        [
                          _c("table", [
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Birth Date")
                              ]),
                              _vm._v(" "),
                              _c("td", [_vm._v(_vm._s(_vm.user_data.dob))])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Mobile")
                              ]),
                              _vm._v(" "),
                              _c("td", [_vm._v(_vm._s(_vm.user_data.mobile))])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Website")
                              ]),
                              _vm._v(" "),
                              _c("td", [_vm._v(_vm._s(_vm.user_data.website))])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Languages")
                              ]),
                              _vm._v(" "),
                              _c("td", [
                                _vm._v(
                                  _vm._s(_vm.user_data.languages_known.join(", "))
                                )
                              ])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Gender")
                              ]),
                              _vm._v(" "),
                              _c("td", [_vm._v(_vm._s(_vm.user_data.gender))])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Contact")
                              ]),
                              _vm._v(" "),
                              _c("td", [
                                _vm._v(
                                  _vm._s(_vm.user_data.contact_options.join(", "))
                                )
                              ])
                            ])
                          ])
                        ]
                      )
                    ],
                    1
                  ),
                  _vm._v(" "),
                  _c(
                    "div",
                    { staticClass: "vx-col lg:w-1/2 w-full" },
                    [
                      _c(
                        "vx-card",
                        {
                          staticClass: "mb-base",
                          attrs: { title: "Social Links" }
                        },
                        [
                          _c("table", [
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Twitter")
                              ]),
                              _vm._v(" "),
                              _c("td", [
                                _vm._v(_vm._s(_vm.user_data.social_links.twitter))
                              ])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Facebook")
                              ]),
                              _vm._v(" "),
                              _c("td", [
                                _vm._v(
                                  _vm._s(_vm.user_data.social_links.facebook)
                                )
                              ])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Instagram")
                              ]),
                              _vm._v(" "),
                              _c("td", [
                                _vm._v(
                                  _vm._s(_vm.user_data.social_links.instagram)
                                )
                              ])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Github")
                              ]),
                              _vm._v(" "),
                              _c("td", [
                                _vm._v(_vm._s(_vm.user_data.social_links.github))
                              ])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("CodePen")
                              ]),
                              _vm._v(" "),
                              _c("td", [
                                _vm._v(_vm._s(_vm.user_data.social_links.codepen))
                              ])
                            ]),
                            _vm._v(" "),
                            _c("tr", [
                              _c("td", { staticClass: "font-semibold" }, [
                                _vm._v("Slack")
                              ]),
                              _vm._v(" "),
                              _c("td", [
                                _vm._v(_vm._s(_vm.user_data.social_links.slack))
                              ])
                            ])
                          ])
                        ]
                      )
                    ],
                    1
                  )
                ]),
                _vm._v(" "),
                _c("vx-card", [
                  _c("div", { staticClass: "vx-row" }, [
                    _c(
                      "div",
                      { staticClass: "vx-col w-full" },
                      [
                        _c(
                          "div",
                          { staticClass: "flex items-end px-3" },
                          [
                            _c("feather-icon", {
                              staticClass: "mr-2",
                              attrs: { svgClasses: "w-6 h-6", icon: "LockIcon" }
                            }),
                            _vm._v(" "),
                            _c(
                              "span",
                              { staticClass: "font-medium text-lg leading-none" },
                              [_vm._v("Permissions")]
                            )
                          ],
                          1
                        ),
                        _vm._v(" "),
                        _c("vs-divider")
                      ],
                      1
                    )
                  ]),
                  _vm._v(" "),
                  _c("div", { staticClass: "block overflow-x-auto" }, [
                    _c(
                      "table",
                      { staticClass: "w-full permissions-table" },
                      [
                        _c(
                          "tr",
                          _vm._l(
                            ["Module", "Read", "Write", "Create", "Delete"],
                            function(heading) {
                              return _c(
                                "th",
                                {
                                  key: heading,
                                  staticClass:
                                    "font-semibold text-base text-left px-3 py-2"
                                },
                                [_vm._v(_vm._s(heading))]
                              )
                            }
                          ),
                          0
                        ),
                        _vm._v(" "),
                        _vm._l(_vm.user_data.permissions, function(val, name) {
                          return _c(
                            "tr",
                            { key: name },
                            [
                              _c("td", { staticClass: "px-3 py-2" }, [
                                _vm._v(_vm._s(name))
                              ]),
                              _vm._v(" "),
                              _vm._l(val, function(permission, name) {
                                return _c(
                                  "td",
                                  {
                                    key: name + permission,
                                    staticClass: "px-3 py-2"
                                  },
                                  [
                                    _c("vs-checkbox", {
                                      staticClass: "pointer-events-none",
                                      model: {
                                        value: val[name],
                                        callback: function($$v) {
                                          _vm.$set(val, name, $$v)
                                        },
                                        expression: "val[name]"
                                      }
                                    })
                                  ],
                                  1
                                )
                              })
                            ],
                            2
                          )
                        })
                      ],
                      2
                    )
                  ])
                ])
              ],
              1
            )
          : _vm._e()
      ],
      1
    )
  }
  var staticRenderFns = []
  render._withStripped = true
  
  
  
  /***/ }),
  
  /***/ "./resources/admin/js/src/store/user-management/moduleUserManagement.js":
  /*!******************************************************************************!*\
    !*** ./resources/admin/js/src/store/user-management/moduleUserManagement.js ***!
    \******************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _moduleUserManagementState_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./moduleUserManagementState.js */ "./resources/admin/js/src/store/user-management/moduleUserManagementState.js");
  /* harmony import */ var _moduleUserManagementMutations_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./moduleUserManagementMutations.js */ "./resources/admin/js/src/store/user-management/moduleUserManagementMutations.js");
  /* harmony import */ var _moduleUserManagementActions_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./moduleUserManagementActions.js */ "./resources/admin/js/src/store/user-management/moduleUserManagementActions.js");
  /* harmony import */ var _moduleUserManagementGetters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./moduleUserManagementGetters.js */ "./resources/admin/js/src/store/user-management/moduleUserManagementGetters.js");
  /*=========================================================================================
    File Name: moduleUserManagement.js
    Description: Calendar Module
  
  ==========================================================================================*/
  
  
  
  
  /* harmony default export */ __webpack_exports__["default"] = ({
    isRegistered: false,
    namespaced: true,
    state: _moduleUserManagementState_js__WEBPACK_IMPORTED_MODULE_0__["default"],
    mutations: _moduleUserManagementMutations_js__WEBPACK_IMPORTED_MODULE_1__["default"],
    actions: _moduleUserManagementActions_js__WEBPACK_IMPORTED_MODULE_2__["default"],
    getters: _moduleUserManagementGetters_js__WEBPACK_IMPORTED_MODULE_3__["default"]
  });
  
  /***/ }),
  
  /***/ "./resources/admin/js/src/store/user-management/moduleUserManagementActions.js":
  /*!*************************************************************************************!*\
    !*** ./resources/admin/js/src/store/user-management/moduleUserManagementActions.js ***!
    \*************************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/axios.js */ "./resources/admin/js/src/axios.js");
  /*=========================================================================================
    File Name: moduleCalendarActions.js
    Description: Calendar Module Actions
  
  ==========================================================================================*/
  
  /* harmony default export */ __webpack_exports__["default"] = ({
    // addItem({ commit }, item) {
    //   return new Promise((resolve, reject) => {
    //     axios.post("/api/data-list/products/", {item: item})
    //       .then((response) => {
    //         commit('ADD_ITEM', Object.assign(item, {id: response.data.id}))
    //         resolve(response)
    //       })
    //       .catch((error) => { reject(error) })
    //   })
    // },
    fetchUsers: function fetchUsers(_ref) {
      var commit = _ref.commit;
      return new Promise(function (resolve, reject) {
        _axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].get('/api/user-management/users').then(function (response) {
          commit('SET_USERS', response.data);
          resolve(response);
        })["catch"](function (error) {
          reject(error);
        });
      });
    },
    fetchUser: function fetchUser(context, userId) {
      return new Promise(function (resolve, reject) {
        _axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].get("/api/user-management/users/".concat(userId)).then(function (response) {
          resolve(response);
        })["catch"](function (error) {
          reject(error);
        });
      });
    },
    removeRecord: function removeRecord(_ref2, userId) {
      var commit = _ref2.commit;
      return new Promise(function (resolve, reject) {
        _axios_js__WEBPACK_IMPORTED_MODULE_0__["default"]["delete"]("/api/user-management/users/".concat(userId)).then(function (response) {
          commit('REMOVE_RECORD', userId);
          resolve(response);
        })["catch"](function (error) {
          reject(error);
        });
      });
    }
  });
  
  /***/ }),
  
  /***/ "./resources/admin/js/src/store/user-management/moduleUserManagementGetters.js":
  /*!*************************************************************************************!*\
    !*** ./resources/admin/js/src/store/user-management/moduleUserManagementGetters.js ***!
    \*************************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /*=========================================================================================
    File Name: moduleCalendarGetters.js
    Description: Calendar Module Getters
  
  ==========================================================================================*/
  /* harmony default export */ __webpack_exports__["default"] = ({});
  
  /***/ }),
  
  /***/ "./resources/admin/js/src/store/user-management/moduleUserManagementMutations.js":
  /*!***************************************************************************************!*\
    !*** ./resources/admin/js/src/store/user-management/moduleUserManagementMutations.js ***!
    \***************************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /*=========================================================================================
    File Name: moduleCalendarMutations.js
    Description: Calendar Module Mutations
  
  ==========================================================================================*/
  /* harmony default export */ __webpack_exports__["default"] = ({
    SET_USERS: function SET_USERS(state, users) {
      state.users = users;
    },
    REMOVE_RECORD: function REMOVE_RECORD(state, itemId) {
      var userIndex = state.users.findIndex(function (u) {
        return u.id === itemId;
      });
      state.users.splice(userIndex, 1);
    }
  });
  
  /***/ }),
  
  /***/ "./resources/admin/js/src/store/user-management/moduleUserManagementState.js":
  /*!***********************************************************************************!*\
    !*** ./resources/admin/js/src/store/user-management/moduleUserManagementState.js ***!
    \***********************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /*=========================================================================================
    File Name: moduleCalendarState.js
    Description: Calendar Module State
  
  ==========================================================================================*/
  /* harmony default export */ __webpack_exports__["default"] = ({
    users: []
  });
  
  /***/ }),
  
  /***/ "./resources/admin/js/src/views/apps/user/UserView.vue":
  /*!*************************************************************!*\
    !*** ./resources/admin/js/src/views/apps/user/UserView.vue ***!
    \*************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _UserView_vue_vue_type_template_id_6102ef3e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UserView.vue?vue&type=template&id=6102ef3e& */ "./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=template&id=6102ef3e&");
  /* harmony import */ var _UserView_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./UserView.vue?vue&type=script&lang=js& */ "./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=script&lang=js&");
  /* empty/unused harmony star reexport *//* harmony import */ var _UserView_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./UserView.vue?vue&type=style&index=0&lang=scss& */ "./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=style&index=0&lang=scss&");
  /* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __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_3__["default"])(
    _UserView_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
    _UserView_vue_vue_type_template_id_6102ef3e___WEBPACK_IMPORTED_MODULE_0__["render"],
    _UserView_vue_vue_type_template_id_6102ef3e___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
    false,
    null,
    null,
    null
    
  )
  
  /* hot reload */
  if (false) { var api; }
  component.options.__file = "resources/admin/js/src/views/apps/user/UserView.vue"
  /* harmony default export */ __webpack_exports__["default"] = (component.exports);
  
  /***/ }),
  
  /***/ "./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=script&lang=js&":
  /*!**************************************************************************************!*\
    !*** ./resources/admin/js/src/views/apps/user/UserView.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_UserView_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!./UserView.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/admin/js/src/views/apps/user/UserView.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_UserView_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]); 
  
  /***/ }),
  
  /***/ "./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=style&index=0&lang=scss&":
  /*!***********************************************************************************************!*\
    !*** ./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=style&index=0&lang=scss& ***!
    \***********************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_2_node_modules_sass_loader_dist_cjs_js_ref_8_3_node_modules_vue_loader_lib_index_js_vue_loader_options_UserView_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../node_modules/style-loader!../../../../../../../node_modules/css-loader!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src??ref--8-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-3!../../../../../../../node_modules/vue-loader/lib??vue-loader-options!./UserView.vue?vue&type=style&index=0&lang=scss& */ "./node_modules/style-loader/index.js!./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=style&index=0&lang=scss&");
  /* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_2_node_modules_sass_loader_dist_cjs_js_ref_8_3_node_modules_vue_loader_lib_index_js_vue_loader_options_UserView_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_2_node_modules_sass_loader_dist_cjs_js_ref_8_3_node_modules_vue_loader_lib_index_js_vue_loader_options_UserView_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
  /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_2_node_modules_sass_loader_dist_cjs_js_ref_8_3_node_modules_vue_loader_lib_index_js_vue_loader_options_UserView_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_2_node_modules_sass_loader_dist_cjs_js_ref_8_3_node_modules_vue_loader_lib_index_js_vue_loader_options_UserView_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
   /* harmony default export */ __webpack_exports__["default"] = (_node_modules_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_2_node_modules_sass_loader_dist_cjs_js_ref_8_3_node_modules_vue_loader_lib_index_js_vue_loader_options_UserView_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); 
  
  /***/ }),
  
  /***/ "./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=template&id=6102ef3e&":
  /*!********************************************************************************************!*\
    !*** ./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=template&id=6102ef3e& ***!
    \********************************************************************************************/
  /*! 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_UserView_vue_vue_type_template_id_6102ef3e___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!./UserView.vue?vue&type=template&id=6102ef3e& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/admin/js/src/views/apps/user/UserView.vue?vue&type=template&id=6102ef3e&");
  /* 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_UserView_vue_vue_type_template_id_6102ef3e___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_UserView_vue_vue_type_template_id_6102ef3e___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
  
  
  
  /***/ })
  
  }]);