exports.ids = [44,19];
exports.modules = {

/***/ 217:
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__(237);
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add CSS to SSR context
var add = __webpack_require__(5).default
module.exports.__inject__ = function (context) {
  add("a5abfe0c", content, true, context)
};

/***/ }),

/***/ 236:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchBar_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(217);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchBar_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchBar_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchBar_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchBar_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ }),

/***/ 237:
/***/ (function(module, exports, __webpack_require__) {

// Imports
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(4);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
// Module
___CSS_LOADER_EXPORT___.push([module.i, ".search-bar__input{border-radius:.5rem;margin-bottom:2rem;overflow:hidden}", ""]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___;


/***/ }),

/***/ 258:
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__(309);
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add CSS to SSR context
var add = __webpack_require__(5).default
module.exports.__inject__ = function (context) {
  add("69848d3c", content, true, context)
};

/***/ }),

/***/ 273:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: D:/Projects/vindigo/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!D:/Projects/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Projects/vindigo/node_modules/vue-loader/lib??vue-loader-options!./components/SearchBar.vue?vue&type=template&id=0935ac47&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('w-menu',{staticClass:"search-bar",attrs:{"align-left":"","value":_vm.isSearching && _vm.active},scopedSlots:_vm._u([{key:"activator",fn:function(){return [_c('w-input',{staticClass:"search-bar__input",attrs:{"bg-color":"shade-3","placeholder":_vm.placeholder,"inner-icon-left":"mdi mdi-magnify","autocomplete":"off","color":"grey"},on:{"focus":function($event){_vm.isSearching = true},"blur":function($event){_vm.isSearching = false}},model:{value:(_vm.searchQuery),callback:function ($$v) {_vm.searchQuery=$$v},expression:"searchQuery"}})]},proxy:true}])},[_vm._v(" "),_vm._t("default")],2)}
var staticRenderFns = []


// CONCATENATED MODULE: ./components/SearchBar.vue?vue&type=template&id=0935ac47&

// EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(7);

// EXTERNAL MODULE: external "vue"
var external_vue_ = __webpack_require__(0);
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);

// CONCATENATED MODULE: D:/Projects/vindigo/node_modules/babel-loader/lib??ref--13-0!D:/Projects/vindigo/node_modules/ts-loader??ref--13-1!D:/Projects/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Projects/vindigo/node_modules/vue-loader/lib??vue-loader-options!./components/SearchBar.vue?vue&type=script&lang=ts&


/* harmony default export */ var SearchBarvue_type_script_lang_ts_ = (external_vue_default.a.extend({
  name: 'SearchBar',
  props: {
    value: {
      type: String
    },
    active: {
      type: Boolean
    },
    placeholder: {
      type: String
    }
  },
  data: () => ({
    searchQuery: '',
    isSearching: false,
    fetcherFn: null
  }),
  watch: {
    value(value) {
      this.searchQuery = value;
    },

    searchQuery() {
      this.fetcherFn();
    }

  },

  created() {
    this.fetcherFn = Object(external_lodash_["debounce"])(() => {
      this.$emit('input', this.searchQuery);
    }, 500);
  }

}));
// CONCATENATED MODULE: ./components/SearchBar.vue?vue&type=script&lang=ts&
 /* harmony default export */ var components_SearchBarvue_type_script_lang_ts_ = (SearchBarvue_type_script_lang_ts_); 
// EXTERNAL MODULE: D:/Projects/vindigo/node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(2);

// CONCATENATED MODULE: ./components/SearchBar.vue



function injectStyles (context) {
  
  var style0 = __webpack_require__(236)
if (style0.__inject__) style0.__inject__(context)

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_SearchBarvue_type_script_lang_ts_,
  render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "18ead879"
  
)

/* harmony default export */ var SearchBar = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 308:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_members_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(258);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_members_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_members_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_members_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_members_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ }),

