@papaemmelab/isabl-web 0.3.20 → 0.3.22

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.
@@ -91407,7 +91407,7 @@ module.exports = overArg;
91407
91407
  /***/ "9224":
91408
91408
  /***/ (function(module) {
91409
91409
 
91410
- module.exports = JSON.parse("{\"name\":\"@papaemmelab/isabl-web\",\"version\":\"0.3.20\",\"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\"}");
91410
+ module.exports = JSON.parse("{\"name\":\"@papaemmelab/isabl-web\",\"version\":\"0.3.22\",\"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\"}");
91411
91411
 
91412
91412
  /***/ }),
91413
91413
 
@@ -207404,7 +207404,7 @@ var uniq_default = /*#__PURE__*/__webpack_require__.n(uniq);
207404
207404
  // CONCATENATED MODULE: ./src/utils/tableColumns.js
207405
207405
  var cov_2ayhkohved = function () {
207406
207406
  var path = "/Users/arangooj/papaemme/isabl_web/src/utils/tableColumns.js";
207407
- var hash = "32f47e62d635bf0f4fe83060d0568c152a6f04d3";
207407
+ var hash = "143b737214c27d4a402dbdc710367ab5de024387";
207408
207408
  var global = new Function("return this")();
207409
207409
  var gcv = "__coverage__";
207410
207410
  var coverageData = {
@@ -207646,7 +207646,7 @@ var cov_2ayhkohved = function () {
207646
207646
  column: 28
207647
207647
  },
207648
207648
  end: {
207649
- line: 516,
207649
+ line: 522,
207650
207650
  column: 1
207651
207651
  }
207652
207652
  },
@@ -207942,91 +207942,101 @@ var cov_2ayhkohved = function () {
207942
207942
  },
207943
207943
  "53": {
207944
207944
  start: {
207945
- line: 417,
207945
+ line: 341,
207946
+ column: 8
207947
+ },
207948
+ end: {
207949
+ line: 341,
207950
+ column: 72
207951
+ }
207952
+ },
207953
+ "54": {
207954
+ start: {
207955
+ line: 423,
207946
207956
  column: 21
207947
207957
  },
207948
207958
  end: {
207949
- line: 417,
207959
+ line: 423,
207950
207960
  column: 76
207951
207961
  }
207952
207962
  },
207953
- "54": {
207963
+ "55": {
207954
207964
  start: {
207955
- line: 417,
207965
+ line: 423,
207956
207966
  column: 59
207957
207967
  },
207958
207968
  end: {
207959
- line: 417,
207969
+ line: 423,
207960
207970
  column: 75
207961
207971
  }
207962
207972
  },
207963
- "55": {
207973
+ "56": {
207964
207974
  start: {
207965
- line: 423,
207975
+ line: 429,
207966
207976
  column: 21
207967
207977
  },
207968
207978
  end: {
207969
- line: 423,
207979
+ line: 429,
207970
207980
  column: 73
207971
207981
  }
207972
207982
  },
207973
- "56": {
207983
+ "57": {
207974
207984
  start: {
207975
- line: 423,
207985
+ line: 429,
207976
207986
  column: 59
207977
207987
  },
207978
207988
  end: {
207979
- line: 423,
207989
+ line: 429,
207980
207990
  column: 72
207981
207991
  }
207982
207992
  },
207983
- "57": {
207993
+ "58": {
207984
207994
  start: {
207985
- line: 430,
207995
+ line: 436,
207986
207996
  column: 21
207987
207997
  },
207988
207998
  end: {
207989
- line: 430,
207999
+ line: 436,
207990
208000
  column: 31
207991
208001
  }
207992
208002
  },
207993
- "58": {
208003
+ "59": {
207994
208004
  start: {
207995
- line: 437,
208005
+ line: 443,
207996
208006
  column: 8
207997
208007
  },
207998
208008
  end: {
207999
- line: 440,
208009
+ line: 446,
208000
208010
  column: 9
208001
208011
  }
208002
208012
  },
208003
- "59": {
208013
+ "60": {
208004
208014
  start: {
208005
- line: 457,
208015
+ line: 463,
208006
208016
  column: 21
208007
208017
  },
208008
208018
  end: {
208009
- line: 457,
208019
+ line: 463,
208010
208020
  column: 48
208011
208021
  }
208012
208022
  },
208013
- "60": {
208023
+ "61": {
208014
208024
  start: {
208015
- line: 508,
208025
+ line: 514,
208016
208026
  column: 21
208017
208027
  },
208018
208028
  end: {
208019
- line: 508,
208029
+ line: 514,
208020
208030
  column: 56
208021
208031
  }
208022
208032
  },
208023
- "61": {
208033
+ "62": {
208024
208034
  start: {
208025
- line: 518,
208035
+ line: 524,
208026
208036
  column: 34
208027
208037
  },
208028
208038
  end: {
208029
- line: 527,
208039
+ line: 533,
208030
208040
  column: 1
208031
208041
  }
208032
208042
  }
@@ -208468,70 +208478,70 @@ var cov_2ayhkohved = function () {
208468
208478
  name: "(anonymous_18)",
208469
208479
  decl: {
208470
208480
  start: {
208471
- line: 417,
208481
+ line: 340,
208472
208482
  column: 16
208473
208483
  },
208474
208484
  end: {
208475
- line: 417,
208485
+ line: 340,
208476
208486
  column: 17
208477
208487
  }
208478
208488
  },
208479
208489
  loc: {
208480
208490
  start: {
208481
- line: 417,
208482
- column: 21
208491
+ line: 341,
208492
+ column: 8
208483
208493
  },
208484
208494
  end: {
208485
- line: 417,
208486
- column: 76
208495
+ line: 341,
208496
+ column: 72
208487
208497
  }
208488
208498
  },
208489
- line: 417
208499
+ line: 341
208490
208500
  },
208491
208501
  "19": {
208492
208502
  name: "(anonymous_19)",
208493
208503
  decl: {
208494
208504
  start: {
208495
- line: 417,
208496
- column: 49
208505
+ line: 423,
208506
+ column: 16
208497
208507
  },
208498
208508
  end: {
208499
- line: 417,
208500
- column: 50
208509
+ line: 423,
208510
+ column: 17
208501
208511
  }
208502
208512
  },
208503
208513
  loc: {
208504
208514
  start: {
208505
- line: 417,
208506
- column: 59
208515
+ line: 423,
208516
+ column: 21
208507
208517
  },
208508
208518
  end: {
208509
- line: 417,
208510
- column: 75
208519
+ line: 423,
208520
+ column: 76
208511
208521
  }
208512
208522
  },
208513
- line: 417
208523
+ line: 423
208514
208524
  },
208515
208525
  "20": {
208516
208526
  name: "(anonymous_20)",
208517
208527
  decl: {
208518
208528
  start: {
208519
208529
  line: 423,
208520
- column: 16
208530
+ column: 49
208521
208531
  },
208522
208532
  end: {
208523
208533
  line: 423,
208524
- column: 17
208534
+ column: 50
208525
208535
  }
208526
208536
  },
208527
208537
  loc: {
208528
208538
  start: {
208529
208539
  line: 423,
208530
- column: 21
208540
+ column: 59
208531
208541
  },
208532
208542
  end: {
208533
208543
  line: 423,
208534
- column: 73
208544
+ column: 75
208535
208545
  }
208536
208546
  },
208537
208547
  line: 423
@@ -208540,49 +208550,49 @@ var cov_2ayhkohved = function () {
208540
208550
  name: "(anonymous_21)",
208541
208551
  decl: {
208542
208552
  start: {
208543
- line: 423,
208544
- column: 52
208553
+ line: 429,
208554
+ column: 16
208545
208555
  },
208546
208556
  end: {
208547
- line: 423,
208548
- column: 53
208557
+ line: 429,
208558
+ column: 17
208549
208559
  }
208550
208560
  },
208551
208561
  loc: {
208552
208562
  start: {
208553
- line: 423,
208554
- column: 59
208563
+ line: 429,
208564
+ column: 21
208555
208565
  },
208556
208566
  end: {
208557
- line: 423,
208558
- column: 72
208567
+ line: 429,
208568
+ column: 73
208559
208569
  }
208560
208570
  },
208561
- line: 423
208571
+ line: 429
208562
208572
  },
208563
208573
  "22": {
208564
208574
  name: "(anonymous_22)",
208565
208575
  decl: {
208566
208576
  start: {
208567
- line: 430,
208568
- column: 16
208577
+ line: 429,
208578
+ column: 52
208569
208579
  },
208570
208580
  end: {
208571
- line: 430,
208572
- column: 17
208581
+ line: 429,
208582
+ column: 53
208573
208583
  }
208574
208584
  },
208575
208585
  loc: {
208576
208586
  start: {
208577
- line: 430,
208578
- column: 21
208587
+ line: 429,
208588
+ column: 59
208579
208589
  },
208580
208590
  end: {
208581
- line: 430,
208582
- column: 31
208591
+ line: 429,
208592
+ column: 72
208583
208593
  }
208584
208594
  },
208585
- line: 430
208595
+ line: 429
208586
208596
  },
208587
208597
  "23": {
208588
208598
  name: "(anonymous_23)",
@@ -208602,8 +208612,8 @@ var cov_2ayhkohved = function () {
208602
208612
  column: 21
208603
208613
  },
208604
208614
  end: {
208605
- line: 441,
208606
- column: 7
208615
+ line: 436,
208616
+ column: 31
208607
208617
  }
208608
208618
  },
208609
208619
  line: 436
@@ -208612,49 +208622,73 @@ var cov_2ayhkohved = function () {
208612
208622
  name: "(anonymous_24)",
208613
208623
  decl: {
208614
208624
  start: {
208615
- line: 457,
208625
+ line: 442,
208616
208626
  column: 16
208617
208627
  },
208618
208628
  end: {
208619
- line: 457,
208629
+ line: 442,
208620
208630
  column: 17
208621
208631
  }
208622
208632
  },
208623
208633
  loc: {
208624
208634
  start: {
208625
- line: 457,
208635
+ line: 442,
208626
208636
  column: 21
208627
208637
  },
208628
208638
  end: {
208629
- line: 457,
208630
- column: 48
208639
+ line: 447,
208640
+ column: 7
208631
208641
  }
208632
208642
  },
208633
- line: 457
208643
+ line: 442
208634
208644
  },
208635
208645
  "25": {
208636
208646
  name: "(anonymous_25)",
208637
208647
  decl: {
208638
208648
  start: {
208639
- line: 508,
208649
+ line: 463,
208640
208650
  column: 16
208641
208651
  },
208642
208652
  end: {
208643
- line: 508,
208653
+ line: 463,
208644
208654
  column: 17
208645
208655
  }
208646
208656
  },
208647
208657
  loc: {
208648
208658
  start: {
208649
- line: 508,
208659
+ line: 463,
208650
208660
  column: 21
208651
208661
  },
208652
208662
  end: {
208653
- line: 508,
208663
+ line: 463,
208664
+ column: 48
208665
+ }
208666
+ },
208667
+ line: 463
208668
+ },
208669
+ "26": {
208670
+ name: "(anonymous_26)",
208671
+ decl: {
208672
+ start: {
208673
+ line: 514,
208674
+ column: 16
208675
+ },
208676
+ end: {
208677
+ line: 514,
208678
+ column: 17
208679
+ }
208680
+ },
208681
+ loc: {
208682
+ start: {
208683
+ line: 514,
208684
+ column: 21
208685
+ },
208686
+ end: {
208687
+ line: 514,
208654
208688
  column: 56
208655
208689
  }
208656
208690
  },
208657
- line: 508
208691
+ line: 514
208658
208692
  }
208659
208693
  },
208660
208694
  branchMap: {
@@ -208991,134 +209025,200 @@ var cov_2ayhkohved = function () {
208991
209025
  "10": {
208992
209026
  loc: {
208993
209027
  start: {
208994
- line: 375,
209028
+ line: 341,
209029
+ column: 8
209030
+ },
209031
+ end: {
209032
+ line: 341,
209033
+ column: 72
209034
+ }
209035
+ },
209036
+ type: "cond-expr",
209037
+ locations: [{
209038
+ start: {
209039
+ line: 341,
209040
+ column: 52
209041
+ },
209042
+ end: {
209043
+ line: 341,
209044
+ column: 60
209045
+ }
209046
+ }, {
209047
+ start: {
209048
+ line: 341,
209049
+ column: 63
209050
+ },
209051
+ end: {
209052
+ line: 341,
209053
+ column: 72
209054
+ }
209055
+ }],
209056
+ line: 341
209057
+ },
209058
+ "11": {
209059
+ loc: {
209060
+ start: {
209061
+ line: 341,
209062
+ column: 8
209063
+ },
209064
+ end: {
209065
+ line: 341,
209066
+ column: 49
209067
+ }
209068
+ },
209069
+ type: "binary-expr",
209070
+ locations: [{
209071
+ start: {
209072
+ line: 341,
209073
+ column: 8
209074
+ },
209075
+ end: {
209076
+ line: 341,
209077
+ column: 22
209078
+ }
209079
+ }, {
209080
+ start: {
209081
+ line: 341,
209082
+ column: 26
209083
+ },
209084
+ end: {
209085
+ line: 341,
209086
+ column: 49
209087
+ }
209088
+ }],
209089
+ line: 341
209090
+ },
209091
+ "12": {
209092
+ loc: {
209093
+ start: {
209094
+ line: 381,
208995
209095
  column: 21
208996
209096
  },
208997
209097
  end: {
208998
- line: 375,
209098
+ line: 381,
208999
209099
  column: 62
209000
209100
  }
209001
209101
  },
209002
209102
  type: "binary-expr",
209003
209103
  locations: [{
209004
209104
  start: {
209005
- line: 375,
209105
+ line: 381,
209006
209106
  column: 21
209007
209107
  },
209008
209108
  end: {
209009
- line: 375,
209109
+ line: 381,
209010
209110
  column: 56
209011
209111
  }
209012
209112
  }, {
209013
209113
  start: {
209014
- line: 375,
209114
+ line: 381,
209015
209115
  column: 60
209016
209116
  },
209017
209117
  end: {
209018
- line: 375,
209118
+ line: 381,
209019
209119
  column: 62
209020
209120
  }
209021
209121
  }],
209022
- line: 375
209122
+ line: 381
209023
209123
  },
209024
- "11": {
209124
+ "13": {
209025
209125
  loc: {
209026
209126
  start: {
209027
- line: 438,
209127
+ line: 444,
209028
209128
  column: 10
209029
209129
  },
209030
209130
  end: {
209031
- line: 439,
209131
+ line: 445,
209032
209132
  column: 49
209033
209133
  }
209034
209134
  },
209035
209135
  type: "binary-expr",
209036
209136
  locations: [{
209037
209137
  start: {
209038
- line: 438,
209138
+ line: 444,
209039
209139
  column: 10
209040
209140
  },
209041
209141
  end: {
209042
- line: 438,
209142
+ line: 444,
209043
209143
  column: 54
209044
209144
  }
209045
209145
  }, {
209046
209146
  start: {
209047
- line: 439,
209147
+ line: 445,
209048
209148
  column: 10
209049
209149
  },
209050
209150
  end: {
209051
- line: 439,
209151
+ line: 445,
209052
209152
  column: 49
209053
209153
  }
209054
209154
  }],
209055
- line: 438
209155
+ line: 444
209056
209156
  },
209057
- "12": {
209157
+ "14": {
209058
209158
  loc: {
209059
209159
  start: {
209060
- line: 445,
209160
+ line: 451,
209061
209161
  column: 21
209062
209162
  },
209063
209163
  end: {
209064
- line: 445,
209164
+ line: 451,
209065
209165
  column: 63
209066
209166
  }
209067
209167
  },
209068
209168
  type: "binary-expr",
209069
209169
  locations: [{
209070
209170
  start: {
209071
- line: 445,
209171
+ line: 451,
209072
209172
  column: 21
209073
209173
  },
209074
209174
  end: {
209075
- line: 445,
209175
+ line: 451,
209076
209176
  column: 57
209077
209177
  }
209078
209178
  }, {
209079
209179
  start: {
209080
- line: 445,
209180
+ line: 451,
209081
209181
  column: 61
209082
209182
  },
209083
209183
  end: {
209084
- line: 445,
209184
+ line: 451,
209085
209185
  column: 63
209086
209186
  }
209087
209187
  }],
209088
- line: 445
209188
+ line: 451
209089
209189
  },
209090
- "13": {
209190
+ "15": {
209091
209191
  loc: {
209092
209192
  start: {
209093
- line: 492,
209193
+ line: 498,
209094
209194
  column: 21
209095
209195
  },
209096
209196
  end: {
209097
- line: 492,
209197
+ line: 498,
209098
209198
  column: 63
209099
209199
  }
209100
209200
  },
209101
209201
  type: "binary-expr",
209102
209202
  locations: [{
209103
209203
  start: {
209104
- line: 492,
209204
+ line: 498,
209105
209205
  column: 21
209106
209206
  },
209107
209207
  end: {
209108
- line: 492,
209208
+ line: 498,
209109
209209
  column: 57
209110
209210
  }
209111
209211
  }, {
209112
209212
  start: {
209113
- line: 492,
209213
+ line: 498,
209114
209214
  column: 61
209115
209215
  },
209116
209216
  end: {
209117
- line: 492,
209217
+ line: 498,
209118
209218
  column: 63
209119
209219
  }
209120
209220
  }],
209121
- line: 492
209221
+ line: 498
209122
209222
  }
209123
209223
  },
209124
209224
  s: {
@@ -209183,7 +209283,8 @@ var cov_2ayhkohved = function () {
209183
209283
  "58": 0,
209184
209284
  "59": 0,
209185
209285
  "60": 0,
209186
- "61": 0
209286
+ "61": 0,
209287
+ "62": 0
209187
209288
  },
209188
209289
  f: {
209189
209290
  "0": 0,
@@ -209211,7 +209312,8 @@ var cov_2ayhkohved = function () {
209211
209312
  "22": 0,
209212
209313
  "23": 0,
209213
209314
  "24": 0,
209214
- "25": 0
209315
+ "25": 0,
209316
+ "26": 0
209215
209317
  },
209216
209318
  b: {
209217
209319
  "0": [0, 0],
@@ -209227,10 +209329,12 @@ var cov_2ayhkohved = function () {
209227
209329
  "10": [0, 0],
209228
209330
  "11": [0, 0],
209229
209331
  "12": [0, 0],
209230
- "13": [0, 0]
209332
+ "13": [0, 0],
209333
+ "14": [0, 0],
209334
+ "15": [0, 0]
209231
209335
  },
209232
209336
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
209233
- hash: "32f47e62d635bf0f4fe83060d0568c152a6f04d3"
209337
+ hash: "143b737214c27d4a402dbdc710367ab5de024387"
209234
209338
  };
209235
209339
  var coverage = global[gcv] || (global[gcv] = {});
209236
209340
 
@@ -209598,6 +209702,14 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209598
209702
  }, {
209599
209703
  verboseName: 'Title',
209600
209704
  field: 'title'
209705
+ }, {
209706
+ verboseName: 'Access',
209707
+ field: 'sharing.is_public',
209708
+ accessor: function accessor(value) {
209709
+ cov_2ayhkohved.f[18]++;
209710
+ cov_2ayhkohved.s[53]++;
209711
+ return (cov_2ayhkohved.b[11][0]++, !value.sharing) || (cov_2ayhkohved.b[11][1]++, value.sharing.is_public) ? (cov_2ayhkohved.b[10][0]++, 'Public') : (cov_2ayhkohved.b[10][1]++, 'Private');
209712
+ }
209601
209713
  }, {
209602
209714
  verboseName: 'Group',
209603
209715
  field: 'group.acronym'
@@ -209629,7 +209741,7 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209629
209741
  {
209630
209742
  verboseName: 'Description',
209631
209743
  field: 'description'
209632
- }].concat(baseColumns, _toConsumableArray(Object.values((cov_2ayhkohved.b[10][0]++, tableColumns_settings.customFields.projectFields) || (cov_2ayhkohved.b[10][1]++, {})))),
209744
+ }].concat(baseColumns, _toConsumableArray(Object.values((cov_2ayhkohved.b[12][0]++, tableColumns_settings.customFields.projectFields) || (cov_2ayhkohved.b[12][1]++, {})))),
209633
209745
  analyses: [{
209634
209746
  verboseName: 'Key',
209635
209747
  field: 'pk',
@@ -209655,11 +209767,11 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209655
209767
  {
209656
209768
  verboseName: 'Target Experiments',
209657
209769
  accessor: function accessor(d) {
209658
- cov_2ayhkohved.f[18]++;
209659
- cov_2ayhkohved.s[53]++;
209770
+ cov_2ayhkohved.f[19]++;
209771
+ cov_2ayhkohved.s[54]++;
209660
209772
  return d.cached_fields.targets.map(function (target) {
209661
- cov_2ayhkohved.f[19]++;
209662
- cov_2ayhkohved.s[54]++;
209773
+ cov_2ayhkohved.f[20]++;
209774
+ cov_2ayhkohved.s[55]++;
209663
209775
  return target.system_id;
209664
209776
  });
209665
209777
  },
@@ -209668,11 +209780,11 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209668
209780
  }, {
209669
209781
  verboseName: 'Reference Experiments',
209670
209782
  accessor: function accessor(d) {
209671
- cov_2ayhkohved.f[20]++;
209672
- cov_2ayhkohved.s[55]++;
209783
+ cov_2ayhkohved.f[21]++;
209784
+ cov_2ayhkohved.s[56]++;
209673
209785
  return d.cached_fields.references.map(function (ref) {
209674
- cov_2ayhkohved.f[21]++;
209675
- cov_2ayhkohved.s[56]++;
209786
+ cov_2ayhkohved.f[22]++;
209787
+ cov_2ayhkohved.s[57]++;
209676
209788
  return ref.system_id;
209677
209789
  });
209678
209790
  },
@@ -209682,8 +209794,8 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209682
209794
  verboseName: 'Linked Analyses',
209683
209795
  field: 'analyses',
209684
209796
  accessor: function accessor(d) {
209685
- cov_2ayhkohved.f[22]++;
209686
- cov_2ayhkohved.s[57]++;
209797
+ cov_2ayhkohved.f[23]++;
209798
+ cov_2ayhkohved.s[58]++;
209687
209799
  return d.analyses;
209688
209800
  },
209689
209801
  model: 'analysis'
@@ -209691,12 +209803,12 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209691
209803
  verboseName: 'Projects',
209692
209804
  field: 'targets__projects__pk',
209693
209805
  accessor: function accessor(d) {
209694
- cov_2ayhkohved.f[23]++;
209695
- cov_2ayhkohved.s[58]++;
209696
- return (cov_2ayhkohved.b[11][0]++, Object(helpers["h" /* get */])(d, 'cached_fields.targets_projects', '')) || (cov_2ayhkohved.b[11][1]++, Object(helpers["h" /* get */])(d, 'project_level_analysis.pk', ''));
209806
+ cov_2ayhkohved.f[24]++;
209807
+ cov_2ayhkohved.s[59]++;
209808
+ return (cov_2ayhkohved.b[13][0]++, Object(helpers["h" /* get */])(d, 'cached_fields.targets_projects', '')) || (cov_2ayhkohved.b[13][1]++, Object(helpers["h" /* get */])(d, 'project_level_analysis.pk', ''));
209697
209809
  },
209698
209810
  model: 'project'
209699
- }].concat(baseColumns, _toConsumableArray(Object.values((cov_2ayhkohved.b[12][0]++, tableColumns_settings.customFields.analysisFields) || (cov_2ayhkohved.b[12][1]++, {})))),
209811
+ }].concat(baseColumns, _toConsumableArray(Object.values((cov_2ayhkohved.b[14][0]++, tableColumns_settings.customFields.analysisFields) || (cov_2ayhkohved.b[14][1]++, {})))),
209700
209812
  projectAnalyses: [{
209701
209813
  verboseName: 'Key',
209702
209814
  field: 'pk',
@@ -209706,8 +209818,8 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209706
209818
  verboseName: 'Project',
209707
209819
  field: 'project_level_analysis',
209708
209820
  accessor: function accessor(d) {
209709
- cov_2ayhkohved.f[24]++;
209710
- cov_2ayhkohved.s[59]++;
209821
+ cov_2ayhkohved.f[25]++;
209822
+ cov_2ayhkohved.s[60]++;
209711
209823
  return d.project_level_analysis.pk;
209712
209824
  },
209713
209825
  model: 'project'
@@ -209728,7 +209840,7 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209728
209840
  }, {
209729
209841
  verboseName: 'Application',
209730
209842
  field: 'application.pk'
209731
- }].concat(baseColumns, _toConsumableArray(Object.values((cov_2ayhkohved.b[13][0]++, tableColumns_settings.customFields.analysisFields) || (cov_2ayhkohved.b[13][1]++, {})))),
209843
+ }].concat(baseColumns, _toConsumableArray(Object.values((cov_2ayhkohved.b[15][0]++, tableColumns_settings.customFields.analysisFields) || (cov_2ayhkohved.b[15][1]++, {})))),
209732
209844
  submissions: [{
209733
209845
  verboseName: 'Primary Key',
209734
209846
  field: 'pk',
@@ -209741,8 +209853,8 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209741
209853
  verboseName: 'Processed',
209742
209854
  field: 'processed',
209743
209855
  accessor: function accessor(d) {
209744
- cov_2ayhkohved.f[25]++;
209745
- cov_2ayhkohved.s[60]++;
209856
+ cov_2ayhkohved.f[26]++;
209857
+ cov_2ayhkohved.s[61]++;
209746
209858
  return Object(helpers["f" /* formatDate */])(d.processed, 'calendar');
209747
209859
  }
209748
209860
  }, {
@@ -209750,7 +209862,7 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209750
209862
  field: 'description'
209751
209863
  }].concat(baseColumns)
209752
209864
  });
209753
- var defaultQueryParams = (cov_2ayhkohved.s[61]++, {
209865
+ var defaultQueryParams = (cov_2ayhkohved.s[62]++, {
209754
209866
  analyses: {
209755
209867
  'fields!': 'targets,references,analytics',
209756
209868
  distinct: tableColumns_settings.distinctRecords
@@ -222932,12 +223044,12 @@ var EditProfileModal_component = normalizeComponent(
222932
223044
  )
222933
223045
 
222934
223046
  /* harmony default export */ var EditProfileModal = (EditProfileModal_component.exports);
222935
- // 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=8db07d96&
222936
- var NewProjectModalvue_type_template_id_8db07d96_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('div',{staticClass:"text-h6 primary--text pt-8"},[_vm._v("\n Participants\n ")]),_c('v-row',[_c('v-col',{staticClass:"pb-0",attrs:{"cols":"6"}},[_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),_c('v-col',{staticClass:"pb-0",attrs:{"cols":"6"}},[_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),_c('v-col',{staticClass:"pb-0",attrs:{"cols":"6"}},[_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),_c('v-col',{staticClass:"pb-0",attrs:{"cols":"6"}},[_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),_c('sharing-settings',{ref:"sharing",staticClass:"pt-8",attrs:{"sharing":_vm.sharing,"error-messages":_vm.errorMessages.sharing},on:{"update-sharing":_vm.updateSharing}})],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}])})}
222937
- var NewProjectModalvue_type_template_id_8db07d96_staticRenderFns = []
223047
+ // 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=35e14c2e&
223048
+ var NewProjectModalvue_type_template_id_35e14c2e_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('div',{staticClass:"text-h6 primary--text pt-8"},[_vm._v("\n Participants\n ")]),_c('v-row',[_c('v-col',{staticClass:"pb-0",attrs:{"cols":"6"}},[_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),_c('v-col',{staticClass:"pb-0",attrs:{"cols":"6"}},[_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),_c('v-col',{staticClass:"pb-0",attrs:{"cols":"6"}},[_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),_c('v-col',{staticClass:"pb-0",attrs:{"cols":"6"}},[_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),_c('sharing-settings',{ref:"sharing",staticClass:"pt-8",attrs:{"sharing":_vm.sharing,"error-messages":_vm.errorMessages.sharing},on:{"update-sharing":_vm.updateSharing}})],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}])})}
223049
+ var NewProjectModalvue_type_template_id_35e14c2e_staticRenderFns = []
222938
223050
 
222939
223051
 
222940
- // CONCATENATED MODULE: ./src/components/projects/NewProjectModal.vue?vue&type=template&id=8db07d96&
223052
+ // CONCATENATED MODULE: ./src/components/projects/NewProjectModal.vue?vue&type=template&id=35e14c2e&
222941
223053
 
222942
223054
  // EXTERNAL MODULE: ./node_modules/lodash/has.js
222943
223055
  var has = __webpack_require__("3852");
@@ -226109,7 +226221,7 @@ var SharingSettings_component = normalizeComponent(
226109
226221
  // 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&
226110
226222
  var cov_2q2n13agp2 = function () {
226111
226223
  var path = "/Users/arangooj/papaemme/isabl_web/src/components/projects/NewProjectModal.vue";
226112
- var hash = "9065b65484d9dda2d79190551ed5f04b8da2c2ab";
226224
+ var hash = "0895a72217b0e4748c38c745006ed03a3932d37e";
226113
226225
  var global = new Function("return this")();
226114
226226
  var gcv = "__coverage__";
226115
226227
  var coverageData = {
@@ -226128,110 +226240,110 @@ var cov_2q2n13agp2 = function () {
226128
226240
  "1": {
226129
226241
  start: {
226130
226242
  line: 194,
226131
- column: 4
226243
+ column: 20
226132
226244
  },
226133
226245
  end: {
226134
- line: 217,
226135
- column: 5
226246
+ line: 194,
226247
+ column: 64
226136
226248
  }
226137
226249
  },
226138
226250
  "2": {
226139
226251
  start: {
226140
- line: 221,
226141
- column: 6
226252
+ line: 195,
226253
+ column: 20
226142
226254
  },
226143
226255
  end: {
226144
- line: 228,
226145
- column: 7
226256
+ line: 195,
226257
+ column: 54
226146
226258
  }
226147
226259
  },
226148
226260
  "3": {
226149
226261
  start: {
226150
- line: 222,
226151
- column: 8
226262
+ line: 196,
226263
+ column: 4
226152
226264
  },
226153
226265
  end: {
226154
- line: 222,
226155
- column: 26
226266
+ line: 219,
226267
+ column: 5
226156
226268
  }
226157
226269
  },
226158
226270
  "4": {
226159
226271
  start: {
226160
- line: 224,
226161
- column: 8
226272
+ line: 223,
226273
+ column: 6
226162
226274
  },
226163
226275
  end: {
226164
- line: 227,
226165
- column: 9
226276
+ line: 230,
226277
+ column: 7
226166
226278
  }
226167
226279
  },
226168
226280
  "5": {
226169
226281
  start: {
226170
- line: 225,
226171
- column: 10
226282
+ line: 224,
226283
+ column: 8
226172
226284
  },
226173
226285
  end: {
226174
- line: 225,
226175
- column: 48
226286
+ line: 224,
226287
+ column: 26
226176
226288
  }
226177
226289
  },
226178
226290
  "6": {
226179
226291
  start: {
226180
226292
  line: 226,
226181
- column: 10
226293
+ column: 8
226182
226294
  },
226183
226295
  end: {
226184
- line: 226,
226185
- column: 26
226296
+ line: 229,
226297
+ column: 9
226186
226298
  }
226187
226299
  },
226188
226300
  "7": {
226189
226301
  start: {
226190
- line: 232,
226191
- column: 4
226302
+ line: 227,
226303
+ column: 10
226192
226304
  },
226193
226305
  end: {
226194
- line: 232,
226195
- column: 26
226306
+ line: 227,
226307
+ column: 48
226196
226308
  }
226197
226309
  },
226198
226310
  "8": {
226199
226311
  start: {
226200
- line: 237,
226201
- column: 6
226312
+ line: 228,
226313
+ column: 10
226202
226314
  },
226203
226315
  end: {
226204
- line: 249,
226205
- column: 8
226316
+ line: 228,
226317
+ column: 26
226206
226318
  }
226207
226319
  },
226208
226320
  "9": {
226209
226321
  start: {
226210
- line: 238,
226211
- column: 8
226322
+ line: 234,
226323
+ column: 4
226212
226324
  },
226213
226325
  end: {
226214
- line: 248,
226215
- column: 9
226326
+ line: 234,
226327
+ column: 26
226216
226328
  }
226217
226329
  },
226218
226330
  "10": {
226219
226331
  start: {
226220
226332
  line: 239,
226221
- column: 10
226333
+ column: 6
226222
226334
  },
226223
226335
  end: {
226224
- line: 239,
226225
- column: 46
226336
+ line: 251,
226337
+ column: 8
226226
226338
  }
226227
226339
  },
226228
226340
  "11": {
226229
226341
  start: {
226230
226342
  line: 240,
226231
- column: 15
226343
+ column: 8
226232
226344
  },
226233
226345
  end: {
226234
- line: 248,
226346
+ line: 250,
226235
226347
  column: 9
226236
226348
  }
226237
226349
  },
@@ -226242,7 +226354,7 @@ var cov_2q2n13agp2 = function () {
226242
226354
  },
226243
226355
  end: {
226244
226356
  line: 241,
226245
- column: 68
226357
+ column: 46
226246
226358
  }
226247
226359
  },
226248
226360
  "13": {
@@ -226251,7 +226363,7 @@ var cov_2q2n13agp2 = function () {
226251
226363
  column: 15
226252
226364
  },
226253
226365
  end: {
226254
- line: 248,
226366
+ line: 250,
226255
226367
  column: 9
226256
226368
  }
226257
226369
  },
@@ -226262,7 +226374,7 @@ var cov_2q2n13agp2 = function () {
226262
226374
  },
226263
226375
  end: {
226264
226376
  line: 243,
226265
- column: 69
226377
+ column: 68
226266
226378
  }
226267
226379
  },
226268
226380
  "15": {
@@ -226271,7 +226383,7 @@ var cov_2q2n13agp2 = function () {
226271
226383
  column: 15
226272
226384
  },
226273
226385
  end: {
226274
- line: 248,
226386
+ line: 250,
226275
226387
  column: 9
226276
226388
  }
226277
226389
  },
@@ -226282,17 +226394,17 @@ var cov_2q2n13agp2 = function () {
226282
226394
  },
226283
226395
  end: {
226284
226396
  line: 245,
226285
- column: 74
226397
+ column: 69
226286
226398
  }
226287
226399
  },
226288
226400
  "17": {
226289
226401
  start: {
226290
226402
  line: 246,
226291
- column: 10
226403
+ column: 15
226292
226404
  },
226293
226405
  end: {
226294
- line: 246,
226295
- column: 94
226406
+ line: 250,
226407
+ column: 9
226296
226408
  }
226297
226409
  },
226298
226410
  "18": {
@@ -226302,276 +226414,296 @@ var cov_2q2n13agp2 = function () {
226302
226414
  },
226303
226415
  end: {
226304
226416
  line: 247,
226305
- column: 95
226417
+ column: 74
226306
226418
  }
226307
226419
  },
226308
226420
  "19": {
226309
226421
  start: {
226310
- line: 252,
226422
+ line: 248,
226423
+ column: 10
226424
+ },
226425
+ end: {
226426
+ line: 248,
226427
+ column: 94
226428
+ }
226429
+ },
226430
+ "20": {
226431
+ start: {
226432
+ line: 249,
226433
+ column: 10
226434
+ },
226435
+ end: {
226436
+ line: 249,
226437
+ column: 95
226438
+ }
226439
+ },
226440
+ "21": {
226441
+ start: {
226442
+ line: 254,
226311
226443
  column: 6
226312
226444
  },
226313
226445
  end: {
226314
- line: 255,
226446
+ line: 257,
226315
226447
  column: 7
226316
226448
  }
226317
226449
  },
226318
- "20": {
226450
+ "22": {
226319
226451
  start: {
226320
- line: 253,
226452
+ line: 255,
226321
226453
  column: 25
226322
226454
  },
226323
226455
  end: {
226324
- line: 253,
226456
+ line: 255,
226325
226457
  column: 57
226326
226458
  }
226327
226459
  },
226328
- "21": {
226460
+ "23": {
226329
226461
  start: {
226330
- line: 254,
226462
+ line: 256,
226331
226463
  column: 8
226332
226464
  },
226333
226465
  end: {
226334
- line: 254,
226466
+ line: 256,
226335
226467
  column: 38
226336
226468
  }
226337
226469
  },
226338
- "22": {
226470
+ "24": {
226339
226471
  start: {
226340
- line: 258,
226472
+ line: 260,
226341
226473
  column: 6
226342
226474
  },
226343
226475
  end: {
226344
- line: 258,
226476
+ line: 260,
226345
226477
  column: 56
226346
226478
  }
226347
226479
  },
226348
- "23": {
226480
+ "25": {
226349
226481
  start: {
226350
- line: 259,
226482
+ line: 261,
226351
226483
  column: 6
226352
226484
  },
226353
226485
  end: {
226354
- line: 259,
226486
+ line: 261,
226355
226487
  column: 44
226356
226488
  }
226357
226489
  },
226358
- "24": {
226490
+ "26": {
226359
226491
  start: {
226360
- line: 260,
226492
+ line: 262,
226361
226493
  column: 6
226362
226494
  },
226363
226495
  end: {
226364
- line: 260,
226496
+ line: 262,
226365
226497
  column: 54
226366
226498
  }
226367
226499
  },
226368
- "25": {
226500
+ "27": {
226369
226501
  start: {
226370
- line: 263,
226502
+ line: 265,
226371
226503
  column: 6
226372
226504
  },
226373
226505
  end: {
226374
- line: 263,
226506
+ line: 265,
226375
226507
  column: 32
226376
226508
  }
226377
226509
  },
226378
- "26": {
226510
+ "28": {
226379
226511
  start: {
226380
- line: 264,
226512
+ line: 266,
226381
226513
  column: 6
226382
226514
  },
226383
226515
  end: {
226384
- line: 264,
226516
+ line: 266,
226385
226517
  column: 58
226386
226518
  }
226387
226519
  },
226388
- "27": {
226520
+ "29": {
226389
226521
  start: {
226390
- line: 264,
226522
+ line: 266,
226391
226523
  column: 46
226392
226524
  },
226393
226525
  end: {
226394
- line: 264,
226526
+ line: 266,
226395
226527
  column: 57
226396
226528
  }
226397
226529
  },
226398
- "28": {
226530
+ "30": {
226399
226531
  start: {
226400
- line: 267,
226532
+ line: 269,
226401
226533
  column: 6
226402
226534
  },
226403
226535
  end: {
226404
- line: 267,
226536
+ line: 269,
226405
226537
  column: 22
226406
226538
  }
226407
226539
  },
226408
- "29": {
226540
+ "31": {
226409
226541
  start: {
226410
- line: 268,
226542
+ line: 270,
226411
226543
  column: 6
226412
226544
  },
226413
226545
  end: {
226414
- line: 268,
226546
+ line: 270,
226415
226547
  column: 31
226416
226548
  }
226417
226549
  },
226418
- "30": {
226550
+ "32": {
226419
226551
  start: {
226420
- line: 271,
226552
+ line: 273,
226421
226553
  column: 6
226422
226554
  },
226423
226555
  end: {
226424
- line: 274,
226556
+ line: 276,
226425
226557
  column: 7
226426
226558
  }
226427
226559
  },
226428
- "31": {
226560
+ "33": {
226429
226561
  start: {
226430
- line: 277,
226562
+ line: 279,
226431
226563
  column: 6
226432
226564
  },
226433
226565
  end: {
226434
- line: 280,
226566
+ line: 282,
226435
226567
  column: 7
226436
226568
  }
226437
226569
  },
226438
- "32": {
226570
+ "34": {
226439
226571
  start: {
226440
- line: 281,
226572
+ line: 283,
226441
226573
  column: 6
226442
226574
  },
226443
226575
  end: {
226444
- line: 284,
226576
+ line: 286,
226445
226577
  column: 7
226446
226578
  }
226447
226579
  },
226448
- "33": {
226580
+ "35": {
226449
226581
  start: {
226450
- line: 287,
226582
+ line: 289,
226451
226583
  column: 6
226452
226584
  },
226453
226585
  end: {
226454
- line: 287,
226586
+ line: 289,
226455
226587
  column: 32
226456
226588
  }
226457
226589
  },
226458
- "34": {
226590
+ "36": {
226459
226591
  start: {
226460
- line: 288,
226592
+ line: 290,
226461
226593
  column: 6
226462
226594
  },
226463
226595
  end: {
226464
- line: 288,
226596
+ line: 290,
226465
226597
  column: 28
226466
226598
  }
226467
226599
  },
226468
- "35": {
226600
+ "37": {
226469
226601
  start: {
226470
- line: 289,
226602
+ line: 291,
226471
226603
  column: 6
226472
226604
  },
226473
226605
  end: {
226474
- line: 289,
226606
+ line: 291,
226475
226607
  column: 65
226476
226608
  }
226477
226609
  },
226478
- "36": {
226610
+ "38": {
226479
226611
  start: {
226480
- line: 289,
226612
+ line: 291,
226481
226613
  column: 46
226482
226614
  },
226483
226615
  end: {
226484
- line: 289,
226616
+ line: 291,
226485
226617
  column: 64
226486
226618
  }
226487
226619
  },
226488
- "37": {
226620
+ "39": {
226489
226621
  start: {
226490
- line: 291,
226622
+ line: 293,
226491
226623
  column: 6
226492
226624
  },
226493
226625
  end: {
226494
- line: 312,
226626
+ line: 314,
226495
226627
  column: 7
226496
226628
  }
226497
226629
  },
226498
- "38": {
226630
+ "40": {
226499
226631
  start: {
226500
- line: 292,
226632
+ line: 294,
226501
226633
  column: 8
226502
226634
  },
226503
226635
  end: {
226504
- line: 311,
226636
+ line: 313,
226505
226637
  column: 12
226506
226638
  }
226507
226639
  },
226508
- "39": {
226640
+ "41": {
226509
226641
  start: {
226510
- line: 294,
226642
+ line: 296,
226511
226643
  column: 30
226512
226644
  },
226513
226645
  end: {
226514
- line: 294,
226646
+ line: 296,
226515
226647
  column: 59
226516
226648
  }
226517
226649
  },
226518
- "40": {
226650
+ "42": {
226519
226651
  start: {
226520
- line: 295,
226652
+ line: 297,
226521
226653
  column: 12
226522
226654
  },
226523
226655
  end: {
226524
- line: 297,
226656
+ line: 299,
226525
226657
  column: 14
226526
226658
  }
226527
226659
  },
226528
- "41": {
226660
+ "43": {
226529
226661
  start: {
226530
- line: 299,
226662
+ line: 301,
226531
226663
  column: 12
226532
226664
  },
226533
226665
  end: {
226534
- line: 301,
226666
+ line: 303,
226535
226667
  column: 14
226536
226668
  }
226537
226669
  },
226538
- "42": {
226670
+ "44": {
226539
226671
  start: {
226540
- line: 302,
226672
+ line: 304,
226541
226673
  column: 12
226542
226674
  },
226543
226675
  end: {
226544
- line: 302,
226676
+ line: 304,
226545
226677
  column: 29
226546
226678
  }
226547
226679
  },
226548
- "43": {
226680
+ "45": {
226549
226681
  start: {
226550
- line: 305,
226682
+ line: 307,
226551
226683
  column: 12
226552
226684
  },
226553
226685
  end: {
226554
- line: 310,
226686
+ line: 312,
226555
226687
  column: 13
226556
226688
  }
226557
226689
  },
226558
- "44": {
226690
+ "46": {
226559
226691
  start: {
226560
- line: 306,
226692
+ line: 308,
226561
226693
  column: 14
226562
226694
  },
226563
226695
  end: {
226564
- line: 306,
226696
+ line: 308,
226565
226697
  column: 54
226566
226698
  }
226567
226699
  },
226568
- "45": {
226700
+ "47": {
226569
226701
  start: {
226570
- line: 307,
226702
+ line: 309,
226571
226703
  column: 14
226572
226704
  },
226573
226705
  end: {
226574
- line: 309,
226706
+ line: 311,
226575
226707
  column: 16
226576
226708
  }
226577
226709
  }
@@ -226619,7 +226751,7 @@ var cov_2q2n13agp2 = function () {
226619
226751
  column: 9
226620
226752
  },
226621
226753
  end: {
226622
- line: 218,
226754
+ line: 220,
226623
226755
  column: 3
226624
226756
  }
226625
226757
  },
@@ -226629,660 +226761,660 @@ var cov_2q2n13agp2 = function () {
226629
226761
  name: "(anonymous_2)",
226630
226762
  decl: {
226631
226763
  start: {
226632
- line: 220,
226764
+ line: 222,
226633
226765
  column: 4
226634
226766
  },
226635
226767
  end: {
226636
- line: 220,
226768
+ line: 222,
226637
226769
  column: 5
226638
226770
  }
226639
226771
  },
226640
226772
  loc: {
226641
226773
  start: {
226642
- line: 220,
226774
+ line: 222,
226643
226775
  column: 21
226644
226776
  },
226645
226777
  end: {
226646
- line: 229,
226778
+ line: 231,
226647
226779
  column: 5
226648
226780
  }
226649
226781
  },
226650
- line: 220
226782
+ line: 222
226651
226783
  },
226652
226784
  "3": {
226653
226785
  name: "(anonymous_3)",
226654
226786
  decl: {
226655
226787
  start: {
226656
- line: 231,
226788
+ line: 233,
226657
226789
  column: 2
226658
226790
  },
226659
226791
  end: {
226660
- line: 231,
226792
+ line: 233,
226661
226793
  column: 3
226662
226794
  }
226663
226795
  },
226664
226796
  loc: {
226665
226797
  start: {
226666
- line: 231,
226798
+ line: 233,
226667
226799
  column: 12
226668
226800
  },
226669
226801
  end: {
226670
- line: 233,
226802
+ line: 235,
226671
226803
  column: 3
226672
226804
  }
226673
226805
  },
226674
- line: 231
226806
+ line: 233
226675
226807
  },
226676
226808
  "4": {
226677
226809
  name: "(anonymous_4)",
226678
226810
  decl: {
226679
226811
  start: {
226680
- line: 235,
226812
+ line: 237,
226681
226813
  column: 4
226682
226814
  },
226683
226815
  end: {
226684
- line: 235,
226816
+ line: 237,
226685
226817
  column: 5
226686
226818
  }
226687
226819
  },
226688
226820
  loc: {
226689
226821
  start: {
226690
- line: 235,
226822
+ line: 237,
226691
226823
  column: 22
226692
226824
  },
226693
226825
  end: {
226694
- line: 250,
226826
+ line: 252,
226695
226827
  column: 5
226696
226828
  }
226697
226829
  },
226698
- line: 235
226830
+ line: 237
226699
226831
  },
226700
226832
  "5": {
226701
226833
  name: "(anonymous_5)",
226702
226834
  decl: {
226703
226835
  start: {
226704
- line: 237,
226836
+ line: 239,
226705
226837
  column: 36
226706
226838
  },
226707
226839
  end: {
226708
- line: 237,
226840
+ line: 239,
226709
226841
  column: 37
226710
226842
  }
226711
226843
  },
226712
226844
  loc: {
226713
226845
  start: {
226714
- line: 237,
226846
+ line: 239,
226715
226847
  column: 45
226716
226848
  },
226717
226849
  end: {
226718
- line: 249,
226850
+ line: 251,
226719
226851
  column: 7
226720
226852
  }
226721
226853
  },
226722
- line: 237
226854
+ line: 239
226723
226855
  },
226724
226856
  "6": {
226725
226857
  name: "(anonymous_6)",
226726
226858
  decl: {
226727
226859
  start: {
226728
- line: 251,
226860
+ line: 253,
226729
226861
  column: 4
226730
226862
  },
226731
226863
  end: {
226732
- line: 251,
226864
+ line: 253,
226733
226865
  column: 5
226734
226866
  }
226735
226867
  },
226736
226868
  loc: {
226737
226869
  start: {
226738
- line: 251,
226870
+ line: 253,
226739
226871
  column: 24
226740
226872
  },
226741
226873
  end: {
226742
- line: 256,
226874
+ line: 258,
226743
226875
  column: 5
226744
226876
  }
226745
226877
  },
226746
- line: 251
226878
+ line: 253
226747
226879
  },
226748
226880
  "7": {
226749
226881
  name: "(anonymous_7)",
226750
226882
  decl: {
226751
226883
  start: {
226752
- line: 257,
226884
+ line: 259,
226753
226885
  column: 4
226754
226886
  },
226755
226887
  end: {
226756
- line: 257,
226888
+ line: 259,
226757
226889
  column: 5
226758
226890
  }
226759
226891
  },
226760
226892
  loc: {
226761
226893
  start: {
226762
- line: 257,
226894
+ line: 259,
226763
226895
  column: 27
226764
226896
  },
226765
226897
  end: {
226766
- line: 261,
226898
+ line: 263,
226767
226899
  column: 5
226768
226900
  }
226769
226901
  },
226770
- line: 257
226902
+ line: 259
226771
226903
  },
226772
226904
  "8": {
226773
226905
  name: "(anonymous_8)",
226774
226906
  decl: {
226775
226907
  start: {
226776
- line: 262,
226908
+ line: 264,
226777
226909
  column: 4
226778
226910
  },
226779
226911
  end: {
226780
- line: 262,
226912
+ line: 264,
226781
226913
  column: 5
226782
226914
  }
226783
226915
  },
226784
226916
  loc: {
226785
226917
  start: {
226786
- line: 262,
226918
+ line: 264,
226787
226919
  column: 16
226788
226920
  },
226789
226921
  end: {
226790
- line: 265,
226922
+ line: 267,
226791
226923
  column: 5
226792
226924
  }
226793
226925
  },
226794
- line: 262
226926
+ line: 264
226795
226927
  },
226796
226928
  "9": {
226797
226929
  name: "(anonymous_9)",
226798
226930
  decl: {
226799
226931
  start: {
226800
- line: 264,
226932
+ line: 266,
226801
226933
  column: 39
226802
226934
  },
226803
226935
  end: {
226804
- line: 264,
226936
+ line: 266,
226805
226937
  column: 40
226806
226938
  }
226807
226939
  },
226808
226940
  loc: {
226809
226941
  start: {
226810
- line: 264,
226942
+ line: 266,
226811
226943
  column: 46
226812
226944
  },
226813
226945
  end: {
226814
- line: 264,
226946
+ line: 266,
226815
226947
  column: 57
226816
226948
  }
226817
226949
  },
226818
- line: 264
226950
+ line: 266
226819
226951
  },
226820
226952
  "10": {
226821
226953
  name: "(anonymous_10)",
226822
226954
  decl: {
226823
226955
  start: {
226824
- line: 266,
226956
+ line: 268,
226825
226957
  column: 4
226826
226958
  },
226827
226959
  end: {
226828
- line: 266,
226960
+ line: 268,
226829
226961
  column: 5
226830
226962
  }
226831
226963
  },
226832
226964
  loc: {
226833
226965
  start: {
226834
- line: 266,
226966
+ line: 268,
226835
226967
  column: 17
226836
226968
  },
226837
226969
  end: {
226838
- line: 269,
226970
+ line: 271,
226839
226971
  column: 5
226840
226972
  }
226841
226973
  },
226842
- line: 266
226974
+ line: 268
226843
226975
  },
226844
226976
  "11": {
226845
226977
  name: "(anonymous_11)",
226846
226978
  decl: {
226847
226979
  start: {
226848
- line: 270,
226980
+ line: 272,
226849
226981
  column: 4
226850
226982
  },
226851
226983
  end: {
226852
- line: 270,
226984
+ line: 272,
226853
226985
  column: 5
226854
226986
  }
226855
226987
  },
226856
226988
  loc: {
226857
226989
  start: {
226858
- line: 270,
226990
+ line: 272,
226859
226991
  column: 22
226860
226992
  },
226861
226993
  end: {
226862
- line: 275,
226994
+ line: 277,
226863
226995
  column: 5
226864
226996
  }
226865
226997
  },
226866
- line: 270
226998
+ line: 272
226867
226999
  },
226868
227000
  "12": {
226869
227001
  name: "(anonymous_12)",
226870
227002
  decl: {
226871
227003
  start: {
226872
- line: 276,
227004
+ line: 278,
226873
227005
  column: 4
226874
227006
  },
226875
227007
  end: {
226876
- line: 276,
227008
+ line: 278,
226877
227009
  column: 5
226878
227010
  }
226879
227011
  },
226880
227012
  loc: {
226881
227013
  start: {
226882
- line: 276,
227014
+ line: 278,
226883
227015
  column: 24
226884
227016
  },
226885
227017
  end: {
226886
- line: 285,
227018
+ line: 287,
226887
227019
  column: 5
226888
227020
  }
226889
227021
  },
226890
- line: 276
227022
+ line: 278
226891
227023
  },
226892
227024
  "13": {
226893
227025
  name: "(anonymous_13)",
226894
227026
  decl: {
226895
227027
  start: {
226896
- line: 286,
227028
+ line: 288,
226897
227029
  column: 4
226898
227030
  },
226899
227031
  end: {
226900
- line: 286,
227032
+ line: 288,
226901
227033
  column: 5
226902
227034
  }
226903
227035
  },
226904
227036
  loc: {
226905
227037
  start: {
226906
- line: 286,
227038
+ line: 288,
226907
227039
  column: 19
226908
227040
  },
226909
227041
  end: {
226910
- line: 313,
227042
+ line: 315,
226911
227043
  column: 5
226912
227044
  }
226913
227045
  },
226914
- line: 286
227046
+ line: 288
226915
227047
  },
226916
227048
  "14": {
226917
227049
  name: "(anonymous_14)",
226918
227050
  decl: {
226919
227051
  start: {
226920
- line: 289,
227052
+ line: 291,
226921
227053
  column: 39
226922
227054
  },
226923
227055
  end: {
226924
- line: 289,
227056
+ line: 291,
226925
227057
  column: 40
226926
227058
  }
226927
227059
  },
226928
227060
  loc: {
226929
227061
  start: {
226930
- line: 289,
227062
+ line: 291,
226931
227063
  column: 46
226932
227064
  },
226933
227065
  end: {
226934
- line: 289,
227066
+ line: 291,
226935
227067
  column: 64
226936
227068
  }
226937
227069
  },
226938
- line: 289
227070
+ line: 291
226939
227071
  },
226940
227072
  "15": {
226941
227073
  name: "(anonymous_15)",
226942
227074
  decl: {
226943
227075
  start: {
226944
- line: 293,
227076
+ line: 295,
226945
227077
  column: 16
226946
227078
  },
226947
227079
  end: {
226948
- line: 293,
227080
+ line: 295,
226949
227081
  column: 17
226950
227082
  }
226951
227083
  },
226952
227084
  loc: {
226953
227085
  start: {
226954
- line: 293,
227086
+ line: 295,
226955
227087
  column: 28
226956
227088
  },
226957
227089
  end: {
226958
- line: 303,
227090
+ line: 305,
226959
227091
  column: 11
226960
227092
  }
226961
227093
  },
226962
- line: 293
227094
+ line: 295
226963
227095
  },
226964
227096
  "16": {
226965
227097
  name: "(anonymous_16)",
226966
227098
  decl: {
226967
227099
  start: {
226968
- line: 304,
227100
+ line: 306,
226969
227101
  column: 17
226970
227102
  },
226971
227103
  end: {
226972
- line: 304,
227104
+ line: 306,
226973
227105
  column: 18
226974
227106
  }
226975
227107
  },
226976
227108
  loc: {
226977
227109
  start: {
226978
- line: 304,
227110
+ line: 306,
226979
227111
  column: 26
226980
227112
  },
226981
227113
  end: {
226982
- line: 311,
227114
+ line: 313,
226983
227115
  column: 11
226984
227116
  }
226985
227117
  },
226986
- line: 304
227118
+ line: 306
226987
227119
  }
226988
227120
  },
226989
227121
  branchMap: {
226990
227122
  "0": {
226991
227123
  loc: {
226992
227124
  start: {
226993
- line: 221,
227125
+ line: 223,
226994
227126
  column: 6
226995
227127
  },
226996
227128
  end: {
226997
- line: 228,
227129
+ line: 230,
226998
227130
  column: 7
226999
227131
  }
227000
227132
  },
227001
227133
  type: "if",
227002
227134
  locations: [{
227003
227135
  start: {
227004
- line: 221,
227136
+ line: 223,
227005
227137
  column: 6
227006
227138
  },
227007
227139
  end: {
227008
- line: 228,
227140
+ line: 230,
227009
227141
  column: 7
227010
227142
  }
227011
227143
  }, {
227012
227144
  start: {
227013
- line: 221,
227145
+ line: 223,
227014
227146
  column: 6
227015
227147
  },
227016
227148
  end: {
227017
- line: 228,
227149
+ line: 230,
227018
227150
  column: 7
227019
227151
  }
227020
227152
  }],
227021
- line: 221
227153
+ line: 223
227022
227154
  },
227023
227155
  "1": {
227024
227156
  loc: {
227025
227157
  start: {
227026
- line: 224,
227158
+ line: 226,
227027
227159
  column: 8
227028
227160
  },
227029
227161
  end: {
227030
- line: 227,
227162
+ line: 229,
227031
227163
  column: 9
227032
227164
  }
227033
227165
  },
227034
227166
  type: "if",
227035
227167
  locations: [{
227036
227168
  start: {
227037
- line: 224,
227169
+ line: 226,
227038
227170
  column: 8
227039
227171
  },
227040
227172
  end: {
227041
- line: 227,
227173
+ line: 229,
227042
227174
  column: 9
227043
227175
  }
227044
227176
  }, {
227045
227177
  start: {
227046
- line: 224,
227178
+ line: 226,
227047
227179
  column: 8
227048
227180
  },
227049
227181
  end: {
227050
- line: 227,
227182
+ line: 229,
227051
227183
  column: 9
227052
227184
  }
227053
227185
  }],
227054
- line: 224
227186
+ line: 226
227055
227187
  },
227056
227188
  "2": {
227057
227189
  loc: {
227058
227190
  start: {
227059
- line: 238,
227191
+ line: 240,
227060
227192
  column: 8
227061
227193
  },
227062
227194
  end: {
227063
- line: 248,
227195
+ line: 250,
227064
227196
  column: 9
227065
227197
  }
227066
227198
  },
227067
227199
  type: "if",
227068
227200
  locations: [{
227069
227201
  start: {
227070
- line: 238,
227202
+ line: 240,
227071
227203
  column: 8
227072
227204
  },
227073
227205
  end: {
227074
- line: 248,
227206
+ line: 250,
227075
227207
  column: 9
227076
227208
  }
227077
227209
  }, {
227078
227210
  start: {
227079
- line: 238,
227211
+ line: 240,
227080
227212
  column: 8
227081
227213
  },
227082
227214
  end: {
227083
- line: 248,
227215
+ line: 250,
227084
227216
  column: 9
227085
227217
  }
227086
227218
  }],
227087
- line: 238
227219
+ line: 240
227088
227220
  },
227089
227221
  "3": {
227090
227222
  loc: {
227091
227223
  start: {
227092
- line: 240,
227224
+ line: 242,
227093
227225
  column: 15
227094
227226
  },
227095
227227
  end: {
227096
- line: 248,
227228
+ line: 250,
227097
227229
  column: 9
227098
227230
  }
227099
227231
  },
227100
227232
  type: "if",
227101
227233
  locations: [{
227102
227234
  start: {
227103
- line: 240,
227235
+ line: 242,
227104
227236
  column: 15
227105
227237
  },
227106
227238
  end: {
227107
- line: 248,
227239
+ line: 250,
227108
227240
  column: 9
227109
227241
  }
227110
227242
  }, {
227111
227243
  start: {
227112
- line: 240,
227244
+ line: 242,
227113
227245
  column: 15
227114
227246
  },
227115
227247
  end: {
227116
- line: 248,
227248
+ line: 250,
227117
227249
  column: 9
227118
227250
  }
227119
227251
  }],
227120
- line: 240
227252
+ line: 242
227121
227253
  },
227122
227254
  "4": {
227123
227255
  loc: {
227124
227256
  start: {
227125
- line: 242,
227257
+ line: 244,
227126
227258
  column: 15
227127
227259
  },
227128
227260
  end: {
227129
- line: 248,
227261
+ line: 250,
227130
227262
  column: 9
227131
227263
  }
227132
227264
  },
227133
227265
  type: "if",
227134
227266
  locations: [{
227135
227267
  start: {
227136
- line: 242,
227268
+ line: 244,
227137
227269
  column: 15
227138
227270
  },
227139
227271
  end: {
227140
- line: 248,
227272
+ line: 250,
227141
227273
  column: 9
227142
227274
  }
227143
227275
  }, {
227144
227276
  start: {
227145
- line: 242,
227277
+ line: 244,
227146
227278
  column: 15
227147
227279
  },
227148
227280
  end: {
227149
- line: 248,
227281
+ line: 250,
227150
227282
  column: 9
227151
227283
  }
227152
227284
  }],
227153
- line: 242
227285
+ line: 244
227154
227286
  },
227155
227287
  "5": {
227156
227288
  loc: {
227157
227289
  start: {
227158
- line: 244,
227290
+ line: 246,
227159
227291
  column: 15
227160
227292
  },
227161
227293
  end: {
227162
- line: 248,
227294
+ line: 250,
227163
227295
  column: 9
227164
227296
  }
227165
227297
  },
227166
227298
  type: "if",
227167
227299
  locations: [{
227168
227300
  start: {
227169
- line: 244,
227301
+ line: 246,
227170
227302
  column: 15
227171
227303
  },
227172
227304
  end: {
227173
- line: 248,
227305
+ line: 250,
227174
227306
  column: 9
227175
227307
  }
227176
227308
  }, {
227177
227309
  start: {
227178
- line: 244,
227310
+ line: 246,
227179
227311
  column: 15
227180
227312
  },
227181
227313
  end: {
227182
- line: 248,
227314
+ line: 250,
227183
227315
  column: 9
227184
227316
  }
227185
227317
  }],
227186
- line: 244
227318
+ line: 246
227187
227319
  },
227188
227320
  "6": {
227189
227321
  loc: {
227190
227322
  start: {
227191
- line: 252,
227323
+ line: 254,
227192
227324
  column: 6
227193
227325
  },
227194
227326
  end: {
227195
- line: 255,
227327
+ line: 257,
227196
227328
  column: 7
227197
227329
  }
227198
227330
  },
227199
227331
  type: "if",
227200
227332
  locations: [{
227201
227333
  start: {
227202
- line: 252,
227334
+ line: 254,
227203
227335
  column: 6
227204
227336
  },
227205
227337
  end: {
227206
- line: 255,
227338
+ line: 257,
227207
227339
  column: 7
227208
227340
  }
227209
227341
  }, {
227210
227342
  start: {
227211
- line: 252,
227343
+ line: 254,
227212
227344
  column: 6
227213
227345
  },
227214
227346
  end: {
227215
- line: 255,
227347
+ line: 257,
227216
227348
  column: 7
227217
227349
  }
227218
227350
  }],
227219
- line: 252
227351
+ line: 254
227220
227352
  },
227221
227353
  "7": {
227222
227354
  loc: {
227223
227355
  start: {
227224
- line: 291,
227356
+ line: 293,
227225
227357
  column: 6
227226
227358
  },
227227
227359
  end: {
227228
- line: 312,
227360
+ line: 314,
227229
227361
  column: 7
227230
227362
  }
227231
227363
  },
227232
227364
  type: "if",
227233
227365
  locations: [{
227234
227366
  start: {
227235
- line: 291,
227367
+ line: 293,
227236
227368
  column: 6
227237
227369
  },
227238
227370
  end: {
227239
- line: 312,
227371
+ line: 314,
227240
227372
  column: 7
227241
227373
  }
227242
227374
  }, {
227243
227375
  start: {
227244
- line: 291,
227376
+ line: 293,
227245
227377
  column: 6
227246
227378
  },
227247
227379
  end: {
227248
- line: 312,
227380
+ line: 314,
227249
227381
  column: 7
227250
227382
  }
227251
227383
  }],
227252
- line: 291
227384
+ line: 293
227253
227385
  },
227254
227386
  "8": {
227255
227387
  loc: {
227256
227388
  start: {
227257
- line: 305,
227389
+ line: 307,
227258
227390
  column: 12
227259
227391
  },
227260
227392
  end: {
227261
- line: 310,
227393
+ line: 312,
227262
227394
  column: 13
227263
227395
  }
227264
227396
  },
227265
227397
  type: "if",
227266
227398
  locations: [{
227267
227399
  start: {
227268
- line: 305,
227400
+ line: 307,
227269
227401
  column: 12
227270
227402
  },
227271
227403
  end: {
227272
- line: 310,
227404
+ line: 312,
227273
227405
  column: 13
227274
227406
  }
227275
227407
  }, {
227276
227408
  start: {
227277
- line: 305,
227409
+ line: 307,
227278
227410
  column: 12
227279
227411
  },
227280
227412
  end: {
227281
- line: 310,
227413
+ line: 312,
227282
227414
  column: 13
227283
227415
  }
227284
227416
  }],
227285
- line: 305
227417
+ line: 307
227286
227418
  }
227287
227419
  },
227288
227420
  s: {
@@ -227331,7 +227463,9 @@ var cov_2q2n13agp2 = function () {
227331
227463
  "42": 0,
227332
227464
  "43": 0,
227333
227465
  "44": 0,
227334
- "45": 0
227466
+ "45": 0,
227467
+ "46": 0,
227468
+ "47": 0
227335
227469
  },
227336
227470
  f: {
227337
227471
  "0": 0,
@@ -227367,13 +227501,13 @@ var cov_2q2n13agp2 = function () {
227367
227501
  version: 3,
227368
227502
  sources: ["NewProjectModal.vue"],
227369
227503
  names: [],
227370
- mappings: ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiKA;;AAEA;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;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA",
227504
+ mappings: ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiKA;;AAEA;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;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA",
227371
227505
  file: "NewProjectModal.vue",
227372
227506
  sourceRoot: "src/components/projects",
227373
- 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\n <div class=\"text-h6 primary--text pt-8\">\n Participants\n </div>\n\n <v-row>\n <v-col cols=\"6\" class=\"pb-0\">\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\n <v-col cols=\"6\" class=\"pb-0\">\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\n <v-col cols=\"6\" class=\"pb-0\">\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\n <v-col cols=\"6\" class=\"pb-0\">\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\n <sharing-settings\n ref=\"sharing\"\n :sharing=\"sharing\"\n :error-messages=\"errorMessages.sharing\"\n class=\"pt-8\"\n @update-sharing=\"updateSharing\"\n />\n\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 SharingSettings from '@/components/projects/SharingSettings'\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'\nimport { snakifyKeys, camelifyKeys } from '@/utils/helpers'\n\nexport default {\n name: 'NewProjectModal',\n components: {\n BaseModal,\n GroupSearchInput,\n UserSearchInput,\n SharingSettings\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 'sharing'\n ],\n groups: [],\n project: {},\n sharing: { isPublic: true },\n refs: {},\n rules,\n showOptionalFields: true,\n users: [],\n usersQuery: '',\n camelifyKeys,\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 } else if (has(this.$refs, `${field}.$refs.canRead.$refs.userSearchInput.reset`)) {\n this.refs['sharing.isPublic'] = this.$refs[field].$refs.isPublic\n this.refs['sharing.canRead'] = this.$refs[field].$refs.canRead.$refs.userSearchInput\n this.refs['sharing.isShare'] = this.$refs[field].$refs.canShare.$refs.userSearchInput\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 Object.values(this.refs).forEach(ref => ref.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 updateSharing(data) {\n this.sharing = {\n ...this.sharing,\n ...data\n }\n this.project = {\n ...this.project,\n sharing: snakifyKeys(this.sharing),\n }\n },\n async submit() {\n this.formHasErrors = false\n this.attachFieldRefs()\n Object.values(this.refs).forEach(ref => ref.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"]
227507
+ 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\n <div class=\"text-h6 primary--text pt-8\">\n Participants\n </div>\n\n <v-row>\n <v-col cols=\"6\" class=\"pb-0\">\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\n <v-col cols=\"6\" class=\"pb-0\">\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\n <v-col cols=\"6\" class=\"pb-0\">\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\n <v-col cols=\"6\" class=\"pb-0\">\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\n <sharing-settings\n ref=\"sharing\"\n :sharing=\"sharing\"\n :error-messages=\"errorMessages.sharing\"\n class=\"pt-8\"\n @update-sharing=\"updateSharing\"\n />\n\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 SharingSettings from '@/components/projects/SharingSettings'\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'\nimport { snakifyKeys, camelifyKeys } from '@/utils/helpers'\n\nexport default {\n name: 'NewProjectModal',\n components: {\n BaseModal,\n GroupSearchInput,\n UserSearchInput,\n SharingSettings\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 const sharing = { isPublic: true, canRead: [], canShare: []}\n const project = { sharing: snakifyKeys(sharing), }\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 'sharing'\n ],\n groups: [],\n project,\n sharing,\n refs: {},\n rules,\n showOptionalFields: false,\n users: [],\n usersQuery: '',\n camelifyKeys,\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 } else if (has(this.$refs, `${field}.$refs.canRead.$refs.userSearchInput.reset`)) {\n this.refs['sharing.isPublic'] = this.$refs[field].$refs.isPublic\n this.refs['sharing.canRead'] = this.$refs[field].$refs.canRead.$refs.userSearchInput\n this.refs['sharing.isShare'] = this.$refs[field].$refs.canShare.$refs.userSearchInput\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 Object.values(this.refs).forEach(ref => ref.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 updateSharing(data) {\n this.sharing = {\n ...this.sharing,\n ...data\n }\n this.project = {\n ...this.project,\n sharing: snakifyKeys(this.sharing),\n }\n },\n async submit() {\n this.formHasErrors = false\n this.attachFieldRefs()\n Object.values(this.refs).forEach(ref => ref.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"]
227374
227508
  },
227375
227509
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
227376
- hash: "9065b65484d9dda2d79190551ed5f04b8da2c2ab"
227510
+ hash: "0895a72217b0e4748c38c745006ed03a3932d37e"
227377
227511
  };
227378
227512
  var coverage = global[gcv] || (global[gcv] = {});
227379
227513
 
@@ -227591,20 +227725,26 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227591
227725
  },
227592
227726
  data: function data() {
227593
227727
  cov_2q2n13agp2.f[1]++;
227594
- cov_2q2n13agp2.s[1]++;
227728
+ var sharing = (cov_2q2n13agp2.s[1]++, {
227729
+ isPublic: true,
227730
+ canRead: [],
227731
+ canShare: []
227732
+ });
227733
+ var project = (cov_2q2n13agp2.s[2]++, {
227734
+ sharing: Object(helpers["n" /* snakifyKeys */])(sharing)
227735
+ });
227736
+ cov_2q2n13agp2.s[3]++;
227595
227737
  return {
227596
227738
  isLoading: false,
227597
227739
  errorMessages: {},
227598
227740
  formHasErrors: false,
227599
227741
  fieldsToValidate: ['title', 'shortTitle', 'group', 'principalInvestigator', 'owner', 'coordinator', 'analyst', 'sharing'],
227600
227742
  groups: [],
227601
- project: {},
227602
- sharing: {
227603
- isPublic: true
227604
- },
227743
+ project: project,
227744
+ sharing: sharing,
227605
227745
  refs: {},
227606
227746
  rules: rules,
227607
- showOptionalFields: true,
227747
+ showOptionalFields: false,
227608
227748
  users: [],
227609
227749
  usersQuery: '',
227610
227750
  camelifyKeys: helpers["a" /* camelifyKeys */]
@@ -227613,20 +227753,20 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227613
227753
  watch: {
227614
227754
  showModal: function showModal(value) {
227615
227755
  cov_2q2n13agp2.f[2]++;
227616
- cov_2q2n13agp2.s[2]++;
227756
+ cov_2q2n13agp2.s[4]++;
227617
227757
 
227618
227758
  if (value) {
227619
227759
  cov_2q2n13agp2.b[0][0]++;
227620
- cov_2q2n13agp2.s[3]++;
227760
+ cov_2q2n13agp2.s[5]++;
227621
227761
  this.fetchGroups(); // ensure autofocus: https://github.com/vuetifyjs/vuetify/issues/1587
227622
227762
 
227623
- cov_2q2n13agp2.s[4]++;
227763
+ cov_2q2n13agp2.s[6]++;
227624
227764
 
227625
227765
  if (this.$refs.title) {
227626
227766
  cov_2q2n13agp2.b[1][0]++;
227627
- cov_2q2n13agp2.s[5]++;
227767
+ cov_2q2n13agp2.s[7]++;
227628
227768
  this.$nextTick(this.$refs.title.focus);
227629
- cov_2q2n13agp2.s[6]++;
227769
+ cov_2q2n13agp2.s[8]++;
227630
227770
  this.resetForm();
227631
227771
  } else {
227632
227772
  cov_2q2n13agp2.b[1][1]++;
@@ -227638,7 +227778,7 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227638
227778
  },
227639
227779
  updated: function updated() {
227640
227780
  cov_2q2n13agp2.f[3]++;
227641
- cov_2q2n13agp2.s[7]++;
227781
+ cov_2q2n13agp2.s[9]++;
227642
227782
  this.attachFieldRefs();
227643
227783
  },
227644
227784
  methods: {
@@ -227646,43 +227786,43 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227646
227786
  var _this = this;
227647
227787
 
227648
227788
  cov_2q2n13agp2.f[4]++;
227649
- cov_2q2n13agp2.s[8]++;
227789
+ cov_2q2n13agp2.s[10]++;
227650
227790
  // Map all local and nested inputs to local 'refs' object
227651
227791
  this.fieldsToValidate.forEach(function (field) {
227652
227792
  cov_2q2n13agp2.f[5]++;
227653
- cov_2q2n13agp2.s[9]++;
227793
+ cov_2q2n13agp2.s[11]++;
227654
227794
 
227655
227795
  if (has_default()(_this.$refs[field], 'reset')) {
227656
227796
  cov_2q2n13agp2.b[2][0]++;
227657
- cov_2q2n13agp2.s[10]++;
227797
+ cov_2q2n13agp2.s[12]++;
227658
227798
  _this.refs[field] = _this.$refs[field];
227659
227799
  } else {
227660
227800
  cov_2q2n13agp2.b[2][1]++;
227661
- cov_2q2n13agp2.s[11]++;
227801
+ cov_2q2n13agp2.s[13]++;
227662
227802
 
227663
227803
  if (has_default()(_this.$refs[field], '$refs.userSearchInput.reset')) {
227664
227804
  cov_2q2n13agp2.b[3][0]++;
227665
- cov_2q2n13agp2.s[12]++;
227805
+ cov_2q2n13agp2.s[14]++;
227666
227806
  _this.refs[field] = _this.$refs[field].$refs.userSearchInput;
227667
227807
  } else {
227668
227808
  cov_2q2n13agp2.b[3][1]++;
227669
- cov_2q2n13agp2.s[13]++;
227809
+ cov_2q2n13agp2.s[15]++;
227670
227810
 
227671
227811
  if (has_default()(_this.$refs[field], '$refs.groupSearchInput.reset')) {
227672
227812
  cov_2q2n13agp2.b[4][0]++;
227673
- cov_2q2n13agp2.s[14]++;
227813
+ cov_2q2n13agp2.s[16]++;
227674
227814
  _this.refs[field] = _this.$refs[field].$refs.groupSearchInput;
227675
227815
  } else {
227676
227816
  cov_2q2n13agp2.b[4][1]++;
227677
- cov_2q2n13agp2.s[15]++;
227817
+ cov_2q2n13agp2.s[17]++;
227678
227818
 
227679
227819
  if (has_default()(_this.$refs, "".concat(field, ".$refs.canRead.$refs.userSearchInput.reset"))) {
227680
227820
  cov_2q2n13agp2.b[5][0]++;
227681
- cov_2q2n13agp2.s[16]++;
227821
+ cov_2q2n13agp2.s[18]++;
227682
227822
  _this.refs['sharing.isPublic'] = _this.$refs[field].$refs.isPublic;
227683
- cov_2q2n13agp2.s[17]++;
227823
+ cov_2q2n13agp2.s[19]++;
227684
227824
  _this.refs['sharing.canRead'] = _this.$refs[field].$refs.canRead.$refs.userSearchInput;
227685
- cov_2q2n13agp2.s[18]++;
227825
+ cov_2q2n13agp2.s[20]++;
227686
227826
  _this.refs['sharing.isShare'] = _this.$refs[field].$refs.canShare.$refs.userSearchInput;
227687
227827
  } else {
227688
227828
  cov_2q2n13agp2.b[5][1]++;
@@ -227700,7 +227840,7 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227700
227840
  switch (_context.prev = _context.next) {
227701
227841
  case 0:
227702
227842
  cov_2q2n13agp2.f[6]++;
227703
- cov_2q2n13agp2.s[19]++;
227843
+ cov_2q2n13agp2.s[21]++;
227704
227844
 
227705
227845
  if (this.groups.length) {
227706
227846
  _context.next = 12;
@@ -227708,13 +227848,13 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227708
227848
  }
227709
227849
 
227710
227850
  cov_2q2n13agp2.b[6][0]++;
227711
- cov_2q2n13agp2.s[20]++;
227851
+ cov_2q2n13agp2.s[22]++;
227712
227852
  _context.next = 7;
227713
227853
  return fetchListRecords('groups');
227714
227854
 
227715
227855
  case 7:
227716
227856
  response = _context.sent;
227717
- cov_2q2n13agp2.s[21]++;
227857
+ cov_2q2n13agp2.s[23]++;
227718
227858
  this.groups = response.results;
227719
227859
  _context.next = 13;
227720
227860
  break;
@@ -227738,41 +227878,41 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227738
227878
  }(),
227739
227879
  toggleOptionalFields: function toggleOptionalFields() {
227740
227880
  cov_2q2n13agp2.f[7]++;
227741
- cov_2q2n13agp2.s[22]++;
227881
+ cov_2q2n13agp2.s[24]++;
227742
227882
  this.showOptionalFields = !this.showOptionalFields;
227743
- cov_2q2n13agp2.s[23]++;
227883
+ cov_2q2n13agp2.s[25]++;
227744
227884
  this.$nextTick(this.$refs.title.focus);
227745
- cov_2q2n13agp2.s[24]++;
227885
+ cov_2q2n13agp2.s[26]++;
227746
227886
  this.$nextTick(this.$refs.title.resetValidation);
227747
227887
  },
227748
227888
  resetForm: function resetForm() {
227749
227889
  cov_2q2n13agp2.f[8]++;
227750
- cov_2q2n13agp2.s[25]++;
227890
+ cov_2q2n13agp2.s[27]++;
227751
227891
  this.formHasErrors = false;
227752
- cov_2q2n13agp2.s[26]++;
227892
+ cov_2q2n13agp2.s[28]++;
227753
227893
  Object.values(this.refs).forEach(function (ref) {
227754
227894
  cov_2q2n13agp2.f[9]++;
227755
- cov_2q2n13agp2.s[27]++;
227895
+ cov_2q2n13agp2.s[29]++;
227756
227896
  return ref.reset();
227757
227897
  });
227758
227898
  },
227759
227899
  closeModal: function closeModal() {
227760
227900
  cov_2q2n13agp2.f[10]++;
227761
- cov_2q2n13agp2.s[28]++;
227901
+ cov_2q2n13agp2.s[30]++;
227762
227902
  this.resetForm();
227763
- cov_2q2n13agp2.s[29]++;
227903
+ cov_2q2n13agp2.s[31]++;
227764
227904
  this.$emit('close-modal');
227765
227905
  },
227766
227906
  updateValue: function updateValue(data) {
227767
227907
  cov_2q2n13agp2.f[11]++;
227768
- cov_2q2n13agp2.s[30]++;
227908
+ cov_2q2n13agp2.s[32]++;
227769
227909
  this.project = NewProjectModalvue_type_script_lang_js_objectSpread(NewProjectModalvue_type_script_lang_js_objectSpread({}, this.project), data);
227770
227910
  },
227771
227911
  updateSharing: function updateSharing(data) {
227772
227912
  cov_2q2n13agp2.f[12]++;
227773
- cov_2q2n13agp2.s[31]++;
227913
+ cov_2q2n13agp2.s[33]++;
227774
227914
  this.sharing = NewProjectModalvue_type_script_lang_js_objectSpread(NewProjectModalvue_type_script_lang_js_objectSpread({}, this.sharing), data);
227775
- cov_2q2n13agp2.s[32]++;
227915
+ cov_2q2n13agp2.s[34]++;
227776
227916
  this.project = NewProjectModalvue_type_script_lang_js_objectSpread(NewProjectModalvue_type_script_lang_js_objectSpread({}, this.project), {}, {
227777
227917
  sharing: Object(helpers["n" /* snakifyKeys */])(this.sharing)
227778
227918
  });
@@ -227786,48 +227926,48 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227786
227926
  switch (_context2.prev = _context2.next) {
227787
227927
  case 0:
227788
227928
  cov_2q2n13agp2.f[13]++;
227789
- cov_2q2n13agp2.s[33]++;
227929
+ cov_2q2n13agp2.s[35]++;
227790
227930
  this.formHasErrors = false;
227791
- cov_2q2n13agp2.s[34]++;
227931
+ cov_2q2n13agp2.s[36]++;
227792
227932
  this.attachFieldRefs();
227793
- cov_2q2n13agp2.s[35]++;
227933
+ cov_2q2n13agp2.s[37]++;
227794
227934
  Object.values(this.refs).forEach(function (ref) {
227795
227935
  cov_2q2n13agp2.f[14]++;
227796
- cov_2q2n13agp2.s[36]++;
227936
+ cov_2q2n13agp2.s[38]++;
227797
227937
  return ref.validate(true);
227798
227938
  });
227799
- cov_2q2n13agp2.s[37]++;
227939
+ cov_2q2n13agp2.s[39]++;
227800
227940
 
227801
227941
  if (!this.formHasErrors) {
227802
227942
  cov_2q2n13agp2.b[7][0]++;
227803
- cov_2q2n13agp2.s[38]++;
227943
+ cov_2q2n13agp2.s[40]++;
227804
227944
  createRecord('projects', this.project).then(function (response) {
227805
227945
  cov_2q2n13agp2.f[15]++;
227806
- var projectId = (cov_2q2n13agp2.s[39]++, _this2.$get(response, 'pk', ''));
227807
- cov_2q2n13agp2.s[40]++;
227946
+ var projectId = (cov_2q2n13agp2.s[41]++, _this2.$get(response, 'pk', ''));
227947
+ cov_2q2n13agp2.s[42]++;
227808
227948
 
227809
227949
  _this2.$store.dispatch(SHOW_ALERT, {
227810
227950
  message: "Project ".concat(projectId, " was succesfully created.")
227811
227951
  });
227812
227952
 
227813
- cov_2q2n13agp2.s[41]++;
227953
+ cov_2q2n13agp2.s[43]++;
227814
227954
 
227815
227955
  _this2.$store.dispatch(SHOW_PANEL, {
227816
227956
  project: projectId
227817
227957
  });
227818
227958
 
227819
- cov_2q2n13agp2.s[42]++;
227959
+ cov_2q2n13agp2.s[44]++;
227820
227960
 
227821
227961
  _this2.closeModal();
227822
227962
  }).catch(function (error) {
227823
227963
  cov_2q2n13agp2.f[16]++;
227824
- cov_2q2n13agp2.s[43]++;
227964
+ cov_2q2n13agp2.s[45]++;
227825
227965
 
227826
227966
  if (error.response) {
227827
227967
  cov_2q2n13agp2.b[8][0]++;
227828
- cov_2q2n13agp2.s[44]++;
227968
+ cov_2q2n13agp2.s[46]++;
227829
227969
  _this2.errorMessages = error.response.data;
227830
- cov_2q2n13agp2.s[45]++;
227970
+ cov_2q2n13agp2.s[47]++;
227831
227971
 
227832
227972
  _this2.$store.dispatch(SHOW_ALERT, {
227833
227973
  error: 'The project could not be created. Please try again.'
@@ -227872,8 +228012,8 @@ var NewProjectModalvue_type_style_index_0_lang_scss_ = __webpack_require__("9434
227872
228012
 
227873
228013
  var NewProjectModal_component = normalizeComponent(
227874
228014
  projects_NewProjectModalvue_type_script_lang_js_,
227875
- NewProjectModalvue_type_template_id_8db07d96_render,
227876
- NewProjectModalvue_type_template_id_8db07d96_staticRenderFns,
228015
+ NewProjectModalvue_type_template_id_35e14c2e_render,
228016
+ NewProjectModalvue_type_template_id_35e14c2e_staticRenderFns,
227877
228017
  false,
227878
228018
  null,
227879
228019
  null,
@@ -300906,18 +301046,18 @@ var BioModelPanelvue_type_template_id_b52cff22_staticRenderFns = []
300906
301046
 
300907
301047
  // CONCATENATED MODULE: ./src/components/bioModels/BioModelPanel.vue?vue&type=template&id=b52cff22&
300908
301048
 
300909
- // 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/bioModels/BioModelTree.vue?vue&type=template&id=6a6ea313&
300910
- var BioModelTreevue_type_template_id_6a6ea313_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{staticClass:"isabl-base-card",attrs:{"flat":"","data-test":"biomodel-tree"}},[_c('base-section-title',{attrs:{"show-more":_vm.showTree},on:{"toggle-show-more":function($event){_vm.showTree = !_vm.showTree}},scopedSlots:_vm._u([{key:"title",fn:function(){return [_vm._v("Samples Tree")]},proxy:true},{key:"actions",fn:function(){return [_c('div',[(_vm.isBigTree)?_c('v-btn',{staticClass:"table-action-btn pull-right ma-0",attrs:{"fab":"","outlined":"","color":"primary"},on:{"click":function($event){_vm.showFullHeight = !_vm.showFullHeight
301049
+ // 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/bioModels/BioModelTree.vue?vue&type=template&id=50c9e1d2&
301050
+ var BioModelTreevue_type_template_id_50c9e1d2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{staticClass:"isabl-base-card",attrs:{"flat":"","data-test":"biomodel-tree"}},[_c('base-section-title',{attrs:{"show-more":_vm.showTree},on:{"toggle-show-more":function($event){_vm.showTree = !_vm.showTree}},scopedSlots:_vm._u([{key:"title",fn:function(){return [_vm._v("Samples Tree")]},proxy:true},{key:"actions",fn:function(){return [_c('div',[(_vm.isBigTree)?_c('v-btn',{staticClass:"table-action-btn pull-right ma-0",attrs:{"fab":"","outlined":"","color":"primary"},on:{"click":function($event){_vm.showFullHeight = !_vm.showFullHeight
300911
301051
  _vm.scrollToCurrentNode()}}},[_c('v-icon',{attrs:{"color":"primary"}},[_vm._v(_vm._s(_vm.showFullHeight ? 'expand_less' : 'expand_more'))])],1):_vm._e()],1)]},proxy:true}])}),_c('v-row',{directives:[{name:"show",rawName:"v-show",value:(_vm.showTree),expression:"showTree"}],staticClass:"individual-tree-div ma-0",style:(_vm.showFullHeight ? '' : 'max-height: 300px;'),attrs:{"id":"tree-div"}},[_c('v-col',{staticClass:"individual-tree text-center pa-0 ma-0"})],1)],1)}
300912
- var BioModelTreevue_type_template_id_6a6ea313_staticRenderFns = []
301052
+ var BioModelTreevue_type_template_id_50c9e1d2_staticRenderFns = []
300913
301053
 
300914
301054
 
300915
- // CONCATENATED MODULE: ./src/components/bioModels/BioModelTree.vue?vue&type=template&id=6a6ea313&
301055
+ // CONCATENATED MODULE: ./src/components/bioModels/BioModelTree.vue?vue&type=template&id=50c9e1d2&
300916
301056
 
300917
301057
  // 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/bioModels/BioModelTree.vue?vue&type=script&lang=js&
300918
301058
  var cov_2f0u9tmiep = function () {
300919
301059
  var path = "/Users/arangooj/papaemme/isabl_web/src/components/bioModels/BioModelTree.vue";
300920
- var hash = "51a5a4292862681da49328c1d173d15fd125ba9d";
301060
+ var hash = "35800f777c9e06999d7627afedbe72c07beb2e2a";
300921
301061
  var global = new Function("return this")();
300922
301062
  var gcv = "__coverage__";
300923
301063
  var coverageData = {
@@ -302959,7 +303099,7 @@ var cov_2f0u9tmiep = function () {
302959
303099
  column: 6
302960
303100
  },
302961
303101
  end: {
302962
- line: 579,
303102
+ line: 581,
302963
303103
  column: 7
302964
303104
  }
302965
303105
  },
@@ -302989,87 +303129,97 @@ var cov_2f0u9tmiep = function () {
302989
303129
  column: 8
302990
303130
  },
302991
303131
  end: {
303132
+ line: 576,
303133
+ column: 50
303134
+ }
303135
+ },
303136
+ "207": {
303137
+ start: {
302992
303138
  line: 578,
303139
+ column: 8
303140
+ },
303141
+ end: {
303142
+ line: 580,
302993
303143
  column: 10
302994
303144
  }
302995
303145
  },
302996
- "207": {
303146
+ "208": {
302997
303147
  start: {
302998
- line: 582,
303148
+ line: 584,
302999
303149
  column: 6
303000
303150
  },
303001
303151
  end: {
303002
- line: 588,
303152
+ line: 590,
303003
303153
  column: 8
303004
303154
  }
303005
303155
  },
303006
- "208": {
303156
+ "209": {
303007
303157
  start: {
303008
- line: 583,
303158
+ line: 585,
303009
303159
  column: 8
303010
303160
  },
303011
303161
  end: {
303012
- line: 587,
303162
+ line: 589,
303013
303163
  column: 17
303014
303164
  }
303015
303165
  },
303016
- "209": {
303166
+ "210": {
303017
303167
  start: {
303018
- line: 584,
303168
+ line: 586,
303019
303169
  column: 10
303020
303170
  },
303021
303171
  end: {
303022
- line: 587,
303172
+ line: 589,
303023
303173
  column: 17
303024
303174
  }
303025
303175
  },
303026
- "210": {
303176
+ "211": {
303027
303177
  start: {
303028
- line: 585,
303178
+ line: 587,
303029
303179
  column: 12
303030
303180
  },
303031
303181
  end: {
303032
- line: 586,
303182
+ line: 588,
303033
303183
  column: 39
303034
303184
  }
303035
303185
  },
303036
- "211": {
303186
+ "212": {
303037
303187
  start: {
303038
- line: 591,
303188
+ line: 593,
303039
303189
  column: 23
303040
303190
  },
303041
303191
  end: {
303042
- line: 601,
303192
+ line: 603,
303043
303193
  column: 7
303044
303194
  }
303045
303195
  },
303046
- "212": {
303196
+ "213": {
303047
303197
  start: {
303048
- line: 592,
303198
+ line: 594,
303049
303199
  column: 20
303050
303200
  },
303051
303201
  end: {
303052
- line: 592,
303202
+ line: 594,
303053
303203
  column: 48
303054
303204
  }
303055
303205
  },
303056
- "213": {
303206
+ "214": {
303057
303207
  start: {
303058
- line: 593,
303208
+ line: 595,
303059
303209
  column: 8
303060
303210
  },
303061
303211
  end: {
303062
- line: 600,
303212
+ line: 602,
303063
303213
  column: 11
303064
303214
  }
303065
303215
  },
303066
- "214": {
303216
+ "215": {
303067
303217
  start: {
303068
- line: 602,
303218
+ line: 604,
303069
303219
  column: 6
303070
303220
  },
303071
303221
  end: {
303072
- line: 615,
303222
+ line: 617,
303073
303223
  column: 7
303074
303224
  }
303075
303225
  }
@@ -304173,7 +304323,7 @@ var cov_2f0u9tmiep = function () {
304173
304323
  column: 19
304174
304324
  },
304175
304325
  end: {
304176
- line: 580,
304326
+ line: 582,
304177
304327
  column: 5
304178
304328
  }
304179
304329
  },
@@ -304183,121 +304333,121 @@ var cov_2f0u9tmiep = function () {
304183
304333
  name: "(anonymous_46)",
304184
304334
  decl: {
304185
304335
  start: {
304186
- line: 581,
304336
+ line: 583,
304187
304337
  column: 4
304188
304338
  },
304189
304339
  end: {
304190
- line: 581,
304340
+ line: 583,
304191
304341
  column: 5
304192
304342
  }
304193
304343
  },
304194
304344
  loc: {
304195
304345
  start: {
304196
- line: 581,
304346
+ line: 583,
304197
304347
  column: 26
304198
304348
  },
304199
304349
  end: {
304200
- line: 589,
304350
+ line: 591,
304201
304351
  column: 5
304202
304352
  }
304203
304353
  },
304204
- line: 581
304354
+ line: 583
304205
304355
  },
304206
304356
  "47": {
304207
304357
  name: "(anonymous_47)",
304208
304358
  decl: {
304209
304359
  start: {
304210
- line: 582,
304360
+ line: 584,
304211
304361
  column: 21
304212
304362
  },
304213
304363
  end: {
304214
- line: 582,
304364
+ line: 584,
304215
304365
  column: 22
304216
304366
  }
304217
304367
  },
304218
304368
  loc: {
304219
304369
  start: {
304220
- line: 582,
304370
+ line: 584,
304221
304371
  column: 27
304222
304372
  },
304223
304373
  end: {
304224
- line: 588,
304374
+ line: 590,
304225
304375
  column: 7
304226
304376
  }
304227
304377
  },
304228
- line: 582
304378
+ line: 584
304229
304379
  },
304230
304380
  "48": {
304231
304381
  name: "(anonymous_48)",
304232
304382
  decl: {
304233
304383
  start: {
304234
- line: 584,
304384
+ line: 586,
304235
304385
  column: 21
304236
304386
  },
304237
304387
  end: {
304238
- line: 584,
304388
+ line: 586,
304239
304389
  column: 22
304240
304390
  }
304241
304391
  },
304242
304392
  loc: {
304243
304393
  start: {
304244
- line: 584,
304394
+ line: 586,
304245
304395
  column: 27
304246
304396
  },
304247
304397
  end: {
304248
- line: 587,
304398
+ line: 589,
304249
304399
  column: 11
304250
304400
  }
304251
304401
  },
304252
- line: 584
304402
+ line: 586
304253
304403
  },
304254
304404
  "49": {
304255
304405
  name: "(anonymous_49)",
304256
304406
  decl: {
304257
304407
  start: {
304258
- line: 590,
304408
+ line: 592,
304259
304409
  column: 4
304260
304410
  },
304261
304411
  end: {
304262
- line: 590,
304412
+ line: 592,
304263
304413
  column: 5
304264
304414
  }
304265
304415
  },
304266
304416
  loc: {
304267
304417
  start: {
304268
- line: 590,
304418
+ line: 592,
304269
304419
  column: 18
304270
304420
  },
304271
304421
  end: {
304272
- line: 616,
304422
+ line: 618,
304273
304423
  column: 5
304274
304424
  }
304275
304425
  },
304276
- line: 590
304426
+ line: 592
304277
304427
  },
304278
304428
  "50": {
304279
304429
  name: "(anonymous_50)",
304280
304430
  decl: {
304281
304431
  start: {
304282
- line: 591,
304432
+ line: 593,
304283
304433
  column: 23
304284
304434
  },
304285
304435
  end: {
304286
- line: 591,
304436
+ line: 593,
304287
304437
  column: 24
304288
304438
  }
304289
304439
  },
304290
304440
  loc: {
304291
304441
  start: {
304292
- line: 591,
304442
+ line: 593,
304293
304443
  column: 45
304294
304444
  },
304295
304445
  end: {
304296
- line: 601,
304446
+ line: 603,
304297
304447
  column: 7
304298
304448
  }
304299
304449
  },
304300
- line: 591
304450
+ line: 593
304301
304451
  }
304302
304452
  },
304303
304453
  branchMap: {
@@ -306000,7 +306150,7 @@ var cov_2f0u9tmiep = function () {
306000
306150
  column: 6
306001
306151
  },
306002
306152
  end: {
306003
- line: 579,
306153
+ line: 581,
306004
306154
  column: 7
306005
306155
  }
306006
306156
  },
@@ -306011,7 +306161,7 @@ var cov_2f0u9tmiep = function () {
306011
306161
  column: 6
306012
306162
  },
306013
306163
  end: {
306014
- line: 579,
306164
+ line: 581,
306015
306165
  column: 7
306016
306166
  }
306017
306167
  }, {
@@ -306020,7 +306170,7 @@ var cov_2f0u9tmiep = function () {
306020
306170
  column: 6
306021
306171
  },
306022
306172
  end: {
306023
- line: 579,
306173
+ line: 581,
306024
306174
  column: 7
306025
306175
  }
306026
306176
  }],
@@ -306029,68 +306179,68 @@ var cov_2f0u9tmiep = function () {
306029
306179
  "52": {
306030
306180
  loc: {
306031
306181
  start: {
306032
- line: 583,
306182
+ line: 585,
306033
306183
  column: 8
306034
306184
  },
306035
306185
  end: {
306036
- line: 587,
306186
+ line: 589,
306037
306187
  column: 17
306038
306188
  }
306039
306189
  },
306040
306190
  type: "if",
306041
306191
  locations: [{
306042
306192
  start: {
306043
- line: 583,
306193
+ line: 585,
306044
306194
  column: 8
306045
306195
  },
306046
306196
  end: {
306047
- line: 587,
306197
+ line: 589,
306048
306198
  column: 17
306049
306199
  }
306050
306200
  }, {
306051
306201
  start: {
306052
- line: 583,
306202
+ line: 585,
306053
306203
  column: 8
306054
306204
  },
306055
306205
  end: {
306056
- line: 587,
306206
+ line: 589,
306057
306207
  column: 17
306058
306208
  }
306059
306209
  }],
306060
- line: 583
306210
+ line: 585
306061
306211
  },
306062
306212
  "53": {
306063
306213
  loc: {
306064
306214
  start: {
306065
- line: 593,
306215
+ line: 595,
306066
306216
  column: 15
306067
306217
  },
306068
306218
  end: {
306069
- line: 600,
306219
+ line: 602,
306070
306220
  column: 11
306071
306221
  }
306072
306222
  },
306073
306223
  type: "cond-expr",
306074
306224
  locations: [{
306075
306225
  start: {
306076
- line: 594,
306226
+ line: 596,
306077
306227
  column: 12
306078
306228
  },
306079
306229
  end: {
306080
- line: 594,
306230
+ line: 596,
306081
306231
  column: 14
306082
306232
  }
306083
306233
  }, {
306084
306234
  start: {
306085
- line: 595,
306235
+ line: 597,
306086
306236
  column: 12
306087
306237
  },
306088
306238
  end: {
306089
- line: 600,
306239
+ line: 602,
306090
306240
  column: 11
306091
306241
  }
306092
306242
  }],
306093
- line: 593
306243
+ line: 595
306094
306244
  }
306095
306245
  },
306096
306246
  s: {
@@ -306308,7 +306458,8 @@ var cov_2f0u9tmiep = function () {
306308
306458
  "211": 0,
306309
306459
  "212": 0,
306310
306460
  "213": 0,
306311
- "214": 0
306461
+ "214": 0,
306462
+ "215": 0
306312
306463
  },
306313
306464
  f: {
306314
306465
  "0": 0,
@@ -306423,13 +306574,13 @@ var cov_2f0u9tmiep = function () {
306423
306574
  version: 3,
306424
306575
  sources: ["BioModelTree.vue"],
306425
306576
  names: [],
306426
- mappings: ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA;AACA;AACA;AACA;;AAEA;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;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;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;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;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;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;;AAEA;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;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;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;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;;AAEA;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",
306577
+ mappings: ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA;AACA;AACA;AACA;;AAEA;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;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;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;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;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;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;;AAEA;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;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;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;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;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;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",
306427
306578
  file: "BioModelTree.vue",
306428
306579
  sourceRoot: "src/components/bioModels",
306429
- sourcesContent: ["<template>\n <v-card\n flat\n class=\"isabl-base-card\"\n data-test=\"biomodel-tree\"\n >\n <base-section-title\n :show-more=\"showTree\"\n @toggle-show-more=\"showTree = !showTree\"\n >\n <template v-slot:title>Samples Tree</template>\n <template v-slot:actions>\n <div>\n <v-btn\n v-if=\"isBigTree\"\n class=\"table-action-btn pull-right ma-0\"\n fab\n outlined\n color=\"primary\"\n @click=\"\n showFullHeight = !showFullHeight\n scrollToCurrentNode()\n \"\n >\n <v-icon color=\"primary\">{{ showFullHeight ? 'expand_less' : 'expand_more' }}</v-icon>\n </v-btn>\n </div>\n </template>\n </base-section-title>\n\n <!-- Graph -->\n <v-row\n v-show=\"showTree\"\n id=\"tree-div\"\n :style=\"showFullHeight ? '' : 'max-height: 300px;'\"\n class=\"individual-tree-div ma-0\"\n >\n <v-col class=\"individual-tree text-center pa-0 ma-0\" />\n </v-row>\n\n </v-card>\n</template>\n\n<script>\n/*\n Vue implementation of D3 Tree from:\n https://beta.observablehq.com/@asktree/interactive-tree-diagram-d3v4-v5\n*/\n\nimport { fetchIndividualTree } from '@/utils/api'\nimport { mapGetters } from 'vuex'\nimport { SHOW_ALERT } from '@/store/actions/alert'\nimport { SHOW_PANEL } from '@/store/actions/panels'\nimport BasePanel from '@/components/base/BasePanel.vue'\nimport BaseSectionTitle from '@/components/base/BaseSectionTitle'\nimport {\n tree as d3Tree,\n event as d3Event,\n select as d3Select,\n hierarchy as d3Hierarchy,\n linkHorizontal as d3linkHorizontal\n} from 'd3'\n\nexport default {\n name: 'BioModelTree',\n components: {\n BasePanel,\n BaseSectionTitle\n },\n data() {\n const { treeIcons } = this.$settings\n return {\n loading: false,\n duration: 0,\n data: null,\n root: null,\n tree: null,\n graph: null,\n species: null,\n dataNodes: null,\n showTree: true,\n isBigTree: false,\n showFullHeight: true,\n skipToScrollNode: false,\n currentNode: null,\n nodeSize: Object.keys(treeIcons).length ? 15 : 5,\n margin: { top: 20, bottom: 20, right: 0, left: 105 },\n diagonal: d3linkHorizontal()\n .x(d => d.y)\n .y(d => d.x),\n treeIcons\n }\n },\n computed: {\n ...mapGetters({\n currentModel: 'bioModelId',\n individual: 'individualId'\n })\n },\n watch: {\n individual(value, oldValue) {\n if (value !== oldValue) {\n this.fetchData()\n }\n },\n currentModel() {\n this.data && this.update(this.data)\n }\n },\n mounted() {\n this.fetchData()\n },\n methods: {\n buildTree() {\n let dx = Object.keys(this.treeIcons).length ? this.nodeSize + 4 : 18\n let dy = 0\n let iconSize = this.nodeSize\n\n // set width\n this.width = 540 - this.margin.right - this.margin.left\n this.tree = d3Tree()\n .nodeSize([dx, dy])\n .separation((a, b) => (a.parent == b.parent ? 1.75 : 2.5))\n\n // clear div\n let div = d3Select(this.$el).select('.individual-tree')\n div.selectAll('svg').remove()\n\n // create svg\n this.svg = div\n .append('svg')\n .attr('width', this.width)\n .attr('height', dx)\n .attr('viewBox', [-this.margin.left, -this.margin.top, this.width, dx])\n .style('font', '10px sans-serif')\n .style('user-select', 'none')\n\n // create filters\n this.svg\n .append('svg:filter')\n .attr('id', 'invertColor')\n .append('feColorMatrix')\n .attr('in', 'SourceGraphic')\n .attr('type', 'matrix')\n .attr('values', '-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0')\n\n // create image definitions\n const defs = this.svg.append('svg:defs')\n Object.keys(this.treeIcons).forEach(model => {\n const pattern = defs\n .append('svg:pattern')\n .attr('id', `icon-${model}`)\n .attr('width', iconSize)\n .attr('height', iconSize)\n .attr('patternUnits', 'objectBoundingBox')\n\n pattern\n .append('rect')\n .attr('width', '100%')\n .attr('height', '100%')\n .attr('fill', 'var(--v-primary-base)')\n\n pattern\n .append('svg:image')\n .attr('xlink:href', this.treeIcons[model])\n .attr('width', iconSize)\n .attr('height', iconSize)\n .attr('x', iconSize / 2)\n .attr('y', iconSize / 2)\n .attr('filter', 'url(#invertColor)')\n })\n\n // create links\n this.gLink = this.svg\n .append('g')\n .attr('fill', 'none')\n .attr('stroke', '#555')\n .attr('stroke-opacity', 0.4)\n .attr('stroke-width', 1.5)\n\n // create tooltip\n this.tooltip = d3Select('body')\n .append('div')\n .style('position', 'absolute')\n .style('z-index', '9999')\n .style('visibility', 'hidden')\n\n // create nodes\n this.gNode = this.svg.append('g')\n\n // build root\n this.root = d3Hierarchy(this.data, d => d.children)\n this.root.x0 = dy\n this.root.y0 = 0\n this.root.descendants().forEach((d, i) => {\n d.id = i\n d.collapsed = false\n d._children = d.children\n\n // collapse samples with too many experiments\n if (d.depth !== 0 && d.children ? d.children.length > 10 : false) {\n d.children = null\n d.collapsed = true\n }\n\n // by default hide tree if too many samples\n if (d.depth === 0 && d.children && d.children.length > 10) {\n this.showFullHeight = false\n this.isBigTree = true\n }\n })\n\n this.update(this.root)\n },\n async fetchData() {\n if (this.individual) {\n this.loading = true\n let individual = await fetchIndividualTree(this.individual)\n this.species = individual.species\n\n // Format Individual Tree\n let individualNode = {}\n individualNode.id = individual.system_id\n individualNode.uuid = individual.uuid\n individualNode.name = individual.system_id\n individualNode.parent = null\n individualNode.individual = individual\n individualNode.class = 'individual'\n if (individual.species === 'MOUSE') {\n individualNode.img = 'mouse'\n } else if (individual.species === 'HUMAN') {\n if (individual.gender === 'FEMALE') {\n individualNode.img = 'female'\n } else {\n individualNode.img = 'male'\n }\n } else {\n individualNode.img = 'alien'\n }\n individualNode.children = individual.sample_set.map(sample => {\n // Samples Children\n let sampleNode = {}\n sampleNode.id = sample.system_id\n sampleNode.uuid = sample.uuid\n sampleNode.name = sample.system_id.split('_')\n sampleNode.name = sampleNode.name[sampleNode.name.length - 1]\n sampleNode.parent = individual.system_id\n sampleNode.sample = sample\n sampleNode.individual = individual\n sampleNode.class = 'sample'\n\n if (sample.category === 'TUMOR') {\n sampleNode.img = 'tumor'\n } else {\n sampleNode.img = 'normal'\n }\n\n let aliquots_ids = [\n ...new Set(sample.experiment_set.map(e => e.aliquot_id))\n ]\n\n sampleNode.children = aliquots_ids\n .map(aliquot_id => {\n // Aliquot children\n let aliquotNode = {}\n aliquotNode.aliquot_id = aliquot_id\n aliquotNode.name = ''\n aliquotNode.parent = sample.system_id\n aliquotNode.sample = sample\n aliquotNode.sampleNode = sampleNode\n aliquotNode.individual = individual\n aliquotNode.class = 'aliquot'\n aliquotNode.img = 'aliquot'\n aliquotNode.children = []\n\n sample.experiment_set.map(experiment => {\n // Experiment Children\n if (experiment.aliquot_id === aliquot_id) {\n let experimentNode = {}\n experimentNode.parent = sample.system_id\n experimentNode.sample = sample\n experimentNode.individual = individual\n experimentNode.aliquot_id = experiment.aliquot_id\n experimentNode.id = experiment.system_id\n experimentNode.uuid = experiment.uuid\n experimentNode.class = 'experiment'\n experimentNode.experiment = experiment\n\n let name = experiment.system_id.split('_')\n experimentNode.name = name[name.length - 1]\n\n if (experiment.custom_fields.is_pdx) {\n experimentNode.img = 'mouse'\n } else {\n if (experiment.technique.category === 'IMG') {\n experimentNode.img = 'image'\n } else if (experiment.technique.category === 'TISSUE') {\n experimentNode.img = 'tissue'\n if (experiment.technique.method === 'CG') {\n experimentNode.img = 'chromosome'\n }\n if (experiment.technique.method === 'HP') {\n experimentNode.img = 'tissue'\n }\n if (experiment.technique.method === 'FC') {\n experimentNode.img = 'cells'\n }\n } else if (experiment.technique.category === 'RNA') {\n experimentNode.img = 'rna'\n } else if (experiment.technique.category === 'DNA') {\n experimentNode.img = 'dna'\n } else {\n experimentNode.img = 'dna'\n }\n }\n\n // legacy leukgen ID\n if (experiment.system_id.split('-').length === 7) {\n aliquotNode.name = experiment.system_id.split('-')[4]\n experimentNode.name = experiment.system_id\n .split('-')\n .slice(5, 7)\n .join('-')\n } else {\n aliquotNode.name = experiment.system_id.split('_')\n aliquotNode.name = parseInt(\n aliquotNode.name[aliquotNode.name.length - 2]\n )\n }\n aliquotNode.children.push(experimentNode)\n }\n })\n return aliquotNode\n })\n .sort((a, b) => a.name - b.name)\n return sampleNode\n })\n\n this.data = individualNode\n this.dataNodes = individualNode.children.reduce(\n (totalNodes, nodeInChildren) => {\n return totalNodes + nodeInChildren.children.length\n },\n 0\n )\n\n this.buildTree()\n this.loading = false\n }\n },\n update(source) {\n const duration = d3Event && d3Event.altKey ? 2500 : 250\n const nodes = this.root.descendants().reverse()\n const links = this.root.links()\n\n // Compute the new tree layout.\n this.tree(this.root)\n\n let left = this.root\n let right = this.root\n this.root.eachBefore(node => {\n if (node.x < left.x) left = node\n if (node.x > right.x) right = node\n })\n\n const height = right.x - left.x + this.margin.top + this.margin.bottom\n\n this.svg\n .transition()\n .duration(duration)\n .attr('height', height)\n .attr('viewBox', [\n -this.margin.left,\n left.x - this.margin.top,\n this.width,\n height\n ])\n .tween(\n 'resize',\n window.ResizeObserver ? null : () => () => this.svg.dispatch('toggle')\n )\n\n // Normalize for fixed-depth.\n nodes.forEach(d => {\n d.y = {\n individual: 0,\n sample: 150,\n aliquot: 225,\n experiment: 300\n }[d.data.class]\n })\n\n // ****************** Nodes section ***************************\n\n // Update the nodes...\n let node = this.gNode.selectAll('g').data(nodes, d => d.id)\n\n // Enter any new modes at the parent's previous position.\n let nodeEnter = node\n .enter()\n .append('g')\n .attr('class', d => `node ${d.data.class}`)\n .attr('transform', () => `translate(${source.y0},${source.x0})`)\n\n const circles = nodeEnter\n .append('circle')\n .attr('cursor', d => (d.data.class !== 'aliquot' ? 'pointer' : null))\n .attr('class', 'node shades--text')\n\n circles.style('fill', d =>\n this.treeIcons[d.data.img] ? `url(#icon-${d.data.img})` : ''\n )\n\n nodeEnter\n .on('click', this.changeModel)\n // tooltip, see https://stackoverflow.com/questions/10805184\n .on('mouseover', d => {\n if (d.data.class === 'aliquot' && d.parent.children.length < 2) return\n\n let leftPaddings = { experiment: 300, individual: 120, sample: 200 }\n this.tooltip\n .html(this.getTooltip(d))\n .style('visibility', 'visible')\n .attr('transform', `translate(${d.y},${d.x})`)\n .style('top', `${d3Event.pageY + 20}px`)\n .style('left', `${d3Event.pageX - leftPaddings[d.data.class]}px`)\n })\n .on('mouseout', () => this.tooltip.style('visibility', 'hidden'))\n\n // Add labels for the nodes\n nodeEnter\n .append('text')\n .on('click', this.onTextClick)\n .attr('dy', '.35em')\n .attr('x', -13)\n .attr('text-anchor', d => (d.children || d._children ? 'end' : 'end'))\n .text(d =>\n d.data.class === 'aliquot' && d.parent.children.length < 2\n ? ''\n : d.data.name\n )\n\n // Add collapse text to indicate node can be opened\n nodeEnter\n .append('text')\n .attr('dy', 0)\n .attr('x', 26)\n .text('...')\n .attr('class', 'collapse-text')\n\n // UPDATE\n let nodeUpdate = nodeEnter.merge(node)\n\n // Transition to the proper position for the node\n nodeUpdate\n .transition()\n .duration(this.duration)\n .attr('transform', d => `translate(${d.y},${d.x})`)\n\n // Update the node attributes and style\n nodeUpdate\n .select('.node')\n .attr('r', d => (d.data.class !== 'aliquot' ? this.nodeSize : 5))\n .attr('cx', this.nodeSize / 2)\n .attr('cy', 0)\n .attr('data-intercom-target', d => `tree-node-circle-${d.data.id}`)\n .attr('fill', d =>\n d._children && !d.children ? 'gray' : 'var(--v-primary-base)'\n )\n .attr('opacity', d =>\n d.data.class === 'aliquot' && d.parent.children.length < 2 ? 0 : 1\n )\n .style('stroke', d => {\n if (\n d.data.id === this.currentModel ||\n d.data.uuid === this.currentModel\n ) {\n this.currentNode = d\n if (!this.skipToScrollNode) {\n this.scrollToCurrentNode()\n }\n this.skipToScrollNode = false\n return 'var(--v-secondary-base)'\n }\n return 'transparent'\n })\n\n // Only show dots for collapsed and collapsible nodes\n nodeUpdate\n .select('text.collapse-text')\n .attr('visibility', d =>\n d.collapsed && d._children ? 'visible' : 'hidden'\n )\n\n // Remove any exiting nodes\n let nodeExit = node\n .exit()\n .transition()\n .duration(this.duration)\n .attr('transform', `translate(${source.y},${source.x})`)\n .remove()\n\n // On exit reduce the node circles size to 0\n nodeExit.select('.node').attr('r', 1e-6)\n\n // On exit reduce the opacity of text labels\n nodeExit.select('text').style('fill-opacity', 1e-6)\n\n // ================ links section ================\n\n // Update the links\n let link = this.gLink.selectAll('path.link').data(links, d => d.id)\n\n // Enter any new links at the parent's previous position.\n let linkEnter = link\n .enter()\n .insert('path', 'g')\n .attr('class', 'link')\n\n // UPDATE\n let linkUpdate = linkEnter.merge(link)\n\n // Transition back to the parent element position\n linkUpdate\n .transition()\n .duration(this.duration)\n .attr('d', this.diagonal)\n\n // Remove any exiting links\n link\n .exit()\n .transition()\n .duration(this.duration)\n .remove()\n\n // Store the old positions for transition.\n nodes.forEach(d => {\n d.x0 = d.x\n d.y0 = d.y\n })\n\n this.$emit('update-size')\n },\n onTextClick(d) {\n this.collapseBranch(d)\n if (!d._children && d.data.id) {\n this.$copyText(d.data.id).then(\n () => {\n this.$store.dispatch(SHOW_ALERT, {\n message: 'Copied System ID to clipboard!'\n })\n },\n () => {\n this.$store.dispatch(SHOW_ALERT, {\n error: 'System ID could not be copied to clipboard'\n })\n }\n )\n }\n },\n collapseBranch(d) {\n d.children = d.children ? null : d._children\n d.collapsed = !d.collapsed\n this.update(d)\n },\n changeModel(d) {\n if (d.data.id) {\n this.skipToScrollNode = true // don't scroll to node when click\n\n // Track individual tree usage\n window.analytics.track('Browsed Individual Tree', {\n model: d.data.class,\n record: d.data.id\n })\n\n this.$store.dispatch(SHOW_PANEL, {\n bioModel: d.data.id\n })\n }\n },\n scrollToCurrentNode() {\n this.$nextTick(() => {\n if (!this.showFullHeight)\n setTimeout(() => {\n document.getElementById('tree-div').scrollTop =\n this.currentNode.x0 + 395 // 395 is a function of the max height\n }, 100) // this delay was determined kind of experimentally\n })\n },\n getTooltip(d) {\n const keyValue = (key, verboseName) => {\n let value = this.$get(d.data, key, null)\n return value === null\n ? ''\n : `\n <div class=\"layout row ma-3\" style=\"max-width: 100%\"\">\n <div class=\"flex xs5\" style=\"width: 100%\">${verboseName}</div>\n <div class=\"flex xs7\" style=\"width: 100%\"><b>${value}</b></div>\n </div>\n `\n }\n return `\n <div class=\"v-tooltip__content tree-tooltip\" style=\"min-width: 350px;\">\n ${keyValue('experiment.system_id', 'System ID')}\n ${keyValue('experiment.identifier', 'Experiment ID')}\n ${keyValue('aliquot_id', 'Aliquot ID')}\n ${keyValue('sample.identifier', 'Sample ID')}\n ${keyValue('individual.identifier', 'Individual ID')}\n ${keyValue('experiment.technique.method', 'Method')}\n ${keyValue('experiment.technique.name', 'Technique Name')}\n ${keyValue('sample.disease.acronym', 'Disease')}\n ${keyValue('individual.species', 'Species')}\n ${keyValue('individual.center.acronym', 'Center')}\n </div>\n `\n }\n }\n}\n</script>\n\n<style lang=\"scss\">\n.tree-tooltip.v-tooltip__content {\n color: white;\n padding: 20px;\n opacity: 1;\n font-size: 12px;\n overflow: hidden;\n}\n.node-tooltip {\n background: rgba($color: #000000, $alpha: 0.8);\n}\n.individual-tree-div {\n overflow-x: scroll;\n margin: auto;\n .node {\n stroke-width: 3px;\n text {\n font-size: 14px;\n font-weight: 300;\n fill: black !important;\n cursor: pointer;\n &.collapse-text {\n font-size: 20px;\n font-weight: 200;\n cursor: default;\n }\n }\n &.experiment text {\n cursor: default;\n }\n }\n .link {\n fill: none;\n stroke-width: 1.5px;\n stroke: #aaa;\n }\n}\n</style>\n"]
306580
+ sourcesContent: ["<template>\n <v-card\n flat\n class=\"isabl-base-card\"\n data-test=\"biomodel-tree\"\n >\n <base-section-title\n :show-more=\"showTree\"\n @toggle-show-more=\"showTree = !showTree\"\n >\n <template v-slot:title>Samples Tree</template>\n <template v-slot:actions>\n <div>\n <v-btn\n v-if=\"isBigTree\"\n class=\"table-action-btn pull-right ma-0\"\n fab\n outlined\n color=\"primary\"\n @click=\"\n showFullHeight = !showFullHeight\n scrollToCurrentNode()\n \"\n >\n <v-icon color=\"primary\">{{ showFullHeight ? 'expand_less' : 'expand_more' }}</v-icon>\n </v-btn>\n </div>\n </template>\n </base-section-title>\n\n <!-- Graph -->\n <v-row\n v-show=\"showTree\"\n id=\"tree-div\"\n :style=\"showFullHeight ? '' : 'max-height: 300px;'\"\n class=\"individual-tree-div ma-0\"\n >\n <v-col class=\"individual-tree text-center pa-0 ma-0\" />\n </v-row>\n\n </v-card>\n</template>\n\n<script>\n/*\n Vue implementation of D3 Tree from:\n https://beta.observablehq.com/@asktree/interactive-tree-diagram-d3v4-v5\n*/\n\nimport { fetchIndividualTree } from '@/utils/api'\nimport { mapGetters } from 'vuex'\nimport { SHOW_ALERT } from '@/store/actions/alert'\nimport { SHOW_PANEL } from '@/store/actions/panels'\nimport BasePanel from '@/components/base/BasePanel.vue'\nimport BaseSectionTitle from '@/components/base/BaseSectionTitle'\nimport {\n tree as d3Tree,\n event as d3Event,\n select as d3Select,\n hierarchy as d3Hierarchy,\n linkHorizontal as d3linkHorizontal\n} from 'd3'\n\nexport default {\n name: 'BioModelTree',\n components: {\n BasePanel,\n BaseSectionTitle\n },\n data() {\n const { treeIcons } = this.$settings\n return {\n loading: false,\n duration: 0,\n data: null,\n root: null,\n tree: null,\n graph: null,\n species: null,\n dataNodes: null,\n showTree: true,\n isBigTree: false,\n showFullHeight: true,\n skipToScrollNode: false,\n currentNode: null,\n nodeSize: Object.keys(treeIcons).length ? 15 : 5,\n margin: { top: 20, bottom: 20, right: 0, left: 105 },\n diagonal: d3linkHorizontal()\n .x(d => d.y)\n .y(d => d.x),\n treeIcons\n }\n },\n computed: {\n ...mapGetters({\n currentModel: 'bioModelId',\n individual: 'individualId'\n })\n },\n watch: {\n individual(value, oldValue) {\n if (value !== oldValue) {\n this.fetchData()\n }\n },\n currentModel() {\n this.data && this.update(this.data)\n }\n },\n mounted() {\n this.fetchData()\n },\n methods: {\n buildTree() {\n let dx = Object.keys(this.treeIcons).length ? this.nodeSize + 4 : 18\n let dy = 0\n let iconSize = this.nodeSize\n\n // set width\n this.width = 540 - this.margin.right - this.margin.left\n this.tree = d3Tree()\n .nodeSize([dx, dy])\n .separation((a, b) => (a.parent == b.parent ? 1.75 : 2.5))\n\n // clear div\n let div = d3Select(this.$el).select('.individual-tree')\n div.selectAll('svg').remove()\n\n // create svg\n this.svg = div\n .append('svg')\n .attr('width', this.width)\n .attr('height', dx)\n .attr('viewBox', [-this.margin.left, -this.margin.top, this.width, dx])\n .style('font', '10px sans-serif')\n .style('user-select', 'none')\n\n // create filters\n this.svg\n .append('svg:filter')\n .attr('id', 'invertColor')\n .append('feColorMatrix')\n .attr('in', 'SourceGraphic')\n .attr('type', 'matrix')\n .attr('values', '-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0')\n\n // create image definitions\n const defs = this.svg.append('svg:defs')\n Object.keys(this.treeIcons).forEach(model => {\n const pattern = defs\n .append('svg:pattern')\n .attr('id', `icon-${model}`)\n .attr('width', iconSize)\n .attr('height', iconSize)\n .attr('patternUnits', 'objectBoundingBox')\n\n pattern\n .append('rect')\n .attr('width', '100%')\n .attr('height', '100%')\n .attr('fill', 'var(--v-primary-base)')\n\n pattern\n .append('svg:image')\n .attr('xlink:href', this.treeIcons[model])\n .attr('width', iconSize)\n .attr('height', iconSize)\n .attr('x', iconSize / 2)\n .attr('y', iconSize / 2)\n .attr('filter', 'url(#invertColor)')\n })\n\n // create links\n this.gLink = this.svg\n .append('g')\n .attr('fill', 'none')\n .attr('stroke', '#555')\n .attr('stroke-opacity', 0.4)\n .attr('stroke-width', 1.5)\n\n // create tooltip\n this.tooltip = d3Select('body')\n .append('div')\n .style('position', 'absolute')\n .style('z-index', '9999')\n .style('visibility', 'hidden')\n\n // create nodes\n this.gNode = this.svg.append('g')\n\n // build root\n this.root = d3Hierarchy(this.data, d => d.children)\n this.root.x0 = dy\n this.root.y0 = 0\n this.root.descendants().forEach((d, i) => {\n d.id = i\n d.collapsed = false\n d._children = d.children\n\n // collapse samples with too many experiments\n if (d.depth !== 0 && d.children ? d.children.length > 10 : false) {\n d.children = null\n d.collapsed = true\n }\n\n // by default hide tree if too many samples\n if (d.depth === 0 && d.children && d.children.length > 10) {\n this.showFullHeight = false\n this.isBigTree = true\n }\n })\n\n this.update(this.root)\n },\n async fetchData() {\n if (this.individual) {\n this.loading = true\n let individual = await fetchIndividualTree(this.individual)\n this.species = individual.species\n\n // Format Individual Tree\n let individualNode = {}\n individualNode.id = individual.system_id\n individualNode.uuid = individual.uuid\n individualNode.name = individual.system_id\n individualNode.parent = null\n individualNode.individual = individual\n individualNode.class = 'individual'\n if (individual.species === 'MOUSE') {\n individualNode.img = 'mouse'\n } else if (individual.species === 'HUMAN') {\n if (individual.gender === 'FEMALE') {\n individualNode.img = 'female'\n } else {\n individualNode.img = 'male'\n }\n } else {\n individualNode.img = 'alien'\n }\n individualNode.children = individual.sample_set.map(sample => {\n // Samples Children\n let sampleNode = {}\n sampleNode.id = sample.system_id\n sampleNode.uuid = sample.uuid\n sampleNode.name = sample.system_id.split('_')\n sampleNode.name = sampleNode.name[sampleNode.name.length - 1]\n sampleNode.parent = individual.system_id\n sampleNode.sample = sample\n sampleNode.individual = individual\n sampleNode.class = 'sample'\n\n if (sample.category === 'TUMOR') {\n sampleNode.img = 'tumor'\n } else {\n sampleNode.img = 'normal'\n }\n\n let aliquots_ids = [\n ...new Set(sample.experiment_set.map(e => e.aliquot_id))\n ]\n\n sampleNode.children = aliquots_ids\n .map(aliquot_id => {\n // Aliquot children\n let aliquotNode = {}\n aliquotNode.aliquot_id = aliquot_id\n aliquotNode.name = ''\n aliquotNode.parent = sample.system_id\n aliquotNode.sample = sample\n aliquotNode.sampleNode = sampleNode\n aliquotNode.individual = individual\n aliquotNode.class = 'aliquot'\n aliquotNode.img = 'aliquot'\n aliquotNode.children = []\n\n sample.experiment_set.map(experiment => {\n // Experiment Children\n if (experiment.aliquot_id === aliquot_id) {\n let experimentNode = {}\n experimentNode.parent = sample.system_id\n experimentNode.sample = sample\n experimentNode.individual = individual\n experimentNode.aliquot_id = experiment.aliquot_id\n experimentNode.id = experiment.system_id\n experimentNode.uuid = experiment.uuid\n experimentNode.class = 'experiment'\n experimentNode.experiment = experiment\n\n let name = experiment.system_id.split('_')\n experimentNode.name = name[name.length - 1]\n\n if (experiment.custom_fields.is_pdx) {\n experimentNode.img = 'mouse'\n } else {\n if (experiment.technique.category === 'IMG') {\n experimentNode.img = 'image'\n } else if (experiment.technique.category === 'TISSUE') {\n experimentNode.img = 'tissue'\n if (experiment.technique.method === 'CG') {\n experimentNode.img = 'chromosome'\n }\n if (experiment.technique.method === 'HP') {\n experimentNode.img = 'tissue'\n }\n if (experiment.technique.method === 'FC') {\n experimentNode.img = 'cells'\n }\n } else if (experiment.technique.category === 'RNA') {\n experimentNode.img = 'rna'\n } else if (experiment.technique.category === 'DNA') {\n experimentNode.img = 'dna'\n } else {\n experimentNode.img = 'dna'\n }\n }\n\n // legacy leukgen ID\n if (experiment.system_id.split('-').length === 7) {\n aliquotNode.name = experiment.system_id.split('-')[4]\n experimentNode.name = experiment.system_id\n .split('-')\n .slice(5, 7)\n .join('-')\n } else {\n aliquotNode.name = experiment.system_id.split('_')\n aliquotNode.name = parseInt(\n aliquotNode.name[aliquotNode.name.length - 2]\n )\n }\n aliquotNode.children.push(experimentNode)\n }\n })\n return aliquotNode\n })\n .sort((a, b) => a.name - b.name)\n return sampleNode\n })\n\n this.data = individualNode\n this.dataNodes = individualNode.children.reduce(\n (totalNodes, nodeInChildren) => {\n return totalNodes + nodeInChildren.children.length\n },\n 0\n )\n\n this.buildTree()\n this.loading = false\n }\n },\n update(source) {\n const duration = d3Event && d3Event.altKey ? 2500 : 250\n const nodes = this.root.descendants().reverse()\n const links = this.root.links()\n\n // Compute the new tree layout.\n this.tree(this.root)\n\n let left = this.root\n let right = this.root\n this.root.eachBefore(node => {\n if (node.x < left.x) left = node\n if (node.x > right.x) right = node\n })\n\n const height = right.x - left.x + this.margin.top + this.margin.bottom\n\n this.svg\n .transition()\n .duration(duration)\n .attr('height', height)\n .attr('viewBox', [\n -this.margin.left,\n left.x - this.margin.top,\n this.width,\n height\n ])\n .tween(\n 'resize',\n window.ResizeObserver ? null : () => () => this.svg.dispatch('toggle')\n )\n\n // Normalize for fixed-depth.\n nodes.forEach(d => {\n d.y = {\n individual: 0,\n sample: 150,\n aliquot: 225,\n experiment: 300\n }[d.data.class]\n })\n\n // ****************** Nodes section ***************************\n\n // Update the nodes...\n let node = this.gNode.selectAll('g').data(nodes, d => d.id)\n\n // Enter any new modes at the parent's previous position.\n let nodeEnter = node\n .enter()\n .append('g')\n .attr('class', d => `node ${d.data.class}`)\n .attr('transform', () => `translate(${source.y0},${source.x0})`)\n\n const circles = nodeEnter\n .append('circle')\n .attr('cursor', d => (d.data.class !== 'aliquot' ? 'pointer' : null))\n .attr('class', 'node shades--text')\n\n circles.style('fill', d =>\n this.treeIcons[d.data.img] ? `url(#icon-${d.data.img})` : ''\n )\n\n nodeEnter\n .on('click', this.changeModel)\n // tooltip, see https://stackoverflow.com/questions/10805184\n .on('mouseover', d => {\n if (d.data.class === 'aliquot' && d.parent.children.length < 2) return\n\n let leftPaddings = { experiment: 300, individual: 120, sample: 200 }\n this.tooltip\n .html(this.getTooltip(d))\n .style('visibility', 'visible')\n .attr('transform', `translate(${d.y},${d.x})`)\n .style('top', `${d3Event.pageY + 20}px`)\n .style('left', `${d3Event.pageX - leftPaddings[d.data.class]}px`)\n })\n .on('mouseout', () => this.tooltip.style('visibility', 'hidden'))\n\n // Add labels for the nodes\n nodeEnter\n .append('text')\n .on('click', this.onTextClick)\n .attr('dy', '.35em')\n .attr('x', -13)\n .attr('text-anchor', d => (d.children || d._children ? 'end' : 'end'))\n .text(d =>\n d.data.class === 'aliquot' && d.parent.children.length < 2\n ? ''\n : d.data.name\n )\n\n // Add collapse text to indicate node can be opened\n nodeEnter\n .append('text')\n .attr('dy', 0)\n .attr('x', 26)\n .text('...')\n .attr('class', 'collapse-text')\n\n // UPDATE\n let nodeUpdate = nodeEnter.merge(node)\n\n // Transition to the proper position for the node\n nodeUpdate\n .transition()\n .duration(this.duration)\n .attr('transform', d => `translate(${d.y},${d.x})`)\n\n // Update the node attributes and style\n nodeUpdate\n .select('.node')\n .attr('r', d => (d.data.class !== 'aliquot' ? this.nodeSize : 5))\n .attr('cx', this.nodeSize / 2)\n .attr('cy', 0)\n .attr('data-intercom-target', d => `tree-node-circle-${d.data.id}`)\n .attr('fill', d =>\n d._children && !d.children ? 'gray' : 'var(--v-primary-base)'\n )\n .attr('opacity', d =>\n d.data.class === 'aliquot' && d.parent.children.length < 2 ? 0 : 1\n )\n .style('stroke', d => {\n if (\n d.data.id === this.currentModel ||\n d.data.uuid === this.currentModel\n ) {\n this.currentNode = d\n if (!this.skipToScrollNode) {\n this.scrollToCurrentNode()\n }\n this.skipToScrollNode = false\n return 'var(--v-secondary-base)'\n }\n return 'transparent'\n })\n\n // Only show dots for collapsed and collapsible nodes\n nodeUpdate\n .select('text.collapse-text')\n .attr('visibility', d =>\n d.collapsed && d._children ? 'visible' : 'hidden'\n )\n\n // Remove any exiting nodes\n let nodeExit = node\n .exit()\n .transition()\n .duration(this.duration)\n .attr('transform', `translate(${source.y},${source.x})`)\n .remove()\n\n // On exit reduce the node circles size to 0\n nodeExit.select('.node').attr('r', 1e-6)\n\n // On exit reduce the opacity of text labels\n nodeExit.select('text').style('fill-opacity', 1e-6)\n\n // ================ links section ================\n\n // Update the links\n let link = this.gLink.selectAll('path.link').data(links, d => d.id)\n\n // Enter any new links at the parent's previous position.\n let linkEnter = link\n .enter()\n .insert('path', 'g')\n .attr('class', 'link')\n\n // UPDATE\n let linkUpdate = linkEnter.merge(link)\n\n // Transition back to the parent element position\n linkUpdate\n .transition()\n .duration(this.duration)\n .attr('d', this.diagonal)\n\n // Remove any exiting links\n link\n .exit()\n .transition()\n .duration(this.duration)\n .remove()\n\n // Store the old positions for transition.\n nodes.forEach(d => {\n d.x0 = d.x\n d.y0 = d.y\n })\n\n this.$emit('update-size')\n },\n onTextClick(d) {\n this.collapseBranch(d)\n if (!d._children && d.data.id) {\n this.$copyText(d.data.id).then(\n () => {\n this.$store.dispatch(SHOW_ALERT, {\n message: 'Copied System ID to clipboard!'\n })\n },\n () => {\n this.$store.dispatch(SHOW_ALERT, {\n error: 'System ID could not be copied to clipboard'\n })\n }\n )\n }\n },\n collapseBranch(d) {\n d.children = d.children ? null : d._children\n d.collapsed = !d.collapsed\n this.update(d)\n },\n changeModel(d) {\n if (d.data.id) {\n this.skipToScrollNode = true // don't scroll to node when click\n\n // Track individual tree usage\n window.analytics.track('Browsed Individual Tree', {\n model: d.data.class,\n record: d.data.id\n })\n\n this.tooltip.style('visibility', 'hidden')\n\n this.$store.dispatch(SHOW_PANEL, {\n bioModel: d.data.id\n })\n }\n },\n scrollToCurrentNode() {\n this.$nextTick(() => {\n if (!this.showFullHeight)\n setTimeout(() => {\n document.getElementById('tree-div').scrollTop =\n this.currentNode.x0 + 395 // 395 is a function of the max height\n }, 100) // this delay was determined kind of experimentally\n })\n },\n getTooltip(d) {\n const keyValue = (key, verboseName) => {\n let value = this.$get(d.data, key, null)\n return value === null\n ? ''\n : `\n <div class=\"layout row ma-3\" style=\"max-width: 100%\"\">\n <div class=\"flex xs5\" style=\"width: 100%\">${verboseName}</div>\n <div class=\"flex xs7\" style=\"width: 100%\"><b>${value}</b></div>\n </div>\n `\n }\n return `\n <div class=\"v-tooltip__content tree-tooltip\" style=\"min-width: 350px;\">\n ${keyValue('experiment.system_id', 'System ID')}\n ${keyValue('experiment.identifier', 'Experiment ID')}\n ${keyValue('aliquot_id', 'Aliquot ID')}\n ${keyValue('sample.identifier', 'Sample ID')}\n ${keyValue('individual.identifier', 'Individual ID')}\n ${keyValue('experiment.technique.method', 'Method')}\n ${keyValue('experiment.technique.name', 'Technique Name')}\n ${keyValue('sample.disease.acronym', 'Disease')}\n ${keyValue('individual.species', 'Species')}\n ${keyValue('individual.center.acronym', 'Center')}\n </div>\n `\n }\n }\n}\n</script>\n\n<style lang=\"scss\">\n.tree-tooltip.v-tooltip__content {\n color: white;\n padding: 20px;\n opacity: 1;\n font-size: 12px;\n overflow: hidden;\n}\n.node-tooltip {\n background: rgba($color: #000000, $alpha: 0.8);\n}\n.individual-tree-div {\n overflow-x: scroll;\n margin: auto;\n .node {\n stroke-width: 3px;\n text {\n font-size: 14px;\n font-weight: 300;\n fill: black !important;\n cursor: pointer;\n &.collapse-text {\n font-size: 20px;\n font-weight: 200;\n cursor: default;\n }\n }\n &.experiment text {\n cursor: default;\n }\n }\n .link {\n fill: none;\n stroke-width: 1.5px;\n stroke: #aaa;\n }\n}\n</style>\n"]
306430
306581
  },
306431
306582
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
306432
- hash: "51a5a4292862681da49328c1d173d15fd125ba9d"
306583
+ hash: "35800f777c9e06999d7627afedbe72c07beb2e2a"
306433
306584
  };
306434
306585
  var coverage = global[gcv] || (global[gcv] = {});
306435
306586
 
@@ -307273,6 +307424,8 @@ function BioModelTreevue_type_script_lang_js_defineProperty(obj, key, value) { i
307273
307424
  record: d.data.id
307274
307425
  });
307275
307426
  cov_2f0u9tmiep.s[206]++;
307427
+ this.tooltip.style('visibility', 'hidden');
307428
+ cov_2f0u9tmiep.s[207]++;
307276
307429
  this.$store.dispatch(SHOW_PANEL, {
307277
307430
  bioModel: d.data.id
307278
307431
  });
@@ -307284,17 +307437,17 @@ function BioModelTreevue_type_script_lang_js_defineProperty(obj, key, value) { i
307284
307437
  var _this4 = this;
307285
307438
 
307286
307439
  cov_2f0u9tmiep.f[46]++;
307287
- cov_2f0u9tmiep.s[207]++;
307440
+ cov_2f0u9tmiep.s[208]++;
307288
307441
  this.$nextTick(function () {
307289
307442
  cov_2f0u9tmiep.f[47]++;
307290
- cov_2f0u9tmiep.s[208]++;
307443
+ cov_2f0u9tmiep.s[209]++;
307291
307444
 
307292
307445
  if (!_this4.showFullHeight) {
307293
307446
  cov_2f0u9tmiep.b[52][0]++;
307294
- cov_2f0u9tmiep.s[209]++;
307447
+ cov_2f0u9tmiep.s[210]++;
307295
307448
  setTimeout(function () {
307296
307449
  cov_2f0u9tmiep.f[48]++;
307297
- cov_2f0u9tmiep.s[210]++;
307450
+ cov_2f0u9tmiep.s[211]++;
307298
307451
  document.getElementById('tree-div').scrollTop = _this4.currentNode.x0 + 395; // 395 is a function of the max height
307299
307452
  }, 100);
307300
307453
  } else {
@@ -307307,16 +307460,16 @@ function BioModelTreevue_type_script_lang_js_defineProperty(obj, key, value) { i
307307
307460
  var _this5 = this;
307308
307461
 
307309
307462
  cov_2f0u9tmiep.f[49]++;
307310
- cov_2f0u9tmiep.s[211]++;
307463
+ cov_2f0u9tmiep.s[212]++;
307311
307464
 
307312
307465
  var keyValue = function keyValue(key, verboseName) {
307313
307466
  cov_2f0u9tmiep.f[50]++;
307314
- var value = (cov_2f0u9tmiep.s[212]++, _this5.$get(d.data, key, null));
307315
- cov_2f0u9tmiep.s[213]++;
307467
+ var value = (cov_2f0u9tmiep.s[213]++, _this5.$get(d.data, key, null));
307468
+ cov_2f0u9tmiep.s[214]++;
307316
307469
  return value === null ? (cov_2f0u9tmiep.b[53][0]++, '') : (cov_2f0u9tmiep.b[53][1]++, "\n <div class=\"layout row ma-3\" style=\"max-width: 100%\"\">\n <div class=\"flex xs5\" style=\"width: 100%\">".concat(verboseName, "</div>\n <div class=\"flex xs7\" style=\"width: 100%\"><b>").concat(value, "</b></div>\n </div>\n "));
307317
307470
  };
307318
307471
 
307319
- cov_2f0u9tmiep.s[214]++;
307472
+ cov_2f0u9tmiep.s[215]++;
307320
307473
  return "\n <div class=\"v-tooltip__content tree-tooltip\" style=\"min-width: 350px;\">\n ".concat(keyValue('experiment.system_id', 'System ID'), "\n ").concat(keyValue('experiment.identifier', 'Experiment ID'), "\n ").concat(keyValue('aliquot_id', 'Aliquot ID'), "\n ").concat(keyValue('sample.identifier', 'Sample ID'), "\n ").concat(keyValue('individual.identifier', 'Individual ID'), "\n ").concat(keyValue('experiment.technique.method', 'Method'), "\n ").concat(keyValue('experiment.technique.name', 'Technique Name'), "\n ").concat(keyValue('sample.disease.acronym', 'Disease'), "\n ").concat(keyValue('individual.species', 'Species'), "\n ").concat(keyValue('individual.center.acronym', 'Center'), "\n </div>\n ");
307321
307474
  }
307322
307475
  }
@@ -307337,8 +307490,8 @@ var BioModelTreevue_type_style_index_0_lang_scss_ = __webpack_require__("34ec");
307337
307490
 
307338
307491
  var BioModelTree_component = normalizeComponent(
307339
307492
  bioModels_BioModelTreevue_type_script_lang_js_,
307340
- BioModelTreevue_type_template_id_6a6ea313_render,
307341
- BioModelTreevue_type_template_id_6a6ea313_staticRenderFns,
307493
+ BioModelTreevue_type_template_id_50c9e1d2_render,
307494
+ BioModelTreevue_type_template_id_50c9e1d2_staticRenderFns,
307342
307495
  false,
307343
307496
  null,
307344
307497
  null,
@@ -316609,17 +316762,17 @@ var Signup_component = normalizeComponent(
316609
316762
  )
316610
316763
 
316611
316764
  /* harmony default export */ var Signup = (Signup_component.exports);
316612
- // 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/views/VerifyEmail.vue?vue&type=template&id=1a1688f9&
316613
- var VerifyEmailvue_type_template_id_1a1688f9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:"auth-form",attrs:{"grid-list-md":"","text-center":""}},[_c('v-row',{staticClass:"auth-form",attrs:{"row":"","wrap":"","justify":"center"}},[(_vm.loading)?_c('v-col',{attrs:{"xs6":""}},[_c('v-progress-circular',{attrs:{"indeterminate":"","color":"primary"}}),_c('div',{staticClass:"text-h1 primary--text font-weight-thin mt-12 mb-4"},[_vm._v("Verifying ...")]),_c('div',{staticClass:"text-h6 font-weight-thin"},[_vm._v("We're verifying your account... Please wait")])],1):(!_vm.loading && _vm.verified)?_c('v-col',{attrs:{"xs6":""}},[_c('div',{staticClass:"text-h1 primary--text font-weight-thin mb-4"},[_vm._v("Account Verified")]),_c('div',{staticClass:"text-h6 font-weight-thin"},[_vm._v("\n "+_vm._s(_vm.message)+"\n "),_c('br'),_c('br'),_vm._v("Go to\n "),_c('span',{staticClass:"active-link text-h6 font-weight-thin primary--text",on:{"click":_vm.goToLogin}},[_vm._v("Login.")])])]):(!_vm.loading && !_vm.verified)?_c('v-col',{attrs:{"xs6":""}},[_c('div',{staticClass:"text-h1 primary--text font-weight-thin mb-4"},[_vm._v("Incorrect key")]),_c('div',{staticClass:"text-h6 font-weight-thin"},[_vm._v("Your email couldn't be confirmed.")])]):_vm._e()],1)],1)}
316614
- var VerifyEmailvue_type_template_id_1a1688f9_staticRenderFns = []
316765
+ // 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/views/VerifyEmail.vue?vue&type=template&id=0460ddf2&
316766
+ var VerifyEmailvue_type_template_id_0460ddf2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{staticClass:"auth-form text-center",attrs:{"justify":"center"}},[(_vm.loading)?_c('v-col',{attrs:{"cols":"6","sm":"9","md":"6","lg":"4","xl":"2"}},[_c('v-progress-circular',{attrs:{"indeterminate":"","color":"primary"}}),_c('div',{staticClass:"text-h3 primary--text font-weight-thin mt-12 mb-4"},[_vm._v("Verifying ...")]),_c('div',{staticClass:"text-h6 font-weight-thin"},[_vm._v("We're verifying your account... Please wait")])],1):(!_vm.loading && _vm.verified)?_c('v-col',{attrs:{"cols":"6","sm":"9","md":"6","lg":"4","xl":"2"}},[_c('div',{staticClass:"text-h3 primary--text font-weight-thin mb-4"},[_vm._v("Account Verified")]),_c('div',{staticClass:"text-h6 font-weight-thin"},[_vm._v("\n "+_vm._s(_vm.message)+"\n "),_c('br'),_c('br'),_vm._v("Go to\n "),_c('span',{staticClass:"active-link text-h6 font-weight-thin primary--text",on:{"click":_vm.goToLogin}},[_vm._v("Login.")])])]):(!_vm.loading && !_vm.verified)?_c('v-col',{attrs:{"cols":"6","sm":"9","md":"6","lg":"4","xl":"2"}},[_c('div',{staticClass:"text-h1 primary--text font-weight-thin mb-4"},[_vm._v("Incorrect key")]),_c('div',{staticClass:"text-h6 font-weight-thin"},[_vm._v("Your email couldn't be confirmed.")])]):_vm._e()],1)}
316767
+ var VerifyEmailvue_type_template_id_0460ddf2_staticRenderFns = []
316615
316768
 
316616
316769
 
316617
- // CONCATENATED MODULE: ./src/views/VerifyEmail.vue?vue&type=template&id=1a1688f9&
316770
+ // CONCATENATED MODULE: ./src/views/VerifyEmail.vue?vue&type=template&id=0460ddf2&
316618
316771
 
316619
316772
  // 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/views/VerifyEmail.vue?vue&type=script&lang=js&
316620
316773
  var cov_50fq9mw5q = function () {
316621
316774
  var path = "/Users/arangooj/papaemme/isabl_web/src/views/VerifyEmail.vue";
316622
- var hash = "def532b3888f5cb41b488acbfeb7e96be9e875bf";
316775
+ var hash = "4cd889dd459869433cea1267c94c71c149b8c801";
316623
316776
  var global = new Function("return this")();
316624
316777
  var gcv = "__coverage__";
316625
316778
  var coverageData = {
@@ -316627,121 +316780,121 @@ var cov_50fq9mw5q = function () {
316627
316780
  statementMap: {
316628
316781
  "0": {
316629
316782
  start: {
316630
- line: 56,
316783
+ line: 60,
316631
316784
  column: 4
316632
316785
  },
316633
316786
  end: {
316634
- line: 60,
316787
+ line: 64,
316635
316788
  column: 5
316636
316789
  }
316637
316790
  },
316638
316791
  "1": {
316639
316792
  start: {
316640
- line: 63,
316793
+ line: 67,
316641
316794
  column: 4
316642
316795
  },
316643
316796
  end: {
316644
- line: 63,
316797
+ line: 67,
316645
316798
  column: 22
316646
316799
  }
316647
316800
  },
316648
316801
  "2": {
316649
316802
  start: {
316650
- line: 67,
316803
+ line: 71,
316651
316804
  column: 6
316652
316805
  },
316653
316806
  end: {
316654
- line: 67,
316807
+ line: 71,
316655
316808
  column: 25
316656
316809
  }
316657
316810
  },
316658
316811
  "3": {
316659
316812
  start: {
316660
- line: 68,
316813
+ line: 72,
316661
316814
  column: 22
316662
316815
  },
316663
316816
  end: {
316664
- line: 68,
316817
+ line: 72,
316665
316818
  column: 39
316666
316819
  }
316667
316820
  },
316668
316821
  "4": {
316669
316822
  start: {
316670
- line: 69,
316823
+ line: 73,
316671
316824
  column: 6
316672
316825
  },
316673
316826
  end: {
316674
- line: 83,
316827
+ line: 87,
316675
316828
  column: 7
316676
316829
  }
316677
316830
  },
316678
316831
  "5": {
316679
316832
  start: {
316680
- line: 70,
316833
+ line: 74,
316681
316834
  column: 8
316682
316835
  },
316683
316836
  end: {
316684
- line: 80,
316837
+ line: 84,
316685
316838
  column: 12
316686
316839
  }
316687
316840
  },
316688
316841
  "6": {
316689
316842
  start: {
316690
- line: 72,
316843
+ line: 76,
316691
316844
  column: 12
316692
316845
  },
316693
316846
  end: {
316694
- line: 72,
316847
+ line: 76,
316695
316848
  column: 32
316696
316849
  }
316697
316850
  },
316698
316851
  "7": {
316699
316852
  start: {
316700
- line: 73,
316853
+ line: 77,
316701
316854
  column: 12
316702
316855
  },
316703
316856
  end: {
316704
- line: 73,
316857
+ line: 77,
316705
316858
  column: 42
316706
316859
  }
316707
316860
  },
316708
316861
  "8": {
316709
316862
  start: {
316710
- line: 76,
316863
+ line: 80,
316711
316864
  column: 12
316712
316865
  },
316713
316866
  end: {
316714
- line: 76,
316867
+ line: 80,
316715
316868
  column: 33
316716
316869
  }
316717
316870
  },
316718
316871
  "9": {
316719
316872
  start: {
316720
- line: 79,
316873
+ line: 83,
316721
316874
  column: 12
316722
316875
  },
316723
316876
  end: {
316724
- line: 79,
316877
+ line: 83,
316725
316878
  column: 32
316726
316879
  }
316727
316880
  },
316728
316881
  "10": {
316729
316882
  start: {
316730
- line: 82,
316883
+ line: 86,
316731
316884
  column: 8
316732
316885
  },
316733
316886
  end: {
316734
- line: 82,
316887
+ line: 86,
316735
316888
  column: 28
316736
316889
  }
316737
316890
  },
316738
316891
  "11": {
316739
316892
  start: {
316740
- line: 86,
316893
+ line: 90,
316741
316894
  column: 6
316742
316895
  },
316743
316896
  end: {
316744
- line: 86,
316897
+ line: 90,
316745
316898
  column: 42
316746
316899
  }
316747
316900
  }
@@ -316751,204 +316904,204 @@ var cov_50fq9mw5q = function () {
316751
316904
  name: "(anonymous_0)",
316752
316905
  decl: {
316753
316906
  start: {
316754
- line: 55,
316907
+ line: 59,
316755
316908
  column: 2
316756
316909
  },
316757
316910
  end: {
316758
- line: 55,
316911
+ line: 59,
316759
316912
  column: 3
316760
316913
  }
316761
316914
  },
316762
316915
  loc: {
316763
316916
  start: {
316764
- line: 55,
316917
+ line: 59,
316765
316918
  column: 9
316766
316919
  },
316767
316920
  end: {
316768
- line: 61,
316921
+ line: 65,
316769
316922
  column: 3
316770
316923
  }
316771
316924
  },
316772
- line: 55
316925
+ line: 59
316773
316926
  },
316774
316927
  "1": {
316775
316928
  name: "(anonymous_1)",
316776
316929
  decl: {
316777
316930
  start: {
316778
- line: 62,
316931
+ line: 66,
316779
316932
  column: 2
316780
316933
  },
316781
316934
  end: {
316782
- line: 62,
316935
+ line: 66,
316783
316936
  column: 3
316784
316937
  }
316785
316938
  },
316786
316939
  loc: {
316787
316940
  start: {
316788
- line: 62,
316941
+ line: 66,
316789
316942
  column: 12
316790
316943
  },
316791
316944
  end: {
316792
- line: 64,
316945
+ line: 68,
316793
316946
  column: 3
316794
316947
  }
316795
316948
  },
316796
- line: 62
316949
+ line: 66
316797
316950
  },
316798
316951
  "2": {
316799
316952
  name: "(anonymous_2)",
316800
316953
  decl: {
316801
316954
  start: {
316802
- line: 66,
316955
+ line: 70,
316803
316956
  column: 4
316804
316957
  },
316805
316958
  end: {
316806
- line: 66,
316959
+ line: 70,
316807
316960
  column: 5
316808
316961
  }
316809
316962
  },
316810
316963
  loc: {
316811
316964
  start: {
316812
- line: 66,
316965
+ line: 70,
316813
316966
  column: 18
316814
316967
  },
316815
316968
  end: {
316816
- line: 84,
316969
+ line: 88,
316817
316970
  column: 5
316818
316971
  }
316819
316972
  },
316820
- line: 66
316973
+ line: 70
316821
316974
  },
316822
316975
  "3": {
316823
316976
  name: "(anonymous_3)",
316824
316977
  decl: {
316825
316978
  start: {
316826
- line: 71,
316979
+ line: 75,
316827
316980
  column: 16
316828
316981
  },
316829
316982
  end: {
316830
- line: 71,
316983
+ line: 75,
316831
316984
  column: 17
316832
316985
  }
316833
316986
  },
316834
316987
  loc: {
316835
316988
  start: {
316836
- line: 71,
316989
+ line: 75,
316837
316990
  column: 28
316838
316991
  },
316839
316992
  end: {
316840
- line: 74,
316993
+ line: 78,
316841
316994
  column: 11
316842
316995
  }
316843
316996
  },
316844
- line: 71
316997
+ line: 75
316845
316998
  },
316846
316999
  "4": {
316847
317000
  name: "(anonymous_4)",
316848
317001
  decl: {
316849
317002
  start: {
316850
- line: 75,
317003
+ line: 79,
316851
317004
  column: 17
316852
317005
  },
316853
317006
  end: {
316854
- line: 75,
317007
+ line: 79,
316855
317008
  column: 18
316856
317009
  }
316857
317010
  },
316858
317011
  loc: {
316859
317012
  start: {
316860
- line: 75,
317013
+ line: 79,
316861
317014
  column: 26
316862
317015
  },
316863
317016
  end: {
316864
- line: 77,
317017
+ line: 81,
316865
317018
  column: 11
316866
317019
  }
316867
317020
  },
316868
- line: 75
317021
+ line: 79
316869
317022
  },
316870
317023
  "5": {
316871
317024
  name: "(anonymous_5)",
316872
317025
  decl: {
316873
317026
  start: {
316874
- line: 78,
317027
+ line: 82,
316875
317028
  column: 19
316876
317029
  },
316877
317030
  end: {
316878
- line: 78,
317031
+ line: 82,
316879
317032
  column: 20
316880
317033
  }
316881
317034
  },
316882
317035
  loc: {
316883
317036
  start: {
316884
- line: 78,
317037
+ line: 82,
316885
317038
  column: 25
316886
317039
  },
316887
317040
  end: {
316888
- line: 80,
317041
+ line: 84,
316889
317042
  column: 11
316890
317043
  }
316891
317044
  },
316892
- line: 78
317045
+ line: 82
316893
317046
  },
316894
317047
  "6": {
316895
317048
  name: "(anonymous_6)",
316896
317049
  decl: {
316897
317050
  start: {
316898
- line: 85,
317051
+ line: 89,
316899
317052
  column: 4
316900
317053
  },
316901
317054
  end: {
316902
- line: 85,
317055
+ line: 89,
316903
317056
  column: 5
316904
317057
  }
316905
317058
  },
316906
317059
  loc: {
316907
317060
  start: {
316908
- line: 85,
317061
+ line: 89,
316909
317062
  column: 16
316910
317063
  },
316911
317064
  end: {
316912
- line: 87,
317065
+ line: 91,
316913
317066
  column: 5
316914
317067
  }
316915
317068
  },
316916
- line: 85
317069
+ line: 89
316917
317070
  }
316918
317071
  },
316919
317072
  branchMap: {
316920
317073
  "0": {
316921
317074
  loc: {
316922
317075
  start: {
316923
- line: 69,
317076
+ line: 73,
316924
317077
  column: 6
316925
317078
  },
316926
317079
  end: {
316927
- line: 83,
317080
+ line: 87,
316928
317081
  column: 7
316929
317082
  }
316930
317083
  },
316931
317084
  type: "if",
316932
317085
  locations: [{
316933
317086
  start: {
316934
- line: 69,
317087
+ line: 73,
316935
317088
  column: 6
316936
317089
  },
316937
317090
  end: {
316938
- line: 83,
317091
+ line: 87,
316939
317092
  column: 7
316940
317093
  }
316941
317094
  }, {
316942
317095
  start: {
316943
- line: 69,
317096
+ line: 73,
316944
317097
  column: 6
316945
317098
  },
316946
317099
  end: {
316947
- line: 83,
317100
+ line: 87,
316948
317101
  column: 7
316949
317102
  }
316950
317103
  }],
316951
- line: 69
317104
+ line: 73
316952
317105
  }
316953
317106
  },
316954
317107
  s: {
@@ -316981,13 +317134,13 @@ var cov_50fq9mw5q = function () {
316981
317134
  version: 3,
316982
317135
  sources: ["VerifyEmail.vue"],
316983
317136
  names: [],
316984
- mappings: ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDA;;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",
317137
+ mappings: ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDA;;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",
316985
317138
  file: "VerifyEmail.vue",
316986
317139
  sourceRoot: "src/views",
316987
- sourcesContent: ["<template>\n <v-container\n grid-list-md\n text-center\n class=\"auth-form\"\n >\n <v-row\n row\n wrap\n justify=\"center\"\n class=\"auth-form\"\n >\n <v-col\n v-if=\"loading\"\n xs6\n >\n <v-progress-circular\n indeterminate\n color=\"primary\"\n />\n <div class=\"text-h1 primary--text font-weight-thin mt-12 mb-4\">Verifying ...</div>\n <div class=\"text-h6 font-weight-thin\">We're verifying your account... Please wait</div>\n </v-col>\n <v-col\n v-else-if=\"!loading && verified\"\n xs6\n >\n <div class=\"text-h1 primary--text font-weight-thin mb-4\">Account Verified</div>\n <div class=\"text-h6 font-weight-thin\">\n {{ message }}\n <br />\n <br />Go to\n <span\n class=\"active-link text-h6 font-weight-thin primary--text\"\n @click=\"goToLogin\"\n >Login.</span>\n </div>\n </v-col>\n <v-col\n v-else-if=\"!loading && !verified\"\n xs6\n >\n <div class=\"text-h1 primary--text font-weight-thin mb-4\">Incorrect key</div>\n <div class=\"text-h6 font-weight-thin\">Your email couldn't be confirmed.</div>\n </v-col>\n </v-row>\n </v-container>\n</template>\n\n<script>\nimport { verifyEmail } from '@/utils/api'\n\nexport default {\n name: 'VerifyEmail',\n data() {\n return {\n loading: false,\n verified: false,\n message: ''\n }\n },\n created() {\n this.verifyEmail()\n },\n methods: {\n verifyEmail() {\n this.loading = true\n const { key } = this.$route.query\n if (key) {\n verifyEmail(key)\n .then(response => {\n this.verified = true\n this.message = response.detail\n })\n .catch(error => {\n this.verified = false\n })\n .finally(() => {\n this.loading = false\n })\n } else {\n this.loading = false\n }\n },\n goToLogin() {\n this.$router.push({ name: 'login' })\n }\n }\n}\n</script>\n"]
317140
+ sourcesContent: ["<template>\n <v-row\n justify=\"center\"\n class=\"auth-form text-center\"\n >\n <v-col\n v-if=\"loading\"\n cols=\"6\"\n sm=\"9\"\n md=\"6\"\n lg=\"4\"\n xl=\"2\"\n >\n <v-progress-circular\n indeterminate\n color=\"primary\"\n />\n <div class=\"text-h3 primary--text font-weight-thin mt-12 mb-4\">Verifying ...</div>\n <div class=\"text-h6 font-weight-thin\">We're verifying your account... Please wait</div>\n </v-col>\n <v-col\n v-else-if=\"!loading && verified\"\n cols=\"6\"\n sm=\"9\"\n md=\"6\"\n lg=\"4\"\n xl=\"2\"\n >\n <div class=\"text-h3 primary--text font-weight-thin mb-4\">Account Verified</div>\n <div class=\"text-h6 font-weight-thin\">\n {{ message }}\n <br>\n <br>Go to\n <span\n class=\"active-link text-h6 font-weight-thin primary--text\"\n @click=\"goToLogin\"\n >Login.</span>\n </div>\n </v-col>\n <v-col\n v-else-if=\"!loading && !verified\"\n cols=\"6\"\n sm=\"9\"\n md=\"6\"\n lg=\"4\"\n xl=\"2\"\n >\n <div class=\"text-h1 primary--text font-weight-thin mb-4\">Incorrect key</div>\n <div class=\"text-h6 font-weight-thin\">Your email couldn't be confirmed.</div>\n </v-col>\n </v-row>\n</template>\n\n<script>\nimport { verifyEmail } from '@/utils/api'\n\nexport default {\n name: 'VerifyEmail',\n data() {\n return {\n loading: false,\n verified: false,\n message: ''\n }\n },\n created() {\n this.verifyEmail()\n },\n methods: {\n verifyEmail() {\n this.loading = true\n const { key } = this.$route.query\n if (key) {\n verifyEmail(key)\n .then(response => {\n this.verified = true\n this.message = response.detail\n })\n .catch(error => {\n this.verified = false\n })\n .finally(() => {\n this.loading = false\n })\n } else {\n this.loading = false\n }\n },\n goToLogin() {\n this.$router.push({ name: 'login' })\n }\n }\n}\n</script>\n"]
316988
317141
  },
316989
317142
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
316990
- hash: "def532b3888f5cb41b488acbfeb7e96be9e875bf"
317143
+ hash: "4cd889dd459869433cea1267c94c71c149b8c801"
316991
317144
  };
316992
317145
  var coverage = global[gcv] || (global[gcv] = {});
316993
317146
 
@@ -317047,6 +317200,10 @@ var cov_50fq9mw5q = function () {
317047
317200
  //
317048
317201
  //
317049
317202
  //
317203
+ //
317204
+ //
317205
+ //
317206
+ //
317050
317207
 
317051
317208
  /* harmony default export */ var VerifyEmailvue_type_script_lang_js_ = ({
317052
317209
  name: 'VerifyEmail',
@@ -317123,8 +317280,8 @@ var cov_50fq9mw5q = function () {
317123
317280
 
317124
317281
  var VerifyEmail_component = normalizeComponent(
317125
317282
  views_VerifyEmailvue_type_script_lang_js_,
317126
- VerifyEmailvue_type_template_id_1a1688f9_render,
317127
- VerifyEmailvue_type_template_id_1a1688f9_staticRenderFns,
317283
+ VerifyEmailvue_type_template_id_0460ddf2_render,
317284
+ VerifyEmailvue_type_template_id_0460ddf2_staticRenderFns,
317128
317285
  false,
317129
317286
  null,
317130
317287
  null,
@@ -317742,7 +317899,7 @@ function mixins_auth_defineProperty(obj, key, value) { if (key in obj) { Object.
317742
317899
  // CONCATENATED MODULE: ./src/mixins/fields.js
317743
317900
  var cov_5ht757v2k = function () {
317744
317901
  var path = "/Users/arangooj/papaemme/isabl_web/src/mixins/fields.js";
317745
- var hash = "12f16a59f956cbcb6c85cdcf33e15345cab3a97f";
317902
+ var hash = "b643f788f77d4fcd68b71d31977c281f17784e26";
317746
317903
  var global = new Function("return this")();
317747
317904
  var gcv = "__coverage__";
317748
317905
  var coverageData = {
@@ -317874,207 +318031,227 @@ var cov_5ht757v2k = function () {
317874
318031
  column: 6
317875
318032
  },
317876
318033
  end: {
317877
- line: 44,
317878
- column: 63
318034
+ line: 46,
318035
+ column: 7
317879
318036
  }
317880
318037
  },
317881
318038
  "13": {
317882
318039
  start: {
317883
318040
  line: 45,
317884
- column: 6
318041
+ column: 8
317885
318042
  },
317886
318043
  end: {
317887
318044
  line: 45,
317888
- column: 49
318045
+ column: 76
317889
318046
  }
317890
318047
  },
317891
318048
  "14": {
317892
318049
  start: {
317893
- line: 50,
318050
+ line: 48,
317894
318051
  column: 6
317895
318052
  },
317896
318053
  end: {
317897
- line: 50,
317898
- column: 49
318054
+ line: 48,
318055
+ column: 63
317899
318056
  }
317900
318057
  },
317901
318058
  "15": {
317902
318059
  start: {
317903
- line: 51,
318060
+ line: 49,
317904
318061
  column: 6
317905
318062
  },
317906
318063
  end: {
317907
- line: 60,
317908
- column: 7
318064
+ line: 49,
318065
+ column: 49
317909
318066
  }
317910
318067
  },
317911
318068
  "16": {
317912
318069
  start: {
317913
- line: 52,
318070
+ line: 54,
318071
+ column: 6
318072
+ },
318073
+ end: {
318074
+ line: 54,
318075
+ column: 49
318076
+ }
318077
+ },
318078
+ "17": {
318079
+ start: {
318080
+ line: 55,
318081
+ column: 6
318082
+ },
318083
+ end: {
318084
+ line: 64,
318085
+ column: 7
318086
+ }
318087
+ },
318088
+ "18": {
318089
+ start: {
318090
+ line: 56,
317914
318091
  column: 8
317915
318092
  },
317916
318093
  end: {
317917
- line: 52,
318094
+ line: 56,
317918
318095
  column: 32
317919
318096
  }
317920
318097
  },
317921
- "17": {
318098
+ "19": {
317922
318099
  start: {
317923
- line: 53,
318100
+ line: 57,
317924
318101
  column: 8
317925
318102
  },
317926
318103
  end: {
317927
- line: 59,
318104
+ line: 63,
317928
318105
  column: 53
317929
318106
  }
317930
318107
  },
317931
- "18": {
318108
+ "20": {
317932
318109
  start: {
317933
- line: 55,
318110
+ line: 59,
317934
318111
  column: 12
317935
318112
  },
317936
318113
  end: {
317937
- line: 55,
318114
+ line: 59,
317938
318115
  column: 36
317939
318116
  }
317940
318117
  },
317941
- "19": {
318118
+ "21": {
317942
318119
  start: {
317943
- line: 56,
318120
+ line: 60,
317944
318121
  column: 12
317945
318122
  },
317946
318123
  end: {
317947
- line: 56,
318124
+ line: 60,
317948
318125
  column: 38
317949
318126
  }
317950
318127
  },
317951
- "20": {
318128
+ "22": {
317952
318129
  start: {
317953
- line: 58,
318130
+ line: 62,
317954
318131
  column: 26
317955
318132
  },
317956
318133
  end: {
317957
- line: 58,
318134
+ line: 62,
317958
318135
  column: 56
317959
318136
  }
317960
318137
  },
317961
- "21": {
318138
+ "23": {
317962
318139
  start: {
317963
- line: 59,
318140
+ line: 63,
317964
318141
  column: 26
317965
318142
  },
317966
318143
  end: {
317967
- line: 59,
318144
+ line: 63,
317968
318145
  column: 51
317969
318146
  }
317970
318147
  },
317971
- "22": {
318148
+ "24": {
317972
318149
  start: {
317973
- line: 63,
318150
+ line: 67,
317974
318151
  column: 6
317975
318152
  },
317976
318153
  end: {
317977
- line: 74,
318154
+ line: 78,
317978
318155
  column: 7
317979
318156
  }
317980
318157
  },
317981
- "23": {
318158
+ "25": {
317982
318159
  start: {
317983
- line: 64,
318160
+ line: 68,
317984
318161
  column: 24
317985
318162
  },
317986
318163
  end: {
317987
- line: 64,
318164
+ line: 68,
317988
318165
  column: 64
317989
318166
  }
317990
318167
  },
317991
- "24": {
318168
+ "26": {
317992
318169
  start: {
317993
- line: 65,
318170
+ line: 69,
317994
318171
  column: 8
317995
318172
  },
317996
318173
  end: {
317997
- line: 73,
318174
+ line: 77,
317998
318175
  column: 10
317999
318176
  }
318000
318177
  },
318001
- "25": {
318178
+ "27": {
318002
318179
  start: {
318003
- line: 66,
318180
+ line: 70,
318004
318181
  column: 10
318005
318182
  },
318006
318183
  end: {
318007
- line: 72,
318184
+ line: 76,
318008
318185
  column: 12
318009
318186
  }
318010
318187
  },
318011
- "26": {
318188
+ "28": {
318012
318189
  start: {
318013
- line: 67,
318190
+ line: 71,
318014
318191
  column: 12
318015
318192
  },
318016
318193
  end: {
318017
- line: 71,
318194
+ line: 75,
318018
318195
  column: 14
318019
318196
  }
318020
318197
  },
318021
- "27": {
318198
+ "29": {
318022
318199
  start: {
318023
- line: 68,
318200
+ line: 72,
318024
318201
  column: 14
318025
318202
  },
318026
318203
  end: {
318027
- line: 70,
318204
+ line: 74,
318028
318205
  column: 15
318029
318206
  }
318030
318207
  },
318031
- "28": {
318208
+ "30": {
318032
318209
  start: {
318033
- line: 69,
318210
+ line: 73,
318034
318211
  column: 16
318035
318212
  },
318036
318213
  end: {
318037
- line: 69,
318214
+ line: 73,
318038
318215
  column: 50
318039
318216
  }
318040
318217
  },
318041
- "29": {
318218
+ "31": {
318042
318219
  start: {
318043
- line: 77,
318220
+ line: 81,
318044
318221
  column: 6
318045
318222
  },
318046
318223
  end: {
318047
- line: 83,
318224
+ line: 87,
318048
318225
  column: 8
318049
318226
  }
318050
318227
  },
318051
- "30": {
318228
+ "32": {
318052
318229
  start: {
318053
- line: 78,
318230
+ line: 82,
318054
318231
  column: 8
318055
318232
  },
318056
318233
  end: {
318057
- line: 82,
318234
+ line: 86,
318058
318235
  column: 10
318059
318236
  }
318060
318237
  },
318061
- "31": {
318238
+ "33": {
318062
318239
  start: {
318063
- line: 79,
318240
+ line: 83,
318064
318241
  column: 10
318065
318242
  },
318066
318243
  end: {
318067
- line: 81,
318244
+ line: 85,
318068
318245
  column: 11
318069
318246
  }
318070
318247
  },
318071
- "32": {
318248
+ "34": {
318072
318249
  start: {
318073
- line: 80,
318250
+ line: 84,
318074
318251
  column: 12
318075
318252
  },
318076
318253
  end: {
318077
- line: 80,
318254
+ line: 84,
318078
318255
  column: 48
318079
318256
  }
318080
318257
  }
@@ -318194,7 +318371,7 @@ var cov_5ht757v2k = function () {
318194
318371
  column: 46
318195
318372
  },
318196
318373
  end: {
318197
- line: 46,
318374
+ line: 50,
318198
318375
  column: 5
318199
318376
  }
318200
318377
  },
@@ -318204,265 +318381,265 @@ var cov_5ht757v2k = function () {
318204
318381
  name: "(anonymous_5)",
318205
318382
  decl: {
318206
318383
  start: {
318207
- line: 49,
318384
+ line: 53,
318208
318385
  column: 4
318209
318386
  },
318210
318387
  end: {
318211
- line: 49,
318388
+ line: 53,
318212
318389
  column: 5
318213
318390
  }
318214
318391
  },
318215
318392
  loc: {
318216
318393
  start: {
318217
- line: 49,
318394
+ line: 53,
318218
318395
  column: 49
318219
318396
  },
318220
318397
  end: {
318221
- line: 61,
318398
+ line: 65,
318222
318399
  column: 5
318223
318400
  }
318224
318401
  },
318225
- line: 49
318402
+ line: 53
318226
318403
  },
318227
318404
  "6": {
318228
318405
  name: "(anonymous_6)",
318229
318406
  decl: {
318230
318407
  start: {
318231
- line: 54,
318408
+ line: 58,
318232
318409
  column: 16
318233
318410
  },
318234
318411
  end: {
318235
- line: 54,
318412
+ line: 58,
318236
318413
  column: 17
318237
318414
  }
318238
318415
  },
318239
318416
  loc: {
318240
318417
  start: {
318241
- line: 54,
318418
+ line: 58,
318242
318419
  column: 28
318243
318420
  },
318244
318421
  end: {
318245
- line: 57,
318422
+ line: 61,
318246
318423
  column: 11
318247
318424
  }
318248
318425
  },
318249
- line: 54
318426
+ line: 58
318250
318427
  },
318251
318428
  "7": {
318252
318429
  name: "(anonymous_7)",
318253
318430
  decl: {
318254
318431
  start: {
318255
- line: 58,
318432
+ line: 62,
318256
318433
  column: 17
318257
318434
  },
318258
318435
  end: {
318259
- line: 58,
318436
+ line: 62,
318260
318437
  column: 18
318261
318438
  }
318262
318439
  },
318263
318440
  loc: {
318264
318441
  start: {
318265
- line: 58,
318442
+ line: 62,
318266
318443
  column: 26
318267
318444
  },
318268
318445
  end: {
318269
- line: 58,
318446
+ line: 62,
318270
318447
  column: 56
318271
318448
  }
318272
318449
  },
318273
- line: 58
318450
+ line: 62
318274
318451
  },
318275
318452
  "8": {
318276
318453
  name: "(anonymous_8)",
318277
318454
  decl: {
318278
318455
  start: {
318279
- line: 59,
318456
+ line: 63,
318280
318457
  column: 19
318281
318458
  },
318282
318459
  end: {
318283
- line: 59,
318460
+ line: 63,
318284
318461
  column: 20
318285
318462
  }
318286
318463
  },
318287
318464
  loc: {
318288
318465
  start: {
318289
- line: 59,
318466
+ line: 63,
318290
318467
  column: 26
318291
318468
  },
318292
318469
  end: {
318293
- line: 59,
318470
+ line: 63,
318294
318471
  column: 51
318295
318472
  }
318296
318473
  },
318297
- line: 59
318474
+ line: 63
318298
318475
  },
318299
318476
  "9": {
318300
318477
  name: "(anonymous_9)",
318301
318478
  decl: {
318302
318479
  start: {
318303
- line: 62,
318480
+ line: 66,
318304
318481
  column: 4
318305
318482
  },
318306
318483
  end: {
318307
- line: 62,
318484
+ line: 66,
318308
318485
  column: 5
318309
318486
  }
318310
318487
  },
318311
318488
  loc: {
318312
318489
  start: {
318313
- line: 62,
318490
+ line: 66,
318314
318491
  column: 30
318315
318492
  },
318316
318493
  end: {
318317
- line: 75,
318494
+ line: 79,
318318
318495
  column: 5
318319
318496
  }
318320
318497
  },
318321
- line: 62
318498
+ line: 66
318322
318499
  },
318323
318500
  "10": {
318324
318501
  name: "(anonymous_10)",
318325
318502
  decl: {
318326
318503
  start: {
318327
- line: 65,
318504
+ line: 69,
318328
318505
  column: 42
318329
318506
  },
318330
318507
  end: {
318331
- line: 65,
318508
+ line: 69,
318332
318509
  column: 43
318333
318510
  }
318334
318511
  },
318335
318512
  loc: {
318336
318513
  start: {
318337
- line: 65,
318514
+ line: 69,
318338
318515
  column: 74
318339
318516
  },
318340
318517
  end: {
318341
- line: 73,
318518
+ line: 77,
318342
318519
  column: 9
318343
318520
  }
318344
318521
  },
318345
- line: 65
318522
+ line: 69
318346
318523
  },
318347
318524
  "11": {
318348
318525
  name: "(anonymous_11)",
318349
318526
  decl: {
318350
318527
  start: {
318351
- line: 66,
318528
+ line: 70,
318352
318529
  column: 30
318353
318530
  },
318354
318531
  end: {
318355
- line: 66,
318532
+ line: 70,
318356
318533
  column: 31
318357
318534
  }
318358
318535
  },
318359
318536
  loc: {
318360
318537
  start: {
318361
- line: 66,
318538
+ line: 70,
318362
318539
  column: 44
318363
318540
  },
318364
318541
  end: {
318365
- line: 72,
318542
+ line: 76,
318366
318543
  column: 11
318367
318544
  }
318368
318545
  },
318369
- line: 66
318546
+ line: 70
318370
318547
  },
318371
318548
  "12": {
318372
318549
  name: "(anonymous_12)",
318373
318550
  decl: {
318374
318551
  start: {
318375
- line: 67,
318552
+ line: 71,
318376
318553
  column: 46
318377
318554
  },
318378
318555
  end: {
318379
- line: 67,
318556
+ line: 71,
318380
318557
  column: 47
318381
318558
  }
318382
318559
  },
318383
318560
  loc: {
318384
318561
  start: {
318385
- line: 67,
318562
+ line: 71,
318386
318563
  column: 55
318387
318564
  },
318388
318565
  end: {
318389
- line: 71,
318566
+ line: 75,
318390
318567
  column: 13
318391
318568
  }
318392
318569
  },
318393
- line: 67
318570
+ line: 71
318394
318571
  },
318395
318572
  "13": {
318396
318573
  name: "(anonymous_13)",
318397
318574
  decl: {
318398
318575
  start: {
318399
- line: 76,
318576
+ line: 80,
318400
318577
  column: 4
318401
318578
  },
318402
318579
  end: {
318403
- line: 76,
318580
+ line: 80,
318404
318581
  column: 5
318405
318582
  }
318406
318583
  },
318407
318584
  loc: {
318408
318585
  start: {
318409
- line: 76,
318586
+ line: 80,
318410
318587
  column: 24
318411
318588
  },
318412
318589
  end: {
318413
- line: 84,
318590
+ line: 88,
318414
318591
  column: 5
318415
318592
  }
318416
318593
  },
318417
- line: 76
318594
+ line: 80
318418
318595
  },
318419
318596
  "14": {
318420
318597
  name: "(anonymous_14)",
318421
318598
  decl: {
318422
318599
  start: {
318423
- line: 77,
318600
+ line: 81,
318424
318601
  column: 26
318425
318602
  },
318426
318603
  end: {
318427
- line: 77,
318604
+ line: 81,
318428
318605
  column: 27
318429
318606
  }
318430
318607
  },
318431
318608
  loc: {
318432
318609
  start: {
318433
- line: 77,
318610
+ line: 81,
318434
318611
  column: 40
318435
318612
  },
318436
318613
  end: {
318437
- line: 83,
318614
+ line: 87,
318438
318615
  column: 7
318439
318616
  }
318440
318617
  },
318441
- line: 77
318618
+ line: 81
318442
318619
  },
318443
318620
  "15": {
318444
318621
  name: "(anonymous_15)",
318445
318622
  decl: {
318446
318623
  start: {
318447
- line: 78,
318624
+ line: 82,
318448
318625
  column: 40
318449
318626
  },
318450
318627
  end: {
318451
- line: 78,
318628
+ line: 82,
318452
318629
  column: 41
318453
318630
  }
318454
318631
  },
318455
318632
  loc: {
318456
318633
  start: {
318457
- line: 78,
318634
+ line: 82,
318458
318635
  column: 49
318459
318636
  },
318460
318637
  end: {
318461
- line: 82,
318638
+ line: 86,
318462
318639
  column: 9
318463
318640
  }
318464
318641
  },
318465
- line: 78
318642
+ line: 82
318466
318643
  }
318467
318644
  },
318468
318645
  branchMap: {
@@ -318601,209 +318778,242 @@ var cov_5ht757v2k = function () {
318601
318778
  "4": {
318602
318779
  loc: {
318603
318780
  start: {
318604
- line: 50,
318781
+ line: 44,
318782
+ column: 6
318783
+ },
318784
+ end: {
318785
+ line: 46,
318786
+ column: 7
318787
+ }
318788
+ },
318789
+ type: "if",
318790
+ locations: [{
318791
+ start: {
318792
+ line: 44,
318793
+ column: 6
318794
+ },
318795
+ end: {
318796
+ line: 46,
318797
+ column: 7
318798
+ }
318799
+ }, {
318800
+ start: {
318801
+ line: 44,
318802
+ column: 6
318803
+ },
318804
+ end: {
318805
+ line: 46,
318806
+ column: 7
318807
+ }
318808
+ }],
318809
+ line: 44
318810
+ },
318811
+ "5": {
318812
+ loc: {
318813
+ start: {
318814
+ line: 54,
318605
318815
  column: 16
318606
318816
  },
318607
318817
  end: {
318608
- line: 50,
318818
+ line: 54,
318609
318819
  column: 49
318610
318820
  }
318611
318821
  },
318612
318822
  type: "binary-expr",
318613
318823
  locations: [{
318614
318824
  start: {
318615
- line: 50,
318825
+ line: 54,
318616
318826
  column: 16
318617
318827
  },
318618
318828
  end: {
318619
- line: 50,
318829
+ line: 54,
318620
318830
  column: 23
318621
318831
  }
318622
318832
  }, {
318623
318833
  start: {
318624
- line: 50,
318834
+ line: 54,
318625
318835
  column: 27
318626
318836
  },
318627
318837
  end: {
318628
- line: 50,
318838
+ line: 54,
318629
318839
  column: 49
318630
318840
  }
318631
318841
  }],
318632
- line: 50
318842
+ line: 54
318633
318843
  },
318634
- "5": {
318844
+ "6": {
318635
318845
  loc: {
318636
318846
  start: {
318637
- line: 51,
318847
+ line: 55,
318638
318848
  column: 6
318639
318849
  },
318640
318850
  end: {
318641
- line: 60,
318851
+ line: 64,
318642
318852
  column: 7
318643
318853
  }
318644
318854
  },
318645
318855
  type: "if",
318646
318856
  locations: [{
318647
318857
  start: {
318648
- line: 51,
318858
+ line: 55,
318649
318859
  column: 6
318650
318860
  },
318651
318861
  end: {
318652
- line: 60,
318862
+ line: 64,
318653
318863
  column: 7
318654
318864
  }
318655
318865
  }, {
318656
318866
  start: {
318657
- line: 51,
318867
+ line: 55,
318658
318868
  column: 6
318659
318869
  },
318660
318870
  end: {
318661
- line: 60,
318871
+ line: 64,
318662
318872
  column: 7
318663
318873
  }
318664
318874
  }],
318665
- line: 51
318875
+ line: 55
318666
318876
  },
318667
- "6": {
318877
+ "7": {
318668
318878
  loc: {
318669
318879
  start: {
318670
- line: 51,
318880
+ line: 55,
318671
318881
  column: 10
318672
318882
  },
318673
318883
  end: {
318674
- line: 51,
318884
+ line: 55,
318675
318885
  column: 53
318676
318886
  }
318677
318887
  },
318678
318888
  type: "binary-expr",
318679
318889
  locations: [{
318680
318890
  start: {
318681
- line: 51,
318891
+ line: 55,
318682
318892
  column: 10
318683
318893
  },
318684
318894
  end: {
318685
- line: 51,
318895
+ line: 55,
318686
318896
  column: 17
318687
318897
  }
318688
318898
  }, {
318689
318899
  start: {
318690
- line: 51,
318900
+ line: 55,
318691
318901
  column: 21
318692
318902
  },
318693
318903
  end: {
318694
- line: 51,
318904
+ line: 55,
318695
318905
  column: 25
318696
318906
  }
318697
318907
  }, {
318698
318908
  start: {
318699
- line: 51,
318909
+ line: 55,
318700
318910
  column: 29
318701
318911
  },
318702
318912
  end: {
318703
- line: 51,
318913
+ line: 55,
318704
318914
  column: 53
318705
318915
  }
318706
318916
  }],
318707
- line: 51
318917
+ line: 55
318708
318918
  },
318709
- "7": {
318919
+ "8": {
318710
318920
  loc: {
318711
318921
  start: {
318712
- line: 63,
318922
+ line: 67,
318713
318923
  column: 6
318714
318924
  },
318715
318925
  end: {
318716
- line: 74,
318926
+ line: 78,
318717
318927
  column: 7
318718
318928
  }
318719
318929
  },
318720
318930
  type: "if",
318721
318931
  locations: [{
318722
318932
  start: {
318723
- line: 63,
318933
+ line: 67,
318724
318934
  column: 6
318725
318935
  },
318726
318936
  end: {
318727
- line: 74,
318937
+ line: 78,
318728
318938
  column: 7
318729
318939
  }
318730
318940
  }, {
318731
318941
  start: {
318732
- line: 63,
318942
+ line: 67,
318733
318943
  column: 6
318734
318944
  },
318735
318945
  end: {
318736
- line: 74,
318946
+ line: 78,
318737
318947
  column: 7
318738
318948
  }
318739
318949
  }],
318740
- line: 63
318950
+ line: 67
318741
318951
  },
318742
- "8": {
318952
+ "9": {
318743
318953
  loc: {
318744
318954
  start: {
318745
- line: 68,
318955
+ line: 72,
318746
318956
  column: 14
318747
318957
  },
318748
318958
  end: {
318749
- line: 70,
318959
+ line: 74,
318750
318960
  column: 15
318751
318961
  }
318752
318962
  },
318753
318963
  type: "if",
318754
318964
  locations: [{
318755
318965
  start: {
318756
- line: 68,
318966
+ line: 72,
318757
318967
  column: 14
318758
318968
  },
318759
318969
  end: {
318760
- line: 70,
318970
+ line: 74,
318761
318971
  column: 15
318762
318972
  }
318763
318973
  }, {
318764
318974
  start: {
318765
- line: 68,
318975
+ line: 72,
318766
318976
  column: 14
318767
318977
  },
318768
318978
  end: {
318769
- line: 70,
318979
+ line: 74,
318770
318980
  column: 15
318771
318981
  }
318772
318982
  }],
318773
- line: 68
318983
+ line: 72
318774
318984
  },
318775
- "9": {
318985
+ "10": {
318776
318986
  loc: {
318777
318987
  start: {
318778
- line: 79,
318988
+ line: 83,
318779
318989
  column: 10
318780
318990
  },
318781
318991
  end: {
318782
- line: 81,
318992
+ line: 85,
318783
318993
  column: 11
318784
318994
  }
318785
318995
  },
318786
318996
  type: "if",
318787
318997
  locations: [{
318788
318998
  start: {
318789
- line: 79,
318999
+ line: 83,
318790
319000
  column: 10
318791
319001
  },
318792
319002
  end: {
318793
- line: 81,
319003
+ line: 85,
318794
319004
  column: 11
318795
319005
  }
318796
319006
  }, {
318797
319007
  start: {
318798
- line: 79,
319008
+ line: 83,
318799
319009
  column: 10
318800
319010
  },
318801
319011
  end: {
318802
- line: 81,
319012
+ line: 85,
318803
319013
  column: 11
318804
319014
  }
318805
319015
  }],
318806
- line: 79
319016
+ line: 83
318807
319017
  }
318808
319018
  },
318809
319019
  s: {
@@ -318839,7 +319049,9 @@ var cov_5ht757v2k = function () {
318839
319049
  "29": 0,
318840
319050
  "30": 0,
318841
319051
  "31": 0,
318842
- "32": 0
319052
+ "32": 0,
319053
+ "33": 0,
319054
+ "34": 0
318843
319055
  },
318844
319056
  f: {
318845
319057
  "0": 0,
@@ -318866,13 +319078,14 @@ var cov_5ht757v2k = function () {
318866
319078
  "3": [0, 0],
318867
319079
  "4": [0, 0],
318868
319080
  "5": [0, 0],
318869
- "6": [0, 0, 0],
318870
- "7": [0, 0],
319081
+ "6": [0, 0],
319082
+ "7": [0, 0, 0],
318871
319083
  "8": [0, 0],
318872
- "9": [0, 0]
319084
+ "9": [0, 0],
319085
+ "10": [0, 0]
318873
319086
  },
318874
319087
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
318875
- hash: "12f16a59f956cbcb6c85cdcf33e15345cab3a97f"
319088
+ hash: "b643f788f77d4fcd68b71d31977c281f17784e26"
318876
319089
  };
318877
319090
  var coverage = global[gcv] || (global[gcv] = {});
318878
319091
 
@@ -318995,13 +319208,23 @@ var pluralizedModels = (cov_5ht757v2k.s[0]++, {
318995
319208
  }
318996
319209
 
318997
319210
  cov_5ht757v2k.s[12]++;
319211
+
319212
+ if (errorMessage == 'Failed to fetch bioModel: Object not found try a different ID') {
319213
+ cov_5ht757v2k.b[4][0]++;
319214
+ cov_5ht757v2k.s[13]++;
319215
+ errorMessage = 'Sample not found: It might be private or not exist.';
319216
+ } else {
319217
+ cov_5ht757v2k.b[4][1]++;
319218
+ }
319219
+
319220
+ cov_5ht757v2k.s[14]++;
318998
319221
  this.$store.dispatch(SHOW_ALERT, {
318999
319222
  error: errorMessage
319000
319223
  });
319001
- cov_5ht757v2k.s[13]++;
319224
+ cov_5ht757v2k.s[15]++;
319002
319225
  this.$store.dispatch(HIDE_PANEL, modelName);
319003
319226
 
319004
- case 8:
319227
+ case 10:
319005
319228
  case "end":
319006
319229
  return _context2.stop();
319007
319230
  }
@@ -319025,34 +319248,34 @@ var pluralizedModels = (cov_5ht757v2k.s[0]++, {
319025
319248
  switch (_context3.prev = _context3.next) {
319026
319249
  case 0:
319027
319250
  cov_5ht757v2k.f[5]++;
319028
- cov_5ht757v2k.s[14]++;
319029
- modelId = (cov_5ht757v2k.b[4][0]++, modelId) || (cov_5ht757v2k.b[4][1]++, this["".concat(modelName, "Id")]);
319030
- cov_5ht757v2k.s[15]++;
319251
+ cov_5ht757v2k.s[16]++;
319252
+ modelId = (cov_5ht757v2k.b[5][0]++, modelId) || (cov_5ht757v2k.b[5][1]++, this["".concat(modelName, "Id")]);
319253
+ cov_5ht757v2k.s[17]++;
319031
319254
 
319032
- if ((cov_5ht757v2k.b[6][0]++, modelId) && (cov_5ht757v2k.b[6][1]++, data) && (cov_5ht757v2k.b[6][2]++, Object.keys(data).length)) {
319033
- cov_5ht757v2k.b[5][0]++;
319034
- cov_5ht757v2k.s[16]++;
319255
+ if ((cov_5ht757v2k.b[7][0]++, modelId) && (cov_5ht757v2k.b[7][1]++, data) && (cov_5ht757v2k.b[7][2]++, Object.keys(data).length)) {
319256
+ cov_5ht757v2k.b[6][0]++;
319257
+ cov_5ht757v2k.s[18]++;
319035
319258
  this.fieldLoading = true;
319036
- cov_5ht757v2k.s[17]++;
319259
+ cov_5ht757v2k.s[19]++;
319037
319260
  updateRecord(pluralizedModels[modelName], modelId, data).then(function (response) {
319038
319261
  cov_5ht757v2k.f[6]++;
319039
- cov_5ht757v2k.s[18]++;
319262
+ cov_5ht757v2k.s[20]++;
319040
319263
 
319041
319264
  _this2.$cleanFieldErrors();
319042
319265
 
319043
- cov_5ht757v2k.s[19]++;
319266
+ cov_5ht757v2k.s[21]++;
319044
319267
  _this2[modelName] = response;
319045
319268
  }).catch(function (error) {
319046
319269
  cov_5ht757v2k.f[7]++;
319047
- cov_5ht757v2k.s[20]++;
319270
+ cov_5ht757v2k.s[22]++;
319048
319271
  return _this2.$handleFieldErrors(error);
319049
319272
  }).finally(function () {
319050
319273
  cov_5ht757v2k.f[8]++;
319051
- cov_5ht757v2k.s[21]++;
319274
+ cov_5ht757v2k.s[23]++;
319052
319275
  return _this2.fieldLoading = false;
319053
319276
  });
319054
319277
  } else {
319055
- cov_5ht757v2k.b[5][1]++;
319278
+ cov_5ht757v2k.b[6][1]++;
319056
319279
  }
319057
319280
 
319058
319281
  case 5:
@@ -319073,57 +319296,57 @@ var pluralizedModels = (cov_5ht757v2k.s[0]++, {
319073
319296
  var _this3 = this;
319074
319297
 
319075
319298
  cov_5ht757v2k.f[9]++;
319076
- cov_5ht757v2k.s[22]++;
319299
+ cov_5ht757v2k.s[24]++;
319077
319300
 
319078
319301
  if (error.response) {
319079
- cov_5ht757v2k.b[7][0]++;
319080
- var flatError = (cov_5ht757v2k.s[23]++, Object(helpers["e" /* flattenObject */])(error.response.data, true));
319081
- cov_5ht757v2k.s[24]++;
319302
+ cov_5ht757v2k.b[8][0]++;
319303
+ var flatError = (cov_5ht757v2k.s[25]++, Object(helpers["e" /* flattenObject */])(error.response.data, true));
319304
+ cov_5ht757v2k.s[26]++;
319082
319305
  Object.entries(flatError).forEach(function (_ref) {
319083
319306
  var _ref2 = fields_slicedToArray(_ref, 2),
319084
319307
  errorField = _ref2[0],
319085
319308
  errorMessage = _ref2[1];
319086
319309
 
319087
319310
  cov_5ht757v2k.f[10]++;
319088
- cov_5ht757v2k.s[25]++;
319311
+ cov_5ht757v2k.s[27]++;
319089
319312
 
319090
319313
  _this3.fields.forEach(function (fieldGroup) {
319091
319314
  cov_5ht757v2k.f[11]++;
319092
- cov_5ht757v2k.s[26]++;
319315
+ cov_5ht757v2k.s[28]++;
319093
319316
  Object.values(fieldGroup).forEach(function (field) {
319094
319317
  cov_5ht757v2k.f[12]++;
319095
- cov_5ht757v2k.s[27]++;
319318
+ cov_5ht757v2k.s[29]++;
319096
319319
 
319097
319320
  if (field.field === errorField) {
319098
- cov_5ht757v2k.b[8][0]++;
319099
- cov_5ht757v2k.s[28]++;
319321
+ cov_5ht757v2k.b[9][0]++;
319322
+ cov_5ht757v2k.s[30]++;
319100
319323
  field.errorMessages = errorMessage;
319101
319324
  } else {
319102
- cov_5ht757v2k.b[8][1]++;
319325
+ cov_5ht757v2k.b[9][1]++;
319103
319326
  }
319104
319327
  });
319105
319328
  });
319106
319329
  });
319107
319330
  } else {
319108
- cov_5ht757v2k.b[7][1]++;
319331
+ cov_5ht757v2k.b[8][1]++;
319109
319332
  }
319110
319333
  },
319111
319334
  $cleanFieldErrors: function $cleanFieldErrors() {
319112
319335
  cov_5ht757v2k.f[13]++;
319113
- cov_5ht757v2k.s[29]++;
319336
+ cov_5ht757v2k.s[31]++;
319114
319337
  this.fields.forEach(function (fieldGroup) {
319115
319338
  cov_5ht757v2k.f[14]++;
319116
- cov_5ht757v2k.s[30]++;
319339
+ cov_5ht757v2k.s[32]++;
319117
319340
  Object.keys(fieldGroup).forEach(function (field) {
319118
319341
  cov_5ht757v2k.f[15]++;
319119
- cov_5ht757v2k.s[31]++;
319342
+ cov_5ht757v2k.s[33]++;
319120
319343
 
319121
319344
  if ('errorMessages' in fieldGroup[field]) {
319122
- cov_5ht757v2k.b[9][0]++;
319123
- cov_5ht757v2k.s[32]++;
319345
+ cov_5ht757v2k.b[10][0]++;
319346
+ cov_5ht757v2k.s[34]++;
319124
319347
  fieldGroup[field].errorMessages = [];
319125
319348
  } else {
319126
- cov_5ht757v2k.b[9][1]++;
319349
+ cov_5ht757v2k.b[10][1]++;
319127
319350
  }
319128
319351
  });
319129
319352
  });