(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[71],{

/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/domain/View1.vue?vue&type=script&lang=js&":
/*!**************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/main/domain/View1.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 _utils_permission_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/utils/permission.js */ \"./src/utils/permission.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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  props: {\n    items: Array\n  },\n  components: {\n    ColumnsEffect: () => __webpack_require__.e(/*! import() */ 19).then(__webpack_require__.bind(null, /*! @/components/singles/ColumnsEffect.vue */ \"./src/components/singles/ColumnsEffect.vue\")),\n    EditSingleField: () => Promise.all(/*! import() */[__webpack_require__.e(0), __webpack_require__.e(1), __webpack_require__.e(7)]).then(__webpack_require__.bind(null, /*! @/components/singles/EditSingleField/component.vue */ \"./src/components/singles/EditSingleField/component.vue\"))\n  },\n  computed: {\n    permission() {\n      return domain => {\n        if (domain.permission) return _utils_permission_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].domain[domain.permission];else return \"Owner\";\n      };\n    }\n  }\n});\n\n//# sourceURL=webpack:///./src/components/main/domain/View1.vue?./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"7d40fa80-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/domain/View1.vue?vue&type=template&id=7c2e3e37&":
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7d40fa80-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/main/domain/View1.vue?vue&type=template&id=7c2e3e37& ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! 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() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _c(\n    \"ColumnsEffect\",\n    _vm._l(_vm.items, function(domain) {\n      return _c(\n        \"div\",\n        {\n          key: domain.uid,\n          staticClass: \"column is-3 is-marginless is-paddingless\",\n          on: {\n            contextmenu: function($event) {\n              $event.preventDefault()\n              return _vm.$emit(\"menu\", { e: $event, domain: domain })\n            }\n          }\n        },\n        [\n          !domain.edit\n            ? _c(\"router-link\", { attrs: { to: \"/domains/\" + domain.uid } }, [\n                _c(\"span\", { staticClass: \"icon\" }, [\n                  _c(\"i\", {\n                    staticClass: \"mdi mdi-domain\",\n                    attrs: { \"aria-hidden\": \"true\" }\n                  })\n                ]),\n                _c(\"span\", [_vm._v(_vm._s(domain.friendlyName))]),\n                domain.shared\n                  ? _c(\n                      \"span\",\n                      {\n                        staticClass: \"icon\",\n                        attrs: { \"data-tooltip\": \"Shared with you\" }\n                      },\n                      [_c(\"i\", { staticClass: \"mdi mdi-share-variant\" })]\n                    )\n                  : _vm._e(),\n                !domain.shared && domain.sharedWithOthers\n                  ? _c(\n                      \"span\",\n                      {\n                        staticClass: \"icon\",\n                        attrs: { \"data-tooltip\": \"Shared with others\" }\n                      },\n                      [\n                        _c(\"i\", {\n                          staticClass: \"mdi mdi-account-multiple-plus\"\n                        })\n                      ]\n                    )\n                  : _vm._e()\n              ])\n            : _vm._e(),\n          domain.edit\n            ? _c(\"EditSingleField\", {\n                attrs: {\n                  text: domain.friendlyName,\n                  validation: \"required\",\n                  type: \"text\",\n                  name: \"name\",\n                  isLoading: domain.saving\n                },\n                on: {\n                  save: function($event) {\n                    return _vm.$emit(\"save\", { domain: domain, text: $event })\n                  },\n                  cancel: function($event) {\n                    return _vm.$emit(\"cancel\", domain)\n                  }\n                }\n              })\n            : _vm._e()\n        ],\n        1\n      )\n    }),\n    0\n  )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/components/main/domain/View1.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%227d40fa80-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./src/components/main/domain/View1.vue":
/*!**********************************************!*\
  !*** ./src/components/main/domain/View1.vue ***!
  \**********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _View1_vue_vue_type_template_id_7c2e3e37___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./View1.vue?vue&type=template&id=7c2e3e37& */ \"./src/components/main/domain/View1.vue?vue&type=template&id=7c2e3e37&\");\n/* harmony import */ var _View1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./View1.vue?vue&type=script&lang=js& */ \"./src/components/main/domain/View1.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  _View1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _View1_vue_vue_type_template_id_7c2e3e37___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _View1_vue_vue_type_template_id_7c2e3e37___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"src/components/main/domain/View1.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./src/components/main/domain/View1.vue?");

/***/ }),

/***/ "./src/components/main/domain/View1.vue?vue&type=script&lang=js&":
/*!***********************************************************************!*\
  !*** ./src/components/main/domain/View1.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_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_View1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/babel-loader/lib!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./View1.vue?vue&type=script&lang=js& */ \"./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/domain/View1.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_View1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/components/main/domain/View1.vue?");

/***/ }),

/***/ "./src/components/main/domain/View1.vue?vue&type=template&id=7c2e3e37&":
/*!*****************************************************************************!*\
  !*** ./src/components/main/domain/View1.vue?vue&type=template&id=7c2e3e37& ***!
  \*****************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_7d40fa80_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_View1_vue_vue_type_template_id_7c2e3e37___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"7d40fa80-vue-loader-template\"}!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./View1.vue?vue&type=template&id=7c2e3e37& */ \"./node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"7d40fa80-vue-loader-template\\\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/domain/View1.vue?vue&type=template&id=7c2e3e37&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_7d40fa80_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_View1_vue_vue_type_template_id_7c2e3e37___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_7d40fa80_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_View1_vue_vue_type_template_id_7c2e3e37___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/components/main/domain/View1.vue?");

/***/ }),

/***/ "./src/utils/permission.js":
/*!*********************************!*\
  !*** ./src/utils/permission.js ***!
  \*********************************/
/*! exports provided: domain, source, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"domain\", function() { return domain; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"source\", function() { return source; });\nconst domain = {\n  4: \"Read\",\n  8: \"Execute\",\n  16: \"Change\",\n  32: \"Add\",\n  64: \"Remove\",\n  128: \"Remove domain\",\n  256: \"Edit shares\"\n};\nconst source = {\n  1: \"Read\",\n  2: \"Download\",\n  4: \"Update\",\n  8: \"Create\",\n  16: \"Delete\",\n  32: \"Owner\"\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  domain,\n  source\n});\n\n//# sourceURL=webpack:///./src/utils/permission.js?");

/***/ })

}]);