/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = "./modules/hrm/document-manager/assets/src/frontend/main.js");
/******/ })
/************************************************************************/
/******/ ({

/***/ "./modules/hrm/document-manager/assets/less/style.less":
/*!*************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/less/style.less ***!
  \*************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/less/style.less?");

/***/ }),

/***/ "./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue":
/*!******************************************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue ***!
  \******************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _document_manager_vue_vue_type_template_id_6776a7c8_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./document_manager.vue?vue&type=template&id=6776a7c8&scoped=true& */ \"./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?vue&type=template&id=6776a7c8&scoped=true&\");\n/* harmony import */ var _document_manager_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./document_manager.vue?vue&type=script&lang=js& */ \"./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?vue&type=script&lang=js&\");\n/* 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\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n  _document_manager_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _document_manager_vue_vue_type_template_id_6776a7c8_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _document_manager_vue_vue_type_template_id_6776a7c8_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n  false,\n  null,\n  \"6776a7c8\",\n  null\n  \n)\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?");

/***/ }),

/***/ "./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?vue&type=script&lang=js&":
/*!*******************************************************************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?vue&type=script&lang=js& ***!
  \*******************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_document_manager_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../node_modules/babel-loader/lib!../../../../../../../node_modules/vue-loader/lib??vue-loader-options!./document_manager.vue?vue&type=script&lang=js& */ \"./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_document_manager_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?");

/***/ }),

/***/ "./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?vue&type=template&id=6776a7c8&scoped=true&":
/*!*************************************************************************************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?vue&type=template&id=6776a7c8&scoped=true& ***!
  \*************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_document_manager_vue_vue_type_template_id_6776a7c8_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!./document_manager.vue?vue&type=template&id=6776a7c8&scoped=true& */ \"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?vue&type=template&id=6776a7c8&scoped=true&\");\n/* 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_document_manager_vue_vue_type_template_id_6776a7c8_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* 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_document_manager_vue_vue_type_template_id_6776a7c8_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?");

/***/ }),

/***/ "./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue":
/*!**************************************************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue ***!
  \**************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _document_manager_indexed_vue_vue_type_template_id_76b94609___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./document_manager_indexed.vue?vue&type=template&id=76b94609& */ \"./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=template&id=76b94609&\");\n/* harmony import */ var _document_manager_indexed_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./document_manager_indexed.vue?vue&type=script&lang=js& */ \"./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport *//* harmony import */ var _document_manager_indexed_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./document_manager_indexed.vue?vue&type=style&index=0&lang=css& */ \"./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=style&index=0&lang=css&\");\n/* 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\");\n\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(\n  _document_manager_indexed_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _document_manager_indexed_vue_vue_type_template_id_76b94609___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _document_manager_indexed_vue_vue_type_template_id_76b94609___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?");

/***/ }),

/***/ "./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=script&lang=js&":
/*!***************************************************************************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=script&lang=js& ***!
  \***************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_document_manager_indexed_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../node_modules/babel-loader/lib!../../../../../../../node_modules/vue-loader/lib??vue-loader-options!./document_manager_indexed.vue?vue&type=script&lang=js& */ \"./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_document_manager_indexed_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?");

/***/ }),

/***/ "./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=style&index=0&lang=css&":
/*!***********************************************************************************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=style&index=0&lang=css& ***!
  \***********************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_lib_loader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_document_manager_indexed_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../../../../node_modules/css-loader/dist/cjs.js!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/sass-loader/lib/loader.js!../../../../../../../node_modules/vue-loader/lib??vue-loader-options!./document_manager_indexed.vue?vue&type=style&index=0&lang=css& */ \"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/index.js?!./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=style&index=0&lang=css&\");\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_lib_loader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_document_manager_indexed_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_lib_loader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_document_manager_indexed_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_lib_loader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_document_manager_indexed_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_lib_loader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_document_manager_indexed_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?");

/***/ }),

/***/ "./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=template&id=76b94609&":
/*!*********************************************************************************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=template&id=76b94609& ***!
  \*********************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_document_manager_indexed_vue_vue_type_template_id_76b94609___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!./document_manager_indexed.vue?vue&type=template&id=76b94609& */ \"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=template&id=76b94609&\");\n/* 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_document_manager_indexed_vue_vue_type_template_id_76b94609___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* 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_document_manager_indexed_vue_vue_type_template_id_76b94609___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?");

/***/ }),

/***/ "./modules/hrm/document-manager/assets/src/frontend/helper/helper.js":
/*!***************************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/src/frontend/helper/helper.js ***!
  \***************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  getComponenet(path, root) {\n    var component = root.filter(function (filtered) {\n      return filtered.path == path;\n    })[0];\n    return component;\n  }\n\n});\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/helper/helper.js?");

/***/ }),

/***/ "./modules/hrm/document-manager/assets/src/frontend/hooks/add_action.js":
/*!******************************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/src/frontend/hooks/add_action.js ***!
  \******************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("window.erpHrHooks.addAction('addRouter', 'WPDOC', () => {\n  var routerData = [{\n    id: 1,\n    name: 'DocumentManagerIndexed',\n    icon: 'icon-document',\n    text: window.erpHr.doc_manager.documents,\n    text_domain: 'erp-hr-frontend',\n    is_cap: window.erpHrVue.userCan('erp_hr_manager')\n  }];\n  window.erpHrVue.$store.commit('setStateCommon', state => {\n    state.addOnNav = routerData;\n  });\n}, 10);\nwindow.erpHrHooks.addAction('addEmployeeRouter', 'WPDOC1', () => {\n  var routerData = [{\n    id: 1,\n    name: 'DocumentManagerIndexedEmployee',\n    icon: 'fa fa-folder-open',\n    text: window.erpHr.doc_manager.documents,\n    text_domain: 'erp-hr-frontend',\n    is_cap: window.erpHrVue.userCan('erp_hr_manager') || window.erpHrVue.isCurrentUserProfile()\n  }];\n  window.erpHrVue.$store.commit('setStateCommon', state => {\n    state.employeeAddOnNav = routerData;\n  });\n}, 10);\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/hooks/add_action.js?");

/***/ }),

