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

/***/ "./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/View2.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/View2.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 core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"./node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"./node_modules/core-js/modules/es.string.iterator.js\");\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"./node_modules/core-js/modules/web.dom-collections.iterator.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _utils_permission_js__WEBPACK_IMPORTED_MODULE_3__ = __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//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  props: {\n    items: Array\n  },\n  components: {\n    TableEffect: function TableEffect() {\n      return __webpack_require__.e(/*! import() */ 13).then(__webpack_require__.bind(null, /*! @/components/singles/TableEffect.vue */ \"./src/components/singles/TableEffect.vue\"));\n    },\n    EditSingleField: function EditSingleField() {\n      return 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  },\n  computed: {\n    permission: function permission() {\n      return function (domain) {\n        if (domain.permission) return _utils_permission_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].domain[domain.permission];else return \"Owner\";\n      };\n    }\n  }\n});\n\n//# sourceURL=webpack:///./src/components/main/domain/View2.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\":\"60671cf1-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/View2.vue?vue&type=template&id=7c3c55b8&":
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60671cf1-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/View2.vue?vue&type=template&id=7c3c55b8& ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! 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(\"div\", { staticClass: \"table-container\" }, [\n    _c(\n      \"table\",\n      { staticClass: \"table is-fullwidth is-narrow is-hoverable\" },\n      [\n        _c(\"thead\", [\n          _c(\"tr\", { staticClass: \"is-unselectable\" }, [\n            _c(\n              \"th\",\n              {\n                on: {\n                  click: function($event) {\n                    return _vm.$emit(\"order\", \"friendlyName\")\n                  }\n                }\n              },\n              [_vm._v(\"Name\")]\n            ),\n            _c(\n              \"th\",\n              {\n                on: {\n                  click: function($event) {\n                    return _vm.$emit(\"order\", \"shared\")\n                  }\n                }\n              },\n              [_vm._v(\"Owner\")]\n            ),\n            _c(\n              \"th\",\n              {\n                on: {\n                  click: function($event) {\n                    return _vm.$emit(\"order\", \"permission\")\n                  }\n                }\n              },\n              [_vm._v(\"Permissions\")]\n            ),\n            _c(\n              \"th\",\n              {\n                on: {\n                  click: function($event) {\n                    return _vm.$emit(\"order\", \"sharedWithOthers\")\n                  }\n                }\n              },\n              [_vm._v(\"Shared\")]\n            )\n          ])\n        ]),\n        _c(\n          \"TableEffect\",\n          _vm._l(_vm.items, function(domain) {\n            return _c(\"tr\", { key: domain.uid }, [\n              _c(\"td\", [\n                _c(\n                  \"div\",\n                  {\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(\n                          \"router-link\",\n                          { attrs: { to: \"/domains/\" + domain.uid } },\n                          [\n                            _c(\n                              \"span\",\n                              { staticClass: \"icon is-small margin-right-5\" },\n                              [\n                                _c(\"i\", {\n                                  staticClass: \"mdi mdi-domain\",\n                                  attrs: { \"aria-hidden\": \"true\" }\n                                })\n                              ]\n                            ),\n                            _c(\"span\", [_vm._v(_vm._s(domain.friendlyName))])\n                          ]\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\", {\n                                domain: domain,\n                                text: $event\n                              })\n                            },\n                            cancel: function($event) {\n                              return _vm.$emit(\"cancel\", domain)\n                            }\n                          }\n                        })\n                      : _vm._e()\n                  ],\n                  1\n                )\n              ]),\n              _c(\"td\", [_vm._v(_vm._s(domain.shared ? \"No\" : \"Yes\"))]),\n              _c(\"td\", [_vm._v(_vm._s(_vm.permission(domain)))]),\n              _c(\"td\", [_vm._v(_vm._s(domain.sharedWithOthers ? \"Yes\" : \"No\"))])\n            ])\n          }),\n          0\n        )\n      ],\n      1\n    )\n  ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/components/main/domain/View2.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2260671cf1-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/View2.vue":
/*!**********************************************!*\
  !*** ./src/components/main/domain/View2.vue ***!
  \**********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _View2_vue_vue_type_template_id_7c3c55b8___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./View2.vue?vue&type=template&id=7c3c55b8& */ \"./src/components/main/domain/View2.vue?vue&type=template&id=7c3c55b8&\");\n/* harmony import */ var _View2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./View2.vue?vue&type=script&lang=js& */ \"./src/components/main/domain/View2.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  _View2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _View2_vue_vue_type_template_id_7c3c55b8___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _View2_vue_vue_type_template_id_7c3c55b8___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/View2.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./src/components/main/domain/View2.vue?");

/***/ }),

/***/ "./src/components/main/domain/View2.vue?vue&type=script&lang=js&":
/*!***********************************************************************!*\
  !*** ./src/components/main/domain/View2.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_View2_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!./View2.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/View2.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_View2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/components/main/domain/View2.vue?");

/***/ }),

/***/ "./src/components/main/domain/View2.vue?vue&type=template&id=7c3c55b8&":
/*!*****************************************************************************!*\
  !*** ./src/components/main/domain/View2.vue?vue&type=template&id=7c3c55b8& ***!
  \*****************************************************************************/
/*! 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_60671cf1_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_View2_vue_vue_type_template_id_7c3c55b8___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"60671cf1-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!./View2.vue?vue&type=template&id=7c3c55b8& */ \"./node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"60671cf1-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/View2.vue?vue&type=template&id=7c3c55b8&\");\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_60671cf1_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_View2_vue_vue_type_template_id_7c3c55b8___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_60671cf1_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_View2_vue_vue_type_template_id_7c3c55b8___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/components/main/domain/View2.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; });\nvar 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};\nvar 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: domain,\n  source: source\n});\n\n//# sourceURL=webpack:///./src/utils/permission.js?");

/***/ })

}]);