@papaemmelab/isabl-web 0.3.12 → 0.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -91177,7 +91177,7 @@ module.exports = overArg;
91177
91177
  /***/ "9224":
91178
91178
  /***/ (function(module) {
91179
91179
 
91180
- module.exports = JSON.parse("{\"name\":\"@papaemmelab/isabl-web\",\"version\":\"0.3.12\",\"scripts\":{\"serve\":\"vue-cli-service serve\",\"lint\":\"vue-cli-service lint\",\"build-lib\":\"vue-cli-service build --target lib --name isabl-web ./src/main.js\",\"build-wc\":\"vue-cli-service build --target wc --name isabl-web ./src/components/*.vue\",\"build-wc-async\":\"vue-cli-service build --target wc-async --name isabl-web ./src/components/*.vue\",\"publish-app\":\"yarn version --patch && yarn build-lib && yarn publish --access public\",\"dev\":\"yarn build-lib --watch\",\"test:unit\":\"vue-cli-service test:unit\",\"test:e2e\":\"vue-cli-service test:e2e\",\"test:travis\":\"yarn test:e2e --headless\",\"test:submissions\":\"node tests/utils/create_test_submission.js\",\"test:report-coverage\":\"nyc report --reporter=text-lcov > coverage.lcov && codecov -t $CODECOV_TOKEN\",\"demo\":\"nodemon demo/demo-app.js\"},\"dependencies\":{\"@mdi/font\":\"^7.0.96\",\"ansi_up\":\"^5\",\"axios\":\"^0.21.1\",\"crossfilter\":\"^1.3.12\",\"crossfilter2\":\"^1.4.7\",\"d3-tip\":\"^0.9.1\",\"dc\":\"3.1.2\",\"detect-csv\":\"^1.1.0\",\"js-md5\":\"^0.7.3\",\"minify-css-string\":\"^1.0.0\",\"moment\":\"^2.22.2\",\"register-service-worker\":\"^1.5.2\",\"v-hotkey\":\"^0.6.0\",\"vue\":\"^2.5.16\",\"vue-clipboard2\":\"^0.2.1\",\"vue-gallery\":\"^1.4.0\",\"vue-highlightjs\":\"^1.3.3\",\"vue-json-excel\":\"^0.2.5\",\"vue-observe-visibility\":\"^0.4.6\",\"vue-router\":\"^3.0.1\",\"vue-upload-component\":\"^2.8.11\",\"vuetify\":\"2.6.10\",\"vuex\":\"^3.0.1\",\"vuex-router-sync\":\"^5.0.0\"},\"devDependencies\":{\"@cypress/code-coverage\":\"^1.10.1\",\"@vue/cli-plugin-babel\":\"^3.3.0\",\"@vue/cli-plugin-e2e-cypress\":\"^3.3.0\",\"@vue/cli-plugin-eslint\":\"^3.3.0\",\"@vue/cli-plugin-pwa\":\"^3.3.0\",\"@vue/cli-plugin-unit-jest\":\"^3.3.0\",\"@vue/cli-service\":\"^3.3.0\",\"@vue/eslint-config-prettier\":\"^3.0.5\",\"@vue/test-utils\":\"^1.0.0-beta.20\",\"axios-mock-adapter\":\"^1.15.0\",\"babel-core\":\"7.0.0-bridge.0\",\"babel-jest\":\"^23.0.1\",\"babel-plugin-istanbul\":\"^5.2.0\",\"codecov\":\"^3.6.1\",\"eslint-plugin-vuetify\":\"^1.1.0\",\"express\":\"^4.16.3\",\"html-webpack-plugin\":\"^3.2.0\",\"istanbul-lib-coverage\":\"^2.0.5\",\"mini-css-extract-plugin\":\"^0.4.2\",\"nyc\":\"^14.1.1\",\"sass\":\"^1.55.0\",\"sass-loader\":\"^7.0.1\",\"vue-template-compiler\":\"^2.5.16\",\"xlsx-populate\":\"^1.19.1\"},\"browserslist\":[\"> 1%\",\"last 2 versions\",\"not ie <= 8\"],\"main\":\"./dist/isabl-web.umd.min.js\",\"license\":\"MIT\",\"files\":[\"dist/isabl-web*.js\"],\"author\":\"Juan S. Medina - Juan E. Arango\",\"description\":\"Isabl Frontend of the MSK Academic License.\",\"bugs\":{\"url\":\"https://github.com/papaemmelab/isabl_web/issues\"},\"homepage\":\"https://github.com/papaemmelab/isabl_web#readme\"}");
91180
+ module.exports = JSON.parse("{\"name\":\"@papaemmelab/isabl-web\",\"version\":\"0.3.14\",\"scripts\":{\"serve\":\"vue-cli-service serve\",\"lint\":\"vue-cli-service lint\",\"build-lib\":\"vue-cli-service build --target lib --name isabl-web ./src/main.js\",\"build-wc\":\"vue-cli-service build --target wc --name isabl-web ./src/components/*.vue\",\"build-wc-async\":\"vue-cli-service build --target wc-async --name isabl-web ./src/components/*.vue\",\"publish-app\":\"yarn version --patch && yarn build-lib && yarn publish --access public\",\"dev\":\"yarn build-lib --watch\",\"test:unit\":\"vue-cli-service test:unit\",\"test:e2e\":\"vue-cli-service test:e2e\",\"test:travis\":\"yarn test:e2e --headless\",\"test:submissions\":\"node tests/utils/create_test_submission.js\",\"test:report-coverage\":\"nyc report --reporter=text-lcov > coverage.lcov && codecov -t $CODECOV_TOKEN\",\"demo\":\"nodemon demo/demo-app.js\"},\"dependencies\":{\"@mdi/font\":\"^7.0.96\",\"ansi_up\":\"^5\",\"axios\":\"^0.21.1\",\"crossfilter\":\"^1.3.12\",\"crossfilter2\":\"^1.4.7\",\"d3-tip\":\"^0.9.1\",\"dc\":\"3.1.2\",\"detect-csv\":\"^1.1.0\",\"js-md5\":\"^0.7.3\",\"minify-css-string\":\"^1.0.0\",\"moment\":\"^2.22.2\",\"register-service-worker\":\"^1.5.2\",\"v-hotkey\":\"^0.6.0\",\"vue\":\"^2.5.16\",\"vue-clipboard2\":\"^0.2.1\",\"vue-gallery\":\"^1.4.0\",\"vue-highlightjs\":\"^1.3.3\",\"vue-json-excel\":\"^0.2.5\",\"vue-observe-visibility\":\"^0.4.6\",\"vue-router\":\"^3.0.1\",\"vue-upload-component\":\"^2.8.11\",\"vuetify\":\"2.6.10\",\"vuex\":\"^3.0.1\",\"vuex-router-sync\":\"^5.0.0\"},\"devDependencies\":{\"@cypress/code-coverage\":\"^1.10.1\",\"@vue/cli-plugin-babel\":\"^3.3.0\",\"@vue/cli-plugin-e2e-cypress\":\"^3.3.0\",\"@vue/cli-plugin-eslint\":\"^3.3.0\",\"@vue/cli-plugin-pwa\":\"^3.3.0\",\"@vue/cli-plugin-unit-jest\":\"^3.3.0\",\"@vue/cli-service\":\"^3.3.0\",\"@vue/eslint-config-prettier\":\"^3.0.5\",\"@vue/test-utils\":\"^1.0.0-beta.20\",\"axios-mock-adapter\":\"^1.15.0\",\"babel-core\":\"7.0.0-bridge.0\",\"babel-jest\":\"^23.0.1\",\"babel-plugin-istanbul\":\"^5.2.0\",\"codecov\":\"^3.6.1\",\"eslint-plugin-vuetify\":\"^1.1.0\",\"express\":\"^4.16.3\",\"html-webpack-plugin\":\"^3.2.0\",\"istanbul-lib-coverage\":\"^2.0.5\",\"mini-css-extract-plugin\":\"^0.4.2\",\"nyc\":\"^14.1.1\",\"sass\":\"^1.55.0\",\"sass-loader\":\"^7.0.1\",\"vue-template-compiler\":\"^2.5.16\",\"xlsx-populate\":\"^1.19.1\"},\"browserslist\":[\"> 1%\",\"last 2 versions\",\"not ie <= 8\"],\"main\":\"./dist/isabl-web.umd.min.js\",\"license\":\"MIT\",\"files\":[\"dist/isabl-web*.js\"],\"author\":\"Juan S. Medina - Juan E. Arango\",\"description\":\"Isabl Frontend of the MSK Academic License.\",\"bugs\":{\"url\":\"https://github.com/papaemmelab/isabl_web/issues\"},\"homepage\":\"https://github.com/papaemmelab/isabl_web#readme\"}");
91181
91181
 
91182
91182
  /***/ }),
91183
91183
 
@@ -222363,12 +222363,12 @@ var EditProfileModal_component = normalizeComponent(
222363
222363
  )
222364
222364
 
222365
222365
  /* harmony default export */ var EditProfileModal = (EditProfileModal_component.exports);