/***/ "./modules/hrm/document-manager/assets/src/frontend/main.js":
/*!******************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/src/frontend/main.js ***!
  \******************************************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _router_routes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./router/routes */ \"./modules/hrm/document-manager/assets/src/frontend/router/routes.js\");\n/* harmony import */ var _store_store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./store/store */ \"./modules/hrm/document-manager/assets/src/frontend/store/store.js\");\n/* harmony import */ var _less_style_less__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../less/style.less */ \"./modules/hrm/document-manager/assets/less/style.less\");\n/* harmony import */ var _less_style_less__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_less_style_less__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _hooks_add_action__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./hooks/add_action */ \"./modules/hrm/document-manager/assets/src/frontend/hooks/add_action.js\");\n/* harmony import */ var _hooks_add_action__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_hooks_add_action__WEBPACK_IMPORTED_MODULE_3__);\n\n\n\n\nwindow._.merge(window.erpHrVue.$store.state, _store_store__WEBPACK_IMPORTED_MODULE_1__[\"default\"].state);\n\n\nwindow.erpHrVue.$router.addRoutes(_router_routes__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/main.js?");

/***/ }),

/***/ "./modules/hrm/document-manager/assets/src/frontend/router/routes.js":
/*!***************************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/src/frontend/router/routes.js ***!
  \***************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _helper_helper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helper/helper */ \"./modules/hrm/document-manager/assets/src/frontend/helper/helper.js\");\n/* harmony import */ var _components_document_manager_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../components/document_manager.vue */ \"./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue\");\n/* harmony import */ var _components_document_manager_indexed_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../components/document_manager_indexed.vue */ \"./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue\");\n\n\n\nvar hrRoute = window.erpHrVue.$router.options.routes;\nvar employeeComponent = _helper_helper__WEBPACK_IMPORTED_MODULE_0__[\"default\"].getComponenet('/employees', hrRoute);\nvar employeeComponent_id = _helper_helper__WEBPACK_IMPORTED_MODULE_0__[\"default\"].getComponenet(':id', employeeComponent.children);\nconst routes = [{\n  path: '/document_manager',\n  component: _components_document_manager_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  children: [{\n    path: '',\n    name: 'DocumentManagerIndexed',\n    component: _components_document_manager_indexed_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n  }]\n}, {\n  path: '/employees',\n  component: employeeComponent.component,\n  children: [{\n    path: ':id',\n    component: employeeComponent_id.component,\n    children: [{\n      path: 'employee_documents',\n      name: 'DocumentManagerIndexedEmployee',\n      component: _components_document_manager_indexed_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n    }]\n  }]\n}];\n/* harmony default export */ __webpack_exports__[\"default\"] = (routes);\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/router/routes.js?");

/***/ }),

/***/ "./modules/hrm/document-manager/assets/src/frontend/store/store.js":
/*!*************************************************************************!*\
  !*** ./modules/hrm/document-manager/assets/src/frontend/store/store.js ***!
  \*************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\nconst store = {\n  state: {\n    addOnNav: [],\n    employeeAddOnNav: []\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/store/store.js?");

/***/ }),

