@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.
@@ -91398,7 +91398,7 @@ module.exports = overArg;
91398
91398
  /***/ "9224":
91399
91399
  /***/ (function(module) {
91400
91400
 
91401
- 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\"}");
91401
+ 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\"}");
91402
91402
 
91403
91403
  /***/ }),
91404
91404
 
@@ -207395,7 +207395,7 @@ var uniq_default = /*#__PURE__*/__webpack_require__.n(uniq);
207395
207395
  // CONCATENATED MODULE: ./src/utils/tableColumns.js
207396
207396
  var cov_2ayhkohved = function () {
207397
207397
  var path = "/Users/arangooj/papaemme/isabl_web/src/utils/tableColumns.js";
207398
- var hash = "32f47e62d635bf0f4fe83060d0568c152a6f04d3";
207398
+ var hash = "143b737214c27d4a402dbdc710367ab5de024387";
207399
207399
  var global = new Function("return this")();
207400
207400
  var gcv = "__coverage__";
207401
207401
  var coverageData = {
@@ -207637,7 +207637,7 @@ var cov_2ayhkohved = function () {
207637
207637
  column: 28
207638
207638
  },
207639
207639
  end: {
207640
- line: 516,
207640
+ line: 522,
207641
207641
  column: 1
207642
207642
  }
207643
207643
  },
@@ -207933,91 +207933,101 @@ var cov_2ayhkohved = function () {
207933
207933
  },
207934
207934
  "53": {
207935
207935
  start: {
207936
- line: 417,
207936
+ line: 341,
207937
+ column: 8
207938
+ },
207939
+ end: {
207940
+ line: 341,
207941
+ column: 72
207942
+ }
207943
+ },
207944
+ "54": {
207945
+ start: {
207946
+ line: 423,
207937
207947
  column: 21
207938
207948
  },
207939
207949
  end: {
207940
- line: 417,
207950
+ line: 423,
207941
207951
  column: 76
207942
207952
  }
207943
207953
  },
207944
- "54": {
207954
+ "55": {
207945
207955
  start: {
207946
- line: 417,
207956
+ line: 423,
207947
207957
  column: 59
207948
207958
  },
207949
207959
  end: {
207950
- line: 417,
207960
+ line: 423,
207951
207961
  column: 75
207952
207962
  }
207953
207963
  },
207954
- "55": {
207964
+ "56": {
207955
207965
  start: {
207956
- line: 423,
207966
+ line: 429,
207957
207967
  column: 21
207958
207968
  },
207959
207969
  end: {
207960
- line: 423,
207970
+ line: 429,
207961
207971
  column: 73
207962
207972
  }
207963
207973
  },
207964
- "56": {
207974
+ "57": {
207965
207975
  start: {
207966
- line: 423,
207976
+ line: 429,
207967
207977
  column: 59
207968
207978
  },
207969
207979
  end: {
207970
- line: 423,
207980
+ line: 429,
207971
207981
  column: 72
207972
207982
  }
207973
207983
  },
207974
- "57": {
207984
+ "58": {
207975
207985
  start: {
207976
- line: 430,
207986
+ line: 436,
207977
207987
  column: 21
207978
207988
  },
207979
207989
  end: {
207980
- line: 430,
207990
+ line: 436,
207981
207991
  column: 31
207982
207992
  }
207983
207993
  },
207984
- "58": {
207994
+ "59": {
207985
207995
  start: {
207986
- line: 437,
207996
+ line: 443,
207987
207997
  column: 8
207988
207998
  },
207989
207999
  end: {
207990
- line: 440,
208000
+ line: 446,
207991
208001
  column: 9
207992
208002
  }
207993
208003
  },
207994
- "59": {
208004
+ "60": {
207995
208005
  start: {
207996
- line: 457,
208006
+ line: 463,
207997
208007
  column: 21
207998
208008
  },
207999
208009
  end: {
208000
- line: 457,
208010
+ line: 463,
208001
208011
  column: 48
208002
208012
  }
208003
208013
  },
208004
- "60": {
208014
+ "61": {
208005
208015
  start: {
208006
- line: 508,
208016
+ line: 514,
208007
208017
  column: 21
208008
208018
  },
208009
208019
  end: {
208010
- line: 508,
208020
+ line: 514,
208011
208021
  column: 56
208012
208022
  }
208013
208023
  },
208014
- "61": {
208024
+ "62": {
208015
208025
  start: {
208016
- line: 518,
208026
+ line: 524,
208017
208027
  column: 34
208018
208028
  },
208019
208029
  end: {
208020
- line: 527,
208030
+ line: 533,
208021
208031
  column: 1
208022
208032
  }
208023
208033
  }
@@ -208459,70 +208469,70 @@ var cov_2ayhkohved = function () {
208459
208469
  name: "(anonymous_18)",
208460
208470
  decl: {
208461
208471
  start: {
208462
- line: 417,
208472
+ line: 340,
208463
208473
  column: 16
208464
208474
  },
208465
208475
  end: {
208466
- line: 417,
208476
+ line: 340,
208467
208477
  column: 17
208468
208478
  }
208469
208479
  },
208470
208480
  loc: {
208471
208481
  start: {
208472
- line: 417,
208473
- column: 21
208482
+ line: 341,
208483
+ column: 8
208474
208484
  },
208475
208485
  end: {
208476
- line: 417,
208477
- column: 76
208486
+ line: 341,
208487
+ column: 72
208478
208488
  }
208479
208489
  },
208480
- line: 417
208490
+ line: 341
208481
208491
  },
208482
208492
  "19": {
208483
208493
  name: "(anonymous_19)",
208484
208494
  decl: {
208485
208495
  start: {
208486
- line: 417,
208487
- column: 49
208496
+ line: 423,
208497
+ column: 16
208488
208498
  },
208489
208499
  end: {
208490
- line: 417,
208491
- column: 50
208500
+ line: 423,
208501
+ column: 17
208492
208502
  }
208493
208503
  },
208494
208504
  loc: {
208495
208505
  start: {
208496
- line: 417,
208497
- column: 59
208506
+ line: 423,
208507
+ column: 21
208498
208508
  },
208499
208509
  end: {
208500
- line: 417,
208501
- column: 75
208510
+ line: 423,
208511
+ column: 76
208502
208512
  }
208503
208513
  },
208504
- line: 417
208514
+ line: 423
208505
208515
  },
208506
208516
  "20": {
208507
208517
  name: "(anonymous_20)",
208508
208518
  decl: {
208509
208519
  start: {
208510
208520
  line: 423,
208511
- column: 16
208521
+ column: 49
208512
208522
  },
208513
208523
  end: {
208514
208524
  line: 423,
208515
- column: 17
208525
+ column: 50
208516
208526
  }
208517
208527
  },
208518
208528
  loc: {
208519
208529
  start: {
208520
208530
  line: 423,
208521
- column: 21
208531
+ column: 59
208522
208532
  },
208523
208533
  end: {
208524
208534
  line: 423,
208525
- column: 73
208535
+ column: 75
208526
208536
  }
208527
208537
  },
208528
208538
  line: 423
@@ -208531,49 +208541,49 @@ var cov_2ayhkohved = function () {
208531
208541
  name: "(anonymous_21)",
208532
208542
  decl: {
208533
208543
  start: {
208534
- line: 423,
208535
- column: 52
208544
+ line: 429,
208545
+ column: 16
208536
208546
  },
208537
208547
  end: {
208538
- line: 423,
208539
- column: 53
208548
+ line: 429,
208549
+ column: 17
208540
208550
  }
208541
208551
  },
208542
208552
  loc: {
208543
208553
  start: {
208544
- line: 423,
208545
- column: 59
208554
+ line: 429,
208555
+ column: 21
208546
208556
  },
208547
208557
  end: {
208548
- line: 423,
208549
- column: 72
208558
+ line: 429,
208559
+ column: 73
208550
208560
  }
208551
208561
  },
208552
- line: 423
208562
+ line: 429
208553
208563
  },
208554
208564
  "22": {
208555
208565
  name: "(anonymous_22)",
208556
208566
  decl: {
208557
208567
  start: {
208558
- line: 430,
208559
- column: 16
208568
+ line: 429,
208569
+ column: 52
208560
208570
  },
208561
208571
  end: {
208562
- line: 430,
208563
- column: 17
208572
+ line: 429,
208573
+ column: 53
208564
208574
  }
208565
208575
  },
208566
208576
  loc: {
208567
208577
  start: {
208568
- line: 430,
208569
- column: 21
208578
+ line: 429,
208579
+ column: 59
208570
208580
  },
208571
208581
  end: {
208572
- line: 430,
208573
- column: 31
208582
+ line: 429,
208583
+ column: 72
208574
208584
  }
208575
208585
  },
208576
- line: 430
208586
+ line: 429
208577
208587
  },
208578
208588
  "23": {
208579
208589
  name: "(anonymous_23)",
@@ -208593,8 +208603,8 @@ var cov_2ayhkohved = function () {
208593
208603
  column: 21
208594
208604
  },
208595
208605
  end: {
208596
- line: 441,
208597
- column: 7
208606
+ line: 436,
208607
+ column: 31
208598
208608
  }
208599
208609
  },
208600
208610
  line: 436
@@ -208603,49 +208613,73 @@ var cov_2ayhkohved = function () {
208603
208613
  name: "(anonymous_24)",
208604
208614
  decl: {
208605
208615
  start: {
208606
- line: 457,
208616
+ line: 442,
208607
208617
  column: 16
208608
208618
  },
208609
208619
  end: {
208610
- line: 457,
208620
+ line: 442,
208611
208621
  column: 17
208612
208622
  }
208613
208623
  },
208614
208624
  loc: {
208615
208625
  start: {
208616
- line: 457,
208626
+ line: 442,
208617
208627
  column: 21
208618
208628
  },
208619
208629
  end: {
208620
- line: 457,
208621
- column: 48
208630
+ line: 447,
208631
+ column: 7
208622
208632
  }
208623
208633
  },
208624
- line: 457
208634
+ line: 442
208625
208635
  },
208626
208636
  "25": {
208627
208637
  name: "(anonymous_25)",
208628
208638
  decl: {
208629
208639
  start: {
208630
- line: 508,
208640
+ line: 463,
208631
208641
  column: 16
208632
208642
  },
208633
208643
  end: {
208634
- line: 508,
208644
+ line: 463,
208635
208645
  column: 17
208636
208646
  }
208637
208647
  },
208638
208648
  loc: {
208639
208649
  start: {
208640
- line: 508,
208650
+ line: 463,
208641
208651
  column: 21
208642
208652
  },
208643
208653
  end: {
208644
- line: 508,
208654
+ line: 463,
208655
+ column: 48
208656
+ }
208657
+ },
208658
+ line: 463
208659
+ },
208660
+ "26": {
208661
+ name: "(anonymous_26)",
208662
+ decl: {
208663
+ start: {
208664
+ line: 514,
208665
+ column: 16
208666
+ },
208667
+ end: {
208668
+ line: 514,
208669
+ column: 17
208670
+ }
208671
+ },
208672
+ loc: {
208673
+ start: {
208674
+ line: 514,
208675
+ column: 21
208676
+ },
208677
+ end: {
208678
+ line: 514,
208645
208679
  column: 56
208646
208680
  }
208647
208681
  },
208648
- line: 508
208682
+ line: 514
208649
208683
  }
208650
208684
  },
208651
208685
  branchMap: {
@@ -208982,134 +209016,200 @@ var cov_2ayhkohved = function () {
208982
209016
  "10": {
208983
209017
  loc: {
208984
209018
  start: {
208985
- line: 375,
209019
+ line: 341,
209020
+ column: 8
209021
+ },
209022
+ end: {
209023
+ line: 341,
209024
+ column: 72
209025
+ }
209026
+ },
209027
+ type: "cond-expr",
209028
+ locations: [{
209029
+ start: {
209030
+ line: 341,
209031
+ column: 52
209032
+ },
209033
+ end: {
209034
+ line: 341,
209035
+ column: 60
209036
+ }
209037
+ }, {
209038
+ start: {
209039
+ line: 341,
209040
+ column: 63
209041
+ },
209042
+ end: {
209043
+ line: 341,
209044
+ column: 72
209045
+ }
209046
+ }],
209047
+ line: 341
209048
+ },
209049
+ "11": {
209050
+ loc: {
209051
+ start: {
209052
+ line: 341,
209053
+ column: 8
209054
+ },
209055
+ end: {
209056
+ line: 341,
209057
+ column: 49
209058
+ }
209059
+ },
209060
+ type: "binary-expr",
209061
+ locations: [{
209062
+ start: {
209063
+ line: 341,
209064
+ column: 8
209065
+ },
209066
+ end: {
209067
+ line: 341,
209068
+ column: 22
209069
+ }
209070
+ }, {
209071
+ start: {
209072
+ line: 341,
209073
+ column: 26
209074
+ },
209075
+ end: {
209076
+ line: 341,
209077
+ column: 49
209078
+ }
209079
+ }],
209080
+ line: 341
209081
+ },
209082
+ "12": {
209083
+ loc: {
209084
+ start: {
209085
+ line: 381,
208986
209086
  column: 21
208987
209087
  },
208988
209088
  end: {
208989
- line: 375,
209089
+ line: 381,
208990
209090
  column: 62
208991
209091
  }
208992
209092
  },
208993
209093
  type: "binary-expr",
208994
209094
  locations: [{
208995
209095
  start: {
208996
- line: 375,
209096
+ line: 381,
208997
209097
  column: 21
208998
209098
  },
208999
209099
  end: {
209000
- line: 375,
209100
+ line: 381,
209001
209101
  column: 56
209002
209102
  }
209003
209103
  }, {
209004
209104
  start: {
209005
- line: 375,
209105
+ line: 381,
209006
209106
  column: 60
209007
209107
  },
209008
209108
  end: {
209009
- line: 375,
209109
+ line: 381,
209010
209110
  column: 62
209011
209111
  }
209012
209112
  }],
209013
- line: 375
209113
+ line: 381
209014
209114
  },
209015
- "11": {
209115
+ "13": {
209016
209116
  loc: {
209017
209117
  start: {
209018
- line: 438,
209118
+ line: 444,
209019
209119
  column: 10
209020
209120
  },
209021
209121
  end: {
209022
- line: 439,
209122
+ line: 445,
209023
209123
  column: 49
209024
209124
  }
209025
209125
  },
209026
209126
  type: "binary-expr",
209027
209127
  locations: [{
209028
209128
  start: {
209029
- line: 438,
209129
+ line: 444,
209030
209130
  column: 10
209031
209131
  },
209032
209132
  end: {
209033
- line: 438,
209133
+ line: 444,
209034
209134
  column: 54
209035
209135
  }
209036
209136
  }, {
209037
209137
  start: {
209038
- line: 439,
209138
+ line: 445,
209039
209139
  column: 10
209040
209140
  },
209041
209141
  end: {
209042
- line: 439,
209142
+ line: 445,
209043
209143
  column: 49
209044
209144
  }
209045
209145
  }],
209046
- line: 438
209146
+ line: 444
209047
209147
  },
209048
- "12": {
209148
+ "14": {
209049
209149
  loc: {
209050
209150
  start: {
209051
- line: 445,
209151
+ line: 451,
209052
209152
  column: 21
209053
209153
  },
209054
209154
  end: {
209055
- line: 445,
209155
+ line: 451,
209056
209156
  column: 63
209057
209157
  }
209058
209158
  },
209059
209159
  type: "binary-expr",
209060
209160
  locations: [{
209061
209161
  start: {
209062
- line: 445,
209162
+ line: 451,
209063
209163
  column: 21
209064
209164
  },
209065
209165
  end: {
209066
- line: 445,
209166
+ line: 451,
209067
209167
  column: 57
209068
209168
  }
209069
209169
  }, {
209070
209170
  start: {
209071
- line: 445,
209171
+ line: 451,
209072
209172
  column: 61
209073
209173
  },
209074
209174
  end: {
209075
- line: 445,
209175
+ line: 451,
209076
209176
  column: 63
209077
209177
  }
209078
209178
  }],
209079
- line: 445
209179
+ line: 451
209080
209180
  },
209081
- "13": {
209181
+ "15": {
209082
209182
  loc: {
209083
209183
  start: {
209084
- line: 492,
209184
+ line: 498,
209085
209185
  column: 21
209086
209186
  },
209087
209187
  end: {
209088
- line: 492,
209188
+ line: 498,
209089
209189
  column: 63
209090
209190
  }
209091
209191
  },
209092
209192
  type: "binary-expr",
209093
209193
  locations: [{
209094
209194
  start: {
209095
- line: 492,
209195
+ line: 498,
209096
209196
  column: 21
209097
209197
  },
209098
209198
  end: {
209099
- line: 492,
209199
+ line: 498,
209100
209200
  column: 57
209101
209201
  }
209102
209202
  }, {
209103
209203
  start: {
209104
- line: 492,
209204
+ line: 498,
209105
209205
  column: 61
209106
209206
  },
209107
209207
  end: {
209108
- line: 492,
209208
+ line: 498,
209109
209209
  column: 63
209110
209210
  }
209111
209211
  }],
209112
- line: 492
209212
+ line: 498
209113
209213
  }
209114
209214
  },
209115
209215
  s: {
@@ -209174,7 +209274,8 @@ var cov_2ayhkohved = function () {
209174
209274
  "58": 0,
209175
209275
  "59": 0,
209176
209276
  "60": 0,
209177
- "61": 0
209277
+ "61": 0,
209278
+ "62": 0
209178
209279
  },
209179
209280
  f: {
209180
209281
  "0": 0,
@@ -209202,7 +209303,8 @@ var cov_2ayhkohved = function () {
209202
209303
  "22": 0,
209203
209304
  "23": 0,
209204
209305
  "24": 0,
209205
- "25": 0
209306
+ "25": 0,
209307
+ "26": 0
209206
209308
  },
209207
209309
  b: {
209208
209310
  "0": [0, 0],
@@ -209218,10 +209320,12 @@ var cov_2ayhkohved = function () {
209218
209320
  "10": [0, 0],
209219
209321
  "11": [0, 0],
209220
209322
  "12": [0, 0],
209221
- "13": [0, 0]
209323
+ "13": [0, 0],
209324
+ "14": [0, 0],
209325
+ "15": [0, 0]
209222
209326
  },
209223
209327
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
209224
- hash: "32f47e62d635bf0f4fe83060d0568c152a6f04d3"
209328
+ hash: "143b737214c27d4a402dbdc710367ab5de024387"
209225
209329
  };
209226
209330
  var coverage = global[gcv] || (global[gcv] = {});
209227
209331
 
@@ -209589,6 +209693,14 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209589
209693
  }, {
209590
209694
  verboseName: 'Title',
209591
209695
  field: 'title'
209696
+ }, {
209697
+ verboseName: 'Access',
209698
+ field: 'sharing.is_public',
209699
+ accessor: function accessor(value) {
209700
+ cov_2ayhkohved.f[18]++;
209701
+ cov_2ayhkohved.s[53]++;
209702
+ 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');
209703
+ }
209592
209704
  }, {
209593
209705
  verboseName: 'Group',
209594
209706
  field: 'group.acronym'
@@ -209620,7 +209732,7 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209620
209732
  {
209621
209733
  verboseName: 'Description',
209622
209734
  field: 'description'
209623
- }].concat(baseColumns, _toConsumableArray(Object.values((cov_2ayhkohved.b[10][0]++, tableColumns_settings.customFields.projectFields) || (cov_2ayhkohved.b[10][1]++, {})))),
209735
+ }].concat(baseColumns, _toConsumableArray(Object.values((cov_2ayhkohved.b[12][0]++, tableColumns_settings.customFields.projectFields) || (cov_2ayhkohved.b[12][1]++, {})))),
209624
209736
  analyses: [{
209625
209737
  verboseName: 'Key',
209626
209738
  field: 'pk',
@@ -209646,11 +209758,11 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209646
209758
  {
209647
209759
  verboseName: 'Target Experiments',
209648
209760
  accessor: function accessor(d) {
209649
- cov_2ayhkohved.f[18]++;
209650
- cov_2ayhkohved.s[53]++;
209761
+ cov_2ayhkohved.f[19]++;
209762
+ cov_2ayhkohved.s[54]++;
209651
209763
  return d.cached_fields.targets.map(function (target) {
209652
- cov_2ayhkohved.f[19]++;
209653
- cov_2ayhkohved.s[54]++;
209764
+ cov_2ayhkohved.f[20]++;
209765
+ cov_2ayhkohved.s[55]++;
209654
209766
  return target.system_id;
209655
209767
  });
209656
209768
  },
@@ -209659,11 +209771,11 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209659
209771
  }, {
209660
209772
  verboseName: 'Reference Experiments',
209661
209773
  accessor: function accessor(d) {
209662
- cov_2ayhkohved.f[20]++;
209663
- cov_2ayhkohved.s[55]++;
209774
+ cov_2ayhkohved.f[21]++;
209775
+ cov_2ayhkohved.s[56]++;
209664
209776
  return d.cached_fields.references.map(function (ref) {
209665
- cov_2ayhkohved.f[21]++;
209666
- cov_2ayhkohved.s[56]++;
209777
+ cov_2ayhkohved.f[22]++;
209778
+ cov_2ayhkohved.s[57]++;
209667
209779
  return ref.system_id;
209668
209780
  });
209669
209781
  },
@@ -209673,8 +209785,8 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209673
209785
  verboseName: 'Linked Analyses',
209674
209786
  field: 'analyses',
209675
209787
  accessor: function accessor(d) {
209676
- cov_2ayhkohved.f[22]++;
209677
- cov_2ayhkohved.s[57]++;
209788
+ cov_2ayhkohved.f[23]++;
209789
+ cov_2ayhkohved.s[58]++;
209678
209790
  return d.analyses;
209679
209791
  },
209680
209792
  model: 'analysis'
@@ -209682,12 +209794,12 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209682
209794
  verboseName: 'Projects',
209683
209795
  field: 'targets__projects__pk',
209684
209796
  accessor: function accessor(d) {
209685
- cov_2ayhkohved.f[23]++;
209686
- cov_2ayhkohved.s[58]++;
209687
- 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', ''));
209797
+ cov_2ayhkohved.f[24]++;
209798
+ cov_2ayhkohved.s[59]++;
209799
+ 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', ''));
209688
209800
  },
209689
209801
  model: 'project'
209690
- }].concat(baseColumns, _toConsumableArray(Object.values((cov_2ayhkohved.b[12][0]++, tableColumns_settings.customFields.analysisFields) || (cov_2ayhkohved.b[12][1]++, {})))),
209802
+ }].concat(baseColumns, _toConsumableArray(Object.values((cov_2ayhkohved.b[14][0]++, tableColumns_settings.customFields.analysisFields) || (cov_2ayhkohved.b[14][1]++, {})))),
209691
209803
  projectAnalyses: [{
209692
209804
  verboseName: 'Key',
209693
209805
  field: 'pk',
@@ -209697,8 +209809,8 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209697
209809
  verboseName: 'Project',
209698
209810
  field: 'project_level_analysis',
209699
209811
  accessor: function accessor(d) {
209700
- cov_2ayhkohved.f[24]++;
209701
- cov_2ayhkohved.s[59]++;
209812
+ cov_2ayhkohved.f[25]++;
209813
+ cov_2ayhkohved.s[60]++;
209702
209814
  return d.project_level_analysis.pk;
209703
209815
  },
209704
209816
  model: 'project'
@@ -209719,7 +209831,7 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209719
209831
  }, {
209720
209832
  verboseName: 'Application',
209721
209833
  field: 'application.pk'
209722
- }].concat(baseColumns, _toConsumableArray(Object.values((cov_2ayhkohved.b[13][0]++, tableColumns_settings.customFields.analysisFields) || (cov_2ayhkohved.b[13][1]++, {})))),
209834
+ }].concat(baseColumns, _toConsumableArray(Object.values((cov_2ayhkohved.b[15][0]++, tableColumns_settings.customFields.analysisFields) || (cov_2ayhkohved.b[15][1]++, {})))),
209723
209835
  submissions: [{
209724
209836
  verboseName: 'Primary Key',
209725
209837
  field: 'pk',
@@ -209732,8 +209844,8 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209732
209844
  verboseName: 'Processed',
209733
209845
  field: 'processed',
209734
209846
  accessor: function accessor(d) {
209735
- cov_2ayhkohved.f[25]++;
209736
- cov_2ayhkohved.s[60]++;
209847
+ cov_2ayhkohved.f[26]++;
209848
+ cov_2ayhkohved.s[61]++;
209737
209849
  return Object(helpers["f" /* formatDate */])(d.processed, 'calendar');
209738
209850
  }
209739
209851
  }, {
@@ -209741,7 +209853,7 @@ var tableColumns = (cov_2ayhkohved.s[23]++, {
209741
209853
  field: 'description'
209742
209854
  }].concat(baseColumns)
209743
209855
  });
209744
- var defaultQueryParams = (cov_2ayhkohved.s[61]++, {
209856
+ var defaultQueryParams = (cov_2ayhkohved.s[62]++, {
209745
209857
  analyses: {
209746
209858
  'fields!': 'targets,references,analytics',
209747
209859
  distinct: tableColumns_settings.distinctRecords
@@ -222923,12 +223035,12 @@ var EditProfileModal_component = normalizeComponent(
222923
223035
  )
222924
223036
 
222925
223037
  /* harmony default export */ var EditProfileModal = (EditProfileModal_component.exports);
222926
- // 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&
222927
- 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}])})}
222928
- var NewProjectModalvue_type_template_id_8db07d96_staticRenderFns = []
223038
+ // 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&
223039
+ 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}])})}
223040
+ var NewProjectModalvue_type_template_id_35e14c2e_staticRenderFns = []
222929
223041
 
222930
223042
 
222931
- // CONCATENATED MODULE: ./src/components/projects/NewProjectModal.vue?vue&type=template&id=8db07d96&
223043
+ // CONCATENATED MODULE: ./src/components/projects/NewProjectModal.vue?vue&type=template&id=35e14c2e&
222932
223044
 
222933
223045
  // EXTERNAL MODULE: ./node_modules/lodash/has.js
222934
223046
  var has = __webpack_require__("3852");
@@ -226100,7 +226212,7 @@ var SharingSettings_component = normalizeComponent(
226100
226212
  // 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&
226101
226213
  var cov_2q2n13agp2 = function () {
226102
226214
  var path = "/Users/arangooj/papaemme/isabl_web/src/components/projects/NewProjectModal.vue";
226103
- var hash = "9065b65484d9dda2d79190551ed5f04b8da2c2ab";
226215
+ var hash = "0895a72217b0e4748c38c745006ed03a3932d37e";
226104
226216
  var global = new Function("return this")();
226105
226217
  var gcv = "__coverage__";
226106
226218
  var coverageData = {
@@ -226119,110 +226231,110 @@ var cov_2q2n13agp2 = function () {
226119
226231
  "1": {
226120
226232
  start: {
226121
226233
  line: 194,
226122
- column: 4
226234
+ column: 20
226123
226235
  },
226124
226236
  end: {
226125
- line: 217,
226126
- column: 5
226237
+ line: 194,
226238
+ column: 64
226127
226239
  }
226128
226240
  },
226129
226241
  "2": {
226130
226242
  start: {
226131
- line: 221,
226132
- column: 6
226243
+ line: 195,
226244
+ column: 20
226133
226245
  },
226134
226246
  end: {
226135
- line: 228,
226136
- column: 7
226247
+ line: 195,
226248
+ column: 54
226137
226249
  }
226138
226250
  },
226139
226251
  "3": {
226140
226252
  start: {
226141
- line: 222,
226142
- column: 8
226253
+ line: 196,
226254
+ column: 4
226143
226255
  },
226144
226256
  end: {
226145
- line: 222,
226146
- column: 26
226257
+ line: 219,
226258
+ column: 5
226147
226259
  }
226148
226260
  },
226149
226261
  "4": {
226150
226262
  start: {
226151
- line: 224,
226152
- column: 8
226263
+ line: 223,
226264
+ column: 6
226153
226265
  },
226154
226266
  end: {
226155
- line: 227,
226156
- column: 9
226267
+ line: 230,
226268
+ column: 7
226157
226269
  }
226158
226270
  },
226159
226271
  "5": {
226160
226272
  start: {
226161
- line: 225,
226162
- column: 10
226273
+ line: 224,
226274
+ column: 8
226163
226275
  },
226164
226276
  end: {
226165
- line: 225,
226166
- column: 48
226277
+ line: 224,
226278
+ column: 26
226167
226279
  }
226168
226280
  },
226169
226281
  "6": {
226170
226282
  start: {
226171
226283
  line: 226,
226172
- column: 10
226284
+ column: 8
226173
226285
  },
226174
226286
  end: {
226175
- line: 226,
226176
- column: 26
226287
+ line: 229,
226288
+ column: 9
226177
226289
  }
226178
226290
  },
226179
226291
  "7": {
226180
226292
  start: {
226181
- line: 232,
226182
- column: 4
226293
+ line: 227,
226294
+ column: 10
226183
226295
  },
226184
226296
  end: {
226185
- line: 232,
226186
- column: 26
226297
+ line: 227,
226298
+ column: 48
226187
226299
  }
226188
226300
  },
226189
226301
  "8": {
226190
226302
  start: {
226191
- line: 237,
226192
- column: 6
226303
+ line: 228,
226304
+ column: 10
226193
226305
  },
226194
226306
  end: {
226195
- line: 249,
226196
- column: 8
226307
+ line: 228,
226308
+ column: 26
226197
226309
  }
226198
226310
  },
226199
226311
  "9": {
226200
226312
  start: {
226201
- line: 238,
226202
- column: 8
226313
+ line: 234,
226314
+ column: 4
226203
226315
  },
226204
226316
  end: {
226205
- line: 248,
226206
- column: 9
226317
+ line: 234,
226318
+ column: 26
226207
226319
  }
226208
226320
  },
226209
226321
  "10": {
226210
226322
  start: {
226211
226323
  line: 239,
226212
- column: 10
226324
+ column: 6
226213
226325
  },
226214
226326
  end: {
226215
- line: 239,
226216
- column: 46
226327
+ line: 251,
226328
+ column: 8
226217
226329
  }
226218
226330
  },
226219
226331
  "11": {
226220
226332
  start: {
226221
226333
  line: 240,
226222
- column: 15
226334
+ column: 8
226223
226335
  },
226224
226336
  end: {
226225
- line: 248,
226337
+ line: 250,
226226
226338
  column: 9
226227
226339
  }
226228
226340
  },
@@ -226233,7 +226345,7 @@ var cov_2q2n13agp2 = function () {
226233
226345
  },
226234
226346
  end: {
226235
226347
  line: 241,
226236
- column: 68
226348
+ column: 46
226237
226349
  }
226238
226350
  },
226239
226351
  "13": {
@@ -226242,7 +226354,7 @@ var cov_2q2n13agp2 = function () {
226242
226354
  column: 15
226243
226355
  },
226244
226356
  end: {
226245
- line: 248,
226357
+ line: 250,
226246
226358
  column: 9
226247
226359
  }
226248
226360
  },
@@ -226253,7 +226365,7 @@ var cov_2q2n13agp2 = function () {
226253
226365
  },
226254
226366
  end: {
226255
226367
  line: 243,
226256
- column: 69
226368
+ column: 68
226257
226369
  }
226258
226370
  },
226259
226371
  "15": {
@@ -226262,7 +226374,7 @@ var cov_2q2n13agp2 = function () {
226262
226374
  column: 15
226263
226375
  },
226264
226376
  end: {
226265
- line: 248,
226377
+ line: 250,
226266
226378
  column: 9
226267
226379
  }
226268
226380
  },
@@ -226273,17 +226385,17 @@ var cov_2q2n13agp2 = function () {
226273
226385
  },
226274
226386
  end: {
226275
226387
  line: 245,
226276
- column: 74
226388
+ column: 69
226277
226389
  }
226278
226390
  },
226279
226391
  "17": {
226280
226392
  start: {
226281
226393
  line: 246,
226282
- column: 10
226394
+ column: 15
226283
226395
  },
226284
226396
  end: {
226285
- line: 246,
226286
- column: 94
226397
+ line: 250,
226398
+ column: 9
226287
226399
  }
226288
226400
  },
226289
226401
  "18": {
@@ -226293,276 +226405,296 @@ var cov_2q2n13agp2 = function () {
226293
226405
  },
226294
226406
  end: {
226295
226407
  line: 247,
226296
- column: 95
226408
+ column: 74
226297
226409
  }
226298
226410
  },
226299
226411
  "19": {
226300
226412
  start: {
226301
- line: 252,
226413
+ line: 248,
226414
+ column: 10
226415
+ },
226416
+ end: {
226417
+ line: 248,
226418
+ column: 94
226419
+ }
226420
+ },
226421
+ "20": {
226422
+ start: {
226423
+ line: 249,
226424
+ column: 10
226425
+ },
226426
+ end: {
226427
+ line: 249,
226428
+ column: 95
226429
+ }
226430
+ },
226431
+ "21": {
226432
+ start: {
226433
+ line: 254,
226302
226434
  column: 6
226303
226435
  },
226304
226436
  end: {
226305
- line: 255,
226437
+ line: 257,
226306
226438
  column: 7
226307
226439
  }
226308
226440
  },
226309
- "20": {
226441
+ "22": {
226310
226442
  start: {
226311
- line: 253,
226443
+ line: 255,
226312
226444
  column: 25
226313
226445
  },
226314
226446
  end: {
226315
- line: 253,
226447
+ line: 255,
226316
226448
  column: 57
226317
226449
  }
226318
226450
  },
226319
- "21": {
226451
+ "23": {
226320
226452
  start: {
226321
- line: 254,
226453
+ line: 256,
226322
226454
  column: 8
226323
226455
  },
226324
226456
  end: {
226325
- line: 254,
226457
+ line: 256,
226326
226458
  column: 38
226327
226459
  }
226328
226460
  },
226329
- "22": {
226461
+ "24": {
226330
226462
  start: {
226331
- line: 258,
226463
+ line: 260,
226332
226464
  column: 6
226333
226465
  },
226334
226466
  end: {
226335
- line: 258,
226467
+ line: 260,
226336
226468
  column: 56
226337
226469
  }
226338
226470
  },
226339
- "23": {
226471
+ "25": {
226340
226472
  start: {
226341
- line: 259,
226473
+ line: 261,
226342
226474
  column: 6
226343
226475
  },
226344
226476
  end: {
226345
- line: 259,
226477
+ line: 261,
226346
226478
  column: 44
226347
226479
  }
226348
226480
  },
226349
- "24": {
226481
+ "26": {
226350
226482
  start: {
226351
- line: 260,
226483
+ line: 262,
226352
226484
  column: 6
226353
226485
  },
226354
226486
  end: {
226355
- line: 260,
226487
+ line: 262,
226356
226488
  column: 54
226357
226489
  }
226358
226490
  },
226359
- "25": {
226491
+ "27": {
226360
226492
  start: {
226361
- line: 263,
226493
+ line: 265,
226362
226494
  column: 6
226363
226495
  },
226364
226496
  end: {
226365
- line: 263,
226497
+ line: 265,
226366
226498
  column: 32
226367
226499
  }
226368
226500
  },
226369
- "26": {
226501
+ "28": {
226370
226502
  start: {
226371
- line: 264,
226503
+ line: 266,
226372
226504
  column: 6
226373
226505
  },
226374
226506
  end: {
226375
- line: 264,
226507
+ line: 266,
226376
226508
  column: 58
226377
226509
  }
226378
226510
  },
226379
- "27": {
226511
+ "29": {
226380
226512
  start: {
226381
- line: 264,
226513
+ line: 266,
226382
226514
  column: 46
226383
226515
  },
226384
226516
  end: {
226385
- line: 264,
226517
+ line: 266,
226386
226518
  column: 57
226387
226519
  }
226388
226520
  },
226389
- "28": {
226521
+ "30": {
226390
226522
  start: {
226391
- line: 267,
226523
+ line: 269,
226392
226524
  column: 6
226393
226525
  },
226394
226526
  end: {
226395
- line: 267,
226527
+ line: 269,
226396
226528
  column: 22
226397
226529
  }
226398
226530
  },
226399
- "29": {
226531
+ "31": {
226400
226532
  start: {
226401
- line: 268,
226533
+ line: 270,
226402
226534
  column: 6
226403
226535
  },
226404
226536
  end: {
226405
- line: 268,
226537
+ line: 270,
226406
226538
  column: 31
226407
226539
  }
226408
226540
  },
226409
- "30": {
226541
+ "32": {
226410
226542
  start: {
226411
- line: 271,
226543
+ line: 273,
226412
226544
  column: 6
226413
226545
  },
226414
226546
  end: {
226415
- line: 274,
226547
+ line: 276,
226416
226548
  column: 7
226417
226549
  }
226418
226550
  },
226419
- "31": {
226551
+ "33": {
226420
226552
  start: {
226421
- line: 277,
226553
+ line: 279,
226422
226554
  column: 6
226423
226555
  },
226424
226556
  end: {
226425
- line: 280,
226557
+ line: 282,
226426
226558
  column: 7
226427
226559
  }
226428
226560
  },
226429
- "32": {
226561
+ "34": {
226430
226562
  start: {
226431
- line: 281,
226563
+ line: 283,
226432
226564
  column: 6
226433
226565
  },
226434
226566
  end: {
226435
- line: 284,
226567
+ line: 286,
226436
226568
  column: 7
226437
226569
  }
226438
226570
  },
226439
- "33": {
226571
+ "35": {
226440
226572
  start: {
226441
- line: 287,
226573
+ line: 289,
226442
226574
  column: 6
226443
226575
  },
226444
226576
  end: {
226445
- line: 287,
226577
+ line: 289,
226446
226578
  column: 32
226447
226579
  }
226448
226580
  },
226449
- "34": {
226581
+ "36": {
226450
226582
  start: {
226451
- line: 288,
226583
+ line: 290,
226452
226584
  column: 6
226453
226585
  },
226454
226586
  end: {
226455
- line: 288,
226587
+ line: 290,
226456
226588
  column: 28
226457
226589
  }
226458
226590
  },
226459
- "35": {
226591
+ "37": {
226460
226592
  start: {
226461
- line: 289,
226593
+ line: 291,
226462
226594
  column: 6
226463
226595
  },
226464
226596
  end: {
226465
- line: 289,
226597
+ line: 291,
226466
226598
  column: 65
226467
226599
  }
226468
226600
  },
226469
- "36": {
226601
+ "38": {
226470
226602
  start: {
226471
- line: 289,
226603
+ line: 291,
226472
226604
  column: 46
226473
226605
  },
226474
226606
  end: {
226475
- line: 289,
226607
+ line: 291,
226476
226608
  column: 64
226477
226609
  }
226478
226610
  },
226479
- "37": {
226611
+ "39": {
226480
226612
  start: {
226481
- line: 291,
226613
+ line: 293,
226482
226614
  column: 6
226483
226615
  },
226484
226616
  end: {
226485
- line: 312,
226617
+ line: 314,
226486
226618
  column: 7
226487
226619
  }
226488
226620
  },
226489
- "38": {
226621
+ "40": {
226490
226622
  start: {
226491
- line: 292,
226623
+ line: 294,
226492
226624
  column: 8
226493
226625
  },
226494
226626
  end: {
226495
- line: 311,
226627
+ line: 313,
226496
226628
  column: 12
226497
226629
  }
226498
226630
  },
226499
- "39": {
226631
+ "41": {
226500
226632
  start: {
226501
- line: 294,
226633
+ line: 296,
226502
226634
  column: 30
226503
226635
  },
226504
226636
  end: {
226505
- line: 294,
226637
+ line: 296,
226506
226638
  column: 59
226507
226639
  }
226508
226640
  },
226509
- "40": {
226641
+ "42": {
226510
226642
  start: {
226511
- line: 295,
226643
+ line: 297,
226512
226644
  column: 12
226513
226645
  },
226514
226646
  end: {
226515
- line: 297,
226647
+ line: 299,
226516
226648
  column: 14
226517
226649
  }
226518
226650
  },
226519
- "41": {
226651
+ "43": {
226520
226652
  start: {
226521
- line: 299,
226653
+ line: 301,
226522
226654
  column: 12
226523
226655
  },
226524
226656
  end: {
226525
- line: 301,
226657
+ line: 303,
226526
226658
  column: 14
226527
226659
  }
226528
226660
  },
226529
- "42": {
226661
+ "44": {
226530
226662
  start: {
226531
- line: 302,
226663
+ line: 304,
226532
226664
  column: 12
226533
226665
  },
226534
226666
  end: {
226535
- line: 302,
226667
+ line: 304,
226536
226668
  column: 29
226537
226669
  }
226538
226670
  },
226539
- "43": {
226671
+ "45": {
226540
226672
  start: {
226541
- line: 305,
226673
+ line: 307,
226542
226674
  column: 12
226543
226675
  },
226544
226676
  end: {
226545
- line: 310,
226677
+ line: 312,
226546
226678
  column: 13
226547
226679
  }
226548
226680
  },
226549
- "44": {
226681
+ "46": {
226550
226682
  start: {
226551
- line: 306,
226683
+ line: 308,
226552
226684
  column: 14
226553
226685
  },
226554
226686
  end: {
226555
- line: 306,
226687
+ line: 308,
226556
226688
  column: 54
226557
226689
  }
226558
226690
  },
226559
- "45": {
226691
+ "47": {
226560
226692
  start: {
226561
- line: 307,
226693
+ line: 309,
226562
226694
  column: 14
226563
226695
  },
226564
226696
  end: {
226565
- line: 309,
226697
+ line: 311,
226566
226698
  column: 16
226567
226699
  }
226568
226700
  }
@@ -226610,7 +226742,7 @@ var cov_2q2n13agp2 = function () {
226610
226742
  column: 9
226611
226743
  },
226612
226744
  end: {
226613
- line: 218,
226745
+ line: 220,
226614
226746
  column: 3
226615
226747
  }
226616
226748
  },
@@ -226620,660 +226752,660 @@ var cov_2q2n13agp2 = function () {
226620
226752
  name: "(anonymous_2)",
226621
226753
  decl: {
226622
226754
  start: {
226623
- line: 220,
226755
+ line: 222,
226624
226756
  column: 4
226625
226757
  },
226626
226758
  end: {
226627
- line: 220,
226759
+ line: 222,
226628
226760
  column: 5
226629
226761
  }
226630
226762
  },
226631
226763
  loc: {
226632
226764
  start: {
226633
- line: 220,
226765
+ line: 222,
226634
226766
  column: 21
226635
226767
  },
226636
226768
  end: {
226637
- line: 229,
226769
+ line: 231,
226638
226770
  column: 5
226639
226771
  }
226640
226772
  },
226641
- line: 220
226773
+ line: 222
226642
226774
  },
226643
226775
  "3": {
226644
226776
  name: "(anonymous_3)",
226645
226777
  decl: {
226646
226778
  start: {
226647
- line: 231,
226779
+ line: 233,
226648
226780
  column: 2
226649
226781
  },
226650
226782
  end: {
226651
- line: 231,
226783
+ line: 233,
226652
226784
  column: 3
226653
226785
  }
226654
226786
  },
226655
226787
  loc: {
226656
226788
  start: {
226657
- line: 231,
226789
+ line: 233,
226658
226790
  column: 12
226659
226791
  },
226660
226792
  end: {
226661
- line: 233,
226793
+ line: 235,
226662
226794
  column: 3
226663
226795
  }
226664
226796
  },
226665
- line: 231
226797
+ line: 233
226666
226798
  },
226667
226799
  "4": {
226668
226800
  name: "(anonymous_4)",
226669
226801
  decl: {
226670
226802
  start: {
226671
- line: 235,
226803
+ line: 237,
226672
226804
  column: 4
226673
226805
  },
226674
226806
  end: {
226675
- line: 235,
226807
+ line: 237,
226676
226808
  column: 5
226677
226809
  }
226678
226810
  },
226679
226811
  loc: {
226680
226812
  start: {
226681
- line: 235,
226813
+ line: 237,
226682
226814
  column: 22
226683
226815
  },
226684
226816
  end: {
226685
- line: 250,
226817
+ line: 252,
226686
226818
  column: 5
226687
226819
  }
226688
226820
  },
226689
- line: 235
226821
+ line: 237
226690
226822
  },
226691
226823
  "5": {
226692
226824
  name: "(anonymous_5)",
226693
226825
  decl: {
226694
226826
  start: {
226695
- line: 237,
226827
+ line: 239,
226696
226828
  column: 36
226697
226829
  },
226698
226830
  end: {
226699
- line: 237,
226831
+ line: 239,
226700
226832
  column: 37
226701
226833
  }
226702
226834
  },
226703
226835
  loc: {
226704
226836
  start: {
226705
- line: 237,
226837
+ line: 239,
226706
226838
  column: 45
226707
226839
  },
226708
226840
  end: {
226709
- line: 249,
226841
+ line: 251,
226710
226842
  column: 7
226711
226843
  }
226712
226844
  },
226713
- line: 237
226845
+ line: 239
226714
226846
  },
226715
226847
  "6": {
226716
226848
  name: "(anonymous_6)",
226717
226849
  decl: {
226718
226850
  start: {
226719
- line: 251,
226851
+ line: 253,
226720
226852
  column: 4
226721
226853
  },
226722
226854
  end: {
226723
- line: 251,
226855
+ line: 253,
226724
226856
  column: 5
226725
226857
  }
226726
226858
  },
226727
226859
  loc: {
226728
226860
  start: {
226729
- line: 251,
226861
+ line: 253,
226730
226862
  column: 24
226731
226863
  },
226732
226864
  end: {
226733
- line: 256,
226865
+ line: 258,
226734
226866
  column: 5
226735
226867
  }
226736
226868
  },
226737
- line: 251
226869
+ line: 253
226738
226870
  },
226739
226871
  "7": {
226740
226872
  name: "(anonymous_7)",
226741
226873
  decl: {
226742
226874
  start: {
226743
- line: 257,
226875
+ line: 259,
226744
226876
  column: 4
226745
226877
  },
226746
226878
  end: {
226747
- line: 257,
226879
+ line: 259,
226748
226880
  column: 5
226749
226881
  }
226750
226882
  },
226751
226883
  loc: {
226752
226884
  start: {
226753
- line: 257,
226885
+ line: 259,
226754
226886
  column: 27
226755
226887
  },
226756
226888
  end: {
226757
- line: 261,
226889
+ line: 263,
226758
226890
  column: 5
226759
226891
  }
226760
226892
  },
226761
- line: 257
226893
+ line: 259
226762
226894
  },
226763
226895
  "8": {
226764
226896
  name: "(anonymous_8)",
226765
226897
  decl: {
226766
226898
  start: {
226767
- line: 262,
226899
+ line: 264,
226768
226900
  column: 4
226769
226901
  },
226770
226902
  end: {
226771
- line: 262,
226903
+ line: 264,
226772
226904
  column: 5
226773
226905
  }
226774
226906
  },
226775
226907
  loc: {
226776
226908
  start: {
226777
- line: 262,
226909
+ line: 264,
226778
226910
  column: 16
226779
226911
  },
226780
226912
  end: {
226781
- line: 265,
226913
+ line: 267,
226782
226914
  column: 5
226783
226915
  }
226784
226916
  },
226785
- line: 262
226917
+ line: 264
226786
226918
  },
226787
226919
  "9": {
226788
226920
  name: "(anonymous_9)",
226789
226921
  decl: {
226790
226922
  start: {
226791
- line: 264,
226923
+ line: 266,
226792
226924
  column: 39
226793
226925
  },
226794
226926
  end: {
226795
- line: 264,
226927
+ line: 266,
226796
226928
  column: 40
226797
226929
  }
226798
226930
  },
226799
226931
  loc: {
226800
226932
  start: {
226801
- line: 264,
226933
+ line: 266,
226802
226934
  column: 46
226803
226935
  },
226804
226936
  end: {
226805
- line: 264,
226937
+ line: 266,
226806
226938
  column: 57
226807
226939
  }
226808
226940
  },
226809
- line: 264
226941
+ line: 266
226810
226942
  },
226811
226943
  "10": {
226812
226944
  name: "(anonymous_10)",
226813
226945
  decl: {
226814
226946
  start: {
226815
- line: 266,
226947
+ line: 268,
226816
226948
  column: 4
226817
226949
  },
226818
226950
  end: {
226819
- line: 266,
226951
+ line: 268,
226820
226952
  column: 5
226821
226953
  }
226822
226954
  },
226823
226955
  loc: {
226824
226956
  start: {
226825
- line: 266,
226957
+ line: 268,
226826
226958
  column: 17
226827
226959
  },
226828
226960
  end: {
226829
- line: 269,
226961
+ line: 271,
226830
226962
  column: 5
226831
226963
  }
226832
226964
  },
226833
- line: 266
226965
+ line: 268
226834
226966
  },
226835
226967
  "11": {
226836
226968
  name: "(anonymous_11)",
226837
226969
  decl: {
226838
226970
  start: {
226839
- line: 270,
226971
+ line: 272,
226840
226972
  column: 4
226841
226973
  },
226842
226974
  end: {
226843
- line: 270,
226975
+ line: 272,
226844
226976
  column: 5
226845
226977
  }
226846
226978
  },
226847
226979
  loc: {
226848
226980
  start: {
226849
- line: 270,
226981
+ line: 272,
226850
226982
  column: 22
226851
226983
  },
226852
226984
  end: {
226853
- line: 275,
226985
+ line: 277,
226854
226986
  column: 5
226855
226987
  }
226856
226988
  },
226857
- line: 270
226989
+ line: 272
226858
226990
  },
226859
226991
  "12": {
226860
226992
  name: "(anonymous_12)",
226861
226993
  decl: {
226862
226994
  start: {
226863
- line: 276,
226995
+ line: 278,
226864
226996
  column: 4
226865
226997
  },
226866
226998
  end: {
226867
- line: 276,
226999
+ line: 278,
226868
227000
  column: 5
226869
227001
  }
226870
227002
  },
226871
227003
  loc: {
226872
227004
  start: {
226873
- line: 276,
227005
+ line: 278,
226874
227006
  column: 24
226875
227007
  },
226876
227008
  end: {
226877
- line: 285,
227009
+ line: 287,
226878
227010
  column: 5
226879
227011
  }
226880
227012
  },
226881
- line: 276
227013
+ line: 278
226882
227014
  },
226883
227015
  "13": {
226884
227016
  name: "(anonymous_13)",
226885
227017
  decl: {
226886
227018
  start: {
226887
- line: 286,
227019
+ line: 288,
226888
227020
  column: 4
226889
227021
  },
226890
227022
  end: {
226891
- line: 286,
227023
+ line: 288,
226892
227024
  column: 5
226893
227025
  }
226894
227026
  },
226895
227027
  loc: {
226896
227028
  start: {
226897
- line: 286,
227029
+ line: 288,
226898
227030
  column: 19
226899
227031
  },
226900
227032
  end: {
226901
- line: 313,
227033
+ line: 315,
226902
227034
  column: 5
226903
227035
  }
226904
227036
  },
226905
- line: 286
227037
+ line: 288
226906
227038
  },
226907
227039
  "14": {
226908
227040
  name: "(anonymous_14)",
226909
227041
  decl: {
226910
227042
  start: {
226911
- line: 289,
227043
+ line: 291,
226912
227044
  column: 39
226913
227045
  },
226914
227046
  end: {
226915
- line: 289,
227047
+ line: 291,
226916
227048
  column: 40
226917
227049
  }
226918
227050
  },
226919
227051
  loc: {
226920
227052
  start: {
226921
- line: 289,
227053
+ line: 291,
226922
227054
  column: 46
226923
227055
  },
226924
227056
  end: {
226925
- line: 289,
227057
+ line: 291,
226926
227058
  column: 64
226927
227059
  }
226928
227060
  },
226929
- line: 289
227061
+ line: 291
226930
227062
  },
226931
227063
  "15": {
226932
227064
  name: "(anonymous_15)",
226933
227065
  decl: {
226934
227066
  start: {
226935
- line: 293,
227067
+ line: 295,
226936
227068
  column: 16
226937
227069
  },
226938
227070
  end: {
226939
- line: 293,
227071
+ line: 295,
226940
227072
  column: 17
226941
227073
  }
226942
227074
  },
226943
227075
  loc: {
226944
227076
  start: {
226945
- line: 293,
227077
+ line: 295,
226946
227078
  column: 28
226947
227079
  },
226948
227080
  end: {
226949
- line: 303,
227081
+ line: 305,
226950
227082
  column: 11
226951
227083
  }
226952
227084
  },
226953
- line: 293
227085
+ line: 295
226954
227086
  },
226955
227087
  "16": {
226956
227088
  name: "(anonymous_16)",
226957
227089
  decl: {
226958
227090
  start: {
226959
- line: 304,
227091
+ line: 306,
226960
227092
  column: 17
226961
227093
  },
226962
227094
  end: {
226963
- line: 304,
227095
+ line: 306,
226964
227096
  column: 18
226965
227097
  }
226966
227098
  },
226967
227099
  loc: {
226968
227100
  start: {
226969
- line: 304,
227101
+ line: 306,
226970
227102
  column: 26
226971
227103
  },
226972
227104
  end: {
226973
- line: 311,
227105
+ line: 313,
226974
227106
  column: 11
226975
227107
  }
226976
227108
  },
226977
- line: 304
227109
+ line: 306
226978
227110
  }
226979
227111
  },
226980
227112
  branchMap: {
226981
227113
  "0": {
226982
227114
  loc: {
226983
227115
  start: {
226984
- line: 221,
227116
+ line: 223,
226985
227117
  column: 6
226986
227118
  },
226987
227119
  end: {
226988
- line: 228,
227120
+ line: 230,
226989
227121
  column: 7
226990
227122
  }
226991
227123
  },
226992
227124
  type: "if",
226993
227125
  locations: [{
226994
227126
  start: {
226995
- line: 221,
227127
+ line: 223,
226996
227128
  column: 6
226997
227129
  },
226998
227130
  end: {
226999
- line: 228,
227131
+ line: 230,
227000
227132
  column: 7
227001
227133
  }
227002
227134
  }, {
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
- line: 221
227144
+ line: 223
227013
227145
  },
227014
227146
  "1": {
227015
227147
  loc: {
227016
227148
  start: {
227017
- line: 224,
227149
+ line: 226,
227018
227150
  column: 8
227019
227151
  },
227020
227152
  end: {
227021
- line: 227,
227153
+ line: 229,
227022
227154
  column: 9
227023
227155
  }
227024
227156
  },
227025
227157
  type: "if",
227026
227158
  locations: [{
227027
227159
  start: {
227028
- line: 224,
227160
+ line: 226,
227029
227161
  column: 8
227030
227162
  },
227031
227163
  end: {
227032
- line: 227,
227164
+ line: 229,
227033
227165
  column: 9
227034
227166
  }
227035
227167
  }, {
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
- line: 224
227177
+ line: 226
227046
227178
  },
227047
227179
  "2": {
227048
227180
  loc: {
227049
227181
  start: {
227050
- line: 238,
227182
+ line: 240,
227051
227183
  column: 8
227052
227184
  },
227053
227185
  end: {
227054
- line: 248,
227186
+ line: 250,
227055
227187
  column: 9
227056
227188
  }
227057
227189
  },
227058
227190
  type: "if",
227059
227191
  locations: [{
227060
227192
  start: {
227061
- line: 238,
227193
+ line: 240,
227062
227194
  column: 8
227063
227195
  },
227064
227196
  end: {
227065
- line: 248,
227197
+ line: 250,
227066
227198
  column: 9
227067
227199
  }
227068
227200
  }, {
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
- line: 238
227210
+ line: 240
227079
227211
  },
227080
227212
  "3": {
227081
227213
  loc: {
227082
227214
  start: {
227083
- line: 240,
227215
+ line: 242,
227084
227216
  column: 15
227085
227217
  },
227086
227218
  end: {
227087
- line: 248,
227219
+ line: 250,
227088
227220
  column: 9
227089
227221
  }
227090
227222
  },
227091
227223
  type: "if",
227092
227224
  locations: [{
227093
227225
  start: {
227094
- line: 240,
227226
+ line: 242,
227095
227227
  column: 15
227096
227228
  },
227097
227229
  end: {
227098
- line: 248,
227230
+ line: 250,
227099
227231
  column: 9
227100
227232
  }
227101
227233
  }, {
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
- line: 240
227243
+ line: 242
227112
227244
  },
227113
227245
  "4": {
227114
227246
  loc: {
227115
227247
  start: {
227116
- line: 242,
227248
+ line: 244,
227117
227249
  column: 15
227118
227250
  },
227119
227251
  end: {
227120
- line: 248,
227252
+ line: 250,
227121
227253
  column: 9
227122
227254
  }
227123
227255
  },
227124
227256
  type: "if",
227125
227257
  locations: [{
227126
227258
  start: {
227127
- line: 242,
227259
+ line: 244,
227128
227260
  column: 15
227129
227261
  },
227130
227262
  end: {
227131
- line: 248,
227263
+ line: 250,
227132
227264
  column: 9
227133
227265
  }
227134
227266
  }, {
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
- line: 242
227276
+ line: 244
227145
227277
  },
227146
227278
  "5": {
227147
227279
  loc: {
227148
227280
  start: {
227149
- line: 244,
227281
+ line: 246,
227150
227282
  column: 15
227151
227283
  },
227152
227284
  end: {
227153
- line: 248,
227285
+ line: 250,
227154
227286
  column: 9
227155
227287
  }
227156
227288
  },
227157
227289
  type: "if",
227158
227290
  locations: [{
227159
227291
  start: {
227160
- line: 244,
227292
+ line: 246,
227161
227293
  column: 15
227162
227294
  },
227163
227295
  end: {
227164
- line: 248,
227296
+ line: 250,
227165
227297
  column: 9
227166
227298
  }
227167
227299
  }, {
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
- line: 244
227309
+ line: 246
227178
227310
  },
227179
227311
  "6": {
227180
227312
  loc: {
227181
227313
  start: {
227182
- line: 252,
227314
+ line: 254,
227183
227315
  column: 6
227184
227316
  },
227185
227317
  end: {
227186
- line: 255,
227318
+ line: 257,
227187
227319
  column: 7
227188
227320
  }
227189
227321
  },
227190
227322
  type: "if",
227191
227323
  locations: [{
227192
227324
  start: {
227193
- line: 252,
227325
+ line: 254,
227194
227326
  column: 6
227195
227327
  },
227196
227328
  end: {
227197
- line: 255,
227329
+ line: 257,
227198
227330
  column: 7
227199
227331
  }
227200
227332
  }, {
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
- line: 252
227342
+ line: 254
227211
227343
  },
227212
227344
  "7": {
227213
227345
  loc: {
227214
227346
  start: {
227215
- line: 291,
227347
+ line: 293,
227216
227348
  column: 6
227217
227349
  },
227218
227350
  end: {
227219
- line: 312,
227351
+ line: 314,
227220
227352
  column: 7
227221
227353
  }
227222
227354
  },
227223
227355
  type: "if",
227224
227356
  locations: [{
227225
227357
  start: {
227226
- line: 291,
227358
+ line: 293,
227227
227359
  column: 6
227228
227360
  },
227229
227361
  end: {
227230
- line: 312,
227362
+ line: 314,
227231
227363
  column: 7
227232
227364
  }
227233
227365
  }, {
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
- line: 291
227375
+ line: 293
227244
227376
  },
227245
227377
  "8": {
227246
227378
  loc: {
227247
227379
  start: {
227248
- line: 305,
227380
+ line: 307,
227249
227381
  column: 12
227250
227382
  },
227251
227383
  end: {
227252
- line: 310,
227384
+ line: 312,
227253
227385
  column: 13
227254
227386
  }
227255
227387
  },
227256
227388
  type: "if",
227257
227389
  locations: [{
227258
227390
  start: {
227259
- line: 305,
227391
+ line: 307,
227260
227392
  column: 12
227261
227393
  },
227262
227394
  end: {
227263
- line: 310,
227395
+ line: 312,
227264
227396
  column: 13
227265
227397
  }
227266
227398
  }, {
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
- line: 305
227408
+ line: 307
227277
227409
  }
227278
227410
  },
227279
227411
  s: {
@@ -227322,7 +227454,9 @@ var cov_2q2n13agp2 = function () {
227322
227454
  "42": 0,
227323
227455
  "43": 0,
227324
227456
  "44": 0,
227325
- "45": 0
227457
+ "45": 0,
227458
+ "46": 0,
227459
+ "47": 0
227326
227460
  },
227327
227461
  f: {
227328
227462
  "0": 0,
@@ -227358,13 +227492,13 @@ var cov_2q2n13agp2 = function () {
227358
227492
  version: 3,
227359
227493
  sources: ["NewProjectModal.vue"],
227360
227494
  names: [],
227361
- 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",
227495
+ 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",
227362
227496
  file: "NewProjectModal.vue",
227363
227497
  sourceRoot: "src/components/projects",
227364
- 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"]
227498
+ 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"]
227365
227499
  },
227366
227500
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
227367
- hash: "9065b65484d9dda2d79190551ed5f04b8da2c2ab"
227501
+ hash: "0895a72217b0e4748c38c745006ed03a3932d37e"
227368
227502
  };
227369
227503
  var coverage = global[gcv] || (global[gcv] = {});
227370
227504
 
@@ -227582,20 +227716,26 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227582
227716
  },
227583
227717
  data: function data() {
227584
227718
  cov_2q2n13agp2.f[1]++;
227585
- cov_2q2n13agp2.s[1]++;
227719
+ var sharing = (cov_2q2n13agp2.s[1]++, {
227720
+ isPublic: true,
227721
+ canRead: [],
227722
+ canShare: []
227723
+ });
227724
+ var project = (cov_2q2n13agp2.s[2]++, {
227725
+ sharing: Object(helpers["n" /* snakifyKeys */])(sharing)
227726
+ });
227727
+ cov_2q2n13agp2.s[3]++;
227586
227728
  return {
227587
227729
  isLoading: false,
227588
227730
  errorMessages: {},
227589
227731
  formHasErrors: false,
227590
227732
  fieldsToValidate: ['title', 'shortTitle', 'group', 'principalInvestigator', 'owner', 'coordinator', 'analyst', 'sharing'],
227591
227733
  groups: [],
227592
- project: {},
227593
- sharing: {
227594
- isPublic: true
227595
- },
227734
+ project: project,
227735
+ sharing: sharing,
227596
227736
  refs: {},
227597
227737
  rules: rules,
227598
- showOptionalFields: true,
227738
+ showOptionalFields: false,
227599
227739
  users: [],
227600
227740
  usersQuery: '',
227601
227741
  camelifyKeys: helpers["a" /* camelifyKeys */]
@@ -227604,20 +227744,20 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227604
227744
  watch: {
227605
227745
  showModal: function showModal(value) {
227606
227746
  cov_2q2n13agp2.f[2]++;
227607
- cov_2q2n13agp2.s[2]++;
227747
+ cov_2q2n13agp2.s[4]++;
227608
227748
 
227609
227749
  if (value) {
227610
227750
  cov_2q2n13agp2.b[0][0]++;
227611
- cov_2q2n13agp2.s[3]++;
227751
+ cov_2q2n13agp2.s[5]++;
227612
227752
  this.fetchGroups(); // ensure autofocus: https://github.com/vuetifyjs/vuetify/issues/1587
227613
227753
 
227614
- cov_2q2n13agp2.s[4]++;
227754
+ cov_2q2n13agp2.s[6]++;
227615
227755
 
227616
227756
  if (this.$refs.title) {
227617
227757
  cov_2q2n13agp2.b[1][0]++;
227618
- cov_2q2n13agp2.s[5]++;
227758
+ cov_2q2n13agp2.s[7]++;
227619
227759
  this.$nextTick(this.$refs.title.focus);
227620
- cov_2q2n13agp2.s[6]++;
227760
+ cov_2q2n13agp2.s[8]++;
227621
227761
  this.resetForm();
227622
227762
  } else {
227623
227763
  cov_2q2n13agp2.b[1][1]++;
@@ -227629,7 +227769,7 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227629
227769
  },
227630
227770
  updated: function updated() {
227631
227771
  cov_2q2n13agp2.f[3]++;
227632
- cov_2q2n13agp2.s[7]++;
227772
+ cov_2q2n13agp2.s[9]++;
227633
227773
  this.attachFieldRefs();
227634
227774
  },
227635
227775
  methods: {
@@ -227637,43 +227777,43 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227637
227777
  var _this = this;
227638
227778
 
227639
227779
  cov_2q2n13agp2.f[4]++;
227640
- cov_2q2n13agp2.s[8]++;
227780
+ cov_2q2n13agp2.s[10]++;
227641
227781
  // Map all local and nested inputs to local 'refs' object
227642
227782
  this.fieldsToValidate.forEach(function (field) {
227643
227783
  cov_2q2n13agp2.f[5]++;
227644
- cov_2q2n13agp2.s[9]++;
227784
+ cov_2q2n13agp2.s[11]++;
227645
227785
 
227646
227786
  if (has_default()(_this.$refs[field], 'reset')) {
227647
227787
  cov_2q2n13agp2.b[2][0]++;
227648
- cov_2q2n13agp2.s[10]++;
227788
+ cov_2q2n13agp2.s[12]++;
227649
227789
  _this.refs[field] = _this.$refs[field];
227650
227790
  } else {
227651
227791
  cov_2q2n13agp2.b[2][1]++;
227652
- cov_2q2n13agp2.s[11]++;
227792
+ cov_2q2n13agp2.s[13]++;
227653
227793
 
227654
227794
  if (has_default()(_this.$refs[field], '$refs.userSearchInput.reset')) {
227655
227795
  cov_2q2n13agp2.b[3][0]++;
227656
- cov_2q2n13agp2.s[12]++;
227796
+ cov_2q2n13agp2.s[14]++;
227657
227797
  _this.refs[field] = _this.$refs[field].$refs.userSearchInput;
227658
227798
  } else {
227659
227799
  cov_2q2n13agp2.b[3][1]++;
227660
- cov_2q2n13agp2.s[13]++;
227800
+ cov_2q2n13agp2.s[15]++;
227661
227801
 
227662
227802
  if (has_default()(_this.$refs[field], '$refs.groupSearchInput.reset')) {
227663
227803
  cov_2q2n13agp2.b[4][0]++;
227664
- cov_2q2n13agp2.s[14]++;
227804
+ cov_2q2n13agp2.s[16]++;
227665
227805
  _this.refs[field] = _this.$refs[field].$refs.groupSearchInput;
227666
227806
  } else {
227667
227807
  cov_2q2n13agp2.b[4][1]++;
227668
- cov_2q2n13agp2.s[15]++;
227808
+ cov_2q2n13agp2.s[17]++;
227669
227809
 
227670
227810
  if (has_default()(_this.$refs, "".concat(field, ".$refs.canRead.$refs.userSearchInput.reset"))) {
227671
227811
  cov_2q2n13agp2.b[5][0]++;
227672
- cov_2q2n13agp2.s[16]++;
227812
+ cov_2q2n13agp2.s[18]++;
227673
227813
  _this.refs['sharing.isPublic'] = _this.$refs[field].$refs.isPublic;
227674
- cov_2q2n13agp2.s[17]++;
227814
+ cov_2q2n13agp2.s[19]++;
227675
227815
  _this.refs['sharing.canRead'] = _this.$refs[field].$refs.canRead.$refs.userSearchInput;
227676
- cov_2q2n13agp2.s[18]++;
227816
+ cov_2q2n13agp2.s[20]++;
227677
227817
  _this.refs['sharing.isShare'] = _this.$refs[field].$refs.canShare.$refs.userSearchInput;
227678
227818
  } else {
227679
227819
  cov_2q2n13agp2.b[5][1]++;
@@ -227691,7 +227831,7 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227691
227831
  switch (_context.prev = _context.next) {
227692
227832
  case 0:
227693
227833
  cov_2q2n13agp2.f[6]++;
227694
- cov_2q2n13agp2.s[19]++;
227834
+ cov_2q2n13agp2.s[21]++;
227695
227835
 
227696
227836
  if (this.groups.length) {
227697
227837
  _context.next = 12;
@@ -227699,13 +227839,13 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227699
227839
  }
227700
227840
 
227701
227841
  cov_2q2n13agp2.b[6][0]++;
227702
- cov_2q2n13agp2.s[20]++;
227842
+ cov_2q2n13agp2.s[22]++;
227703
227843
  _context.next = 7;
227704
227844
  return fetchListRecords('groups');
227705
227845
 
227706
227846
  case 7:
227707
227847
  response = _context.sent;
227708
- cov_2q2n13agp2.s[21]++;
227848
+ cov_2q2n13agp2.s[23]++;
227709
227849
  this.groups = response.results;
227710
227850
  _context.next = 13;
227711
227851
  break;
@@ -227729,41 +227869,41 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227729
227869
  }(),
227730
227870
  toggleOptionalFields: function toggleOptionalFields() {
227731
227871
  cov_2q2n13agp2.f[7]++;
227732
- cov_2q2n13agp2.s[22]++;
227872
+ cov_2q2n13agp2.s[24]++;
227733
227873
  this.showOptionalFields = !this.showOptionalFields;
227734
- cov_2q2n13agp2.s[23]++;
227874
+ cov_2q2n13agp2.s[25]++;
227735
227875
  this.$nextTick(this.$refs.title.focus);
227736
- cov_2q2n13agp2.s[24]++;
227876
+ cov_2q2n13agp2.s[26]++;
227737
227877
  this.$nextTick(this.$refs.title.resetValidation);
227738
227878
  },
227739
227879
  resetForm: function resetForm() {
227740
227880
  cov_2q2n13agp2.f[8]++;
227741
- cov_2q2n13agp2.s[25]++;
227881
+ cov_2q2n13agp2.s[27]++;
227742
227882
  this.formHasErrors = false;
227743
- cov_2q2n13agp2.s[26]++;
227883
+ cov_2q2n13agp2.s[28]++;
227744
227884
  Object.values(this.refs).forEach(function (ref) {
227745
227885
  cov_2q2n13agp2.f[9]++;
227746
- cov_2q2n13agp2.s[27]++;
227886
+ cov_2q2n13agp2.s[29]++;
227747
227887
  return ref.reset();
227748
227888
  });
227749
227889
  },
227750
227890
  closeModal: function closeModal() {
227751
227891
  cov_2q2n13agp2.f[10]++;
227752
- cov_2q2n13agp2.s[28]++;
227892
+ cov_2q2n13agp2.s[30]++;
227753
227893
  this.resetForm();
227754
- cov_2q2n13agp2.s[29]++;
227894
+ cov_2q2n13agp2.s[31]++;
227755
227895
  this.$emit('close-modal');
227756
227896
  },
227757
227897
  updateValue: function updateValue(data) {
227758
227898
  cov_2q2n13agp2.f[11]++;
227759
- cov_2q2n13agp2.s[30]++;
227899
+ cov_2q2n13agp2.s[32]++;
227760
227900
  this.project = NewProjectModalvue_type_script_lang_js_objectSpread(NewProjectModalvue_type_script_lang_js_objectSpread({}, this.project), data);
227761
227901
  },
227762
227902
  updateSharing: function updateSharing(data) {
227763
227903
  cov_2q2n13agp2.f[12]++;
227764
- cov_2q2n13agp2.s[31]++;
227904
+ cov_2q2n13agp2.s[33]++;
227765
227905
  this.sharing = NewProjectModalvue_type_script_lang_js_objectSpread(NewProjectModalvue_type_script_lang_js_objectSpread({}, this.sharing), data);
227766
- cov_2q2n13agp2.s[32]++;
227906
+ cov_2q2n13agp2.s[34]++;
227767
227907
  this.project = NewProjectModalvue_type_script_lang_js_objectSpread(NewProjectModalvue_type_script_lang_js_objectSpread({}, this.project), {}, {
227768
227908
  sharing: Object(helpers["n" /* snakifyKeys */])(this.sharing)
227769
227909
  });
@@ -227777,48 +227917,48 @@ function NewProjectModalvue_type_script_lang_js_asyncToGenerator(fn) { return fu
227777
227917
  switch (_context2.prev = _context2.next) {
227778
227918
  case 0:
227779
227919
  cov_2q2n13agp2.f[13]++;
227780
- cov_2q2n13agp2.s[33]++;
227920
+ cov_2q2n13agp2.s[35]++;
227781
227921
  this.formHasErrors = false;
227782
- cov_2q2n13agp2.s[34]++;
227922
+ cov_2q2n13agp2.s[36]++;
227783
227923
  this.attachFieldRefs();
227784
- cov_2q2n13agp2.s[35]++;
227924
+ cov_2q2n13agp2.s[37]++;
227785
227925
  Object.values(this.refs).forEach(function (ref) {
227786
227926
  cov_2q2n13agp2.f[14]++;
227787
- cov_2q2n13agp2.s[36]++;
227927
+ cov_2q2n13agp2.s[38]++;
227788
227928
  return ref.validate(true);
227789
227929
  });
227790
- cov_2q2n13agp2.s[37]++;
227930
+ cov_2q2n13agp2.s[39]++;
227791
227931
 
227792
227932
  if (!this.formHasErrors) {
227793
227933
  cov_2q2n13agp2.b[7][0]++;
227794
- cov_2q2n13agp2.s[38]++;
227934
+ cov_2q2n13agp2.s[40]++;
227795
227935
  createRecord('projects', this.project).then(function (response) {
227796
227936
  cov_2q2n13agp2.f[15]++;
227797
- var projectId = (cov_2q2n13agp2.s[39]++, _this2.$get(response, 'pk', ''));
227798
- cov_2q2n13agp2.s[40]++;
227937
+ var projectId = (cov_2q2n13agp2.s[41]++, _this2.$get(response, 'pk', ''));
227938
+ cov_2q2n13agp2.s[42]++;
227799
227939
 
227800
227940
  _this2.$store.dispatch(SHOW_ALERT, {
227801
227941
  message: "Project ".concat(projectId, " was succesfully created.")
227802
227942
  });
227803
227943
 
227804
- cov_2q2n13agp2.s[41]++;
227944
+ cov_2q2n13agp2.s[43]++;
227805
227945
 
227806
227946
  _this2.$store.dispatch(SHOW_PANEL, {
227807
227947
  project: projectId
227808
227948
  });
227809
227949
 
227810
- cov_2q2n13agp2.s[42]++;
227950
+ cov_2q2n13agp2.s[44]++;
227811
227951
 
227812
227952
  _this2.closeModal();
227813
227953
  }).catch(function (error) {
227814
227954
  cov_2q2n13agp2.f[16]++;
227815
- cov_2q2n13agp2.s[43]++;
227955
+ cov_2q2n13agp2.s[45]++;
227816
227956
 
227817
227957
  if (error.response) {
227818
227958
  cov_2q2n13agp2.b[8][0]++;
227819
- cov_2q2n13agp2.s[44]++;
227959
+ cov_2q2n13agp2.s[46]++;
227820
227960
  _this2.errorMessages = error.response.data;
227821
- cov_2q2n13agp2.s[45]++;
227961
+ cov_2q2n13agp2.s[47]++;
227822
227962
 
227823
227963
  _this2.$store.dispatch(SHOW_ALERT, {
227824
227964
  error: 'The project could not be created. Please try again.'
@@ -227863,8 +228003,8 @@ var NewProjectModalvue_type_style_index_0_lang_scss_ = __webpack_require__("9434
227863
228003
 
227864
228004
  var NewProjectModal_component = normalizeComponent(
227865
228005
  projects_NewProjectModalvue_type_script_lang_js_,
227866
- NewProjectModalvue_type_template_id_8db07d96_render,
227867
- NewProjectModalvue_type_template_id_8db07d96_staticRenderFns,
228006
+ NewProjectModalvue_type_template_id_35e14c2e_render,
228007
+ NewProjectModalvue_type_template_id_35e14c2e_staticRenderFns,
227868
228008
  false,
227869
228009
  null,
227870
228010
  null,
@@ -300897,18 +301037,18 @@ var BioModelPanelvue_type_template_id_b52cff22_staticRenderFns = []
300897
301037
 
300898
301038
  // CONCATENATED MODULE: ./src/components/bioModels/BioModelPanel.vue?vue&type=template&id=b52cff22&
300899
301039
 
300900
- // 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&
300901
- 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
301040
+ // 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&
301041
+ 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
300902
301042
  _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)}
300903
- var BioModelTreevue_type_template_id_6a6ea313_staticRenderFns = []
301043
+ var BioModelTreevue_type_template_id_50c9e1d2_staticRenderFns = []
300904
301044
 
300905
301045
 
300906
- // CONCATENATED MODULE: ./src/components/bioModels/BioModelTree.vue?vue&type=template&id=6a6ea313&
301046
+ // CONCATENATED MODULE: ./src/components/bioModels/BioModelTree.vue?vue&type=template&id=50c9e1d2&
300907
301047
 
300908
301048
  // 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&
300909
301049
  var cov_2f0u9tmiep = function () {
300910
301050
  var path = "/Users/arangooj/papaemme/isabl_web/src/components/bioModels/BioModelTree.vue";
300911
- var hash = "51a5a4292862681da49328c1d173d15fd125ba9d";
301051
+ var hash = "35800f777c9e06999d7627afedbe72c07beb2e2a";
300912
301052
  var global = new Function("return this")();
300913
301053
  var gcv = "__coverage__";
300914
301054
  var coverageData = {
@@ -302950,7 +303090,7 @@ var cov_2f0u9tmiep = function () {
302950
303090
  column: 6
302951
303091
  },
302952
303092
  end: {
302953
- line: 579,
303093
+ line: 581,
302954
303094
  column: 7
302955
303095
  }
302956
303096
  },
@@ -302980,87 +303120,97 @@ var cov_2f0u9tmiep = function () {
302980
303120
  column: 8
302981
303121
  },
302982
303122
  end: {
303123
+ line: 576,
303124
+ column: 50
303125
+ }
303126
+ },
303127
+ "207": {
303128
+ start: {
302983
303129
  line: 578,
303130
+ column: 8
303131
+ },
303132
+ end: {
303133
+ line: 580,
302984
303134
  column: 10
302985
303135
  }
302986
303136
  },
302987
- "207": {
303137
+ "208": {
302988
303138
  start: {
302989
- line: 582,
303139
+ line: 584,
302990
303140
  column: 6
302991
303141
  },
302992
303142
  end: {
302993
- line: 588,
303143
+ line: 590,
302994
303144
  column: 8
302995
303145
  }
302996
303146
  },
302997
- "208": {
303147
+ "209": {
302998
303148
  start: {
302999
- line: 583,
303149
+ line: 585,
303000
303150
  column: 8
303001
303151
  },
303002
303152
  end: {
303003
- line: 587,
303153
+ line: 589,
303004
303154
  column: 17
303005
303155
  }
303006
303156
  },
303007
- "209": {
303157
+ "210": {
303008
303158
  start: {
303009
- line: 584,
303159
+ line: 586,
303010
303160
  column: 10
303011
303161
  },
303012
303162
  end: {
303013
- line: 587,
303163
+ line: 589,
303014
303164
  column: 17
303015
303165
  }
303016
303166
  },
303017
- "210": {
303167
+ "211": {
303018
303168
  start: {
303019
- line: 585,
303169
+ line: 587,
303020
303170
  column: 12
303021
303171
  },
303022
303172
  end: {
303023
- line: 586,
303173
+ line: 588,
303024
303174
  column: 39
303025
303175
  }
303026
303176
  },
303027
- "211": {
303177
+ "212": {
303028
303178
  start: {
303029
- line: 591,
303179
+ line: 593,
303030
303180
  column: 23
303031
303181
  },
303032
303182
  end: {
303033
- line: 601,
303183
+ line: 603,
303034
303184
  column: 7
303035
303185
  }
303036
303186
  },
303037
- "212": {
303187
+ "213": {
303038
303188
  start: {
303039
- line: 592,
303189
+ line: 594,
303040
303190
  column: 20
303041
303191
  },
303042
303192
  end: {
303043
- line: 592,
303193
+ line: 594,
303044
303194
  column: 48
303045
303195
  }
303046
303196
  },
303047
- "213": {
303197
+ "214": {
303048
303198
  start: {
303049
- line: 593,
303199
+ line: 595,
303050
303200
  column: 8
303051
303201
  },
303052
303202
  end: {
303053
- line: 600,
303203
+ line: 602,
303054
303204
  column: 11
303055
303205
  }
303056
303206
  },
303057
- "214": {
303207
+ "215": {
303058
303208
  start: {
303059
- line: 602,
303209
+ line: 604,
303060
303210
  column: 6
303061
303211
  },
303062
303212
  end: {
303063
- line: 615,
303213
+ line: 617,
303064
303214
  column: 7
303065
303215
  }
303066
303216
  }
@@ -304164,7 +304314,7 @@ var cov_2f0u9tmiep = function () {
304164
304314
  column: 19
304165
304315
  },
304166
304316
  end: {
304167
- line: 580,
304317
+ line: 582,
304168
304318
  column: 5
304169
304319
  }
304170
304320
  },
@@ -304174,121 +304324,121 @@ var cov_2f0u9tmiep = function () {
304174
304324
  name: "(anonymous_46)",
304175
304325
  decl: {
304176
304326
  start: {
304177
- line: 581,
304327
+ line: 583,
304178
304328
  column: 4
304179
304329
  },
304180
304330
  end: {
304181
- line: 581,
304331
+ line: 583,
304182
304332
  column: 5
304183
304333
  }
304184
304334
  },
304185
304335
  loc: {
304186
304336
  start: {
304187
- line: 581,
304337
+ line: 583,
304188
304338
  column: 26
304189
304339
  },
304190
304340
  end: {
304191
- line: 589,
304341
+ line: 591,
304192
304342
  column: 5
304193
304343
  }
304194
304344
  },
304195
- line: 581
304345
+ line: 583
304196
304346
  },
304197
304347
  "47": {
304198
304348
  name: "(anonymous_47)",
304199
304349
  decl: {
304200
304350
  start: {
304201
- line: 582,
304351
+ line: 584,
304202
304352
  column: 21
304203
304353
  },
304204
304354
  end: {
304205
- line: 582,
304355
+ line: 584,
304206
304356
  column: 22
304207
304357
  }
304208
304358
  },
304209
304359
  loc: {
304210
304360
  start: {
304211
- line: 582,
304361
+ line: 584,
304212
304362
  column: 27
304213
304363
  },
304214
304364
  end: {
304215
- line: 588,
304365
+ line: 590,
304216
304366
  column: 7
304217
304367
  }
304218
304368
  },
304219
- line: 582
304369
+ line: 584
304220
304370
  },
304221
304371
  "48": {
304222
304372
  name: "(anonymous_48)",
304223
304373
  decl: {
304224
304374
  start: {
304225
- line: 584,
304375
+ line: 586,
304226
304376
  column: 21
304227
304377
  },
304228
304378
  end: {
304229
- line: 584,
304379
+ line: 586,
304230
304380
  column: 22
304231
304381
  }
304232
304382
  },
304233
304383
  loc: {
304234
304384
  start: {
304235
- line: 584,
304385
+ line: 586,
304236
304386
  column: 27
304237
304387
  },
304238
304388
  end: {
304239
- line: 587,
304389
+ line: 589,
304240
304390
  column: 11
304241
304391
  }
304242
304392
  },
304243
- line: 584
304393
+ line: 586
304244
304394
  },
304245
304395
  "49": {
304246
304396
  name: "(anonymous_49)",
304247
304397
  decl: {
304248
304398
  start: {
304249
- line: 590,
304399
+ line: 592,
304250
304400
  column: 4
304251
304401
  },
304252
304402
  end: {
304253
- line: 590,
304403
+ line: 592,
304254
304404
  column: 5
304255
304405
  }
304256
304406
  },
304257
304407
  loc: {
304258
304408
  start: {
304259
- line: 590,
304409
+ line: 592,
304260
304410
  column: 18
304261
304411
  },
304262
304412
  end: {
304263
- line: 616,
304413
+ line: 618,
304264
304414
  column: 5
304265
304415
  }
304266
304416
  },
304267
- line: 590
304417
+ line: 592
304268
304418
  },
304269
304419
  "50": {
304270
304420
  name: "(anonymous_50)",
304271
304421
  decl: {
304272
304422
  start: {
304273
- line: 591,
304423
+ line: 593,
304274
304424
  column: 23
304275
304425
  },
304276
304426
  end: {
304277
- line: 591,
304427
+ line: 593,
304278
304428
  column: 24
304279
304429
  }
304280
304430
  },
304281
304431
  loc: {
304282
304432
  start: {
304283
- line: 591,
304433
+ line: 593,
304284
304434
  column: 45
304285
304435
  },
304286
304436
  end: {
304287
- line: 601,
304437
+ line: 603,
304288
304438
  column: 7
304289
304439
  }
304290
304440
  },
304291
- line: 591
304441
+ line: 593
304292
304442
  }
304293
304443
  },
304294
304444
  branchMap: {
@@ -305991,7 +306141,7 @@ var cov_2f0u9tmiep = function () {
305991
306141
  column: 6
305992
306142
  },
305993
306143
  end: {
305994
- line: 579,
306144
+ line: 581,
305995
306145
  column: 7
305996
306146
  }
305997
306147
  },
@@ -306002,7 +306152,7 @@ var cov_2f0u9tmiep = function () {
306002
306152
  column: 6
306003
306153
  },
306004
306154
  end: {
306005
- line: 579,
306155
+ line: 581,
306006
306156
  column: 7
306007
306157
  }
306008
306158
  }, {
@@ -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,68 +306170,68 @@ var cov_2f0u9tmiep = function () {
306020
306170
  "52": {
306021
306171
  loc: {
306022
306172
  start: {
306023
- line: 583,
306173
+ line: 585,
306024
306174
  column: 8
306025
306175
  },
306026
306176
  end: {
306027
- line: 587,
306177
+ line: 589,
306028
306178
  column: 17
306029
306179
  }
306030
306180
  },
306031
306181
  type: "if",
306032
306182
  locations: [{
306033
306183
  start: {
306034
- line: 583,
306184
+ line: 585,
306035
306185
  column: 8
306036
306186
  },
306037
306187
  end: {
306038
- line: 587,
306188
+ line: 589,
306039
306189
  column: 17
306040
306190
  }
306041
306191
  }, {
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
- line: 583
306201
+ line: 585
306052
306202
  },
306053
306203
  "53": {
306054
306204
  loc: {
306055
306205
  start: {
306056
- line: 593,
306206
+ line: 595,
306057
306207
  column: 15
306058
306208
  },
306059
306209
  end: {
306060
- line: 600,
306210
+ line: 602,
306061
306211
  column: 11
306062
306212
  }
306063
306213
  },
306064
306214
  type: "cond-expr",
306065
306215
  locations: [{
306066
306216
  start: {
306067
- line: 594,
306217
+ line: 596,
306068
306218
  column: 12
306069
306219
  },
306070
306220
  end: {
306071
- line: 594,
306221
+ line: 596,
306072
306222
  column: 14
306073
306223
  }
306074
306224
  }, {
306075
306225
  start: {
306076
- line: 595,
306226
+ line: 597,
306077
306227
  column: 12
306078
306228
  },
306079
306229
  end: {
306080
- line: 600,
306230
+ line: 602,
306081
306231
  column: 11
306082
306232
  }
306083
306233
  }],
306084
- line: 593
306234
+ line: 595
306085
306235
  }
306086
306236
  },
306087
306237
  s: {
@@ -306299,7 +306449,8 @@ var cov_2f0u9tmiep = function () {
306299
306449
  "211": 0,
306300
306450
  "212": 0,
306301
306451
  "213": 0,
306302
- "214": 0
306452
+ "214": 0,
306453
+ "215": 0
306303
306454
  },
306304
306455
  f: {
306305
306456
  "0": 0,
@@ -306414,13 +306565,13 @@ var cov_2f0u9tmiep = function () {
306414
306565
  version: 3,
306415
306566
  sources: ["BioModelTree.vue"],
306416
306567
  names: [],
306417
- 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",
306568
+ 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",
306418
306569
  file: "BioModelTree.vue",
306419
306570
  sourceRoot: "src/components/bioModels",
306420
- 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"]
306571
+ 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"]
306421
306572
  },
306422
306573
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
306423
- hash: "51a5a4292862681da49328c1d173d15fd125ba9d"
306574
+ hash: "35800f777c9e06999d7627afedbe72c07beb2e2a"
306424
306575
  };
306425
306576
  var coverage = global[gcv] || (global[gcv] = {});
306426
306577
 
@@ -307264,6 +307415,8 @@ function BioModelTreevue_type_script_lang_js_defineProperty(obj, key, value) { i
307264
307415
  record: d.data.id
307265
307416
  });
307266
307417
  cov_2f0u9tmiep.s[206]++;
307418
+ this.tooltip.style('visibility', 'hidden');
307419
+ cov_2f0u9tmiep.s[207]++;
307267
307420
  this.$store.dispatch(SHOW_PANEL, {
307268
307421
  bioModel: d.data.id
307269
307422
  });
@@ -307275,17 +307428,17 @@ function BioModelTreevue_type_script_lang_js_defineProperty(obj, key, value) { i
307275
307428
  var _this4 = this;
307276
307429
 
307277
307430
  cov_2f0u9tmiep.f[46]++;
307278
- cov_2f0u9tmiep.s[207]++;
307431
+ cov_2f0u9tmiep.s[208]++;
307279
307432
  this.$nextTick(function () {
307280
307433
  cov_2f0u9tmiep.f[47]++;
307281
- cov_2f0u9tmiep.s[208]++;
307434
+ cov_2f0u9tmiep.s[209]++;
307282
307435
 
307283
307436
  if (!_this4.showFullHeight) {
307284
307437
  cov_2f0u9tmiep.b[52][0]++;
307285
- cov_2f0u9tmiep.s[209]++;
307438
+ cov_2f0u9tmiep.s[210]++;
307286
307439
  setTimeout(function () {
307287
307440
  cov_2f0u9tmiep.f[48]++;
307288
- cov_2f0u9tmiep.s[210]++;
307441
+ cov_2f0u9tmiep.s[211]++;
307289
307442
  document.getElementById('tree-div').scrollTop = _this4.currentNode.x0 + 395; // 395 is a function of the max height
307290
307443
  }, 100);
307291
307444
  } else {
@@ -307298,16 +307451,16 @@ function BioModelTreevue_type_script_lang_js_defineProperty(obj, key, value) { i
307298
307451
  var _this5 = this;
307299
307452
 
307300
307453
  cov_2f0u9tmiep.f[49]++;
307301
- cov_2f0u9tmiep.s[211]++;
307454
+ cov_2f0u9tmiep.s[212]++;
307302
307455
 
307303
307456
  var keyValue = function keyValue(key, verboseName) {
307304
307457
  cov_2f0u9tmiep.f[50]++;
307305
- var value = (cov_2f0u9tmiep.s[212]++, _this5.$get(d.data, key, null));
307306
- cov_2f0u9tmiep.s[213]++;
307458
+ var value = (cov_2f0u9tmiep.s[213]++, _this5.$get(d.data, key, null));
307459
+ cov_2f0u9tmiep.s[214]++;
307307
307460
  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 "));
307308
307461
  };
307309
307462
 
307310
- cov_2f0u9tmiep.s[214]++;
307463
+ cov_2f0u9tmiep.s[215]++;
307311
307464
  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 ");
307312
307465
  }
307313
307466
  }
@@ -307328,8 +307481,8 @@ var BioModelTreevue_type_style_index_0_lang_scss_ = __webpack_require__("34ec");
307328
307481
 
307329
307482
  var BioModelTree_component = normalizeComponent(
307330
307483
  bioModels_BioModelTreevue_type_script_lang_js_,
307331
- BioModelTreevue_type_template_id_6a6ea313_render,
307332
- BioModelTreevue_type_template_id_6a6ea313_staticRenderFns,
307484
+ BioModelTreevue_type_template_id_50c9e1d2_render,
307485
+ BioModelTreevue_type_template_id_50c9e1d2_staticRenderFns,
307333
307486
  false,
307334
307487
  null,
307335
307488
  null,
@@ -316600,17 +316753,17 @@ var Signup_component = normalizeComponent(
316600
316753
  )
316601
316754
 
316602
316755
  /* harmony default export */ var Signup = (Signup_component.exports);
316603
- // 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&
316604
- 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)}
316605
- var VerifyEmailvue_type_template_id_1a1688f9_staticRenderFns = []
316756
+ // 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&
316757
+ 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)}
316758
+ var VerifyEmailvue_type_template_id_0460ddf2_staticRenderFns = []
316606
316759
 
316607
316760
 
316608
- // CONCATENATED MODULE: ./src/views/VerifyEmail.vue?vue&type=template&id=1a1688f9&
316761
+ // CONCATENATED MODULE: ./src/views/VerifyEmail.vue?vue&type=template&id=0460ddf2&
316609
316762
 
316610
316763
  // 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&
316611
316764
  var cov_50fq9mw5q = function () {
316612
316765
  var path = "/Users/arangooj/papaemme/isabl_web/src/views/VerifyEmail.vue";
316613
- var hash = "def532b3888f5cb41b488acbfeb7e96be9e875bf";
316766
+ var hash = "4cd889dd459869433cea1267c94c71c149b8c801";
316614
316767
  var global = new Function("return this")();
316615
316768
  var gcv = "__coverage__";
316616
316769
  var coverageData = {
@@ -316618,121 +316771,121 @@ var cov_50fq9mw5q = function () {
316618
316771
  statementMap: {
316619
316772
  "0": {
316620
316773
  start: {
316621
- line: 56,
316774
+ line: 60,
316622
316775
  column: 4
316623
316776
  },
316624
316777
  end: {
316625
- line: 60,
316778
+ line: 64,
316626
316779
  column: 5
316627
316780
  }
316628
316781
  },
316629
316782
  "1": {
316630
316783
  start: {
316631
- line: 63,
316784
+ line: 67,
316632
316785
  column: 4
316633
316786
  },
316634
316787
  end: {
316635
- line: 63,
316788
+ line: 67,
316636
316789
  column: 22
316637
316790
  }
316638
316791
  },
316639
316792
  "2": {
316640
316793
  start: {
316641
- line: 67,
316794
+ line: 71,
316642
316795
  column: 6
316643
316796
  },
316644
316797
  end: {
316645
- line: 67,
316798
+ line: 71,
316646
316799
  column: 25
316647
316800
  }
316648
316801
  },
316649
316802
  "3": {
316650
316803
  start: {
316651
- line: 68,
316804
+ line: 72,
316652
316805
  column: 22
316653
316806
  },
316654
316807
  end: {
316655
- line: 68,
316808
+ line: 72,
316656
316809
  column: 39
316657
316810
  }
316658
316811
  },
316659
316812
  "4": {
316660
316813
  start: {
316661
- line: 69,
316814
+ line: 73,
316662
316815
  column: 6
316663
316816
  },
316664
316817
  end: {
316665
- line: 83,
316818
+ line: 87,
316666
316819
  column: 7
316667
316820
  }
316668
316821
  },
316669
316822
  "5": {
316670
316823
  start: {
316671
- line: 70,
316824
+ line: 74,
316672
316825
  column: 8
316673
316826
  },
316674
316827
  end: {
316675
- line: 80,
316828
+ line: 84,
316676
316829
  column: 12
316677
316830
  }
316678
316831
  },
316679
316832
  "6": {
316680
316833
  start: {
316681
- line: 72,
316834
+ line: 76,
316682
316835
  column: 12
316683
316836
  },
316684
316837
  end: {
316685
- line: 72,
316838
+ line: 76,
316686
316839
  column: 32
316687
316840
  }
316688
316841
  },
316689
316842
  "7": {
316690
316843
  start: {
316691
- line: 73,
316844
+ line: 77,
316692
316845
  column: 12
316693
316846
  },
316694
316847
  end: {
316695
- line: 73,
316848
+ line: 77,
316696
316849
  column: 42
316697
316850
  }
316698
316851
  },
316699
316852
  "8": {
316700
316853
  start: {
316701
- line: 76,
316854
+ line: 80,
316702
316855
  column: 12
316703
316856
  },
316704
316857
  end: {
316705
- line: 76,
316858
+ line: 80,
316706
316859
  column: 33
316707
316860
  }
316708
316861
  },
316709
316862
  "9": {
316710
316863
  start: {
316711
- line: 79,
316864
+ line: 83,
316712
316865
  column: 12
316713
316866
  },
316714
316867
  end: {
316715
- line: 79,
316868
+ line: 83,
316716
316869
  column: 32
316717
316870
  }
316718
316871
  },
316719
316872
  "10": {
316720
316873
  start: {
316721
- line: 82,
316874
+ line: 86,
316722
316875
  column: 8
316723
316876
  },
316724
316877
  end: {
316725
- line: 82,
316878
+ line: 86,
316726
316879
  column: 28
316727
316880
  }
316728
316881
  },
316729
316882
  "11": {
316730
316883
  start: {
316731
- line: 86,
316884
+ line: 90,
316732
316885
  column: 6
316733
316886
  },
316734
316887
  end: {
316735
- line: 86,
316888
+ line: 90,
316736
316889
  column: 42
316737
316890
  }
316738
316891
  }
@@ -316742,204 +316895,204 @@ var cov_50fq9mw5q = function () {
316742
316895
  name: "(anonymous_0)",
316743
316896
  decl: {
316744
316897
  start: {
316745
- line: 55,
316898
+ line: 59,
316746
316899
  column: 2
316747
316900
  },
316748
316901
  end: {
316749
- line: 55,
316902
+ line: 59,
316750
316903
  column: 3
316751
316904
  }
316752
316905
  },
316753
316906
  loc: {
316754
316907
  start: {
316755
- line: 55,
316908
+ line: 59,
316756
316909
  column: 9
316757
316910
  },
316758
316911
  end: {
316759
- line: 61,
316912
+ line: 65,
316760
316913
  column: 3
316761
316914
  }
316762
316915
  },
316763
- line: 55
316916
+ line: 59
316764
316917
  },
316765
316918
  "1": {
316766
316919
  name: "(anonymous_1)",
316767
316920
  decl: {
316768
316921
  start: {
316769
- line: 62,
316922
+ line: 66,
316770
316923
  column: 2
316771
316924
  },
316772
316925
  end: {
316773
- line: 62,
316926
+ line: 66,
316774
316927
  column: 3
316775
316928
  }
316776
316929
  },
316777
316930
  loc: {
316778
316931
  start: {
316779
- line: 62,
316932
+ line: 66,
316780
316933
  column: 12
316781
316934
  },
316782
316935
  end: {
316783
- line: 64,
316936
+ line: 68,
316784
316937
  column: 3
316785
316938
  }
316786
316939
  },
316787
- line: 62
316940
+ line: 66
316788
316941
  },
316789
316942
  "2": {
316790
316943
  name: "(anonymous_2)",
316791
316944
  decl: {
316792
316945
  start: {
316793
- line: 66,
316946
+ line: 70,
316794
316947
  column: 4
316795
316948
  },
316796
316949
  end: {
316797
- line: 66,
316950
+ line: 70,
316798
316951
  column: 5
316799
316952
  }
316800
316953
  },
316801
316954
  loc: {
316802
316955
  start: {
316803
- line: 66,
316956
+ line: 70,
316804
316957
  column: 18
316805
316958
  },
316806
316959
  end: {
316807
- line: 84,
316960
+ line: 88,
316808
316961
  column: 5
316809
316962
  }
316810
316963
  },
316811
- line: 66
316964
+ line: 70
316812
316965
  },
316813
316966
  "3": {
316814
316967
  name: "(anonymous_3)",
316815
316968
  decl: {
316816
316969
  start: {
316817
- line: 71,
316970
+ line: 75,
316818
316971
  column: 16
316819
316972
  },
316820
316973
  end: {
316821
- line: 71,
316974
+ line: 75,
316822
316975
  column: 17
316823
316976
  }
316824
316977
  },
316825
316978
  loc: {
316826
316979
  start: {
316827
- line: 71,
316980
+ line: 75,
316828
316981
  column: 28
316829
316982
  },
316830
316983
  end: {
316831
- line: 74,
316984
+ line: 78,
316832
316985
  column: 11
316833
316986
  }
316834
316987
  },
316835
- line: 71
316988
+ line: 75
316836
316989
  },
316837
316990
  "4": {
316838
316991
  name: "(anonymous_4)",
316839
316992
  decl: {
316840
316993
  start: {
316841
- line: 75,
316994
+ line: 79,
316842
316995
  column: 17
316843
316996
  },
316844
316997
  end: {
316845
- line: 75,
316998
+ line: 79,
316846
316999
  column: 18
316847
317000
  }
316848
317001
  },
316849
317002
  loc: {
316850
317003
  start: {
316851
- line: 75,
317004
+ line: 79,
316852
317005
  column: 26
316853
317006
  },
316854
317007
  end: {
316855
- line: 77,
317008
+ line: 81,
316856
317009
  column: 11
316857
317010
  }
316858
317011
  },
316859
- line: 75
317012
+ line: 79
316860
317013
  },
316861
317014
  "5": {
316862
317015
  name: "(anonymous_5)",
316863
317016
  decl: {
316864
317017
  start: {
316865
- line: 78,
317018
+ line: 82,
316866
317019
  column: 19
316867
317020
  },
316868
317021
  end: {
316869
- line: 78,
317022
+ line: 82,
316870
317023
  column: 20
316871
317024
  }
316872
317025
  },
316873
317026
  loc: {
316874
317027
  start: {
316875
- line: 78,
317028
+ line: 82,
316876
317029
  column: 25
316877
317030
  },
316878
317031
  end: {
316879
- line: 80,
317032
+ line: 84,
316880
317033
  column: 11
316881
317034
  }
316882
317035
  },
316883
- line: 78
317036
+ line: 82
316884
317037
  },
316885
317038
  "6": {
316886
317039
  name: "(anonymous_6)",
316887
317040
  decl: {
316888
317041
  start: {
316889
- line: 85,
317042
+ line: 89,
316890
317043
  column: 4
316891
317044
  },
316892
317045
  end: {
316893
- line: 85,
317046
+ line: 89,
316894
317047
  column: 5
316895
317048
  }
316896
317049
  },
316897
317050
  loc: {
316898
317051
  start: {
316899
- line: 85,
317052
+ line: 89,
316900
317053
  column: 16
316901
317054
  },
316902
317055
  end: {
316903
- line: 87,
317056
+ line: 91,
316904
317057
  column: 5
316905
317058
  }
316906
317059
  },
316907
- line: 85
317060
+ line: 89
316908
317061
  }
316909
317062
  },
316910
317063
  branchMap: {
316911
317064
  "0": {
316912
317065
  loc: {
316913
317066
  start: {
316914
- line: 69,
317067
+ line: 73,
316915
317068
  column: 6
316916
317069
  },
316917
317070
  end: {
316918
- line: 83,
317071
+ line: 87,
316919
317072
  column: 7
316920
317073
  }
316921
317074
  },
316922
317075
  type: "if",
316923
317076
  locations: [{
316924
317077
  start: {
316925
- line: 69,
317078
+ line: 73,
316926
317079
  column: 6
316927
317080
  },
316928
317081
  end: {
316929
- line: 83,
317082
+ line: 87,
316930
317083
  column: 7
316931
317084
  }
316932
317085
  }, {
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
- line: 69
317095
+ line: 73
316943
317096
  }
316944
317097
  },
316945
317098
  s: {
@@ -316972,13 +317125,13 @@ var cov_50fq9mw5q = function () {
316972
317125
  version: 3,
316973
317126
  sources: ["VerifyEmail.vue"],
316974
317127
  names: [],
316975
- 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",
317128
+ 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",
316976
317129
  file: "VerifyEmail.vue",
316977
317130
  sourceRoot: "src/views",
316978
- 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"]
317131
+ 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"]
316979
317132
  },
316980
317133
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
316981
- hash: "def532b3888f5cb41b488acbfeb7e96be9e875bf"
317134
+ hash: "4cd889dd459869433cea1267c94c71c149b8c801"
316982
317135
  };
316983
317136
  var coverage = global[gcv] || (global[gcv] = {});
316984
317137
 
@@ -317038,6 +317191,10 @@ var cov_50fq9mw5q = function () {
317038
317191
  //
317039
317192
  //
317040
317193
  //
317194
+ //
317195
+ //
317196
+ //
317197
+ //
317041
317198
 
317042
317199
  /* harmony default export */ var VerifyEmailvue_type_script_lang_js_ = ({
317043
317200
  name: 'VerifyEmail',
@@ -317114,8 +317271,8 @@ var cov_50fq9mw5q = function () {
317114
317271
 
317115
317272
  var VerifyEmail_component = normalizeComponent(
317116
317273
  views_VerifyEmailvue_type_script_lang_js_,
317117
- VerifyEmailvue_type_template_id_1a1688f9_render,
317118
- VerifyEmailvue_type_template_id_1a1688f9_staticRenderFns,
317274
+ VerifyEmailvue_type_template_id_0460ddf2_render,
317275
+ VerifyEmailvue_type_template_id_0460ddf2_staticRenderFns,
317119
317276
  false,
317120
317277
  null,
317121
317278
  null,
@@ -317733,7 +317890,7 @@ function mixins_auth_defineProperty(obj, key, value) { if (key in obj) { Object.
317733
317890
  // CONCATENATED MODULE: ./src/mixins/fields.js
317734
317891
  var cov_5ht757v2k = function () {
317735
317892
  var path = "/Users/arangooj/papaemme/isabl_web/src/mixins/fields.js";
317736
- var hash = "12f16a59f956cbcb6c85cdcf33e15345cab3a97f";
317893
+ var hash = "b643f788f77d4fcd68b71d31977c281f17784e26";
317737
317894
  var global = new Function("return this")();
317738
317895
  var gcv = "__coverage__";
317739
317896
  var coverageData = {
@@ -317865,207 +318022,227 @@ var cov_5ht757v2k = function () {
317865
318022
  column: 6
317866
318023
  },
317867
318024
  end: {
317868
- line: 44,
317869
- column: 63
318025
+ line: 46,
318026
+ column: 7
317870
318027
  }
317871
318028
  },
317872
318029
  "13": {
317873
318030
  start: {
317874
318031
  line: 45,
317875
- column: 6
318032
+ column: 8
317876
318033
  },
317877
318034
  end: {
317878
318035
  line: 45,
317879
- column: 49
318036
+ column: 76
317880
318037
  }
317881
318038
  },
317882
318039
  "14": {
317883
318040
  start: {
317884
- line: 50,
318041
+ line: 48,
317885
318042
  column: 6
317886
318043
  },
317887
318044
  end: {
317888
- line: 50,
317889
- column: 49
318045
+ line: 48,
318046
+ column: 63
317890
318047
  }
317891
318048
  },
317892
318049
  "15": {
317893
318050
  start: {
317894
- line: 51,
318051
+ line: 49,
317895
318052
  column: 6
317896
318053
  },
317897
318054
  end: {
317898
- line: 60,
317899
- column: 7
318055
+ line: 49,
318056
+ column: 49
317900
318057
  }
317901
318058
  },
317902
318059
  "16": {
317903
318060
  start: {
317904
- line: 52,
318061
+ line: 54,
318062
+ column: 6
318063
+ },
318064
+ end: {
318065
+ line: 54,
318066
+ column: 49
318067
+ }
318068
+ },
318069
+ "17": {
318070
+ start: {
318071
+ line: 55,
318072
+ column: 6
318073
+ },
318074
+ end: {
318075
+ line: 64,
318076
+ column: 7
318077
+ }
318078
+ },
318079
+ "18": {
318080
+ start: {
318081
+ line: 56,
317905
318082
  column: 8
317906
318083
  },
317907
318084
  end: {
317908
- line: 52,
318085
+ line: 56,
317909
318086
  column: 32
317910
318087
  }
317911
318088
  },
317912
- "17": {
318089
+ "19": {
317913
318090
  start: {
317914
- line: 53,
318091
+ line: 57,
317915
318092
  column: 8
317916
318093
  },
317917
318094
  end: {
317918
- line: 59,
318095
+ line: 63,
317919
318096
  column: 53
317920
318097
  }
317921
318098
  },
317922
- "18": {
318099
+ "20": {
317923
318100
  start: {
317924
- line: 55,
318101
+ line: 59,
317925
318102
  column: 12
317926
318103
  },
317927
318104
  end: {
317928
- line: 55,
318105
+ line: 59,
317929
318106
  column: 36
317930
318107
  }
317931
318108
  },
317932
- "19": {
318109
+ "21": {
317933
318110
  start: {
317934
- line: 56,
318111
+ line: 60,
317935
318112
  column: 12
317936
318113
  },
317937
318114
  end: {
317938
- line: 56,
318115
+ line: 60,
317939
318116
  column: 38
317940
318117
  }
317941
318118
  },
317942
- "20": {
318119
+ "22": {
317943
318120
  start: {
317944
- line: 58,
318121
+ line: 62,
317945
318122
  column: 26
317946
318123
  },
317947
318124
  end: {
317948
- line: 58,
318125
+ line: 62,
317949
318126
  column: 56
317950
318127
  }
317951
318128
  },
317952
- "21": {
318129
+ "23": {
317953
318130
  start: {
317954
- line: 59,
318131
+ line: 63,
317955
318132
  column: 26
317956
318133
  },
317957
318134
  end: {
317958
- line: 59,
318135
+ line: 63,
317959
318136
  column: 51
317960
318137
  }
317961
318138
  },
317962
- "22": {
318139
+ "24": {
317963
318140
  start: {
317964
- line: 63,
318141
+ line: 67,
317965
318142
  column: 6
317966
318143
  },
317967
318144
  end: {
317968
- line: 74,
318145
+ line: 78,
317969
318146
  column: 7
317970
318147
  }
317971
318148
  },
317972
- "23": {
318149
+ "25": {
317973
318150
  start: {
317974
- line: 64,
318151
+ line: 68,
317975
318152
  column: 24
317976
318153
  },
317977
318154
  end: {
317978
- line: 64,
318155
+ line: 68,
317979
318156
  column: 64
317980
318157
  }
317981
318158
  },
317982
- "24": {
318159
+ "26": {
317983
318160
  start: {
317984
- line: 65,
318161
+ line: 69,
317985
318162
  column: 8
317986
318163
  },
317987
318164
  end: {
317988
- line: 73,
318165
+ line: 77,
317989
318166
  column: 10
317990
318167
  }
317991
318168
  },
317992
- "25": {
318169
+ "27": {
317993
318170
  start: {
317994
- line: 66,
318171
+ line: 70,
317995
318172
  column: 10
317996
318173
  },
317997
318174
  end: {
317998
- line: 72,
318175
+ line: 76,
317999
318176
  column: 12
318000
318177
  }
318001
318178
  },
318002
- "26": {
318179
+ "28": {
318003
318180
  start: {
318004
- line: 67,
318181
+ line: 71,
318005
318182
  column: 12
318006
318183
  },
318007
318184
  end: {
318008
- line: 71,
318185
+ line: 75,
318009
318186
  column: 14
318010
318187
  }
318011
318188
  },
318012
- "27": {
318189
+ "29": {
318013
318190
  start: {
318014
- line: 68,
318191
+ line: 72,
318015
318192
  column: 14
318016
318193
  },
318017
318194
  end: {
318018
- line: 70,
318195
+ line: 74,
318019
318196
  column: 15
318020
318197
  }
318021
318198
  },
318022
- "28": {
318199
+ "30": {
318023
318200
  start: {
318024
- line: 69,
318201
+ line: 73,
318025
318202
  column: 16
318026
318203
  },
318027
318204
  end: {
318028
- line: 69,
318205
+ line: 73,
318029
318206
  column: 50
318030
318207
  }
318031
318208
  },
318032
- "29": {
318209
+ "31": {
318033
318210
  start: {
318034
- line: 77,
318211
+ line: 81,
318035
318212
  column: 6
318036
318213
  },
318037
318214
  end: {
318038
- line: 83,
318215
+ line: 87,
318039
318216
  column: 8
318040
318217
  }
318041
318218
  },
318042
- "30": {
318219
+ "32": {
318043
318220
  start: {
318044
- line: 78,
318221
+ line: 82,
318045
318222
  column: 8
318046
318223
  },
318047
318224
  end: {
318048
- line: 82,
318225
+ line: 86,
318049
318226
  column: 10
318050
318227
  }
318051
318228
  },
318052
- "31": {
318229
+ "33": {
318053
318230
  start: {
318054
- line: 79,
318231
+ line: 83,
318055
318232
  column: 10
318056
318233
  },
318057
318234
  end: {
318058
- line: 81,
318235
+ line: 85,
318059
318236
  column: 11
318060
318237
  }
318061
318238
  },
318062
- "32": {
318239
+ "34": {
318063
318240
  start: {
318064
- line: 80,
318241
+ line: 84,
318065
318242
  column: 12
318066
318243
  },
318067
318244
  end: {
318068
- line: 80,
318245
+ line: 84,
318069
318246
  column: 48
318070
318247
  }
318071
318248
  }
@@ -318185,7 +318362,7 @@ var cov_5ht757v2k = function () {
318185
318362
  column: 46
318186
318363
  },
318187
318364
  end: {
318188
- line: 46,
318365
+ line: 50,
318189
318366
  column: 5
318190
318367
  }
318191
318368
  },
@@ -318195,265 +318372,265 @@ var cov_5ht757v2k = function () {
318195
318372
  name: "(anonymous_5)",
318196
318373
  decl: {
318197
318374
  start: {
318198
- line: 49,
318375
+ line: 53,
318199
318376
  column: 4
318200
318377
  },
318201
318378
  end: {
318202
- line: 49,
318379
+ line: 53,
318203
318380
  column: 5
318204
318381
  }
318205
318382
  },
318206
318383
  loc: {
318207
318384
  start: {
318208
- line: 49,
318385
+ line: 53,
318209
318386
  column: 49
318210
318387
  },
318211
318388
  end: {
318212
- line: 61,
318389
+ line: 65,
318213
318390
  column: 5
318214
318391
  }
318215
318392
  },
318216
- line: 49
318393
+ line: 53
318217
318394
  },
318218
318395
  "6": {
318219
318396
  name: "(anonymous_6)",
318220
318397
  decl: {
318221
318398
  start: {
318222
- line: 54,
318399
+ line: 58,
318223
318400
  column: 16
318224
318401
  },
318225
318402
  end: {
318226
- line: 54,
318403
+ line: 58,
318227
318404
  column: 17
318228
318405
  }
318229
318406
  },
318230
318407
  loc: {
318231
318408
  start: {
318232
- line: 54,
318409
+ line: 58,
318233
318410
  column: 28
318234
318411
  },
318235
318412
  end: {
318236
- line: 57,
318413
+ line: 61,
318237
318414
  column: 11
318238
318415
  }
318239
318416
  },
318240
- line: 54
318417
+ line: 58
318241
318418
  },
318242
318419
  "7": {
318243
318420
  name: "(anonymous_7)",
318244
318421
  decl: {
318245
318422
  start: {
318246
- line: 58,
318423
+ line: 62,
318247
318424
  column: 17
318248
318425
  },
318249
318426
  end: {
318250
- line: 58,
318427
+ line: 62,
318251
318428
  column: 18
318252
318429
  }
318253
318430
  },
318254
318431
  loc: {
318255
318432
  start: {
318256
- line: 58,
318433
+ line: 62,
318257
318434
  column: 26
318258
318435
  },
318259
318436
  end: {
318260
- line: 58,
318437
+ line: 62,
318261
318438
  column: 56
318262
318439
  }
318263
318440
  },
318264
- line: 58
318441
+ line: 62
318265
318442
  },
318266
318443
  "8": {
318267
318444
  name: "(anonymous_8)",
318268
318445
  decl: {
318269
318446
  start: {
318270
- line: 59,
318447
+ line: 63,
318271
318448
  column: 19
318272
318449
  },
318273
318450
  end: {
318274
- line: 59,
318451
+ line: 63,
318275
318452
  column: 20
318276
318453
  }
318277
318454
  },
318278
318455
  loc: {
318279
318456
  start: {
318280
- line: 59,
318457
+ line: 63,
318281
318458
  column: 26
318282
318459
  },
318283
318460
  end: {
318284
- line: 59,
318461
+ line: 63,
318285
318462
  column: 51
318286
318463
  }
318287
318464
  },
318288
- line: 59
318465
+ line: 63
318289
318466
  },
318290
318467
  "9": {
318291
318468
  name: "(anonymous_9)",
318292
318469
  decl: {
318293
318470
  start: {
318294
- line: 62,
318471
+ line: 66,
318295
318472
  column: 4
318296
318473
  },
318297
318474
  end: {
318298
- line: 62,
318475
+ line: 66,
318299
318476
  column: 5
318300
318477
  }
318301
318478
  },
318302
318479
  loc: {
318303
318480
  start: {
318304
- line: 62,
318481
+ line: 66,
318305
318482
  column: 30
318306
318483
  },
318307
318484
  end: {
318308
- line: 75,
318485
+ line: 79,
318309
318486
  column: 5
318310
318487
  }
318311
318488
  },
318312
- line: 62
318489
+ line: 66
318313
318490
  },
318314
318491
  "10": {
318315
318492
  name: "(anonymous_10)",
318316
318493
  decl: {
318317
318494
  start: {
318318
- line: 65,
318495
+ line: 69,
318319
318496
  column: 42
318320
318497
  },
318321
318498
  end: {
318322
- line: 65,
318499
+ line: 69,
318323
318500
  column: 43
318324
318501
  }
318325
318502
  },
318326
318503
  loc: {
318327
318504
  start: {
318328
- line: 65,
318505
+ line: 69,
318329
318506
  column: 74
318330
318507
  },
318331
318508
  end: {
318332
- line: 73,
318509
+ line: 77,
318333
318510
  column: 9
318334
318511
  }
318335
318512
  },
318336
- line: 65
318513
+ line: 69
318337
318514
  },
318338
318515
  "11": {
318339
318516
  name: "(anonymous_11)",
318340
318517
  decl: {
318341
318518
  start: {
318342
- line: 66,
318519
+ line: 70,
318343
318520
  column: 30
318344
318521
  },
318345
318522
  end: {
318346
- line: 66,
318523
+ line: 70,
318347
318524
  column: 31
318348
318525
  }
318349
318526
  },
318350
318527
  loc: {
318351
318528
  start: {
318352
- line: 66,
318529
+ line: 70,
318353
318530
  column: 44
318354
318531
  },
318355
318532
  end: {
318356
- line: 72,
318533
+ line: 76,
318357
318534
  column: 11
318358
318535
  }
318359
318536
  },
318360
- line: 66
318537
+ line: 70
318361
318538
  },
318362
318539
  "12": {
318363
318540
  name: "(anonymous_12)",
318364
318541
  decl: {
318365
318542
  start: {
318366
- line: 67,
318543
+ line: 71,
318367
318544
  column: 46
318368
318545
  },
318369
318546
  end: {
318370
- line: 67,
318547
+ line: 71,
318371
318548
  column: 47
318372
318549
  }
318373
318550
  },
318374
318551
  loc: {
318375
318552
  start: {
318376
- line: 67,
318553
+ line: 71,
318377
318554
  column: 55
318378
318555
  },
318379
318556
  end: {
318380
- line: 71,
318557
+ line: 75,
318381
318558
  column: 13
318382
318559
  }
318383
318560
  },
318384
- line: 67
318561
+ line: 71
318385
318562
  },
318386
318563
  "13": {
318387
318564
  name: "(anonymous_13)",
318388
318565
  decl: {
318389
318566
  start: {
318390
- line: 76,
318567
+ line: 80,
318391
318568
  column: 4
318392
318569
  },
318393
318570
  end: {
318394
- line: 76,
318571
+ line: 80,
318395
318572
  column: 5
318396
318573
  }
318397
318574
  },
318398
318575
  loc: {
318399
318576
  start: {
318400
- line: 76,
318577
+ line: 80,
318401
318578
  column: 24
318402
318579
  },
318403
318580
  end: {
318404
- line: 84,
318581
+ line: 88,
318405
318582
  column: 5
318406
318583
  }
318407
318584
  },
318408
- line: 76
318585
+ line: 80
318409
318586
  },
318410
318587
  "14": {
318411
318588
  name: "(anonymous_14)",
318412
318589
  decl: {
318413
318590
  start: {
318414
- line: 77,
318591
+ line: 81,
318415
318592
  column: 26
318416
318593
  },
318417
318594
  end: {
318418
- line: 77,
318595
+ line: 81,
318419
318596
  column: 27
318420
318597
  }
318421
318598
  },
318422
318599
  loc: {
318423
318600
  start: {
318424
- line: 77,
318601
+ line: 81,
318425
318602
  column: 40
318426
318603
  },
318427
318604
  end: {
318428
- line: 83,
318605
+ line: 87,
318429
318606
  column: 7
318430
318607
  }
318431
318608
  },
318432
- line: 77
318609
+ line: 81
318433
318610
  },
318434
318611
  "15": {
318435
318612
  name: "(anonymous_15)",
318436
318613
  decl: {
318437
318614
  start: {
318438
- line: 78,
318615
+ line: 82,
318439
318616
  column: 40
318440
318617
  },
318441
318618
  end: {
318442
- line: 78,
318619
+ line: 82,
318443
318620
  column: 41
318444
318621
  }
318445
318622
  },
318446
318623
  loc: {
318447
318624
  start: {
318448
- line: 78,
318625
+ line: 82,
318449
318626
  column: 49
318450
318627
  },
318451
318628
  end: {
318452
- line: 82,
318629
+ line: 86,
318453
318630
  column: 9
318454
318631
  }
318455
318632
  },
318456
- line: 78
318633
+ line: 82
318457
318634
  }
318458
318635
  },
318459
318636
  branchMap: {
@@ -318592,209 +318769,242 @@ var cov_5ht757v2k = function () {
318592
318769
  "4": {
318593
318770
  loc: {
318594
318771
  start: {
318595
- line: 50,
318772
+ line: 44,
318773
+ column: 6
318774
+ },
318775
+ end: {
318776
+ line: 46,
318777
+ column: 7
318778
+ }
318779
+ },
318780
+ type: "if",
318781
+ locations: [{
318782
+ start: {
318783
+ line: 44,
318784
+ column: 6
318785
+ },
318786
+ end: {
318787
+ line: 46,
318788
+ column: 7
318789
+ }
318790
+ }, {
318791
+ start: {
318792
+ line: 44,
318793
+ column: 6
318794
+ },
318795
+ end: {
318796
+ line: 46,
318797
+ column: 7
318798
+ }
318799
+ }],
318800
+ line: 44
318801
+ },
318802
+ "5": {
318803
+ loc: {
318804
+ start: {
318805
+ line: 54,
318596
318806
  column: 16
318597
318807
  },
318598
318808
  end: {
318599
- line: 50,
318809
+ line: 54,
318600
318810
  column: 49
318601
318811
  }
318602
318812
  },
318603
318813
  type: "binary-expr",
318604
318814
  locations: [{
318605
318815
  start: {
318606
- line: 50,
318816
+ line: 54,
318607
318817
  column: 16
318608
318818
  },
318609
318819
  end: {
318610
- line: 50,
318820
+ line: 54,
318611
318821
  column: 23
318612
318822
  }
318613
318823
  }, {
318614
318824
  start: {
318615
- line: 50,
318825
+ line: 54,
318616
318826
  column: 27
318617
318827
  },
318618
318828
  end: {
318619
- line: 50,
318829
+ line: 54,
318620
318830
  column: 49
318621
318831
  }
318622
318832
  }],
318623
- line: 50
318833
+ line: 54
318624
318834
  },
318625
- "5": {
318835
+ "6": {
318626
318836
  loc: {
318627
318837
  start: {
318628
- line: 51,
318838
+ line: 55,
318629
318839
  column: 6
318630
318840
  },
318631
318841
  end: {
318632
- line: 60,
318842
+ line: 64,
318633
318843
  column: 7
318634
318844
  }
318635
318845
  },
318636
318846
  type: "if",
318637
318847
  locations: [{
318638
318848
  start: {
318639
- line: 51,
318849
+ line: 55,
318640
318850
  column: 6
318641
318851
  },
318642
318852
  end: {
318643
- line: 60,
318853
+ line: 64,
318644
318854
  column: 7
318645
318855
  }
318646
318856
  }, {
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
- line: 51
318866
+ line: 55
318657
318867
  },
318658
- "6": {
318868
+ "7": {
318659
318869
  loc: {
318660
318870
  start: {
318661
- line: 51,
318871
+ line: 55,
318662
318872
  column: 10
318663
318873
  },
318664
318874
  end: {
318665
- line: 51,
318875
+ line: 55,
318666
318876
  column: 53
318667
318877
  }
318668
318878
  },
318669
318879
  type: "binary-expr",
318670
318880
  locations: [{
318671
318881
  start: {
318672
- line: 51,
318882
+ line: 55,
318673
318883
  column: 10
318674
318884
  },
318675
318885
  end: {
318676
- line: 51,
318886
+ line: 55,
318677
318887
  column: 17
318678
318888
  }
318679
318889
  }, {
318680
318890
  start: {
318681
- line: 51,
318891
+ line: 55,
318682
318892
  column: 21
318683
318893
  },
318684
318894
  end: {
318685
- line: 51,
318895
+ line: 55,
318686
318896
  column: 25
318687
318897
  }
318688
318898
  }, {
318689
318899
  start: {
318690
- line: 51,
318900
+ line: 55,
318691
318901
  column: 29
318692
318902
  },
318693
318903
  end: {
318694
- line: 51,
318904
+ line: 55,
318695
318905
  column: 53
318696
318906
  }
318697
318907
  }],
318698
- line: 51
318908
+ line: 55
318699
318909
  },
318700
- "7": {
318910
+ "8": {
318701
318911
  loc: {
318702
318912
  start: {
318703
- line: 63,
318913
+ line: 67,
318704
318914
  column: 6
318705
318915
  },
318706
318916
  end: {
318707
- line: 74,
318917
+ line: 78,
318708
318918
  column: 7
318709
318919
  }
318710
318920
  },
318711
318921
  type: "if",
318712
318922
  locations: [{
318713
318923
  start: {
318714
- line: 63,
318924
+ line: 67,
318715
318925
  column: 6
318716
318926
  },
318717
318927
  end: {
318718
- line: 74,
318928
+ line: 78,
318719
318929
  column: 7
318720
318930
  }
318721
318931
  }, {
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
- line: 63
318941
+ line: 67
318732
318942
  },
318733
- "8": {
318943
+ "9": {
318734
318944
  loc: {
318735
318945
  start: {
318736
- line: 68,
318946
+ line: 72,
318737
318947
  column: 14
318738
318948
  },
318739
318949
  end: {
318740
- line: 70,
318950
+ line: 74,
318741
318951
  column: 15
318742
318952
  }
318743
318953
  },
318744
318954
  type: "if",
318745
318955
  locations: [{
318746
318956
  start: {
318747
- line: 68,
318957
+ line: 72,
318748
318958
  column: 14
318749
318959
  },
318750
318960
  end: {
318751
- line: 70,
318961
+ line: 74,
318752
318962
  column: 15
318753
318963
  }
318754
318964
  }, {
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
- line: 68
318974
+ line: 72
318765
318975
  },
318766
- "9": {
318976
+ "10": {
318767
318977
  loc: {
318768
318978
  start: {
318769
- line: 79,
318979
+ line: 83,
318770
318980
  column: 10
318771
318981
  },
318772
318982
  end: {
318773
- line: 81,
318983
+ line: 85,
318774
318984
  column: 11
318775
318985
  }
318776
318986
  },
318777
318987
  type: "if",
318778
318988
  locations: [{
318779
318989
  start: {
318780
- line: 79,
318990
+ line: 83,
318781
318991
  column: 10
318782
318992
  },
318783
318993
  end: {
318784
- line: 81,
318994
+ line: 85,
318785
318995
  column: 11
318786
318996
  }
318787
318997
  }, {
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
- line: 79
319007
+ line: 83
318798
319008
  }
318799
319009
  },
318800
319010
  s: {
@@ -318830,7 +319040,9 @@ var cov_5ht757v2k = function () {
318830
319040
  "29": 0,
318831
319041
  "30": 0,
318832
319042
  "31": 0,
318833
- "32": 0
319043
+ "32": 0,
319044
+ "33": 0,
319045
+ "34": 0
318834
319046
  },
318835
319047
  f: {
318836
319048
  "0": 0,
@@ -318857,13 +319069,14 @@ var cov_5ht757v2k = function () {
318857
319069
  "3": [0, 0],
318858
319070
  "4": [0, 0],
318859
319071
  "5": [0, 0],
318860
- "6": [0, 0, 0],
318861
- "7": [0, 0],
319072
+ "6": [0, 0],
319073
+ "7": [0, 0, 0],
318862
319074
  "8": [0, 0],
318863
- "9": [0, 0]
319075
+ "9": [0, 0],
319076
+ "10": [0, 0]
318864
319077
  },
318865
319078
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
318866
- hash: "12f16a59f956cbcb6c85cdcf33e15345cab3a97f"
319079
+ hash: "b643f788f77d4fcd68b71d31977c281f17784e26"
318867
319080
  };
318868
319081
  var coverage = global[gcv] || (global[gcv] = {});
318869
319082
 
@@ -318986,13 +319199,23 @@ var pluralizedModels = (cov_5ht757v2k.s[0]++, {
318986
319199
  }
318987
319200
 
318988
319201
  cov_5ht757v2k.s[12]++;
319202
+
319203
+ if (errorMessage == 'Failed to fetch bioModel: Object not found try a different ID') {
319204
+ cov_5ht757v2k.b[4][0]++;
319205
+ cov_5ht757v2k.s[13]++;
319206
+ errorMessage = 'Sample not found: It might be private or not exist.';
319207
+ } else {
319208
+ cov_5ht757v2k.b[4][1]++;
319209
+ }
319210
+
319211
+ cov_5ht757v2k.s[14]++;
318989
319212
  this.$store.dispatch(SHOW_ALERT, {
318990
319213
  error: errorMessage
318991
319214
  });
318992
- cov_5ht757v2k.s[13]++;
319215
+ cov_5ht757v2k.s[15]++;
318993
319216
  this.$store.dispatch(HIDE_PANEL, modelName);
318994
319217
 
318995
- case 8:
319218
+ case 10:
318996
319219
  case "end":
318997
319220
  return _context2.stop();
318998
319221
  }
@@ -319016,34 +319239,34 @@ var pluralizedModels = (cov_5ht757v2k.s[0]++, {
319016
319239
  switch (_context3.prev = _context3.next) {
319017
319240
  case 0:
319018
319241
  cov_5ht757v2k.f[5]++;
319019
- cov_5ht757v2k.s[14]++;
319020
- modelId = (cov_5ht757v2k.b[4][0]++, modelId) || (cov_5ht757v2k.b[4][1]++, this["".concat(modelName, "Id")]);
319021
- cov_5ht757v2k.s[15]++;
319242
+ cov_5ht757v2k.s[16]++;
319243
+ modelId = (cov_5ht757v2k.b[5][0]++, modelId) || (cov_5ht757v2k.b[5][1]++, this["".concat(modelName, "Id")]);
319244
+ cov_5ht757v2k.s[17]++;
319022
319245
 
319023
- if ((cov_5ht757v2k.b[6][0]++, modelId) && (cov_5ht757v2k.b[6][1]++, data) && (cov_5ht757v2k.b[6][2]++, Object.keys(data).length)) {
319024
- cov_5ht757v2k.b[5][0]++;
319025
- cov_5ht757v2k.s[16]++;
319246
+ if ((cov_5ht757v2k.b[7][0]++, modelId) && (cov_5ht757v2k.b[7][1]++, data) && (cov_5ht757v2k.b[7][2]++, Object.keys(data).length)) {
319247
+ cov_5ht757v2k.b[6][0]++;
319248
+ cov_5ht757v2k.s[18]++;
319026
319249
  this.fieldLoading = true;
319027
- cov_5ht757v2k.s[17]++;
319250
+ cov_5ht757v2k.s[19]++;
319028
319251
  updateRecord(pluralizedModels[modelName], modelId, data).then(function (response) {
319029
319252
  cov_5ht757v2k.f[6]++;
319030
- cov_5ht757v2k.s[18]++;
319253
+ cov_5ht757v2k.s[20]++;
319031
319254
 
319032
319255
  _this2.$cleanFieldErrors();
319033
319256
 
319034
- cov_5ht757v2k.s[19]++;
319257
+ cov_5ht757v2k.s[21]++;
319035
319258
  _this2[modelName] = response;
319036
319259
  }).catch(function (error) {
319037
319260
  cov_5ht757v2k.f[7]++;
319038
- cov_5ht757v2k.s[20]++;
319261
+ cov_5ht757v2k.s[22]++;
319039
319262
  return _this2.$handleFieldErrors(error);
319040
319263
  }).finally(function () {
319041
319264
  cov_5ht757v2k.f[8]++;
319042
- cov_5ht757v2k.s[21]++;
319265
+ cov_5ht757v2k.s[23]++;
319043
319266
  return _this2.fieldLoading = false;
319044
319267
  });
319045
319268
  } else {
319046
- cov_5ht757v2k.b[5][1]++;
319269
+ cov_5ht757v2k.b[6][1]++;
319047
319270
  }
319048
319271
 
319049
319272
  case 5:
@@ -319064,57 +319287,57 @@ var pluralizedModels = (cov_5ht757v2k.s[0]++, {
319064
319287
  var _this3 = this;
319065
319288
 
319066
319289
  cov_5ht757v2k.f[9]++;
319067
- cov_5ht757v2k.s[22]++;
319290
+ cov_5ht757v2k.s[24]++;
319068
319291
 
319069
319292
  if (error.response) {
319070
- cov_5ht757v2k.b[7][0]++;
319071
- var flatError = (cov_5ht757v2k.s[23]++, Object(helpers["e" /* flattenObject */])(error.response.data, true));
319072
- cov_5ht757v2k.s[24]++;
319293
+ cov_5ht757v2k.b[8][0]++;
319294
+ var flatError = (cov_5ht757v2k.s[25]++, Object(helpers["e" /* flattenObject */])(error.response.data, true));
319295
+ cov_5ht757v2k.s[26]++;
319073
319296
  Object.entries(flatError).forEach(function (_ref) {
319074
319297
  var _ref2 = fields_slicedToArray(_ref, 2),
319075
319298
  errorField = _ref2[0],
319076
319299
  errorMessage = _ref2[1];
319077
319300
 
319078
319301
  cov_5ht757v2k.f[10]++;
319079
- cov_5ht757v2k.s[25]++;
319302
+ cov_5ht757v2k.s[27]++;
319080
319303
 
319081
319304
  _this3.fields.forEach(function (fieldGroup) {
319082
319305
  cov_5ht757v2k.f[11]++;
319083
- cov_5ht757v2k.s[26]++;
319306
+ cov_5ht757v2k.s[28]++;
319084
319307
  Object.values(fieldGroup).forEach(function (field) {
319085
319308
  cov_5ht757v2k.f[12]++;
319086
- cov_5ht757v2k.s[27]++;
319309
+ cov_5ht757v2k.s[29]++;
319087
319310
 
319088
319311
  if (field.field === errorField) {
319089
- cov_5ht757v2k.b[8][0]++;
319090
- cov_5ht757v2k.s[28]++;
319312
+ cov_5ht757v2k.b[9][0]++;
319313
+ cov_5ht757v2k.s[30]++;
319091
319314
  field.errorMessages = errorMessage;
319092
319315
  } else {
319093
- cov_5ht757v2k.b[8][1]++;
319316
+ cov_5ht757v2k.b[9][1]++;
319094
319317
  }
319095
319318
  });
319096
319319
  });
319097
319320
  });
319098
319321
  } else {
319099
- cov_5ht757v2k.b[7][1]++;
319322
+ cov_5ht757v2k.b[8][1]++;
319100
319323
  }
319101
319324
  },
319102
319325
  $cleanFieldErrors: function $cleanFieldErrors() {
319103
319326
  cov_5ht757v2k.f[13]++;
319104
- cov_5ht757v2k.s[29]++;
319327
+ cov_5ht757v2k.s[31]++;
319105
319328
  this.fields.forEach(function (fieldGroup) {
319106
319329
  cov_5ht757v2k.f[14]++;
319107
- cov_5ht757v2k.s[30]++;
319330
+ cov_5ht757v2k.s[32]++;
319108
319331
  Object.keys(fieldGroup).forEach(function (field) {
319109
319332
  cov_5ht757v2k.f[15]++;
319110
- cov_5ht757v2k.s[31]++;
319333
+ cov_5ht757v2k.s[33]++;
319111
319334
 
319112
319335
  if ('errorMessages' in fieldGroup[field]) {
319113
- cov_5ht757v2k.b[9][0]++;
319114
- cov_5ht757v2k.s[32]++;
319336
+ cov_5ht757v2k.b[10][0]++;
319337
+ cov_5ht757v2k.s[34]++;
319115
319338
  fieldGroup[field].errorMessages = [];
319116
319339
  } else {
319117
- cov_5ht757v2k.b[9][1]++;
319340
+ cov_5ht757v2k.b[10][1]++;
319118
319341
  }
319119
319342
  });
319120
319343
  });