222366
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d220a428-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/projects/NewProjectModal.vue?vue&type=template&id=58c607e8&
222367
- var NewProjectModalvue_type_template_id_58c607e8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('base-modal',{attrs:{"show-modal":_vm.showModal,"max-width":"800px"},on:{"close-modal":_vm.closeModal},scopedSlots:_vm._u([{key:"title",fn:function(){return [_vm._v("Create Project")]},proxy:true},{key:"content",fn:function(){return [_c('v-container',{staticClass:"pa-0"},[_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('v-text-field',{ref:"title",staticClass:"pt-6",attrs:{"v-show":_vm.showModal,"rules":[_vm.rules.required],"error-messages":_vm.errorMessages.title,"label":"Project Title","data-test":"new-project-title-input"},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.submit.apply(null, arguments)}},model:{value:(_vm.project.title),callback:function ($$v) {_vm.$set(_vm.project, "title", $$v)},expression:"project.title"}})],1)],1),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showOptionalFields),expression:"showOptionalFields"}],staticClass:"pa-0"},[_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('v-text-field',{ref:"shortTitle",attrs:{"rules":[_vm.rules.unicode, _vm.rules.min10],"error-messages":_vm.errorMessages.short_title,"label":"Project Short Title","data-test":"new-project-short-input","counter":"","dense":"","maxlength":"30","hint":"Think of the objective of the project."},model:{value:(_vm.project.shortTitle),callback:function ($$v) {_vm.$set(_vm.project, "shortTitle", $$v)},expression:"project.shortTitle"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('v-select',{ref:"group",attrs:{"items":_vm.groups,"return-object":"","item-text":"slug","label":"Group","dense":"","data-test":"new-project-groups-input"},model:{value:(_vm.project.group),callback:function ($$v) {_vm.$set(_vm.project, "group", $$v)},expression:"project.group"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('user-search-input',{ref:"principalInvestigator",attrs:{"model":_vm.project,"rules":[_vm.rules.email],"error-messages":_vm.errorMessages.principal_investigator,"field":"principalInvestigator","label":"Principal Investigator","data-test":"new-project-pi-input","hint":"Laboratory head or principal investigator","dense":""},on:{"update-value":_vm.updateValue}})],1)],1),_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('user-search-input',{ref:"owner",attrs:{"model":_vm.project,"rules":[_vm.rules.email],"error-messages":_vm.errorMessages.owner,"field":"owner","label":"Project Owner","data-test":"new-project-owner-input","hint":"Who deals with the nitty-gritty of the project","dense":""},on:{"update-value":_vm.updateValue}})],1)],1),_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('user-search-input',{ref:"coordinator",attrs:{"model":_vm.project,"rules":[_vm.rules.email],"error-messages":_vm.errorMessages.coordinator,"field":"coordinator","label":"Coordinator","data-test":"new-project-coord-input","hint":"Project manager or coordinator","dense":""},on:{"update-value":_vm.updateValue}})],1)],1),_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('user-search-input',{ref:"analyst",attrs:{"model":_vm.project,"rules":[_vm.rules.email],"error-messages":_vm.errorMessages.analyst,"field":"analyst","label":"Data Analyst","data-test":"new-project-analyst-input","hint":"Person responsible for the data analysis"},on:{"update-value":_vm.updateValue}})],1)],1)],1)],1)]},proxy:true},{key:"footer-actions",fn:function(){return [_c('v-btn',{attrs:{"color":"primary darken-1","data-test":"new-project-optional-btn","text":""},on:{"click":_vm.toggleOptionalFields}},[_vm._v("Optional Fields")]),_c('v-btn',{attrs:{"color":"primary darken-1","data-test":"new-project-create-btn","text":""},on:{"click":_vm.submit}},[_vm._v("Create")])]},proxy:true}])})}
222368
- var NewProjectModalvue_type_template_id_58c607e8_staticRenderFns = []
222366
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d220a428-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/projects/NewProjectModal.vue?vue&type=template&id=070ec06c&
222367
+ var NewProjectModalvue_type_template_id_070ec06c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('base-modal',{attrs:{"show-modal":_vm.showModal,"max-width":"800px"},on:{"close-modal":_vm.closeModal},scopedSlots:_vm._u([{key:"title",fn:function(){return [_vm._v("Create Project")]},proxy:true},{key:"content",fn:function(){return [_c('v-container',{staticClass:"pa-0"},[_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('v-text-field',{ref:"title",staticClass:"pt-6",attrs:{"v-show":_vm.showModal,"rules":[_vm.rules.required],"error-messages":_vm.errorMessages.title,"label":"Project Title","data-test":"new-project-title-input"},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.submit.apply(null, arguments)}},model:{value:(_vm.project.title),callback:function ($$v) {_vm.$set(_vm.project, "title", $$v)},expression:"project.title"}})],1)],1),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showOptionalFields),expression:"showOptionalFields"}],staticClass:"pa-0"},[_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('v-text-field',{ref:"shortTitle",attrs:{"rules":[_vm.rules.unicode, _vm.rules.min10],"error-messages":_vm.errorMessages.short_title,"label":"Project Short Title","data-test":"new-project-short-input","counter":"","dense":"","maxlength":"30","hint":"Think of the objective of the project."},model:{value:(_vm.project.shortTitle),callback:function ($$v) {_vm.$set(_vm.project, "shortTitle", $$v)},expression:"project.shortTitle"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('v-select',{ref:"group",attrs:{"items":_vm.groups,"return-object":"","item-text":"slug","label":"Group","dense":"","data-test":"new-project-groups-input"},model:{value:(_vm.project.group),callback:function ($$v) {_vm.$set(_vm.project, "group", $$v)},expression:"project.group"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('user-search-input',{ref:"principalInvestigator",attrs:{"model":_vm.project,"rules":[_vm.rules.email],"error-messages":_vm.errorMessages.principal_investigator,"field":"principalInvestigator","label":"Principal Investigator","data-test":"new-project-pi-input","hint":"Laboratory head or principal investigator","dense":""},on:{"update-value":_vm.updateValue}})],1)],1),_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('user-search-input',{ref:"owner",attrs:{"model":_vm.project,"rules":[_vm.rules.email],"error-messages":_vm.errorMessages.owner,"field":"owner","label":"Project Owner","data-test":"new-project-owner-input","hint":"Who deals with the nitty-gritty of the project","dense":""},on:{"update-value":_vm.updateValue}})],1)],1),_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('user-search-input',{ref:"coordinator",attrs:{"model":_vm.project,"rules":[_vm.rules.email],"error-messages":_vm.errorMessages.coordinator,"field":"coordinator","label":"Coordinator","data-test":"new-project-coord-input","hint":"Project manager or coordinator","dense":""},on:{"update-value":_vm.updateValue}})],1)],1),_c('v-row',[_c('v-col',{attrs:{"cols":"16"}},[_c('user-search-input',{ref:"analyst",attrs:{"model":_vm.project,"rules":[_vm.rules.email],"error-messages":_vm.errorMessages.analyst,"field":"analyst","label":"Data Analyst","data-test":"new-project-analyst-input","hint":"Person responsible for the data analysis"},on:{"update-value":_vm.updateValue}})],1)],1)],1)],1)]},proxy:true},{key:"footer-actions",fn:function(){return [_c('v-btn',{attrs:{"color":"primary darken-1","data-test":"new-project-optional-btn","text":""},on:{"click":_vm.toggleOptionalFields}},[_vm._v("Optional Fields")]),_c('v-btn',{attrs:{"color":"primary darken-1","data-test":"new-project-create-btn","text":""},on:{"click":_vm.submit}},[_vm._v("Create")])]},proxy:true}])})}
222368
+ var NewProjectModalvue_type_template_id_070ec06c_staticRenderFns = []
222369
222369
 
222370
222370
 
222371
- // CONCATENATED MODULE: ./src/components/projects/NewProjectModal.vue?vue&type=template&id=58c607e8&
222371
+ // CONCATENATED MODULE: ./src/components/projects/NewProjectModal.vue?vue&type=template&id=070ec06c&
222372
222372
 
222373
222373
  // EXTERNAL MODULE: ./node_modules/lodash/has.js
222374
222374
  var has = __webpack_require__("3852");