/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?vue&type=script&lang=js&":
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?vue&type=script&lang=js& ***!
  \*****************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n//\n//\n//\n//\n//\n//\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  name: \"DocumentManager\",\n\n  data() {\n    return {};\n  },\n\n  created() {},\n\n  mounted() {},\n\n  methods: {}\n});\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=script&lang=js&":
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=script&lang=js& ***!
  \*************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  name: \"DocumentManagerIndexed\",\n  props: ['employee'],\n\n  data() {\n    return {\n      http: erpHrVue.httpReq(),\n      file_data: [],\n      current_dir_id: 0,\n      create_folder_modal_open: \"\",\n      create_folder_modal_open_clipped: \"\",\n      rename_folder_modal_open: \"\",\n      rename_folder_modal_open_clipped: \"\",\n      move_to_modal_open: \"\",\n      move_to_modal_open_clipped: \"\",\n      share_to_modal_open: \"\",\n      share_to_modal_open_clipped: \"\",\n      dir_name: '',\n      employee_id: this.$route.params.id ? this.$route.params.id : window.erpHrVue.$store.state.user.user_id,\n      upload_files: [],\n      movable: {},\n      move_or_dlt: false,\n      show_move_or_dlt: 'none',\n      movable_folder: [],\n      target_folder: '',\n      single_employee_class_wrap: '',\n      skey: '',\n      view_type: 'list',\n      view_type_parent_class: 'list-table',\n      view_type_child_class: 'list-table-body',\n      view_type_child_content: 'list-body list-table-row',\n      is_show: 'show_header',\n      breadcrumb: [{\n        dir_id: 0,\n        name: '<span class=\"fa fa-home\"></span>',\n        data: {\n          source: \"\"\n        }\n      }],\n      loader: 'is-busy',\n      rename_data: {\n        dir_file_type: '',\n        employee_id: '',\n        parent_id: '',\n        target_dir_id: '',\n        dirName: ''\n      },\n      doc_str: window.erpHr.doc_manager,\n      doc_option_str: window.erpHr.doc_option_str,\n      employees: [],\n      departments: [],\n      designations: [],\n      source: 'owned_by_me',\n      can_upload: true,\n      can_prompt: true,\n      can_move: true,\n      can_remove: true,\n      can_share: true\n    };\n  },\n\n  created() {\n    this.get_employee_dir_files();\n    this.get_employees();\n    this.get_departments();\n    this.get_designations();\n    this.create_dropbox_employee_folders();\n  },\n\n  mounted() {\n    this.if_single_employee();\n  },\n\n  watch: {\n    current_dir_id(val) {\n      let self = this;\n\n      if (val == 0) {\n        self.get_dir_files_by_param(self.current_dir_id, self.employee_id, self.source, '', '');\n      }\n    },\n\n    movable(val) {},\n\n    move_or_dlt(val) {\n      if (val == true) {\n        this.show_move_or_dlt = 'inline-block';\n      } else {\n        this.show_move_or_dlt = 'none';\n      }\n    },\n\n    skey(val) {\n      /*let self = this;\n      self.file_data = [];\n      self.get_employee_folders_by_search();\n      self.get_employee_files_by_search();*/\n    },\n\n    source(val) {\n      let self = this;\n\n      if (val == 'owned_by_me') {\n        self.can_upload = true;\n        self.can_prompt = true;\n        self.can_move = true;\n        self.can_remove = true;\n        self.can_share = true;\n      }\n\n      if (val == 'shared_with_me') {\n        self.can_upload = false;\n        self.can_prompt = false;\n        self.can_move = false;\n        self.can_remove = false;\n        self.can_share = false;\n      }\n\n      if (val == 'my_dropbox') {\n        self.can_upload = true;\n        self.can_prompt = true;\n        self.can_move = false;\n        self.can_remove = true;\n        self.can_share = true;\n      }\n\n      self.employee_id = self.$route.params.id ? self.$route.params.id : window.erpHrVue.$store.state.user.user_id;\n      self.current_dir_id = 0;\n      self.breadcrumb.splice(1);\n      self.get_employee_dir_files();\n    }\n\n  },\n  methods: {\n    get_employee_dir_files() {\n      let self = this;\n      self.get_dir_files_by_param(self.current_dir_id, self.employee_id, self.source, '', '');\n    },\n\n    get_dir_files_by_param(dir_id, eid, source, search_string, direct_link) {\n      let self = this;\n      self.loader = 'is-busy';\n      self.file_data = [];\n      let formData = new FormData();\n      formData.append('action', 'wp-erp-rec-get-files-folders');\n      formData.append('employee_id', eid);\n      formData.append('dir_id', dir_id);\n      formData.append('source', source);\n      formData.append('search_string', search_string);\n      formData.append('direct_link', direct_link);\n      self.http.post(window.site_url + '/wp-admin/admin-ajax.php', formData).then(function (res) {\n        res.data.data.directory.forEach((item, index) => {\n          self.file_data.push(item);\n        });\n        res.data.data.files.forEach((item, index) => {\n          self.file_data.push(item);\n        });\n        self.loader = '';\n        self.movable = {};\n        self.move_or_dlt = false;\n      });\n    },\n\n    link_clicked: function (click_dir_id) {\n      var self = this;\n\n      if (click_dir_id.source == 'dropbox') {\n        let formData = new FormData();\n        formData.append('action', 'wp-erp-download-files-from-dropbox');\n        formData.append('dir_id', click_dir_id.dir_id);\n        self.http.post(window.site_url + '/wp-admin/admin-ajax.php', formData).then(function (res) {\n          if (res.data.success === true) {\n            window.location = res.data.data;\n          }\n        });\n      }\n    },\n\n    search_dir(e) {\n      let self = this;\n\n      if (e.keyCode === 13) {\n        self.get_dir_files_by_param(self.current_dir_id, self.employee_id, self.source, self.skey, '');\n      }\n    },\n\n    create_folder() {\n      let self = this;\n\n      if (self.dir_name.length == 0) {\n        erpHrVue.notifySuccess('You must provide a folder name');\n        return;\n      }\n\n      let formData = new FormData();\n      formData.append('action', 'wp-erp-rec-createDir');\n      formData.append('employee_id', self.employee_id);\n      formData.append('parent_id', self.current_dir_id);\n      formData.append('source', self.source);\n      formData.append('dirName', self.dir_name);\n      self.http.post(window.site_url + '/wp-admin/admin-ajax.php', formData).then(function (res) {\n        if (res.data.success == true) {\n          setTimeout(function () {\n            self.dir_name = '';\n            self.get_employee_dir_files();\n            self.open_folder_popup_close();\n            erpHrVue.notifySuccess(res.data.data);\n          }, 1000);\n        } else {\n          erpHrVue.notifySuccess('Something went wrong. Please try again later.');\n        }\n      });\n    },\n\n    get_file() {\n      document.getElementById('upload_file').click();\n    },\n\n    upload_file() {\n      let self = this;\n      let counter = 0;\n      let uploaded_files = this.$refs.upload_file.files;\n\n      for (let i = 0; i < uploaded_files.length; i++) {\n        let formData = new FormData();\n        formData.append(\"doc_attachment\", uploaded_files[i]);\n        this.http.post(window.site_url + '/wp-admin/admin-ajax.php?action=file_dir_ajax_upload&_wpnonce=' + window.file_upload_nonce + '&employee_id=' + self.employee_id + '&parent_id=' + self.current_dir_id + '&source=' + self.source, formData, {\n          headers: {\n            'Content-Type': 'multipart/form-data'\n          }\n        }).then(function (res) {\n          counter++;\n\n          if (counter == uploaded_files.length) {\n            self.get_employee_dir_files();\n            erpHrVue.notifySuccess('File Uploaded Successfully');\n          }\n        });\n      } //http://127.0.0.1/projects/erp_projects/dm_with_hr_frontend/wp-admin/admin-ajax.php?action=file_dir_ajax_upload&_wpnonce=921acfa2b5&parent_id=0&employee_id=\n\n    },\n\n    delete_data() {\n      let self = this;\n      let formData = new FormData();\n      formData.append(\"action\", 'wp-erp-rec-deleteDirFile');\n      formData.append(\"parent_id\", this.current_dir_id);\n      formData.append(\"employee_id\", self.employee_id);\n      formData.append(\"source\", self.source);\n      let item = [];\n\n      for (const [key, value] of Object.entries(this.movable)) {\n        item.push(value.dir_id);\n      }\n\n      formData.append(\"selected_dir_file_id\", JSON.stringify(item));\n      this.http.post(window.site_url + '/wp-admin/admin-ajax.php', formData, {\n        headers: {\n          'Content-Type': 'multipart/form-data'\n        }\n      }).then(function (res) {\n        self.get_employee_dir_files();\n        erpHrVue.notifySuccess('File deleted Successfully');\n      });\n    },\n\n    delete_item(itemdata) {\n      let self = this;\n      let formData = new FormData();\n      formData.append(\"action\", 'wp-erp-rec-deleteDirFile');\n      formData.append(\"parent_id\", this.current_dir_id);\n      formData.append(\"employee_id\", self.employee_id);\n      formData.append(\"source\", self.source);\n      let item = [];\n      item.push(itemdata.dir_id);\n      formData.append(\"selected_dir_file_id\", JSON.stringify(item));\n      this.http.post(window.site_url + '/wp-admin/admin-ajax.php', formData, {\n        headers: {\n          'Content-Type': 'multipart/form-data'\n        }\n      }).then(function (res) {\n        self.get_employee_dir_files();\n        erpHrVue.notifySuccess('File deleted Successfully');\n      });\n    },\n\n    open_folder_create_popup() {\n      this.create_folder_modal_open = 'is-active';\n      this.create_folder_modal_open_clipped = 'is-clipped';\n    },\n\n    open_folder_popup_close() {\n      this.create_folder_modal_open = '';\n      this.create_folder_modal_open_clipped = '';\n    },\n\n    move_to_popup_close() {\n      this.move_to_modal_open = '';\n      this.move_to_modal_open_clipped = '';\n    },\n\n    jump_to_folder(fd) {\n      let self = this;\n      this.current_dir_id = fd.dir_id;\n      /* if( this.source == 'owned_by_me' ){\n           self.employee_id = ( self.$route.params.id ) ? self.$route.params.id : window.erpHrVue.$store.state.user.user_id;\n       } else {\n           self.employee_id = fd.eid;\n       }*/\n\n      let cur_source;\n\n      if (fd.source == 'local') {\n        cur_source = 'owned_by_me';\n      }\n\n      if (fd.source == 'dropbox') {\n        cur_source = 'my_dropbox';\n      }\n\n      self.get_dir_files_by_param(fd.dir_id, fd.eid, cur_source, '', 'yes');\n      this.breadcrumb.push({\n        dir_id: fd.dir_id,\n        name: fd.dir_file_name,\n        data: fd\n      });\n    },\n\n    bread_crumb_action(fd, index) {\n      this.current_dir_id = fd.dir_id;\n      this.breadcrumb.splice(index + 1);\n\n      if (fd.dir_id != 0) {\n        let cur_source;\n\n        if (fd.data.source == 'local') {\n          cur_source = 'owned_by_me';\n        }\n\n        if (fd.data.source == 'dropbox') {\n          cur_source = 'my_dropbox';\n        }\n\n        this.get_dir_files_by_param(fd.data.dir_id, fd.data.eid, cur_source, '', 'yes');\n      }\n    },\n\n    is_checked(fd, elm) {\n      var self = this;\n\n      if (elm.target.checked) {\n        self.movable[elm.target.id] = fd;\n      } else {\n        delete self.movable[elm.target.id];\n      }\n\n      let length = Object.keys(self.movable).length;\n\n      if (length > 0) {\n        self.move_or_dlt = true;\n      } else {\n        self.move_or_dlt = false;\n      }\n    },\n\n    move_to() {\n      let self = this;\n      this.http.get(window.site_url + '/wp-admin/admin-ajax.php?action=wp-erp-doc-loadParentNodes&employee_id=' + self.employee_id).then(function (res) {\n        self.move_to_modal_open = 'is-active';\n        self.create_folder_modal_open_clipped = 'is-clipped';\n        self.movable_folder = res.data.children;\n      });\n    },\n\n    set_target_folder(val) {\n      this.target_folder = val;\n      jQuery('.folder_tree a').on('click', function () {\n        jQuery('.folder_tree a.current').removeClass('current');\n        jQuery(event.target).addClass('current');\n      });\n    },\n\n    move() {\n      let self = this;\n      let formData = new FormData();\n      formData.append(\"action\", 'wp-erp-doc-moveNow');\n      formData.append(\"parent_id\", this.current_dir_id);\n      formData.append(\"new_parent_id\", this.target_folder);\n      formData.append(\"employee_id\", this.employee_id);\n      let item = [];\n\n      for (const [key, value] of Object.entries(this.movable)) {\n        item.push(value.dir_id);\n      }\n\n      formData.append(\"selectedDirFile\", JSON.stringify(item));\n      this.http.post(window.site_url + '/wp-admin/admin-ajax.php', formData, {\n        headers: {\n          'Content-Type': 'multipart/form-data'\n        }\n      }).then(function (res) {\n        self.get_employee_dir_files();\n        self.move_to_popup_close();\n        erpHrVue.notifySuccess('File moved Successfully');\n      });\n    },\n\n    if_single_employee() {\n      if (this.employee) {\n        this.single_employee_class_wrap = ' single_employee_class_wrap';\n      }\n    },\n\n    view(type) {\n      if (type == 'list') {\n        this.view_type_parent_class = 'list-table';\n        this.view_type_child_class = 'list-table-body';\n        this.view_type_child_content = 'list-body list-table-row';\n        this.is_show = 'show_header';\n      }\n\n      if (type == 'grid') {\n        this.view_type_parent_class = 'columns';\n        this.view_type_child_class = 'column is-3';\n        this.view_type_child_content = 'grid-body';\n        this.is_show = 'hide_header';\n      }\n    },\n\n    rename(fd) {\n      var self = this;\n      self.rename_data.dir_file_type = fd.is_dir ? 'folder' : 'file';\n      self.rename_data.employee_id = fd.eid;\n      self.rename_data.parent_id = 0;\n      self.rename_data.target_dir_id = fd.dir_id;\n      self.rename_data.dirName = fd.dir_file_name;\n      self.rename_folder_modal_open = 'is-active';\n      self.rename_folder_modal_open_clipped = 'is-clipped';\n    },\n\n    rename_folder_popup_close() {\n      var self = this;\n      self.rename_data.dir_file_type = '';\n      self.rename_data.employee_id = '';\n      self.rename_data.parent_id = '';\n      self.rename_data.target_dir_id = '';\n      self.rename_data.dirName = '';\n      self.rename_folder_modal_open = '';\n      self.rename_folder_modal_open_clipped = '';\n    },\n\n    rename_folder() {\n      let self = this;\n      this.http.get(window.site_url + '/wp-admin/admin-ajax.php?action=wp-erp-rec-renameDirFile&dir_file_type=' + self.rename_data.dir_file_type + '&employee_id=' + self.rename_data.employee_id + '&parent_id=' + self.rename_data.parent_id + '&target_dir_id=' + self.rename_data.target_dir_id + '&dirName=' + self.rename_data.dirName + '&source=' + self.source).then(function (res) {\n        erpHrVue.notifySuccess('Renamed Successfully');\n        self.rename_folder_popup_close();\n        self.get_employee_dir_files();\n      });\n    },\n\n    create_dir_by_ekey(e) {\n      let self = this;\n\n      if (e.keyCode === 13) {\n        self.create_folder();\n      }\n    },\n\n    enter_to_rename(e) {\n      let self = this;\n\n      if (e.keyCode === 13) {\n        self.rename_folder();\n      }\n    },\n\n    share_data() {\n      let self = this;\n      self.share_to_modal_open = 'is-active';\n      self.share_to_modal_open_clipped = 'is-clipped';\n      jQuery('#share_by').change(function (e) {\n        jQuery('.share_files_control.no-show').css('display', 'none');\n        jQuery('.share_files_control.' + e.target.value).css('display', 'block');\n      });\n    },\n\n    share_to_popup_close() {\n      let self = this;\n      self.share_to_modal_open = '';\n      self.share_to_modal_open_clipped = '';\n    },\n\n    get_employees() {\n      let self = this;\n      self.http.get('hrm/employees?per_page=100', {\n        baseURL: window.site_url + '/wp-json/erp/v1',\n        headers: {\n          'X-WP-Nonce': window.rest_nonce\n        }\n      }).then(function (res) {\n        self.employees = res.data;\n      });\n    },\n\n    get_departments() {\n      let self = this;\n      self.http.get('hrm/departments', {\n        baseURL: window.site_url + '/wp-json/erp/v1',\n        headers: {\n          'X-WP-Nonce': window.rest_nonce\n        }\n      }).then(function (res) {\n        self.departments = res.data;\n      });\n    },\n\n    get_designations() {\n      let self = this;\n      self.http.get('hrm/designations', {\n        baseURL: window.site_url + '/wp-json/erp/v1',\n        headers: {\n          'X-WP-Nonce': window.rest_nonce\n        }\n      }).then(function (res) {\n        self.designations = res.data;\n      });\n    },\n\n    share_dir_file() {\n      let self = this;\n      let form_data = jQuery('#erp-doc-share-template').serialize();\n      let items = [];\n\n      for (const [key, value] of Object.entries(this.movable)) {\n        items.push(value.dir_id);\n      }\n\n      let formData = new FormData();\n      formData.append(\"action\", 'wp-erp-rec-share-files-folders');\n      formData.append(\"formdata\", form_data);\n      formData.append(\"shared_source\", self.source);\n      formData.append(\"selectedDirFile\", JSON.stringify(items));\n      formData.append(\"file_data\", JSON.stringify(self.file_data));\n      formData.append(\"dir_data\", JSON.stringify([]));\n      this.http.post(window.site_url + '/wp-admin/admin-ajax.php', formData, {\n        headers: {\n          'Content-Type': 'multipart/form-data'\n        }\n      }).then(function (res) {\n        if (res.data.success) {\n          self.share_to_popup_close();\n          erpHrVue.notifySuccess(res.data.data);\n        }\n      });\n    },\n\n    create_dropbox_employee_folders() {\n      let self = this;\n      let formData = new FormData();\n      formData.append('action', 'wp-erp-sync-employees-dropbox');\n      formData.append('sync', 'yes');\n      self.http.post(window.site_url + '/wp-admin/admin-ajax.php', formData).then(function (res) {// console.log(res);\n      });\n    }\n\n  }\n});\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/index.js?!./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=style&index=0&lang=css&":
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib??vue-loader-options!./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=style&index=0&lang=css& ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?vue&type=template&id=6776a7c8&scoped=true&":
/*!*******************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?vue&type=template&id=6776a7c8&scoped=true& ***!
  \*******************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"document-manager\"},[_c('router-view')],1)}\nvar staticRenderFns = []\n\n\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/components/document_manager.vue?./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=template&id=76b94609&":
/*!***************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?vue&type=template&id=76b94609& ***!
  \***************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{class:'hr_frontend_dm ' + _vm.single_employee_class_wrap},[_c('div',{staticClass:\"dm_container\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_c('h1',{staticClass:\"title\"},[_vm._v(\"\\n                    \"+_vm._s(_vm.doc_str.documents)+\"\\n                \")])]),_vm._v(\" \"),_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"field\"},[_c('p',{staticClass:\"control has-icons-right\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.skey),expression:\"skey\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"placeholder\":_vm.doc_str.search},domProps:{\"value\":(_vm.skey)},on:{\"keyup\":_vm.search_dir,\"input\":function($event){if($event.target.composing){ return; }_vm.skey=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])])])]),_vm._v(\" \"),_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column operator\"},[_c('span',[(_vm.can_prompt)?_c('a',{staticClass:\"button light-black is-small\",attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.open_folder_create_popup()}}},[_c('span',{staticClass:\"fa fa-folder-open\"}),_vm._v(\"   \"+_vm._s(_vm.doc_str.create_folder))]):_vm._e(),_vm._v(\" \"),(_vm.can_prompt)?_c('a',{staticClass:\"button is-link is-small\",attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.get_file()}}},[_c('span',{staticClass:\"fa fa-upload\"}),_vm._v(\"   \"+_vm._s(_vm.doc_str.upload))]):_vm._e(),_vm._v(\" \"),_c('form',{attrs:{\"enctype\":\"multipart/form-data\"}},[_c('input',{ref:\"upload_file\",staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"file\",\"id\":\"upload_file\",\"multiple\":\"\"},on:{\"change\":function($event){return _vm.upload_file()}}})])]),_vm._v(\" \"),_c('span',{style:('display:' + _vm.show_move_or_dlt)},[(_vm.can_move)?_c('button',{staticClass:\"button is-small is-info\",on:{\"click\":function($event){return _vm.move_to()}}},[_vm._v(\" \"+_vm._s(_vm.doc_str.move)+\" \")]):_vm._e(),_vm._v(\" \"),(_vm.can_remove)?_c('button',{staticClass:\"button is-small is-danger\",on:{\"click\":function($event){return _vm.delete_data()}}},[_vm._v(\" \"+_vm._s(_vm.doc_str.move_to_trash)+\" \")]):_vm._e(),_vm._v(\" \"),(_vm.can_share)?_c('button',{staticClass:\"button is-small is-primary\",on:{\"click\":function($event){return _vm.share_data()}}},[_vm._v(\" Share \")]):_vm._e()]),_vm._v(\" \"),_c('br'),_c('br'),_c('br'),_vm._v(\" \"),_vm._l((_vm.breadcrumb),function(bc,index){return _c('span',[_c('a',{staticClass:\"bc_single\",attrs:{\"href\":\"javascript:void(0)\"},domProps:{\"innerHTML\":_vm._s(bc.name)},on:{\"click\":function($event){return _vm.bread_crumb_action(bc,index)}}})])})],2),_vm._v(\" \"),_c('div',{staticClass:\"column has-text-right\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.source),expression:\"source\"}],staticClass:\"button is-light ash-white\",attrs:{\"id\":\"source\"},domProps:{\"innerHTML\":_vm._s(_vm.doc_option_str)},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.source=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}}),_vm._v(\" \"),_c('a',{staticClass:\"button is-light ash-white\",attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.view('list')}}},[_c('span',{staticClass:\"fa fa-bars\"})]),_vm._v(\" \"),_c('a',{staticClass:\"button is-light ash-white\",attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.view('grid')}}},[_c('span',{staticClass:\"fa fa-th-large\"})])])])])]),_vm._v(\" \"),_c('div',{class:'columns '+ _vm.loader},[_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"dash-list\"},[_c('ul',{class:'list-header '+ _vm.is_show},[_c('li',[_vm._v(\"   \")]),_vm._v(\" \"),_c('li',[_vm._v(\" \"+_vm._s(_vm.doc_str.file_name)+\" \")]),_vm._v(\" \"),_c('li',[_vm._v(\" \"+_vm._s(_vm.doc_str.modified)+\" \")]),_vm._v(\" \"),_c('li',[_vm._v(\" \"+_vm._s(_vm.doc_str.created_by)+\" \")]),_vm._v(\" \"),_c('li',[_vm._v(\" \"+_vm._s(_vm.doc_str.file_size)+\" \")]),_vm._v(\" \"),_c('li',[_vm._v(\"   \")])]),_vm._v(\" \"),_c('div',{class:_vm.view_type_parent_class},[_vm._l((_vm.file_data),function(fd){return (_vm.file_data.length > 0)?_c('div',{class:_vm.view_type_child_class},[_c('div',{class:_vm.view_type_child_content},[_c('div',{staticClass:\"has-checkbox list-table-cell\"},[_c('input',{staticClass:\"is-checkbox\",attrs:{\"disabled\":_vm.source == 'shared_with_me',\"type\":\"checkbox\",\"id\":'doc_'+fd.dir_id},domProps:{\"value\":fd.id},on:{\"click\":function($event){return _vm.is_checked(fd,$event)}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":'doc_'+fd.dir_id}})]),_vm._v(\" \"),_c('div',{staticClass:\"img-and-name list-table-cell\"},[_c('div',{staticClass:\"align-part\"},[(fd.is_dir != true)?[_c('span',[(fd.attachment_type == 'image/png')?_c('i',{staticClass:\"fa fa-file-picture-o\"}):(fd.attachment_type == 'text/csv')?_c('i',{staticClass:\"fa fa-file-text-o\"}):(fd.attachment_type == 'application/zip')?_c('i',{staticClass:\"fa fa-file-zip-o\"}):(fd.attachment_type == 'text/plain')?_c('i',{staticClass:\"fa fa-file-text-o\"}):(fd.attachment_type == 'application/pdf')?_c('i',{staticClass:\"fa fa-file-pdf-o\"}):(fd.attachment_type == 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet')?_c('i',{staticClass:\"fa fa-file-excel-o\"}):(fd.attachment_type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document')?_c('i',{staticClass:\"fa fa-file-word-o\"}):_c('i',{staticClass:\"fa fa-file\"})]),_vm._v(\" \"),_c('span',[_c('a',{attrs:{\"href\":fd.attactment_url}},[_vm._v(\" \"+_vm._s(fd.dir_file_name)+\" \")])])]:_vm._e(),_vm._v(\" \"),(fd.is_dir == true)?[_vm._m(1,true),_vm._v(\" \"),_c('span',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.jump_to_folder(fd)}}},[_vm._v(\" \"+_vm._s(fd.dir_file_name)+\" \")])])]:_vm._e()],2)]),_vm._v(\" \"),_c('div',{staticClass:\"box-view list-table-cell\"},[_vm._v(\" \"+_vm._s(fd.updated_at)+\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"box-view list-table-cell\"},[_vm._v(\" \"+_vm._s(fd.user_nicename)+\" \")]),_vm._v(\" \"),(fd.is_dir == true)?_c('div',{staticClass:\"box-view list-table-cell\"}):_vm._e(),_vm._v(\" \"),(fd.is_dir != true)?_c('div',{staticClass:\"box-view list-table-cell\"},[_vm._v(\" \"+_vm._s(fd.file_size)+\" \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"box-view action list-table-cell\"},[_c('a',{staticClass:\"doc_action\",attrs:{\"href\":\"javascript:void(0)\"}},[_vm._v(\"\\n                                       ...\\n                                        \"),(_vm.source == 'owned_by_me')?[_c('ul',{staticClass:\"doc_action_dropdown\"},[(fd.is_dir != true)?_c('li',[_c('a',{attrs:{\"target\":\"_blank\",\"href\":fd.attactment_url,\"download\":\"\"}},[_c('span',{staticClass:\"fa fa-download\"}),_vm._v(\" \"+_vm._s(_vm.doc_str.download))])]):_vm._e(),_vm._v(\" \"),_c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.rename(fd)}}},[_c('span',{staticClass:\"fa fa-pencil\"}),_vm._v(\" \"+_vm._s(_vm.doc_str.rename))])]),_vm._v(\" \"),_c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.delete_item(fd)}}},[_c('span',{staticClass:\"fa fa-trash\"}),_vm._v(\" \"+_vm._s(_vm.doc_str.delete))])])])]:_vm._e(),_vm._v(\" \"),(_vm.source == 'my_dropbox')?[_c('ul',{staticClass:\"doc_action_dropdown\"},[(fd.is_dir != true)?_c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.link_clicked(fd)}}},[_c('span',{staticClass:\"fa fa-download\"}),_vm._v(\" \"+_vm._s(_vm.doc_str.download))])]):_vm._e(),_vm._v(\" \"),_c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.rename(fd)}}},[_c('span',{staticClass:\"fa fa-pencil\"}),_vm._v(\" \"+_vm._s(_vm.doc_str.rename))])]),_vm._v(\" \"),_c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.delete_item(fd)}}},[_c('span',{staticClass:\"fa fa-trash\"}),_vm._v(\" \"+_vm._s(_vm.doc_str.delete))])])])]:_vm._e(),_vm._v(\" \"),(_vm.source == 'shared_with_me')?[(fd.is_dir != true)?_c('ul',{staticClass:\"doc_action_dropdown\"},[(fd.source == 'local')?_c('li',[_c('a',{attrs:{\"target\":\"_blank\",\"href\":fd.attactment_url,\"download\":\"\"}},[_c('span',{staticClass:\"fa fa-download\"}),_vm._v(\" \"+_vm._s(_vm.doc_str.download))])]):_vm._e(),_vm._v(\" \"),(fd.source == 'dropbox')?_c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.link_clicked(fd)}}},[_c('span',{staticClass:\"fa fa-download\"}),_vm._v(\" \"+_vm._s(_vm.doc_str.download))])]):_vm._e()]):_vm._e()]:_vm._e()],2)])])]):_vm._e()}),_vm._v(\" \"),(_vm.file_data.length == 0)?_c('div',{class:_vm.view_type_child_class},[_c('div',{staticClass:\"list-body list-table-row\"},[_c('div',{staticClass:\"box-view list-table-cell\"},[_vm._m(2),_vm._v(\" \"),_c('div',[_vm._v(_vm._s(_vm.doc_str.empty_list))])])])]):_vm._e()],2)])])])]),_vm._v(\" \"),_c('div',{class:'modal ' + _vm.create_folder_modal_open},[_c('div',{staticClass:\"modal-background\"}),_vm._v(\" \"),_c('div',{class:'md-cont modal-content ' + _vm.create_folder_modal_open_clipped},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"modal_title\"},[_vm._v(\" \"+_vm._s(_vm.doc_str.create_folder)+\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.dir_name),expression:\"dir_name\"}],staticClass:\"input is-primary\",attrs:{\"type\":\"text\",\"placeholder\":_vm.doc_str.plz_enter_folder_name},domProps:{\"value\":(_vm.dir_name)},on:{\"keyup\":_vm.create_dir_by_ekey,\"input\":function($event){if($event.target.composing){ return; }_vm.dir_name=$event.target.value}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('button',{staticClass:\"button is-primary\",on:{\"click\":function($event){return _vm.create_folder()}}},[_vm._v(_vm._s(_vm.doc_str.submit))])])])])]),_vm._v(\" \"),_c('button',{staticClass:\"modal-close is-large\",attrs:{\"aria-label\":\"close\"},on:{\"click\":function($event){return _vm.open_folder_popup_close()}}})]),_vm._v(\" \"),_c('div',{class:'modal ' + _vm.move_to_modal_open},[_c('div',{staticClass:\"modal-background\"}),_vm._v(\" \"),_c('div',{class:'md-cont modal-content ' + _vm.move_to_modal_open_clipped},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"modal_title\"},[_vm._v(\" \"+_vm._s(_vm.doc_str.move_folder_to)+\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"field\"},[(_vm.movable_folder.length > 0)?_c('div',{staticClass:\"folder_tree\"},[_c('ul',_vm._l((_vm.movable_folder),function(mf){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mf.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mf.text)+\" \")]),_vm._v(\" \"),(mf.children.length > 0)?_c('ul',_vm._l((mf.children),function(mfc1){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc1.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc1.text)+\" \")]),_vm._v(\" \"),(mfc1.children.length > 0)?_c('ul',_vm._l((mfc1.children),function(mfc2){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc2.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc2.text)+\" \")]),_vm._v(\" \"),(mfc2.children.length > 0)?_c('ul',_vm._l((mfc2.children),function(mfc3){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc3.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc3.text)+\" \")]),_vm._v(\" \"),(mfc3.children.length > 0)?_c('ul',_vm._l((mfc3.children),function(mfc4){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc4.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc4.text)+\" \")]),_vm._v(\" \"),(mfc4.children.length > 0)?_c('ul',_vm._l((mfc4.children),function(mfc5){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc5.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc5.text)+\" \")]),_vm._v(\" \"),(mfc5.children.length > 0)?_c('ul',_vm._l((mfc5.children),function(mfc6){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc6.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc6.text)+\" \")]),_vm._v(\" \"),(mfc6.children.length > 0)?_c('ul',_vm._l((mfc6.children),function(mfc7){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc7.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc7.text)+\" \")]),_vm._v(\" \"),(mfc7.children.length > 0)?_c('ul',_vm._l((mfc7.children),function(mfc8){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc8.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc8.text)+\" \")]),_vm._v(\" \"),(mfc8.children.length > 0)?_c('ul',_vm._l((mfc8.children),function(mfc9){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc9.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc9.text)+\" \")]),_vm._v(\" \"),(mfc9.children.length > 0)?_c('ul',_vm._l((mfc9.children),function(mfc10){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc10.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc10.text)+\" \")]),_vm._v(\" \"),(mfc10.children.length > 0)?_c('ul',_vm._l((mfc10.children),function(mfc11){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc11.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc11.text)+\" \")]),_vm._v(\" \"),(mfc11.children.length > 0)?_c('ul',_vm._l((mfc11.children),function(mfc12){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc12.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc12.text)+\" \")]),_vm._v(\" \"),(mfc12.children.length > 0)?_c('ul',_vm._l((mfc12.children),function(mfc13){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc13.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc13.text)+\" \")]),_vm._v(\" \"),(mfc13.children.length > 0)?_c('ul',_vm._l((mfc13.children),function(mfc14){return _c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.set_target_folder(mfc14.id)}}},[_c('i',{staticClass:\"fa fa-folder-open\"}),_vm._v(\" \"+_vm._s(mfc14.text)+\" \")])])}),0):_vm._e()])}),0):_vm._e()])}),0):_vm._e()])}),0):_vm._e()])}),0):_vm._e()])}),0):_vm._e()])}),0):_vm._e()])}),0):_vm._e()])}),0):_vm._e()])}),0):_vm._e()])}),0):_vm._e()])}),0):_vm._e()])}),0):_vm._e()])}),0):_vm._e()])}),0)]):_c('div',{staticClass:\"folder_tree\"},[_vm._v(\" There is no available folder right now. Please create one. \")])]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('button',{staticClass:\"button is-primary is-pulled-right\",on:{\"click\":function($event){return _vm.move()}}},[_vm._v(_vm._s(_vm.doc_str.move))])])])])]),_vm._v(\" \"),_c('button',{staticClass:\"modal-close is-large\",attrs:{\"aria-label\":\"close\"},on:{\"click\":function($event){return _vm.move_to_popup_close()}}})]),_vm._v(\" \"),_c('div',{class:'modal ' + _vm.rename_folder_modal_open},[_c('div',{staticClass:\"modal-background\"}),_vm._v(\" \"),_c('div',{class:'md-cont modal-content ' + _vm.rename_folder_modal_open_clipped},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"modal_title\"},[_vm._v(\" \"+_vm._s(_vm.doc_str.rename_folder_to)+\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.rename_data.dirName),expression:\"rename_data.dirName\"}],staticClass:\"input is-primary\",attrs:{\"type\":\"text\",\"placeholder\":_vm.doc_str.plz_enter_folder_name},domProps:{\"value\":(_vm.rename_data.dirName)},on:{\"keyup\":_vm.enter_to_rename,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.rename_data, \"dirName\", $event.target.value)}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('button',{staticClass:\"button is-primary\",on:{\"click\":function($event){return _vm.rename_folder()}}},[_vm._v(_vm._s(_vm.doc_str.submit))])])])])]),_vm._v(\" \"),_c('button',{staticClass:\"modal-close is-large\",attrs:{\"aria-label\":\"close\"},on:{\"click\":function($event){return _vm.rename_folder_popup_close()}}})]),_vm._v(\" \"),_c('div',{class:'modal ' + _vm.share_to_modal_open},[_c('div',{staticClass:\"modal-background\"}),_vm._v(\" \"),_c('div',{class:'md-cont modal-content ' + _vm.share_to_modal_open_clipped},[_c('div',{staticClass:\"columns\"},[_c('form',{attrs:{\"id\":\"erp-doc-share-template\"}},[_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"modal_title\"},[_vm._v(\" Share to \")]),_vm._v(\" \"),_c('div',{staticClass:\"field\"},[_vm._m(3),_vm._v(\" \"),_c('div',{staticClass:\"control share_files_control by_employee no-show\"},[_c('div',{staticClass:\"select is-multiple columns\"},[_c('label',{staticClass:\"column\"},[_vm._v(\"Selected Employees \")]),_vm._v(\" \"),_c('select',{staticClass:\"column\",attrs:{\"id\":\"selected_emp[]\",\"name\":\"selected_emp[]\"}},_vm._l((_vm.employees),function(employee){return _c('option',{domProps:{\"value\":employee.user_id}},[_vm._v(_vm._s(employee.full_name))])}),0)])]),_vm._v(\" \"),_c('div',{staticClass:\"control share_files_control by_department no-show\"},[_c('div',{staticClass:\"select is-multiple columns\"},[_c('label',{staticClass:\"column\"},[_vm._v(\" Departments \")]),_vm._v(\" \"),_c('select',{staticClass:\"column\",attrs:{\"id\":\"department\",\"name\":\"department\"}},[_c('option',{attrs:{\"value\":\"-1\"}},[_vm._v(\"All departments\")]),_vm._v(\" \"),_vm._l((_vm.departments),function(department){return _c('option',{domProps:{\"value\":department.id}},[_vm._v(_vm._s(department.title))])})],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"control share_files_control by_designation no-show\"},[_c('div',{staticClass:\"select is-multiple columns\"},[_c('label',{staticClass:\"column\"},[_vm._v(\" Designations \")]),_vm._v(\" \"),_c('select',{staticClass:\"column\",attrs:{\"id\":\"designation\",\"name\":\"designation\"}},[_c('option',{attrs:{\"value\":\"-1\"}},[_vm._v(\"All designations\")]),_vm._v(\" \"),_vm._l((_vm.designations),function(designation){return _c('option',{domProps:{\"value\":designation.id}},[_vm._v(_vm._s(designation.title))])})],2)])])]),_vm._v(\" \"),_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"owner_id\"},domProps:{\"value\":_vm.employee_id}}),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('button',{staticClass:\"button is-primary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.share_dir_file()}}},[_vm._v(\"Share\")])])])])])]),_vm._v(\" \"),_c('button',{staticClass:\"modal-close is-large\",attrs:{\"aria-label\":\"close\"},on:{\"click\":function($event){return _vm.share_to_popup_close()}}})])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"icon is-small is-right\"},[_c('i',{staticClass:\"fa fa-search\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_c('i',{staticClass:\"fa fa-folder-open\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"font-size\":\"30px\"}},[_c('i',{staticClass:\"fa fa-folder\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"control share_files_control\"},[_c('div',{staticClass:\"select is-multiple columns\"},[_c('label',{staticClass:\"column\"},[_vm._v(\" Shared by \")]),_vm._v(\" \"),_c('select',{staticClass:\"column\",attrs:{\"id\":\"share_by\",\"name\":\"share_by\"}},[_c('option',{attrs:{\"value\":\"all_employees\"}},[_vm._v(\"All employees\")]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"by_department\"}},[_vm._v(\"By department\")]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"by_designation\"}},[_vm._v(\"By designation\")]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"by_employee\"}},[_vm._v(\"By employee\")])])])])}]\n\n\n\n//# sourceURL=webpack:///./modules/hrm/document-manager/assets/src/frontend/components/document_manager_indexed.vue?./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js":
/*!********************************************************************!*\
  !*** ./node_modules/vue-loader/lib/runtime/componentNormalizer.js ***!
  \********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return normalizeComponent; });\n/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nfunction normalizeComponent (\n  scriptExports,\n  render,\n  staticRenderFns,\n  functionalTemplate,\n  injectStyles,\n  scopeId,\n  moduleIdentifier, /* server only */\n  shadowMode /* vue-cli only */\n) {\n  // Vue.extend constructor export interop\n  var options = typeof scriptExports === 'function'\n    ? scriptExports.options\n    : scriptExports\n\n  // render functions\n  if (render) {\n    options.render = render\n    options.staticRenderFns = staticRenderFns\n    options._compiled = true\n  }\n\n  // functional template\n  if (functionalTemplate) {\n    options.functional = true\n  }\n\n  // scopedId\n  if (scopeId) {\n    options._scopeId = 'data-v-' + scopeId\n  }\n\n  var hook\n  if (moduleIdentifier) { // server build\n    hook = function (context) {\n      // 2.3 injection\n      context =\n        context || // cached call\n        (this.$vnode && this.$vnode.ssrContext) || // stateful\n        (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n      // 2.2 with runInNewContext: true\n      if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n        context = __VUE_SSR_CONTEXT__\n      }\n      // inject component styles\n      if (injectStyles) {\n        injectStyles.call(this, context)\n      }\n      // register component module identifier for async chunk inferrence\n      if (context && context._registeredComponents) {\n        context._registeredComponents.add(moduleIdentifier)\n      }\n    }\n    // used by ssr in case component is cached and beforeCreate\n    // never gets called\n    options._ssrRegister = hook\n  } else if (injectStyles) {\n    hook = shadowMode\n      ? function () {\n        injectStyles.call(\n          this,\n          (options.functional ? this.parent : this).$root.$options.shadowRoot\n        )\n      }\n      : injectStyles\n  }\n\n  if (hook) {\n    if (options.functional) {\n      // for template-only hot-reload because in that case the render fn doesn't\n      // go through the normalizer\n      options._injectStyles = hook\n      // register for functional component in vue file\n      var originalRender = options.render\n      options.render = function renderWithStyleInjection (h, context) {\n        hook.call(context)\n        return originalRender(h, context)\n      }\n    } else {\n      // inject component registration as beforeCreate hook\n      var existing = options.beforeCreate\n      options.beforeCreate = existing\n        ? [].concat(existing, hook)\n        : [hook]\n    }\n  }\n\n  return {\n    exports: scriptExports,\n    options: options\n  }\n}\n\n\n//# sourceURL=webpack:///./node_modules/vue-loader/lib/runtime/componentNormalizer.js?");

/***/ })

/******/ });