/***/ 309:
/***/ (function(module, exports, __webpack_require__) {

// Imports
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(4);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
// Module
___CSS_LOADER_EXPORT___.push([module.i, ".members-tab .member-list:not(:last-child){padding-bottom:1.5rem}.members-tab__results{transition-property:box-shadow,text-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border-radius:.75rem;padding:1rem;box-shadow:0 0 0 0 transparent,0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);display:flex;flex-direction:column;background-color:var(--color-shade-0);overflow:hidden;width:26rem;grid-gap:.75em;gap:.75em;overflow-y:auto;max-height:30rem}.members-tab__results__child{display:flex;overflow:hidden;width:26rem;height:2.5rem}.members-tab__pending{padding-bottom:2rem}.members-tab__subtitle{font-weight:600}.members-tab .user-table{margin-top:.5rem;width:100%;text-align:left}.members-tab .user-table th{font-size:.875rem;line-height:1.25rem;font-weight:600;color:#737373}.members-tab .user-table td,.members-tab .user-table th{padding:.5rem 1rem;white-space:nowrap}.members-tab .user-table tr:not(:last-child) td,.members-tab .user-table tr:not(:last-child) th{border-bottom:1px solid var(--color-shade-3)}.members-tab .user-table th:first-child{width:100%}", ""]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___;


/***/ }),

/***/ 332:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: D:/Projects/vindigo/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!D:/Projects/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Projects/vindigo/node_modules/vue-loader/lib??vue-loader-options!./pages/project/_pid/settings/members.vue?vue&type=template&id=894c3f7a&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"members-tab"},[_c('SearchBar',{attrs:{"active":!!_vm.suggestions.length,"placeholder":"Search people to invite..."},on:{"input":_vm.searchMembers}},[_c('div',{staticClass:"members-tab__results"},_vm._l((_vm.suggestions),function(profile){return _c('div',{key:profile.id,staticClass:"members-tab__results__child",on:{"click":function($event){return _vm.inviteMember(profile.id)}}},[_c('VindiProfile',{attrs:{"profile":profile,"open-profile":false}})],1)}),0)]),_vm._ssrNode(" "),(_vm.invites.length)?_vm._ssrNode("<div class=\"members-tab__pending\">","</div>",[_vm._ssrNode("<div class=\"members-tab__subtitle\">"+_vm._ssrEscape("\n\t\t\tSent invitations ("+_vm._s(_vm.invites.length)+")\n\t\t")+"</div> "),_vm._ssrNode("<table class=\"user-table\">","</table>",[_vm._ssrNode("<tr><th>\n\t\t\t\t\tProfile\n\t\t\t\t</th> <th>\n\t\t\t\t\tInvitation sent\n\t\t\t\t</th> <th></th></tr> "),_vm._l((_vm.invites),function(ref){
var member = ref.member;
var joinedAt = ref.joinedAt;
return _vm._ssrNode("<tr>","</tr>",[_vm._ssrNode("<td>","</td>",[_c('VindiProfile',{attrs:{"profile":member}})],1),_vm._ssrNode(" <td>"+_vm._ssrEscape("\n\t\t\t\t\t"+_vm._s(_vm.formatDate(joinedAt))+"\n\t\t\t\t")+"</td> "),_vm._ssrNode("<td>","</td>",[_c('w-button',{attrs:{"lg":"","icon":"mdi mdi-delete","color":"red-500"},on:{"click":function($event){return _vm.removeMember(member.id)}}})],1)],2)})],2)],2):_vm._e(),_vm._ssrNode(" "),_vm._ssrNode("<div class=\"members-tab__members\">","</div>",[_vm._ssrNode("<div class=\"members-tab__subtitle\">"+_vm._ssrEscape("\n\t\t\tProject members ("+_vm._s(_vm.members.length)+")\n\t\t")+"</div> "),_vm._ssrNode("<table class=\"user-table\">","</table>",[_vm._ssrNode("<tr><th>\n\t\t\t\t\tProfile\n\t\t\t\t</th> <th>\n\t\t\t\t\tAccess granted\n\t\t\t\t</th> <th>\n\t\t\t\t\tAccess level\n\t\t\t\t</th> <th></th></tr> "),_vm._l((_vm.members),function(member){return _vm._ssrNode("<tr>","</tr>",[_vm._ssrNode("<td>","</td>",[_c('VindiProfile',{attrs:{"profile":member.member}})],1),_vm._ssrNode(" <td>"+_vm._ssrEscape("\n\t\t\t\t\t"+_vm._s(_vm.formatDate(member.joinedAt))+"\n\t\t\t\t")+"</td> "),_vm._ssrNode("<td>","</td>",[_c('w-select',{attrs:{"items":_vm.projectRoles,"disabled":member.member.id == _vm.project.creator.id || member.member.id == _vm.$store.state.profile.id},on:{"item-select":_vm.selectRole},model:{value:(member.accessLevel),callback:function ($$v) {_vm.$set(member, "accessLevel", $$v)},expression:"member.accessLevel"}})],1),_vm._ssrNode(" "),_vm._ssrNode("<td>","</td>",[_c('w-button',{attrs:{"lg":"","icon":"mdi mdi-delete","color":"error","disabled":member.member.id == _vm.project.creator.id || member.member.id == _vm.$store.state.profile.id},on:{"click":function($event){return _vm.removeMember(member.member.id)}}})],1)],2)})],2)],2)],2)}
var staticRenderFns = []


// CONCATENATED MODULE: ./pages/project/_pid/settings/members.vue?vue&type=template&id=894c3f7a&

// EXTERNAL MODULE: external "dayjs"
var external_dayjs_ = __webpack_require__(3);
var external_dayjs_default = /*#__PURE__*/__webpack_require__.n(external_dayjs_);

// EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(7);

// EXTERNAL MODULE: ./src/helpers.ts + 1 modules
var helpers = __webpack_require__(6);