@@ -224531,7 +224531,7 @@ var UserSearchInput_component = normalizeComponent(
224531
224531
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/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/projects/NewProjectModal.vue?vue&type=script&lang=js&
224532
224532
  var cov_41uwsnrpn = function () {
224533
224533
  var path = "/Users/juanes/papaemmelab/isabl_web/src/components/projects/NewProjectModal.vue";
224534
- var hash = "880a7035d32da713e533258d2460ef2446ff3c8f";
224534
+ var hash = "39bf82dbca3de1e3096f5011f5bbc47921642eb4";
224535
224535
  var global = new Function("return this")();
224536
224536
  var gcv = "__coverage__";
224537
224537
  var coverageData = {
@@ -224569,272 +224569,272 @@ var cov_41uwsnrpn = function () {
224569
224569
  },
224570
224570
  "3": {
224571
224571
  start: {
224572
- line: 209,
224572
+ line: 208,
224573
224573
  column: 8
224574
224574
  },
224575
224575
  end: {
224576
- line: 211,
224577
- column: 9
224576
+ line: 208,
224577
+ column: 26
224578
224578
  }
224579
224579
  },
224580
224580
  "4": {
224581
224581
  start: {
224582
224582
  line: 210,
224583
- column: 10
224583
+ column: 8
224584
224584
  },
224585
224585
  end: {
224586
- line: 210,
224587
- column: 48
224586
+ line: 213,
224587
+ column: 9
224588
224588
  }
224589
224589
  },
224590
224590
  "5": {
224591
224591
  start: {
224592
- line: 212,
224593
- column: 8
224592
+ line: 211,
224593
+ column: 10
224594
224594
  },
224595
224595
  end: {
224596
- line: 212,
224597
- column: 26
224596
+ line: 211,
224597
+ column: 48
224598
224598
  }
224599
224599
  },
224600
224600
  "6": {
224601
224601
  start: {
224602
- line: 213,
224603
- column: 8
224602
+ line: 212,
224603
+ column: 10
224604
224604
  },
224605
224605
  end: {
224606
- line: 213,
224607
- column: 24
224606
+ line: 212,
224607
+ column: 26
224608
224608
  }
224609
224609
  },
224610
224610
  "7": {
224611
224611
  start: {
224612
- line: 219,
224612
+ line: 218,
224613
224613
  column: 4
224614
224614
  },
224615
224615
  end: {
224616
- line: 227,
224617
- column: 6
224616
+ line: 218,
224617
+ column: 26
224618
224618
  }
224619
224619
  },
224620
224620
  "8": {
224621
224621
  start: {
224622
- line: 220,
224622
+ line: 223,
224623
224623
  column: 6
224624
224624
  },
224625
224625
  end: {
224626
- line: 226,
224627
- column: 7
224626
+ line: 231,
224627
+ column: 8
224628
224628
  }
224629
224629
  },
224630
224630
  "9": {
224631
224631
  start: {
224632
- line: 221,
224632
+ line: 224,
224633
224633
  column: 8
224634
224634
  },
224635
224635
  end: {
224636
- line: 221,
224637
- column: 44
224636
+ line: 230,
224637
+ column: 9
224638
224638
  }
224639
224639
  },
224640
224640
  "10": {
224641
224641
  start: {
224642
- line: 222,
224643
- column: 13
224642
+ line: 225,
224643
+ column: 10
224644
224644
  },
224645
224645
  end: {
224646
- line: 226,
224647
- column: 7
224646
+ line: 225,
224647
+ column: 46
224648
224648
  }
224649
224649
  },
224650
224650
  "11": {
224651
224651
  start: {
224652
- line: 223,
224653
- column: 8
224652
+ line: 226,
224653
+ column: 15
224654
224654
  },
224655
224655
  end: {
224656
- line: 223,
224657
- column: 66
224656
+ line: 230,
224657
+ column: 9
224658
224658
  }
224659
224659
  },
224660
224660
  "12": {
224661
224661
  start: {
224662
- line: 224,
224663
- column: 13
224662
+ line: 227,
224663
+ column: 10
224664
224664
  },
224665
224665
  end: {
224666
- line: 226,
224667
- column: 7
224666
+ line: 227,
224667
+ column: 68
224668
224668
  }
224669
224669
  },
224670
224670
  "13": {
224671
224671
  start: {
224672
- line: 225,
224673
- column: 8
224672
+ line: 228,
224673
+ column: 15
224674
224674
  },
224675
224675
  end: {
224676
- line: 225,
224677
- column: 67
224676
+ line: 230,
224677
+ column: 9
224678
224678
  }
224679
224679
  },
224680
224680
  "14": {
224681
224681
  start: {
224682
- line: 231,
224683
- column: 6
224682
+ line: 229,
224683
+ column: 10
224684
224684
  },
224685
224685
  end: {
224686
- line: 234,
224687
- column: 7
224686
+ line: 229,
224687
+ column: 69
224688
224688
  }
224689
224689
  },
224690
224690
  "15": {
224691
224691
  start: {
224692
- line: 232,
224693
- column: 25
224692
+ line: 234,
224693
+ column: 6
224694
224694
  },
224695
224695
  end: {
224696
- line: 232,
224697
- column: 57
224696
+ line: 237,
224697
+ column: 7
224698
224698
  }
224699
224699
  },
224700
224700
  "16": {
224701
224701
  start: {
224702
- line: 233,
224703
- column: 8
224702
+ line: 235,
224703
+ column: 25
224704
224704
  },
224705
224705
  end: {
224706
- line: 233,
224707
- column: 38
224706
+ line: 235,
224707
+ column: 57
224708
224708
  }
224709
224709
  },
224710
224710
  "17": {
224711
224711
  start: {
224712
- line: 237,
224713
- column: 6
224712
+ line: 236,
224713
+ column: 8
224714
224714
  },
224715
224715
  end: {
224716
- line: 237,
224717
- column: 56
224716
+ line: 236,
224717
+ column: 38
224718
224718
  }
224719
224719
  },
224720
224720
  "18": {
224721
224721
  start: {
224722
- line: 238,
224722
+ line: 240,
224723
224723
  column: 6
224724
224724
  },
224725
224725
  end: {
224726
- line: 238,
224727
- column: 44
224726
+ line: 240,
224727
+ column: 56
224728
224728
  }
224729
224729
  },
224730
224730
  "19": {
224731
224731
  start: {
224732
- line: 239,
224732
+ line: 241,
224733
224733
  column: 6
224734
224734
  },
224735
224735
  end: {
224736
- line: 239,
224737
- column: 54
224736
+ line: 241,
224737
+ column: 44
224738
224738
  }
224739
224739
  },
224740
224740
  "20": {
224741
224741
  start: {
224742
224742
  line: 242,
224743
- column: 23
224743
+ column: 6
224744
224744
  },
224745
224745
  end: {
224746
224746
  line: 242,
224747
- column: 27
224747
+ column: 54
224748
224748
  }
224749
224749
  },
224750
224750
  "21": {
224751
224751
  start: {
224752
- line: 243,
224752
+ line: 245,
224753
224753
  column: 6
224754
224754
  },
224755
224755
  end: {
224756
- line: 243,
224756
+ line: 245,
224757
224757
  column: 32
224758
224758
  }
224759
224759
  },
224760
224760
  "22": {
224761
224761
  start: {
224762
- line: 244,
224762
+ line: 246,
224763
224763
  column: 6
224764
224764
  },
224765
224765
  end: {
224766
- line: 244,
224767
- column: 80
224766
+ line: 246,
224767
+ column: 70
224768
224768
  }
224769
224769
  },
224770
224770
  "23": {
224771
224771
  start: {
224772
- line: 244,
224772
+ line: 246,
224773
224773
  column: 45
224774
224774
  },
224775
224775
  end: {
224776
- line: 244,
224777
- column: 79
224776
+ line: 246,
224777
+ column: 69
224778
224778
  }
224779
224779
  },
224780
224780
  "24": {
224781
224781
  start: {
224782
- line: 247,
224782
+ line: 249,
224783
224783
  column: 6
224784
224784
  },
224785
224785
  end: {
224786
- line: 247,
224786
+ line: 249,
224787
224787
  column: 22
224788
224788
  }
224789
224789
  },
224790
224790
  "25": {
224791
224791
  start: {
224792
- line: 248,
224792
+ line: 250,
224793
224793
  column: 6
224794
224794
  },
224795
224795
  end: {
224796
- line: 248,
224796
+ line: 250,
224797
224797
  column: 31
224798
224798
  }
224799
224799
  },
224800
224800
  "26": {
224801
224801
  start: {
224802
- line: 251,
224802
+ line: 253,
224803
224803
  column: 6
224804
224804
  },
224805
224805
  end: {
224806
- line: 254,
224806
+ line: 256,
224807
224807
  column: 7
224808
224808
  }
224809
224809
  },
224810
224810
  "27": {
224811
224811
  start: {
224812
- line: 257,
224812
+ line: 259,
224813
224813
  column: 6
224814
224814
  },
224815
224815
  end: {
224816
- line: 257,
224816
+ line: 259,
224817
224817
  column: 32
224818
224818
  }
224819
224819
  },
224820
224820
  "28": {
224821
224821
  start: {
224822
- line: 258,
224822
+ line: 260,
224823
224823
  column: 6
224824
224824
  },
224825
224825
  end: {
224826
224826
  line: 260,
224827
- column: 8
224827
+ column: 77
224828
224828
  }
224829
224829
  },
224830
224830
  "29": {
224831
224831
  start: {
224832
- line: 259,
224833
- column: 8
224832
+ line: 260,
224833
+ column: 45
224834
224834
  },
224835
224835
  end: {
224836
- line: 259,
224837
- column: 39
224836
+ line: 260,
224837
+ column: 76
224838
224838
  }
224839
224839
  },
224840
224840
  "30": {
@@ -225019,7 +225019,7 @@ var cov_41uwsnrpn = function () {
225019
225019
  column: 12
225020
225020
  },
225021
225021
  end: {
225022
- line: 228,
225022
+ line: 219,
225023
225023
  column: 3
225024
225024
  }
225025
225025
  },
@@ -225029,118 +225029,118 @@ var cov_41uwsnrpn = function () {
225029
225029
  name: "(anonymous_4)",
225030
225030
  decl: {
225031
225031
  start: {
225032
- line: 219,
225033
- column: 34
225032
+ line: 221,
225033
+ column: 4
225034
225034
  },
225035
225035
  end: {
225036
- line: 219,
225037
- column: 35
225036
+ line: 221,
225037
+ column: 5
225038
225038
  }
225039
225039
  },
225040
225040
  loc: {
225041
225041
  start: {
225042
- line: 219,
225043
- column: 43
225042
+ line: 221,
225043
+ column: 22
225044
225044
  },
225045
225045
  end: {
225046
- line: 227,
225046
+ line: 232,
225047
225047
  column: 5
225048
225048
  }
225049
225049
  },
225050
- line: 219
225050
+ line: 221
225051
225051
  },
225052
225052
  "5": {
225053
225053
  name: "(anonymous_5)",
225054
225054
  decl: {
225055
225055
  start: {
225056
- line: 230,
225057
- column: 4
225056
+ line: 223,
225057
+ column: 36
225058
225058
  },
225059
225059
  end: {
225060
- line: 230,
225061
- column: 5
225060
+ line: 223,
225061
+ column: 37
225062
225062
  }
225063
225063
  },
225064
225064
  loc: {
225065
225065
  start: {
225066
- line: 230,
225067
- column: 24
225066
+ line: 223,
225067
+ column: 45
225068
225068
  },
225069
225069
  end: {
225070
- line: 235,
225071
- column: 5
225070
+ line: 231,
225071
+ column: 7
225072
225072
  }
225073
225073
  },
225074
- line: 230
225074
+ line: 223
225075
225075
  },
225076
225076
  "6": {
225077
225077
  name: "(anonymous_6)",
225078
225078
  decl: {
225079
225079
  start: {
225080
- line: 236,
225080
+ line: 233,
225081
225081
  column: 4
225082
225082
  },
225083
225083
  end: {
225084
- line: 236,
225084
+ line: 233,
225085
225085
  column: 5
225086
225086
  }
225087
225087
  },
225088
225088
  loc: {
225089
225089
  start: {
225090
- line: 236,
225091
- column: 27
225090
+ line: 233,
225091
+ column: 24
225092
225092
  },
225093
225093
  end: {
225094
- line: 240,
225094
+ line: 238,
225095
225095
  column: 5
225096
225096
  }
225097
225097
  },
225098
- line: 236
225098
+ line: 233
225099
225099
  },
225100
225100
  "7": {
225101
225101
  name: "(anonymous_7)",
225102
225102
  decl: {
225103
225103
  start: {
225104
- line: 241,
225104
+ line: 239,
225105
225105
  column: 4
225106
225106
  },
225107
225107
  end: {
225108
- line: 241,
225108
+ line: 239,
225109
225109
  column: 5
225110
225110
  }
225111
225111
  },
225112
225112
  loc: {
225113
225113
  start: {
225114
- line: 241,
225115
- column: 16
225114
+ line: 239,
225115
+ column: 27
225116
225116
  },
225117
225117
  end: {
225118
- line: 245,
225118
+ line: 243,
225119
225119
  column: 5
225120
225120
  }
225121
225121
  },
225122
- line: 241
225122
+ line: 239
225123
225123
  },
225124
225124
  "8": {
225125
225125
  name: "(anonymous_8)",
225126
225126
  decl: {
225127
225127
  start: {
225128
225128
  line: 244,
225129
- column: 36
225129
+ column: 4
225130
225130
  },
225131
225131
  end: {
225132
225132
  line: 244,
225133
- column: 37
225133
+ column: 5
225134
225134
  }
225135
225135
  },
225136
225136
  loc: {
225137
225137
  start: {
225138
225138
  line: 244,
225139
- column: 45
225139
+ column: 16
225140
225140
  },
225141
225141
  end: {
225142
- line: 244,
225143
- column: 79
225142
+ line: 247,
225143
+ column: 5
225144
225144
  }
225145
225145
  },
225146
225146
  line: 244
@@ -225150,21 +225150,21 @@ var cov_41uwsnrpn = function () {
225150
225150
  decl: {
225151
225151
  start: {
225152
225152
  line: 246,
225153
- column: 4
225153
+ column: 36
225154
225154
  },
225155
225155
  end: {
225156
225156
  line: 246,
225157
- column: 5
225157
+ column: 37
225158
225158
  }
225159
225159
  },
225160
225160
  loc: {
225161
225161
  start: {
225162
225162
  line: 246,
225163
- column: 17
225163
+ column: 45
225164
225164
  },
225165
225165
  end: {
225166
- line: 249,
225167
- column: 5
225166
+ line: 246,
225167
+ column: 69
225168
225168
  }
225169
225169
  },
225170
225170
  line: 246
@@ -225173,76 +225173,100 @@ var cov_41uwsnrpn = function () {
225173
225173
  name: "(anonymous_10)",
225174
225174
  decl: {
225175
225175
  start: {
225176
- line: 250,
225176
+ line: 248,
225177
225177
  column: 4
225178
225178
  },
225179
225179
  end: {
225180
- line: 250,
225180
+ line: 248,
225181
225181
  column: 5
225182
225182
  }
225183
225183
  },
225184
225184
  loc: {
225185
225185
  start: {
225186
- line: 250,
225187
- column: 22
225186
+ line: 248,
225187
+ column: 17
225188
225188
  },
225189
225189
  end: {
225190
- line: 255,
225190
+ line: 251,
225191
225191
  column: 5
225192
225192
  }
225193
225193
  },
225194
- line: 250
225194
+ line: 248
225195
225195
  },
225196
225196
  "11": {
225197
225197
  name: "(anonymous_11)",
225198
225198
  decl: {
225199
225199
  start: {
225200
- line: 256,
225200
+ line: 252,
225201
225201
  column: 4
225202
225202
  },
225203
225203
  end: {
225204
- line: 256,
225204
+ line: 252,
225205
225205
  column: 5
225206
225206
  }
225207
225207
  },
225208
225208
  loc: {
225209
225209
  start: {
225210
- line: 256,
225211
- column: 19
225210
+ line: 252,
225211
+ column: 22
225212
225212
  },
225213
225213
  end: {
225214
- line: 283,
225214
+ line: 257,
225215
225215
  column: 5
225216
225216
  }
225217
225217
  },
225218
- line: 256
225218
+ line: 252
225219
225219
  },
225220
225220
  "12": {
225221
225221
  name: "(anonymous_12)",
225222
225222
  decl: {
225223
225223
  start: {
225224
225224
  line: 258,
225225
- column: 36
225225
+ column: 4
225226
225226
  },
225227
225227
  end: {
225228
225228
  line: 258,
225229
- column: 37
225229
+ column: 5
225230
225230
  }
225231
225231
  },
225232
225232
  loc: {
225233
225233
  start: {
225234
225234
  line: 258,
225235
- column: 45
225235
+ column: 19
225236
225236
  },
225237
225237
  end: {
225238
- line: 260,
225239
- column: 7
225238
+ line: 283,
225239
+ column: 5
225240
225240
  }
225241
225241
  },
225242
225242
  line: 258
225243
225243
  },
225244
225244
  "13": {
225245
225245
  name: "(anonymous_13)",
225246
+ decl: {
225247
+ start: {
225248
+ line: 260,
225249
+ column: 36
225250
+ },
225251
+ end: {
225252
+ line: 260,
225253
+ column: 37
225254
+ }
225255
+ },
225256
+ loc: {
225257
+ start: {
225258
+ line: 260,
225259
+ column: 45
225260
+ },
225261
+ end: {
225262
+ line: 260,
225263
+ column: 76
225264
+ }
225265
+ },
225266
+ line: 260
225267
+ },
225268
+ "14": {
225269
+ name: "(anonymous_14)",
225246
225270
  decl: {
225247
225271
  start: {
225248
225272
  line: 263,
@@ -225265,8 +225289,8 @@ var cov_41uwsnrpn = function () {
225265
225289
  },
225266
225290
  line: 263
225267
225291
  },
225268
- "14": {
225269
- name: "(anonymous_14)",
225292
+ "15": {
225293
+ name: "(anonymous_15)",
225270
225294
  decl: {
225271
225295
  start: {
225272
225296
  line: 274,
@@ -225327,202 +225351,169 @@ var cov_41uwsnrpn = function () {
225327
225351
  "1": {
225328
225352
  loc: {
225329
225353
  start: {
225330
- line: 209,
225354
+ line: 210,
225331
225355
  column: 8
225332
225356
  },
225333
225357
  end: {
225334
- line: 211,
225358
+ line: 213,
225335
225359
  column: 9
225336
225360
  }
225337
225361
  },
225338
225362
  type: "if",
225339
225363
  locations: [{
225340
225364
  start: {
225341
- line: 209,
225365
+ line: 210,
225342
225366
  column: 8
225343
225367
  },
225344
225368
  end: {
225345
- line: 211,
225369
+ line: 213,
225346
225370
  column: 9
225347
225371
  }
225348
225372
  }, {
225349
225373
  start: {
225350
- line: 209,
225374
+ line: 210,
225351
225375
  column: 8
225352
225376
  },
225353
225377
  end: {
225354
- line: 211,
225378
+ line: 213,
225355
225379
  column: 9
225356
225380
  }
225357
225381
  }],
225358
- line: 209
225382
+ line: 210
225359
225383
  },
225360
225384
  "2": {
225361
225385
  loc: {
225362
225386
  start: {
225363
- line: 220,
225364
- column: 6
225387
+ line: 224,
225388
+ column: 8
225365
225389
  },
225366
225390
  end: {
225367
- line: 226,
225368
- column: 7
225391
+ line: 230,
225392
+ column: 9
225369
225393
  }
225370
225394
  },
225371
225395
  type: "if",
225372
225396
  locations: [{
225373
225397
  start: {
225374
- line: 220,
225375
- column: 6
225398
+ line: 224,
225399
+ column: 8
225376
225400
  },
225377
225401
  end: {
225378
- line: 226,
225379
- column: 7
225402
+ line: 230,
225403
+ column: 9
225380
225404
  }
225381
225405
  }, {
225382
225406
  start: {
225383
- line: 220,
225384
- column: 6
225407
+ line: 224,
225408
+ column: 8
225385
225409
  },
225386
225410
  end: {
225387
- line: 226,
225388
- column: 7
225411
+ line: 230,
225412
+ column: 9
225389
225413
  }
225390
225414
  }],
225391
- line: 220
225415
+ line: 224
225392
225416
  },
225393
225417
  "3": {
225394
225418
  loc: {
225395
225419
  start: {
225396
- line: 222,
225397
- column: 13
225420
+ line: 226,
225421
+ column: 15
225398
225422
  },
225399
225423
  end: {
225400
- line: 226,
225401
- column: 7
225424
+ line: 230,
225425
+ column: 9
225402
225426
  }
225403
225427
  },
225404
225428
  type: "if",
225405
225429
  locations: [{
225406
225430
  start: {
225407
- line: 222,
225408
- column: 13
225431
+ line: 226,
225432
+ column: 15
225409
225433
  },
225410
225434
  end: {
225411
- line: 226,
225412
- column: 7
225435
+ line: 230,
225436
+ column: 9
225413
225437
  }
225414
225438
  }, {
225415
225439
  start: {
225416
- line: 222,
225417
- column: 13
225440
+ line: 226,
225441
+ column: 15
225418
225442
  },
225419
225443
  end: {
225420
- line: 226,
225421
- column: 7
225444
+ line: 230,
225445
+ column: 9
225422
225446
  }
225423
225447
  }],
225424
- line: 222
225448
+ line: 226
225425
225449
  },
225426
225450
  "4": {
225427
225451
  loc: {
225428
225452
  start: {
225429
- line: 224,
225430
- column: 13
225453
+ line: 228,
225454
+ column: 15
225431
225455
  },
225432
225456
  end: {
225433
- line: 226,
225434
- column: 7
225457
+ line: 230,
225458
+ column: 9
225435
225459
  }
225436
225460
  },
225437
225461
  type: "if",
225438
225462
  locations: [{
225439
225463
  start: {
225440
- line: 224,
225441
- column: 13
225464
+ line: 228,
225465
+ column: 15
225442
225466
  },
225443
225467
  end: {
225444
- line: 226,
225445
- column: 7
225468
+ line: 230,
225469
+ column: 9
225446
225470
  }
225447
225471
  }, {
225448
225472
  start: {
225449
- line: 224,
225450
- column: 13
225473
+ line: 228,
225474
+ column: 15
225451
225475
  },
225452
225476
  end: {
225453
- line: 226,
225454
- column: 7
225477
+ line: 230,
225478
+ column: 9
225455
225479
  }
225456
225480
  }],
225457
- line: 224
225481
+ line: 228
225458
225482
  },
225459
225483
  "5": {
225460
225484
  loc: {
225461
225485
  start: {
225462
- line: 231,
225486
+ line: 234,
225463
225487
  column: 6
225464
225488
  },
225465
225489
  end: {
225466
- line: 234,
225490
+ line: 237,
225467
225491
  column: 7
225468
225492
  }
225469
225493
  },
225470
225494
  type: "if",
225471
225495
  locations: [{
225472
225496
  start: {
225473
- line: 231,
225497
+ line: 234,
225474
225498
  column: 6
225475
225499
  },
225476
225500
  end: {
225477
- line: 234,
225501
+ line: 237,
225478
225502
  column: 7
225479
225503
  }
225480
225504
  }, {
225481
225505
  start: {
225482
- line: 231,
225506
+ line: 234,
225483
225507
  column: 6
225484
225508
  },
225485
225509
  end: {
225486
- line: 234,
225510
+ line: 237,
225487
225511
  column: 7
225488
225512
  }
225489
225513
  }],
225490
- line: 231
225514
+ line: 234
225491
225515
  },
225492
225516
  "6": {
225493
- loc: {
225494
- start: {
225495
- line: 244,
225496
- column: 45
225497
- },
225498
- end: {
225499
- line: 244,
225500
- column: 79
225501
- }
225502
- },
225503
- type: "binary-expr",
225504
- locations: [{
225505
- start: {
225506
- line: 244,
225507
- column: 45
225508
- },
225509
- end: {
225510
- line: 244,
225511
- column: 56
225512
- }
225513
- }, {
225514
- start: {
225515
- line: 244,
225516
- column: 60
225517
- },
225518
- end: {
225519
- line: 244,
225520
- column: 79
225521
- }
225522
- }],
225523
- line: 244
225524
- },
225525
- "7": {
225526
225517
  loc: {
225527
225518
  start: {
225528
225519
  line: 261,
@@ -225555,7 +225546,7 @@ var cov_41uwsnrpn = function () {
225555
225546
  }],
225556
225547
  line: 261
225557
225548
  },
225558
- "8": {
225549
+ "7": {
225559
225550
  loc: {
225560
225551
  start: {
225561
225552
  line: 275,
@@ -225645,7 +225636,8 @@ var cov_41uwsnrpn = function () {
225645
225636
  "11": 0,
225646
225637
  "12": 0,
225647
225638
  "13": 0,
225648
- "14": 0
225639
+ "14": 0,
225640
+ "15": 0
225649
225641
  },
225650
225642
  b: {
225651
225643
  "0": [0, 0],
@@ -225655,8 +225647,7 @@ var cov_41uwsnrpn = function () {
225655
225647
  "4": [0, 0],
225656
225648
  "5": [0, 0],
225657
225649
  "6": [0, 0],
225658
- "7": [0, 0],
225659
- "8": [0, 0]
225650
+ "7": [0, 0]
225660
225651
  },
225661
225652
  inputSourceMap: {
225662
225653
  version: 3,
@@ -225665,10 +225656,10 @@ var cov_41uwsnrpn = function () {
225665
225656
  mappings: ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyJA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA",
225666
225657
  file: "NewProjectModal.vue",
225667
225658
  sourceRoot: "src/components/projects",
225668
- sourcesContent: ["<template>\n <base-modal\n :show-modal=\"showModal\"\n max-width=\"800px\"\n @close-modal=\"closeModal\"\n >\n <template v-slot:title>Create Project</template>\n\n <template v-slot:content>\n <v-container\n class=\"pa-0\"\n >\n <v-row>\n <v-col cols=\"16\">\n <v-text-field\n ref=\"title\"\n v-model=\"project.title\"\n :v-show=\"showModal\"\n :rules=\"[rules.required]\"\n :error-messages=\"errorMessages.title\"\n label=\"Project Title\"\n data-test=\"new-project-title-input\"\n class=\"pt-6\"\n @keyup.enter=\"submit\"\n />\n </v-col>\n </v-row>\n\n <div\n v-show=\"showOptionalFields\"\n class=\"pa-0\"\n >\n <v-row>\n <v-col cols=\"16\">\n <v-text-field\n ref=\"shortTitle\"\n v-model=\"project.shortTitle\"\n :rules=\"[rules.unicode, rules.min10]\"\n :error-messages=\"errorMessages.short_title\"\n label=\"Project Short Title\"\n data-test=\"new-project-short-input\"\n counter\n dense\n maxlength=\"30\"\n hint=\"Think of the objective of the project.\"\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col cols=\"16\">\n <v-select\n ref=\"group\"\n v-model=\"project.group\"\n :items=\"groups\"\n return-object\n item-text=\"slug\"\n label=\"Group\"\n dense\n data-test=\"new-project-groups-input\"\n />\n </v-col>\n </v-row>\n <v-row>\n <v-col cols=\"16\">\n <user-search-input\n ref=\"principalInvestigator\"\n :model=\"project\"\n :rules=\"[rules.email]\"\n :error-messages=\"errorMessages.principal_investigator\"\n field=\"principalInvestigator\"\n label=\"Principal Investigator\"\n data-test=\"new-project-pi-input\"\n hint=\"Laboratory head or principal investigator\"\n dense\n @update-value=\"updateValue\"\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col cols=\"16\">\n <user-search-input\n ref=\"owner\"\n :model=\"project\"\n :rules=\"[rules.email]\"\n :error-messages=\"errorMessages.owner\"\n field=\"owner\"\n label=\"Project Owner\"\n data-test=\"new-project-owner-input\"\n hint=\"Who deals with the nitty-gritty of the project\"\n dense\n @update-value=\"updateValue\"\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col cols=\"16\">\n <user-search-input\n ref=\"coordinator\"\n :model=\"project\"\n :rules=\"[rules.email]\"\n :error-messages=\"errorMessages.coordinator\"\n field=\"coordinator\"\n label=\"Coordinator\"\n data-test=\"new-project-coord-input\"\n hint=\"Project manager or coordinator\"\n dense\n @update-value=\"updateValue\"\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col cols=\"16\">\n <user-search-input\n ref=\"analyst\"\n :model=\"project\"\n :rules=\"[rules.email]\"\n :error-messages=\"errorMessages.analyst\"\n field=\"analyst\"\n label=\"Data Analyst\"\n data-test=\"new-project-analyst-input\"\n hint=\"Person responsible for the data analysis\"\n @update-value=\"updateValue\"\n />\n </v-col>\n </v-row>\n </div>\n\n </v-container>\n </template>\n\n <template v-slot:footer-actions>\n <v-btn\n color=\"primary darken-1\"\n data-test=\"new-project-optional-btn\"\n text\n @click=\"toggleOptionalFields\"\n >Optional Fields</v-btn>\n\n <v-btn\n color=\"primary darken-1\"\n data-test=\"new-project-create-btn\"\n text\n @click=\"submit\"\n >Create</v-btn>\n </template>\n </base-modal>\n</template>\n\n<script>\nimport has from 'lodash/has'\n\nimport BaseModal from '@/components/base/BaseModal.vue'\nimport GroupSearchInput from '@/components/projects/GroupSearchInput'\nimport UserSearchInput from '@/components/projects/UserSearchInput'\nimport rules from '@/utils/rules'\nimport { createRecord, fetchListRecords } from '@/utils/api'\nimport { SHOW_ALERT } from '@/store/actions/alert'\nimport { SHOW_PANEL } from '@/store/actions/panels'\n\nexport default {\n name: 'NewProjectModal',\n components: {\n BaseModal,\n GroupSearchInput,\n UserSearchInput\n },\n props: {\n showModal: {\n type: Boolean,\n default: false,\n required: true\n },\n projects: {\n type: Array,\n default: () => []\n }\n },\n data() {\n return {\n isLoading: false,\n errorMessages: {},\n formHasErrors: false,\n fieldsToValidate: [\n 'title',\n 'shortTitle',\n 'group',\n 'principalInvestigator',\n 'owner',\n 'coordinator',\n 'analyst'\n ],\n groups: [],\n project: {},\n refs: {},\n rules,\n showOptionalFields: false,\n users: [],\n usersQuery: ''\n }\n },\n watch: {\n showModal(value) {\n if (value) {\n // ensure autofocus: https://github.com/vuetifyjs/vuetify/issues/1587\n if (this.$refs.title) {\n this.$nextTick(this.$refs.title.focus)\n }\n this.fetchGroups()\n this.resetForm()\n }\n }\n },\n mounted() {\n // Map all local and nested inputs to local 'refs'\n this.fieldsToValidate.forEach(field => {\n if (has(this.$refs[field], 'reset')) {\n this.refs[field] = this.$refs[field]\n } else if (has(this.$refs[field], '$refs.userSearchInput.reset')) {\n this.refs[field] = this.$refs[field].$refs.userSearchInput\n } else if (has(this.$refs[field], '$refs.groupSearchInput.reset')) {\n this.refs[field] = this.$refs[field].$refs.groupSearchInput\n }\n })\n },\n methods: {\n async fetchGroups() {\n if (!this.groups.length) {\n const response = await fetchListRecords('groups')\n this.groups = response.results\n }\n },\n toggleOptionalFields() {\n this.showOptionalFields = !this.showOptionalFields\n this.$nextTick(this.$refs.title.focus)\n this.$nextTick(this.$refs.title.resetValidation)\n },\n resetForm() {\n const { refs } = this\n this.formHasErrors = false\n this.fieldsToValidate.forEach(field => refs[field] && refs[field].reset())\n },\n closeModal() {\n this.resetForm()\n this.$emit('close-modal')\n },\n updateValue(data) {\n this.project = {\n ...this.project,\n ...data\n }\n },\n async submit() {\n this.formHasErrors = false\n this.fieldsToValidate.forEach(field => {\n this.refs[field].validate(true)\n })\n if (!this.formHasErrors) {\n createRecord('projects', this.project)\n .then(response => {\n const projectId = this.$get(response, 'pk', '')\n this.$store.dispatch(SHOW_ALERT, {\n message: `Project ${projectId} was succesfully created.`\n })\n\n this.$store.dispatch(SHOW_PANEL, {\n project: projectId\n })\n this.closeModal()\n })\n .catch(error => {\n if (error.response) {\n this.errorMessages = error.response.data\n this.$store.dispatch(SHOW_ALERT, {\n error: 'The project could not be created. Please try again.'\n })\n }\n })\n }\n }\n }\n}\n</script>\n\n<style lang=\"scss\">\n.v-expansion-panel__header {\n padding: 5px !important;\n}\n</style>\n"]
225659
+ sourcesContent: ["<template>\n <base-modal\n :show-modal=\"showModal\"\n max-width=\"800px\"\n @close-modal=\"closeModal\"\n >\n <template v-slot:title>Create Project</template>\n\n <template v-slot:content>\n <v-container\n class=\"pa-0\"\n >\n <v-row>\n <v-col cols=\"16\">\n <v-text-field\n ref=\"title\"\n v-model=\"project.title\"\n :v-show=\"showModal\"\n :rules=\"[rules.required]\"\n :error-messages=\"errorMessages.title\"\n label=\"Project Title\"\n data-test=\"new-project-title-input\"\n class=\"pt-6\"\n @keyup.enter=\"submit\"\n />\n </v-col>\n </v-row>\n\n <div\n v-show=\"showOptionalFields\"\n class=\"pa-0\"\n >\n <v-row>\n <v-col cols=\"16\">\n <v-text-field\n ref=\"shortTitle\"\n v-model=\"project.shortTitle\"\n :rules=\"[rules.unicode, rules.min10]\"\n :error-messages=\"errorMessages.short_title\"\n label=\"Project Short Title\"\n data-test=\"new-project-short-input\"\n counter\n dense\n maxlength=\"30\"\n hint=\"Think of the objective of the project.\"\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col cols=\"16\">\n <v-select\n ref=\"group\"\n v-model=\"project.group\"\n :items=\"groups\"\n return-object\n item-text=\"slug\"\n label=\"Group\"\n dense\n data-test=\"new-project-groups-input\"\n />\n </v-col>\n </v-row>\n <v-row>\n <v-col cols=\"16\">\n <user-search-input\n ref=\"principalInvestigator\"\n :model=\"project\"\n :rules=\"[rules.email]\"\n :error-messages=\"errorMessages.principal_investigator\"\n field=\"principalInvestigator\"\n label=\"Principal Investigator\"\n data-test=\"new-project-pi-input\"\n hint=\"Laboratory head or principal investigator\"\n dense\n @update-value=\"updateValue\"\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col cols=\"16\">\n <user-search-input\n ref=\"owner\"\n :model=\"project\"\n :rules=\"[rules.email]\"\n :error-messages=\"errorMessages.owner\"\n field=\"owner\"\n label=\"Project Owner\"\n data-test=\"new-project-owner-input\"\n hint=\"Who deals with the nitty-gritty of the project\"\n dense\n @update-value=\"updateValue\"\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col cols=\"16\">\n <user-search-input\n ref=\"coordinator\"\n :model=\"project\"\n :rules=\"[rules.email]\"\n :error-messages=\"errorMessages.coordinator\"\n field=\"coordinator\"\n label=\"Coordinator\"\n data-test=\"new-project-coord-input\"\n hint=\"Project manager or coordinator\"\n dense\n @update-value=\"updateValue\"\n />\n </v-col>\n </v-row>\n\n <v-row>\n <v-col cols=\"16\">\n <user-search-input\n ref=\"analyst\"\n :model=\"project\"\n :rules=\"[rules.email]\"\n :error-messages=\"errorMessages.analyst\"\n field=\"analyst\"\n label=\"Data Analyst\"\n data-test=\"new-project-analyst-input\"\n hint=\"Person responsible for the data analysis\"\n @update-value=\"updateValue\"\n />\n </v-col>\n </v-row>\n </div>\n\n </v-container>\n </template>\n\n <template v-slot:footer-actions>\n <v-btn\n color=\"primary darken-1\"\n data-test=\"new-project-optional-btn\"\n text\n @click=\"toggleOptionalFields\"\n >Optional Fields</v-btn>\n\n <v-btn\n color=\"primary darken-1\"\n data-test=\"new-project-create-btn\"\n text\n @click=\"submit\"\n >Create</v-btn>\n </template>\n </base-modal>\n</template>\n\n<script>\nimport has from 'lodash/has'\n\nimport BaseModal from '@/components/base/BaseModal.vue'\nimport GroupSearchInput from '@/components/projects/GroupSearchInput'\nimport UserSearchInput from '@/components/projects/UserSearchInput'\nimport rules from '@/utils/rules'\nimport { createRecord, fetchListRecords } from '@/utils/api'\nimport { SHOW_ALERT } from '@/store/actions/alert'\nimport { SHOW_PANEL } from '@/store/actions/panels'\n\nexport default {\n name: 'NewProjectModal',\n components: {\n BaseModal,\n GroupSearchInput,\n UserSearchInput\n },\n props: {\n showModal: {\n type: Boolean,\n default: false,\n required: true\n },\n projects: {\n type: Array,\n default: () => []\n }\n },\n data() {\n return {\n isLoading: false,\n errorMessages: {},\n formHasErrors: false,\n fieldsToValidate: [\n 'title',\n 'shortTitle',\n 'group',\n 'principalInvestigator',\n 'owner',\n 'coordinator',\n 'analyst'\n ],\n groups: [],\n project: {},\n refs: {},\n rules,\n showOptionalFields: false,\n users: [],\n usersQuery: ''\n }\n },\n watch: {\n showModal(value) {\n if (value) {\n this.fetchGroups()\n // ensure autofocus: https://github.com/vuetifyjs/vuetify/issues/1587\n if (this.$refs.title) {\n this.$nextTick(this.$refs.title.focus)\n this.resetForm()\n }\n }\n }\n },\n updated() {\n this.attachFieldRefs()\n },\n methods: {\n attachFieldRefs() {\n // Map all local and nested inputs to local 'refs' object\n this.fieldsToValidate.forEach(field => {\n if (has(this.$refs[field], 'reset')) {\n this.refs[field] = this.$refs[field]\n } else if (has(this.$refs[field], '$refs.userSearchInput.reset')) {\n this.refs[field] = this.$refs[field].$refs.userSearchInput\n } else if (has(this.$refs[field], '$refs.groupSearchInput.reset')) {\n this.refs[field] = this.$refs[field].$refs.groupSearchInput\n }\n })\n },\n async fetchGroups() {\n if (!this.groups.length) {\n const response = await fetchListRecords('groups')\n this.groups = response.results\n }\n },\n toggleOptionalFields() {\n this.showOptionalFields = !this.showOptionalFields\n this.$nextTick(this.$refs.title.focus)\n this.$nextTick(this.$refs.title.resetValidation)\n },\n resetForm() {\n this.formHasErrors = false\n this.fieldsToValidate.forEach(field => this.refs[field].reset())\n },\n closeModal() {\n this.resetForm()\n this.$emit('close-modal')\n },\n updateValue(data) {\n this.project = {\n ...this.project,\n ...data\n }\n },\n async submit() {\n this.formHasErrors = false\n this.fieldsToValidate.forEach(field => this.refs[field].validate(true))\n if (!this.formHasErrors) {\n createRecord('projects', this.project)\n .then(response => {\n const projectId = this.$get(response, 'pk', '')\n this.$store.dispatch(SHOW_ALERT, {\n message: `Project ${projectId} was succesfully created.`\n })\n\n this.$store.dispatch(SHOW_PANEL, {\n project: projectId\n })\n this.closeModal()\n })\n .catch(error => {\n if (error.response) {\n this.errorMessages = error.response.data\n this.$store.dispatch(SHOW_ALERT, {\n error: 'The project could not be created. Please try again.'\n })\n }\n })\n }\n }\n }\n}\n</script>\n\n<style lang=\"scss\">\n.v-expansion-panel__header {\n padding: 5px !important;\n}\n</style>\n"]
225669
225660
  },
225670
225661
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
225671
- hash: "880a7035d32da713e533258d2460ef2446ff3c8f"
225662
+ hash: "39bf82dbca3de1e3096f5011f5bbc47921642eb4"
225672
225663
  };
225673
225664
  var coverage = global[gcv] || (global[gcv] = {});
225674
225665
 
@@ -225898,63 +225889,67 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
225898
225889
  if (value) {
225899
225890
  cov_41uwsnrpn.b[0][0]++;
225900
225891
  cov_41uwsnrpn.s[3]++;
225892
+ this.fetchGroups(); // ensure autofocus: https://github.com/vuetifyjs/vuetify/issues/1587
225893
+
225894
+ cov_41uwsnrpn.s[4]++;
225901
225895
 
225902
- // ensure autofocus: https://github.com/vuetifyjs/vuetify/issues/1587
225903
225896
  if (this.$refs.title) {
225904
225897
  cov_41uwsnrpn.b[1][0]++;
225905
- cov_41uwsnrpn.s[4]++;
225898
+ cov_41uwsnrpn.s[5]++;
225906
225899
  this.$nextTick(this.$refs.title.focus);
225900
+ cov_41uwsnrpn.s[6]++;
225901
+ this.resetForm();
225907
225902
  } else {
225908
225903
  cov_41uwsnrpn.b[1][1]++;
225909
225904
  }
225910
-
225911
- cov_41uwsnrpn.s[5]++;
225912
- this.fetchGroups();
225913
- cov_41uwsnrpn.s[6]++;
225914
- this.resetForm();
225915
225905
  } else {
225916
225906
  cov_41uwsnrpn.b[0][1]++;
225917
225907
  }
225918
225908
  }
225919
225909
  },
225920
- mounted: function mounted() {
225921
- var _this = this;
225922
-
225910
+ updated: function updated() {
225923
225911
  cov_41uwsnrpn.f[3]++;
225924
225912
  cov_41uwsnrpn.s[7]++;
225925
- // Map all local and nested inputs to local 'refs'
225926
- this.fieldsToValidate.forEach(function (field) {
225913
+ this.attachFieldRefs();
225914
+ },
225915
+ methods: {
225916
+ attachFieldRefs: function attachFieldRefs() {
225917
+ var _this = this;
225918
+
225927
225919
  cov_41uwsnrpn.f[4]++;
225928
225920
  cov_41uwsnrpn.s[8]++;
225929
-
225930
- if (has_default()(_this.$refs[field], 'reset')) {
225931
- cov_41uwsnrpn.b[2][0]++;
225921
+ // Map all local and nested inputs to local 'refs' object
225922
+ this.fieldsToValidate.forEach(function (field) {
225923
+ cov_41uwsnrpn.f[5]++;
225932
225924
  cov_41uwsnrpn.s[9]++;
225933
- _this.refs[field] = _this.$refs[field];
225934
- } else {
225935
- cov_41uwsnrpn.b[2][1]++;
225936
- cov_41uwsnrpn.s[10]++;
225937
225925
 
225938
- if (has_default()(_this.$refs[field], '$refs.userSearchInput.reset')) {
225939
- cov_41uwsnrpn.b[3][0]++;
225940
- cov_41uwsnrpn.s[11]++;
225941
- _this.refs[field] = _this.$refs[field].$refs.userSearchInput;
225926
+ if (has_default()(_this.$refs[field], 'reset')) {
225927
+ cov_41uwsnrpn.b[2][0]++;
225928
+ cov_41uwsnrpn.s[10]++;
225929
+ _this.refs[field] = _this.$refs[field];
225942
225930
  } else {
225943
- cov_41uwsnrpn.b[3][1]++;
225944
- cov_41uwsnrpn.s[12]++;
225931
+ cov_41uwsnrpn.b[2][1]++;
225932
+ cov_41uwsnrpn.s[11]++;
225945
225933
 
225946
- if (has_default()(_this.$refs[field], '$refs.groupSearchInput.reset')) {
225947
- cov_41uwsnrpn.b[4][0]++;
225948
- cov_41uwsnrpn.s[13]++;
225949
- _this.refs[field] = _this.$refs[field].$refs.groupSearchInput;
225934
+ if (has_default()(_this.$refs[field], '$refs.userSearchInput.reset')) {
225935
+ cov_41uwsnrpn.b[3][0]++;
225936
+ cov_41uwsnrpn.s[12]++;
225937
+ _this.refs[field] = _this.$refs[field].$refs.userSearchInput;
225950
225938
  } else {
225951
- cov_41uwsnrpn.b[4][1]++;
225939
+ cov_41uwsnrpn.b[3][1]++;
225940
+ cov_41uwsnrpn.s[13]++;
225941
+
225942
+ if (has_default()(_this.$refs[field], '$refs.groupSearchInput.reset')) {
225943
+ cov_41uwsnrpn.b[4][0]++;
225944
+ cov_41uwsnrpn.s[14]++;
225945
+ _this.refs[field] = _this.$refs[field].$refs.groupSearchInput;
225946
+ } else {
225947
+ cov_41uwsnrpn.b[4][1]++;
225948
+ }
225952
225949
  }
225953
225950
  }
225954
- }
225955
- });
225956
- },
225957
- methods: {
225951
+ });
225952
+ },
225958
225953
  fetchGroups: function () {
225959
225954
  var _fetchGroups = NewProjectModalvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee() {
225960
225955
  var response;
@@ -225962,8 +225957,8 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
225962
225957
  while (1) {
225963
225958
  switch (_context.prev = _context.next) {
225964
225959
  case 0:
225965
- cov_41uwsnrpn.f[5]++;
225966
- cov_41uwsnrpn.s[14]++;
225960
+ cov_41uwsnrpn.f[6]++;
225961
+ cov_41uwsnrpn.s[15]++;
225967
225962
 
225968
225963
  if (this.groups.length) {
225969
225964
  _context.next = 12;
@@ -225971,13 +225966,13 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
225971
225966
  }
225972
225967
 
225973
225968
  cov_41uwsnrpn.b[5][0]++;
225974
- cov_41uwsnrpn.s[15]++;
225969
+ cov_41uwsnrpn.s[16]++;
225975
225970
  _context.next = 7;
225976
225971
  return fetchListRecords('groups');
225977
225972
 
225978
225973
  case 7:
225979
225974
  response = _context.sent;
225980
- cov_41uwsnrpn.s[16]++;
225975
+ cov_41uwsnrpn.s[17]++;
225981
225976
  this.groups = response.results;
225982
225977
  _context.next = 13;
225983
225978
  break;
@@ -226000,101 +225995,98 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
226000
225995
  return fetchGroups;
226001
225996
  }(),
226002
225997
  toggleOptionalFields: function toggleOptionalFields() {
226003
- cov_41uwsnrpn.f[6]++;
226004
- cov_41uwsnrpn.s[17]++;
226005
- this.showOptionalFields = !this.showOptionalFields;
225998
+ cov_41uwsnrpn.f[7]++;
226006
225999
  cov_41uwsnrpn.s[18]++;
226007
- this.$nextTick(this.$refs.title.focus);
226000
+ this.showOptionalFields = !this.showOptionalFields;
226008
226001
  cov_41uwsnrpn.s[19]++;
226002
+ this.$nextTick(this.$refs.title.focus);
226003
+ cov_41uwsnrpn.s[20]++;
226009
226004
  this.$nextTick(this.$refs.title.resetValidation);
226010
226005
  },
226011
226006
  resetForm: function resetForm() {
226012
- cov_41uwsnrpn.f[7]++;
226013
-
226014
- var _ref = (cov_41uwsnrpn.s[20]++, this),
226015
- refs = _ref.refs;
226007
+ var _this2 = this;
226016
226008
 
226009
+ cov_41uwsnrpn.f[8]++;
226017
226010
  cov_41uwsnrpn.s[21]++;
226018
226011
  this.formHasErrors = false;
226019
226012
  cov_41uwsnrpn.s[22]++;
226020
226013
  this.fieldsToValidate.forEach(function (field) {
226021
- cov_41uwsnrpn.f[8]++;
226014
+ cov_41uwsnrpn.f[9]++;
226022
226015
  cov_41uwsnrpn.s[23]++;
226023
- return (cov_41uwsnrpn.b[6][0]++, refs[field]) && (cov_41uwsnrpn.b[6][1]++, refs[field].reset());
226016
+ return _this2.refs[field].reset();
226024
226017
  });
226025
226018
  },
226026
226019
  closeModal: function closeModal() {
226027
- cov_41uwsnrpn.f[9]++;
226020
+ cov_41uwsnrpn.f[10]++;
226028
226021
  cov_41uwsnrpn.s[24]++;
226029
226022
  this.resetForm();
226030
226023
  cov_41uwsnrpn.s[25]++;
226031
226024
  this.$emit('close-modal');
226032
226025
  },
226033
226026
  updateValue: function updateValue(data) {
226034
- cov_41uwsnrpn.f[10]++;
226027
+ cov_41uwsnrpn.f[11]++;
226035
226028
  cov_41uwsnrpn.s[26]++;
226036
226029
  this.project = NewProjectModalvue_type_script_lang_js_objectSpread(NewProjectModalvue_type_script_lang_js_objectSpread({}, this.project), data);
226037
226030
  },
226038
226031
  submit: function () {
226039
226032
  var _submit = NewProjectModalvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee2() {
226040
- var _this2 = this;
226033
+ var _this3 = this;
226041
226034
 
226042
226035
  return regenerator_default.a.wrap(function _callee2$(_context2) {
226043
226036
  while (1) {
226044
226037
  switch (_context2.prev = _context2.next) {
226045
226038
  case 0:
226046
- cov_41uwsnrpn.f[11]++;
226039
+ cov_41uwsnrpn.f[12]++;
226047
226040
  cov_41uwsnrpn.s[27]++;
226048
226041
  this.formHasErrors = false;
226049
226042
  cov_41uwsnrpn.s[28]++;
226050
226043
  this.fieldsToValidate.forEach(function (field) {
226051
- cov_41uwsnrpn.f[12]++;
226044
+ cov_41uwsnrpn.f[13]++;
226052
226045
  cov_41uwsnrpn.s[29]++;
226053
-
226054
- _this2.refs[field].validate(true);
226046
+ return _this3.refs[field].validate(true);
226055
226047
  });
226056
226048
  cov_41uwsnrpn.s[30]++;
226057
226049
 
226058
226050
  if (!this.formHasErrors) {
226059
- cov_41uwsnrpn.b[7][0]++;
226051
+ cov_41uwsnrpn.b[6][0]++;
226060
226052
  cov_41uwsnrpn.s[31]++;
226061
226053
  createRecord('projects', this.project).then(function (response) {
226062
- cov_41uwsnrpn.f[13]++;
226063
- var projectId = (cov_41uwsnrpn.s[32]++, _this2.$get(response, 'pk', ''));
226054
+ cov_41uwsnrpn.f[14]++;
226055
+ var projectId = (cov_41uwsnrpn.s[32]++, _this3.$get(response, 'pk', ''));
226064
226056
  cov_41uwsnrpn.s[33]++;
226065
226057
 
226066
- _this2.$store.dispatch(SHOW_ALERT, {
226058
+ _this3.$store.dispatch(SHOW_ALERT, {
226067
226059
  message: "Project ".concat(projectId, " was succesfully created.")
226068
226060
  });
226069
226061
 
226070
226062
  cov_41uwsnrpn.s[34]++;
226071
226063
 
226072
- _this2.$store.dispatch(SHOW_PANEL, {
226064
+ _this3.$store.dispatch(SHOW_PANEL, {
226073
226065
  project: projectId
226074
226066
  });
226075
226067
 
226076
226068
  cov_41uwsnrpn.s[35]++;
226077
226069
 
226078
- _this2.closeModal();
226070
+ _this3.closeModal();
226079
226071
  }).catch(function (error) {
226080
- cov_41uwsnrpn.f[14]++;
226072
+ cov_41uwsnrpn.f[15]++;
226081
226073
  cov_41uwsnrpn.s[36]++;
226082
226074
 
226083
226075
  if (error.response) {
226084
- cov_41uwsnrpn.b[8][0]++;
226076
+ cov_41uwsnrpn.b[7][0]++;
226085
226077
  cov_41uwsnrpn.s[37]++;
226086
- _this2.errorMessages = error.response.data;
226078
+ _this3.errorMessages = error.response.data;
226087
226079
  cov_41uwsnrpn.s[38]++;
226088
226080
 
226089
- _this2.$store.dispatch(SHOW_ALERT, {
226081
+ _this3.$store.dispatch(SHOW_ALERT, {
226090
226082
  error: 'The project could not be created. Please try again.'
226091
226083
  });
226092
226084
  } else {
226093
- cov_41uwsnrpn.b[8][1]++;
226085
+ cov_41uwsnrpn.b[7][1]++;
226094
226086
  }
226095
226087
  });
226096
226088
  } else {
226097
- cov_41uwsnrpn.b[7][1]++;
226089
+ cov_41uwsnrpn.b[6][1]++;
226098
226090
  }
226099
226091
 
226100
226092
  case 7:
@@ -226129,8 +226121,8 @@ var NewProjectModalvue_type_style_index_0_lang_scss_ = __webpack_require__("9434
226129
226121
 
226130
226122
  var NewProjectModal_component = normalizeComponent(
226131
226123
  projects_NewProjectModalvue_type_script_lang_js_,
226132
- NewProjectModalvue_type_template_id_58c607e8_render,
226133
- NewProjectModalvue_type_template_id_58c607e8_staticRenderFns,
226124
+ NewProjectModalvue_type_template_id_070ec06c_render,
226125
+ NewProjectModalvue_type_template_id_070ec06c_staticRenderFns,
226134
226126
  false,
226135
226127
  null,
226136
226128
  null,