// CONCATENATED MODULE: ./assets/query/project/onMembersChange.gql
/* harmony default export */ var onMembersChange = ("# > projectMember\r\n\r\nsubscription MembersChange($id: Int!) {\r\n\tprojectUpdated(id: $id) {\r\n\t\tmembers {\r\n\t\t\t...ProjectMember\r\n\t\t\taccessLevel\r\n\t\t}\r\n\t\tinvites {\r\n\t\t\t...ProjectMember\r\n\t\t}\r\n\t}\r\n}");
// CONCATENATED MODULE: ./assets/query/project/fetchMemberSearch.gql
/* harmony default export */ var fetchMemberSearch = ("query ProjectMemberSearch($query: String!) {\r\n\tsearch(query: $query) {\r\n\t\tusers {\r\n\t\t\tid\r\n\t\t\tavatar\r\n\t\t\tusername\r\n\t\t\tfullName\r\n\t\t\tprofileUrl\r\n\t\t\tisAuthentic\r\n\t\t}\r\n\t}\r\n}");
// CONCATENATED MODULE: ./assets/query/project/removeProjectMember.gql
/* harmony default export */ var removeProjectMember = ("mutation removeProjectMember($pid: Int!, $uid: Int!) {\r\n\tremoveProjectMember(id: $pid, userId: $uid) {\r\n\t\tjoinedAt\r\n\t}\r\n}");
// CONCATENATED MODULE: ./assets/query/project/inviteProjectMember.gql
/* harmony default export */ var inviteProjectMember = ("mutation inviteProjectMember($pid: Int!, $uid: Int!) {\r\n\tinviteProjectMember(id: $pid, userId: $uid) {\r\n\t\tjoinedAt\r\n\t}\r\n}");
// EXTERNAL MODULE: external "vue"
var external_vue_ = __webpack_require__(0);
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);

// CONCATENATED MODULE: D:/Projects/vindigo/node_modules/babel-loader/lib??ref--13-0!D:/Projects/vindigo/node_modules/ts-loader??ref--13-1!D:/Projects/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Projects/vindigo/node_modules/vue-loader/lib??vue-loader-options!./pages/project/_pid/settings/members.vue?vue&type=script&lang=ts&
var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
  function adopt(value) {
    return value instanceof P ? value : new P(function (resolve) {
      resolve(value);
    });
  }

  return new (P || (P = Promise))(function (resolve, reject) {
    function fulfilled(value) {
      try {
        step(generator.next(value));
      } catch (e) {
        reject(e);
      }
    }

    function rejected(value) {
      try {
        step(generator["throw"](value));
      } catch (e) {
        reject(e);
      }
    }

    function step(result) {
      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
    }

    step((generator = generator.apply(thisArg, _arguments || [])).next());
  });
};









/* harmony default export */ var membersvue_type_script_lang_ts_ = (external_vue_default.a.extend({
  name: 'MembersTab',
  props: {
    project: Object
  },
  data: () => ({
    manager: null,
    members: [],
    invites: [],
    suggestions: [],
    search: '',
    isSearching: false,
    projectRoles: [{
      label: "Manager",
      value: 'manager'
    }, {
      label: "Member",
      value: 'member'
    }]
  }),

  created() {
    this.members = Object(external_lodash_["cloneDeep"])(this.project.members);
    this.invites = Object(external_lodash_["cloneDeep"])(this.project.invites);
  },

  mounted() {
    this.manager = this.$api.createManager();
    const slug = Object(helpers["h" /* parseSlug */])(this.$route.params.pid); // Update members list

    this.manager.subscribe({
      query: onMembersChange,
      variables: {
        id: slug
      },
      next: result => {
        const res = result.projectUpdated;
        this.members = res.members;
        this.invites = res.invites;
      }
    });
  },

  destroyed() {
    var _a;

    (_a = this.manager) === null || _a === void 0 ? void 0 : _a.dispose();
  },

  methods: {
    formatDate(joinedAt) {
      return external_dayjs_default()(parseInt(joinedAt)).fromNow();
    },

    inviteMember(id) {
      this.$api.query(inviteProjectMember, {
        pid: this.project.id,
        uid: id
      });
    },

    // TODO Implement
    selectRole(role) {
      const selected = role.value;
      console.log(selected);
    },

    removeMember(id) {
      this.$api.query(removeProjectMember, {
        pid: this.project.id,
        uid: id
      });
    },

    searchMembers(query) {
      return __awaiter(this, void 0, void 0, function* () {
        if (query === '') return;
        const res = yield this.$api.query(fetchMemberSearch, {
          query: query
        });
        this.suggestions = res.search.users;
      });
    }

  }
}));
// CONCATENATED MODULE: ./pages/project/_pid/settings/members.vue?vue&type=script&lang=ts&
 /* harmony default export */ var settings_membersvue_type_script_lang_ts_ = (membersvue_type_script_lang_ts_); 
// EXTERNAL MODULE: D:/Projects/vindigo/node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(2);

// CONCATENATED MODULE: ./pages/project/_pid/settings/members.vue



function injectStyles (context) {
  
  var style0 = __webpack_require__(308)
if (style0.__inject__) style0.__inject__(context)

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  settings_membersvue_type_script_lang_ts_,
  render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "73ab08f1"
  
)

/* harmony default export */ var members = __webpack_exports__["default"] = (component.exports);

/* nuxt-component-imports */
installComponents(component, {VindiProfile: __webpack_require__(26).default,SearchBar: __webpack_require__(273).default})


/***/ })

};;
//# sourceMappingURL=members.js.map