@bigbinary/neeto-team-members-frontend 2.6.8 → 2.6.9

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.
package/dist/index.cjs.js CHANGED
@@ -4835,6 +4835,10 @@ function _objectWithoutProperties(source, excluded) {
4835
4835
 
4836
4836
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4837
4837
 
4838
+ function getDefaultExportFromCjs (x) {
4839
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
4840
+ }
4841
+
4838
4842
  /**
4839
4843
  * This file automatically generated from `pre-publish.js`.
4840
4844
  * Do not manually edit.
@@ -4857,7 +4861,9 @@ var voidElements = {
4857
4861
  "wbr": true
4858
4862
  };
4859
4863
 
4860
- var t$1=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n$1(n){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=n.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(r.name=i[1],(voidElements[i[1]]||"/"===n.charAt(n.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var s=n.indexOf("--\x3e");return {type:"comment",comment:-1!==s?n.slice(4,s):""}}for(var a=new RegExp(t$1),c=null;null!==(c=a.exec(n));)if(c[0].trim())if(c[1]){var o=c[1].trim(),l=[o,""];o.indexOf("=")>-1&&(l=o.split("=")),r.attrs[l[0]]=l[1],a.lastIndex--;}else c[2]&&(r.attrs[c[2]]=c[3].trim().substring(1,c[3].length-1));return r}var r=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,i=/^\s*$/,s=Object.create(null);function a(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var c={parse:function(e,t){t||(t={}),t.components||(t.components=s);var a,c=[],o=[],l=-1,m=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");c.push({type:"text",content:-1===u?e:e.substring(0,u)});}return e.replace(r,function(r,s){if(m){if(r!=="</"+a.name+">")return;m=!1;}var u,f="/"!==r.charAt(1),h=r.startsWith("\x3c!--"),p=s+r.length,d=e.charAt(p);if(h){var v=n$1(r);return l<0?(c.push(v),c):((u=o[l]).children.push(v),c)}if(f&&(l++,"tag"===(a=n$1(r)).type&&t.components[a.name]&&(a.type="component",m=!0),a.voidElement||m||!d||"<"===d||a.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===l&&c.push(a),(u=o[l-1])&&u.children.push(a),o[l]=a),(!f||a.voidElement)&&(l>-1&&(a.voidElement||a.name===r.slice(2,-1))&&(l--,a=-1===l?c:o[l]),!m&&"<"!==d&&d)){u=-1===l?c:o[l].children;var x=e.indexOf("<",p),g=e.slice(p,-1===x?void 0:x);i.test(g)&&(g=" "),(x>-1&&l+u.length>=0||" "!==g)&&u.push({type:"text",content:g});}}),c},stringify:function(e){return e.reduce(function(e,t){return e+a("",t)},"")}};
4864
+ var e$1 = /*@__PURE__*/getDefaultExportFromCjs(voidElements);
4865
+
4866
+ var t$1=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n$1(n){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=n.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(r.name=i[1],(e$1[i[1]]||"/"===n.charAt(n.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var s=n.indexOf("--\x3e");return {type:"comment",comment:-1!==s?n.slice(4,s):""}}for(var a=new RegExp(t$1),c=null;null!==(c=a.exec(n));)if(c[0].trim())if(c[1]){var o=c[1].trim(),l=[o,""];o.indexOf("=")>-1&&(l=o.split("=")),r.attrs[l[0]]=l[1],a.lastIndex--;}else c[2]&&(r.attrs[c[2]]=c[3].trim().substring(1,c[3].length-1));return r}var r=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,i=/^\s*$/,s=Object.create(null);function a(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var c={parse:function(e,t){t||(t={}),t.components||(t.components=s);var a,c=[],o=[],l=-1,m=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");c.push({type:"text",content:-1===u?e:e.substring(0,u)});}return e.replace(r,function(r,s){if(m){if(r!=="</"+a.name+">")return;m=!1;}var u,f="/"!==r.charAt(1),h=r.startsWith("\x3c!--"),p=s+r.length,d=e.charAt(p);if(h){var v=n$1(r);return l<0?(c.push(v),c):((u=o[l]).children.push(v),c)}if(f&&(l++,"tag"===(a=n$1(r)).type&&t.components[a.name]&&(a.type="component",m=!0),a.voidElement||m||!d||"<"===d||a.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===l&&c.push(a),(u=o[l-1])&&u.children.push(a),o[l]=a),(!f||a.voidElement)&&(l>-1&&(a.voidElement||a.name===r.slice(2,-1))&&(l--,a=-1===l?c:o[l]),!m&&"<"!==d&&d)){u=-1===l?c:o[l].children;var x=e.indexOf("<",p),g=e.slice(p,-1===x?void 0:x);i.test(g)&&(g=" "),(x>-1&&l+u.length>=0||" "!==g)&&u.push({type:"text",content:g});}}),c},stringify:function(e){return e.reduce(function(e,t){return e+a("",t)},"")}};
4861
4867
 
4862
4868
  function warn() {
4863
4869
  if (console && console.warn) {
@@ -5555,6 +5561,7 @@ var helpers$1 = {
5555
5561
  moreInfoAboutPermissions: "More information about permissions",
5556
5562
  multipleProductInvitation: "{{- emails, boldList}} will be invited to the following neeto products with the role given next to it.",
5557
5563
  noRolesFound: "No roles found.",
5564
+ requiredRoleField: "Role*",
5558
5565
  searchRoles: "Search roles",
5559
5566
  selectedMembersCount: "{{count}} {{metaName}} selected of <span>{{totalCount}}</span>",
5560
5567
  singleProductInvitation: "{{- emails, boldList}} will be invited to <strong>{{product}}</strong> with a role of <strong>{{role}}</strong>.",
@@ -5677,6 +5684,7 @@ var helpers = {
5677
5684
  multipleProductInvitation_one: "{{- emails, boldList}} sera invité aux produits neeto suivants avec le rôle attribué à côté.",
5678
5685
  multipleProductInvitation_other: "{{- emails, boldList}} seront invités aux produits neeto suivants avec le rôle attribué à côté.",
5679
5686
  noRolesFound: "Aucun rôle trouvé.",
5687
+ requiredRoleField: "Rôle*",
5680
5688
  searchRoles: "Rechercher des rôles",
5681
5689
  selectedMembersCount_one: "{{count}} {{metaName}} sélectionné sur <span>{{totalCount}}</span>",
5682
5690
  selectedMembersCount_other: "{{count}} {{metaName}} sélectionnés sur <span>{{totalCount}}</span>",
@@ -6692,11 +6700,9 @@ var hasPermission = function hasPermission() {
6692
6700
  cov_ojbc1aq0x().s[9]++;
6693
6701
  cov_ojbc1aq0x().s[11]++;
6694
6702
 
6695
- var distExports = {};
6696
- var dist = {
6697
- get exports(){ return distExports; },
6698
- set exports(v){ distExports = v; },
6699
- };
6703
+ var dist = {exports: {}};
6704
+
6705
+ dist.exports;
6700
6706
 
6701
6707
  (function (module, exports) {
6702
6708
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8068,7 +8074,9 @@ var dist = {
8068
8074
  /******/ ]);
8069
8075
  });
8070
8076
 
8071
- } (dist));
8077
+ } (dist, dist.exports));
8078
+
8079
+ var distExports = dist.exports;
8072
8080
 
8073
8081
  function cov_a5y9dvwc7() {
8074
8082
  var path = "/home/runner/work/neeto-team-members-frontend/neeto-team-members-frontend/src/common/constants.js";
@@ -16951,11 +16959,9 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
16951
16959
  return value;
16952
16960
  };
16953
16961
 
16954
- var callBindExports = {};
16955
- var callBind$1 = {
16956
- get exports(){ return callBindExports; },
16957
- set exports(v){ callBindExports = v; },
16958
- };
16962
+ var callBind$1 = {exports: {}};
16963
+
16964
+ callBind$1.exports;
16959
16965
 
16960
16966
  (function (module) {
16961
16967
 
@@ -17003,9 +17009,11 @@ var callBind$1 = {
17003
17009
  $defineProperty(module.exports, 'apply', { value: applyBind });
17004
17010
  } else {
17005
17011
  module.exports.apply = applyBind;
17006
- }
17012
+ }
17007
17013
  } (callBind$1));
17008
17014
 
17015
+ var callBindExports = callBind$1.exports;
17016
+
17009
17017
  var GetIntrinsic$1 = getIntrinsic;
17010
17018
 
17011
17019
  var callBind = callBindExports;
@@ -18526,6 +18534,8 @@ var lib = {
18526
18534
  stringify: stringify
18527
18535
  };
18528
18536
 
18537
+ var qs = /*@__PURE__*/getDefaultExportFromCjs(lib);
18538
+
18529
18539
  function cov_om31pkwz0() {
18530
18540
  var path = "/home/runner/work/neeto-team-members-frontend/neeto-team-members-frontend/src/apis/teams.js";
18531
18541
  var hash = "e42ec66554eaa4bec03ce3623ded0151747428c7";
@@ -18820,7 +18830,7 @@ cov_om31pkwz0();
18820
18830
  cov_om31pkwz0().s[0]++;
18821
18831
  var fetch = function fetch(params) {
18822
18832
  cov_om31pkwz0().f[0]++;
18823
- var serializedParams = (cov_om31pkwz0().s[1]++, lib.stringify(pure.keysToSnakeCase(params), {
18833
+ var serializedParams = (cov_om31pkwz0().s[1]++, qs.stringify(pure.keysToSnakeCase(params), {
18824
18834
  arrayFormat: "brackets",
18825
18835
  encode: false
18826
18836
  }));
@@ -20309,13 +20319,10 @@ function commonjsRequire(path) {
20309
20319
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
20310
20320
  }
20311
20321
 
20312
- var pluralizeExports = {};
20313
- var pluralize$1 = {
20314
- get exports(){ return pluralizeExports; },
20315
- set exports(v){ pluralizeExports = v; },
20316
- };
20322
+ var pluralize$1 = {exports: {}};
20317
20323
 
20318
20324
  /* global define */
20325
+ pluralize$1.exports;
20319
20326
 
20320
20327
  (function (module, exports) {
20321
20328
  (function (root, pluralize) {
@@ -20813,10 +20820,11 @@ var pluralize$1 = {
20813
20820
  ].forEach(pluralize.addUncountableRule);
20814
20821
 
20815
20822
  return pluralize;
20816
- });
20817
- } (pluralize$1));
20823
+ });
20824
+ } (pluralize$1, pluralize$1.exports));
20818
20825
 
20819
- var pluralize = pluralizeExports;
20826
+ var pluralizeExports = pluralize$1.exports;
20827
+ var pluralize = /*@__PURE__*/getDefaultExportFromCjs(pluralizeExports);
20820
20828
 
20821
20829
  function cov_1ajikpxp6u() {
20822
20830
  var path = "/home/runner/work/neeto-team-members-frontend/neeto-team-members-frontend/src/components/TeamMembers/utils.jsx";
@@ -24443,17 +24451,11 @@ function _asyncToGenerator(fn) {
24443
24451
  };
24444
24452
  }
24445
24453
 
24446
- var regeneratorRuntimeExports = {};
24447
- var regeneratorRuntime$1 = {
24448
- get exports(){ return regeneratorRuntimeExports; },
24449
- set exports(v){ regeneratorRuntimeExports = v; },
24450
- };
24454
+ var regeneratorRuntime$1 = {exports: {}};
24451
24455
 
24452
- var _typeofExports = {};
24453
- var _typeof = {
24454
- get exports(){ return _typeofExports; },
24455
- set exports(v){ _typeofExports = v; },
24456
- };
24456
+ var _typeof = {exports: {}};
24457
+
24458
+ _typeof.exports;
24457
24459
 
24458
24460
  (function (module) {
24459
24461
  function _typeof(obj) {
@@ -24465,9 +24467,13 @@ var _typeof = {
24465
24467
  return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
24466
24468
  }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
24467
24469
  }
24468
- module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
24470
+ module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
24469
24471
  } (_typeof));
24470
24472
 
24473
+ var _typeofExports = _typeof.exports;
24474
+
24475
+ regeneratorRuntime$1.exports;
24476
+
24471
24477
  (function (module) {
24472
24478
  var _typeof = _typeofExports["default"];
24473
24479
  function _regeneratorRuntime() {
@@ -24771,9 +24777,11 @@ var _typeof = {
24771
24777
  }
24772
24778
  }, exports;
24773
24779
  }
24774
- module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
24780
+ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
24775
24781
  } (regeneratorRuntime$1));
24776
24782
 
24783
+ var regeneratorRuntimeExports = regeneratorRuntime$1.exports;
24784
+
24777
24785
  // TODO(Babel 8): Remove this file.
24778
24786
 
24779
24787
  var runtime = regeneratorRuntimeExports();
@@ -24790,6 +24798,8 @@ try {
24790
24798
  }
24791
24799
  }
24792
24800
 
24801
+ var _regeneratorRuntime = /*@__PURE__*/getDefaultExportFromCjs(regenerator);
24802
+
24793
24803
  function cov_vel136oxr() {
24794
24804
  var path = "/home/runner/work/neeto-team-members-frontend/neeto-team-members-frontend/src/hooks/useTeams.js";
24795
24805
  var hash = "578b21fb29d2d6ec0187052d724eb126b7272418";
@@ -25496,9 +25506,9 @@ var useTeams = function useTeams(_ref) {
25496
25506
  setSelectedRows = _ref7[1];
25497
25507
  cov_vel136oxr().s[4]++;
25498
25508
  var handleUpdateMember = /*#__PURE__*/function () {
25499
- var _ref8 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
25509
+ var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
25500
25510
  var _ref9, id, active, payload;
25501
- return regenerator.wrap(function _callee$(_context) {
25511
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
25502
25512
  while (1) switch (_context.prev = _context.next) {
25503
25513
  case 0:
25504
25514
  cov_vel136oxr().f[1]++;
@@ -29424,7 +29434,7 @@ var OWNER_CANT_CHANGE_USER_EMAIL_KB_ARTICLE_URL = (cov_82lke0lxh().s[13]++, "htt
29424
29434
 
29425
29435
  function cov_oxacgfc93() {
29426
29436
  var path = "/home/runner/work/neeto-team-members-frontend/neeto-team-members-frontend/src/components/TeamMembers/ManageMember/utils.js";
29427
- var hash = "47030a290cad80d31dccf8d94297e52d5d168514";
29437
+ var hash = "606b358f599c0f0dd00841b8d8d9a41713401450";
29428
29438
  var global = new Function("return this")();
29429
29439
  var gcv = "__coverage__";
29430
29440
  var coverageData = {
@@ -29476,48 +29486,48 @@ function cov_oxacgfc93() {
29476
29486
  column: 23
29477
29487
  },
29478
29488
  end: {
29479
- line: 24,
29489
+ line: 28,
29480
29490
  column: 1
29481
29491
  }
29482
29492
  },
29483
29493
  "5": {
29484
29494
  start: {
29485
29495
  line: 19,
29486
- column: 20
29496
+ column: 2
29487
29497
  },
29488
29498
  end: {
29489
- line: 19,
29490
- column: 47
29499
+ line: 21,
29500
+ column: 3
29491
29501
  }
29492
29502
  },
29493
29503
  "6": {
29494
29504
  start: {
29495
- line: 21,
29496
- column: 15
29505
+ line: 20,
29506
+ column: 4
29497
29507
  },
29498
29508
  end: {
29499
- line: 21,
29500
- column: 50
29509
+ line: 20,
29510
+ column: 26
29501
29511
  }
29502
29512
  },
29503
29513
  "7": {
29504
29514
  start: {
29505
29515
  line: 23,
29506
- column: 2
29516
+ column: 20
29507
29517
  },
29508
29518
  end: {
29509
29519
  line: 23,
29510
- column: 42
29520
+ column: 47
29511
29521
  }
29512
29522
  },
29513
29523
  "8": {
29514
29524
  start: {
29515
- line: 26,
29516
- column: 38
29525
+ line: 25,
29526
+ column: 15
29517
29527
  },
29518
29528
  end: {
29519
- line: 40,
29520
- column: 1
29529
+ line: 25,
29530
+ column: 50
29521
29531
  }
29522
29532
  },
29523
29533
  "9": {
@@ -29527,146 +29537,166 @@ function cov_oxacgfc93() {
29527
29537
  },
29528
29538
  end: {
29529
29539
  line: 27,
29530
- column: 30
29540
+ column: 42
29531
29541
  }
29532
29542
  },
29533
29543
  "10": {
29534
29544
  start: {
29535
- line: 27,
29545
+ line: 30,
29546
+ column: 38
29547
+ },
29548
+ end: {
29549
+ line: 44,
29550
+ column: 1
29551
+ }
29552
+ },
29553
+ "11": {
29554
+ start: {
29555
+ line: 31,
29556
+ column: 2
29557
+ },
29558
+ end: {
29559
+ line: 31,
29560
+ column: 30
29561
+ }
29562
+ },
29563
+ "12": {
29564
+ start: {
29565
+ line: 31,
29536
29566
  column: 20
29537
29567
  },
29538
29568
  end: {
29539
- line: 27,
29569
+ line: 31,
29540
29570
  column: 30
29541
29571
  }
29542
29572
  },
29543
- "11": {
29573
+ "13": {
29544
29574
  start: {
29545
- line: 29,
29575
+ line: 33,
29546
29576
  column: 19
29547
29577
  },
29548
29578
  end: {
29549
- line: 29,
29579
+ line: 33,
29550
29580
  column: 43
29551
29581
  }
29552
29582
  },
29553
- "12": {
29583
+ "14": {
29554
29584
  start: {
29555
- line: 30,
29585
+ line: 34,
29556
29586
  column: 30
29557
29587
  },
29558
29588
  end: {
29559
- line: 32,
29589
+ line: 36,
29560
29590
  column: 3
29561
29591
  }
29562
29592
  },
29563
- "13": {
29593
+ "15": {
29564
29594
  start: {
29565
- line: 33,
29595
+ line: 37,
29566
29596
  column: 25
29567
29597
  },
29568
29598
  end: {
29569
- line: 33,
29599
+ line: 37,
29570
29600
  column: 63
29571
29601
  }
29572
29602
  },
29573
- "14": {
29603
+ "16": {
29574
29604
  start: {
29575
- line: 35,
29605
+ line: 39,
29576
29606
  column: 2
29577
29607
  },
29578
29608
  end: {
29579
- line: 39,
29609
+ line: 43,
29580
29610
  column: 6
29581
29611
  }
29582
29612
  },
29583
- "15": {
29613
+ "17": {
29584
29614
  start: {
29585
- line: 35,
29615
+ line: 39,
29586
29616
  column: 40
29587
29617
  },
29588
29618
  end: {
29589
- line: 39,
29619
+ line: 43,
29590
29620
  column: 3
29591
29621
  }
29592
29622
  },
29593
- "16": {
29623
+ "18": {
29594
29624
  start: {
29595
- line: 42,
29625
+ line: 46,
29596
29626
  column: 27
29597
29627
  },
29598
29628
  end: {
29599
- line: 45,
29629
+ line: 49,
29600
29630
  column: 27
29601
29631
  }
29602
29632
  },
29603
- "17": {
29633
+ "19": {
29604
29634
  start: {
29605
- line: 43,
29635
+ line: 47,
29606
29636
  column: 2
29607
29637
  },
29608
29638
  end: {
29609
- line: 45,
29639
+ line: 49,
29610
29640
  column: 27
29611
29641
  }
29612
29642
  },
29613
- "18": {
29643
+ "20": {
29614
29644
  start: {
29615
- line: 47,
29645
+ line: 51,
29616
29646
  column: 35
29617
29647
  },
29618
29648
  end: {
29619
- line: 63,
29649
+ line: 67,
29620
29650
  column: 2
29621
29651
  }
29622
29652
  },
29623
- "19": {
29653
+ "21": {
29624
29654
  start: {
29625
- line: 47,
29655
+ line: 51,
29626
29656
  column: 76
29627
29657
  },
29628
29658
  end: {
29629
- line: 63,
29659
+ line: 67,
29630
29660
  column: 1
29631
29661
  }
29632
29662
  },
29633
- "20": {
29663
+ "22": {
29634
29664
  start: {
29635
- line: 65,
29665
+ line: 69,
29636
29666
  column: 29
29637
29667
  },
29638
29668
  end: {
29639
- line: 82,
29669
+ line: 86,
29640
29670
  column: 7
29641
29671
  }
29642
29672
  },
29643
- "21": {
29673
+ "23": {
29644
29674
  start: {
29645
- line: 69,
29675
+ line: 73,
29646
29676
  column: 2
29647
29677
  },
29648
29678
  end: {
29649
- line: 82,
29679
+ line: 86,
29650
29680
  column: 7
29651
29681
  }
29652
29682
  },
29653
- "22": {
29683
+ "24": {
29654
29684
  start: {
29655
- line: 84,
29685
+ line: 88,
29656
29686
  column: 51
29657
29687
  },
29658
29688
  end: {
29659
- line: 93,
29689
+ line: 97,
29660
29690
  column: 2
29661
29691
  }
29662
29692
  },
29663
- "23": {
29693
+ "25": {
29664
29694
  start: {
29665
- line: 88,
29695
+ line: 92,
29666
29696
  column: 7
29667
29697
  },
29668
29698
  end: {
29669
- line: 93,
29699
+ line: 97,
29670
29700
  column: 1
29671
29701
  }
29672
29702
  }
@@ -29735,10 +29765,10 @@ function cov_oxacgfc93() {
29735
29765
  loc: {
29736
29766
  start: {
29737
29767
  line: 18,
29738
- column: 50
29768
+ column: 59
29739
29769
  },
29740
29770
  end: {
29741
- line: 24,
29771
+ line: 28,
29742
29772
  column: 1
29743
29773
  }
29744
29774
  },
@@ -29748,145 +29778,145 @@ function cov_oxacgfc93() {
29748
29778
  name: "(anonymous_3)",
29749
29779
  decl: {
29750
29780
  start: {
29751
- line: 26,
29781
+ line: 30,
29752
29782
  column: 38
29753
29783
  },
29754
29784
  end: {
29755
- line: 26,
29785
+ line: 30,
29756
29786
  column: 39
29757
29787
  }
29758
29788
  },
29759
29789
  loc: {
29760
29790
  start: {
29761
- line: 26,
29791
+ line: 30,
29762
29792
  column: 71
29763
29793
  },
29764
29794
  end: {
29765
- line: 40,
29795
+ line: 44,
29766
29796
  column: 1
29767
29797
  }
29768
29798
  },
29769
- line: 26
29799
+ line: 30
29770
29800
  },
29771
29801
  "4": {
29772
29802
  name: "(anonymous_4)",
29773
29803
  decl: {
29774
29804
  start: {
29775
- line: 35,
29805
+ line: 39,
29776
29806
  column: 28
29777
29807
  },
29778
29808
  end: {
29779
- line: 35,
29809
+ line: 39,
29780
29810
  column: 29
29781
29811
  }
29782
29812
  },
29783
29813
  loc: {
29784
29814
  start: {
29785
- line: 35,
29815
+ line: 39,
29786
29816
  column: 40
29787
29817
  },
29788
29818
  end: {
29789
- line: 39,
29819
+ line: 43,
29790
29820
  column: 3
29791
29821
  }
29792
29822
  },
29793
- line: 35
29823
+ line: 39
29794
29824
  },
29795
29825
  "5": {
29796
29826
  name: "(anonymous_5)",
29797
29827
  decl: {
29798
29828
  start: {
29799
- line: 42,
29829
+ line: 46,
29800
29830
  column: 27
29801
29831
  },
29802
29832
  end: {
29803
- line: 42,
29833
+ line: 46,
29804
29834
  column: 28
29805
29835
  }
29806
29836
  },
29807
29837
  loc: {
29808
29838
  start: {
29809
- line: 43,
29839
+ line: 47,
29810
29840
  column: 2
29811
29841
  },
29812
29842
  end: {
29813
- line: 45,
29843
+ line: 49,
29814
29844
  column: 27
29815
29845
  }
29816
29846
  },
29817
- line: 43
29847
+ line: 47
29818
29848
  },
29819
29849
  "6": {
29820
29850
  name: "(anonymous_6)",
29821
29851
  decl: {
29822
29852
  start: {
29823
- line: 47,
29853
+ line: 51,
29824
29854
  column: 35
29825
29855
  },
29826
29856
  end: {
29827
- line: 47,
29857
+ line: 51,
29828
29858
  column: 36
29829
29859
  }
29830
29860
  },
29831
29861
  loc: {
29832
29862
  start: {
29833
- line: 47,
29863
+ line: 51,
29834
29864
  column: 76
29835
29865
  },
29836
29866
  end: {
29837
- line: 63,
29867
+ line: 67,
29838
29868
  column: 1
29839
29869
  }
29840
29870
  },
29841
- line: 47
29871
+ line: 51
29842
29872
  },
29843
29873
  "7": {
29844
29874
  name: "(anonymous_7)",
29845
29875
  decl: {
29846
29876
  start: {
29847
- line: 65,
29877
+ line: 69,
29848
29878
  column: 29
29849
29879
  },
29850
29880
  end: {
29851
- line: 65,
29881
+ line: 69,
29852
29882
  column: 30
29853
29883
  }
29854
29884
  },
29855
29885
  loc: {
29856
29886
  start: {
29857
- line: 69,
29887
+ line: 73,
29858
29888
  column: 2
29859
29889
  },
29860
29890
  end: {
29861
- line: 82,
29891
+ line: 86,
29862
29892
  column: 7
29863
29893
  }
29864
29894
  },
29865
- line: 69
29895
+ line: 73
29866
29896
  },
29867
29897
  "8": {
29868
29898
  name: "(anonymous_8)",
29869
29899
  decl: {
29870
29900
  start: {
29871
- line: 84,
29901
+ line: 88,
29872
29902
  column: 51
29873
29903
  },
29874
29904
  end: {
29875
- line: 84,
29905
+ line: 88,
29876
29906
  column: 52
29877
29907
  }
29878
29908
  },
29879
29909
  loc: {
29880
29910
  start: {
29881
- line: 88,
29911
+ line: 92,
29882
29912
  column: 7
29883
29913
  },
29884
29914
  end: {
29885
- line: 93,
29915
+ line: 97,
29886
29916
  column: 1
29887
29917
  }
29888
29918
  },
29889
- line: 88
29919
+ line: 92
29890
29920
  }
29891
29921
  },
29892
29922
  branchMap: {
@@ -29959,65 +29989,65 @@ function cov_oxacgfc93() {
29959
29989
  "2": {
29960
29990
  loc: {
29961
29991
  start: {
29962
- line: 23,
29963
- column: 9
29992
+ line: 19,
29993
+ column: 2
29964
29994
  },
29965
29995
  end: {
29966
- line: 23,
29967
- column: 41
29996
+ line: 21,
29997
+ column: 3
29968
29998
  }
29969
29999
  },
29970
- type: "cond-expr",
30000
+ type: "if",
29971
30001
  locations: [{
29972
30002
  start: {
29973
- line: 23,
29974
- column: 16
30003
+ line: 19,
30004
+ column: 2
29975
30005
  },
29976
30006
  end: {
29977
- line: 23,
29978
- column: 25
30007
+ line: 21,
30008
+ column: 3
29979
30009
  }
29980
30010
  }, {
29981
30011
  start: {
29982
- line: 23,
29983
- column: 28
30012
+ line: undefined,
30013
+ column: undefined
29984
30014
  },
29985
30015
  end: {
29986
- line: 23,
29987
- column: 41
30016
+ line: undefined,
30017
+ column: undefined
29988
30018
  }
29989
30019
  }],
29990
- line: 23
30020
+ line: 19
29991
30021
  },
29992
30022
  "3": {
29993
30023
  loc: {
29994
30024
  start: {
29995
30025
  line: 27,
29996
- column: 2
30026
+ column: 9
29997
30027
  },
29998
30028
  end: {
29999
30029
  line: 27,
30000
- column: 30
30030
+ column: 41
30001
30031
  }
30002
30032
  },
30003
- type: "if",
30033
+ type: "cond-expr",
30004
30034
  locations: [{
30005
30035
  start: {
30006
30036
  line: 27,
30007
- column: 2
30037
+ column: 16
30008
30038
  },
30009
30039
  end: {
30010
30040
  line: 27,
30011
- column: 30
30041
+ column: 25
30012
30042
  }
30013
30043
  }, {
30014
30044
  start: {
30015
- line: undefined,
30016
- column: undefined
30017
- },
30045
+ line: 27,
30046
+ column: 28
30047
+ },
30018
30048
  end: {
30019
- line: undefined,
30020
- column: undefined
30049
+ line: 27,
30050
+ column: 41
30021
30051
  }
30022
30052
  }],
30023
30053
  line: 27
@@ -30025,266 +30055,299 @@ function cov_oxacgfc93() {
30025
30055
  "4": {
30026
30056
  loc: {
30027
30057
  start: {
30028
- line: 43,
30058
+ line: 31,
30029
30059
  column: 2
30030
30060
  },
30031
30061
  end: {
30032
- line: 45,
30062
+ line: 31,
30063
+ column: 30
30064
+ }
30065
+ },
30066
+ type: "if",
30067
+ locations: [{
30068
+ start: {
30069
+ line: 31,
30070
+ column: 2
30071
+ },
30072
+ end: {
30073
+ line: 31,
30074
+ column: 30
30075
+ }
30076
+ }, {
30077
+ start: {
30078
+ line: undefined,
30079
+ column: undefined
30080
+ },
30081
+ end: {
30082
+ line: undefined,
30083
+ column: undefined
30084
+ }
30085
+ }],
30086
+ line: 31
30087
+ },
30088
+ "5": {
30089
+ loc: {
30090
+ start: {
30091
+ line: 47,
30092
+ column: 2
30093
+ },
30094
+ end: {
30095
+ line: 49,
30033
30096
  column: 27
30034
30097
  }
30035
30098
  },
30036
30099
  type: "cond-expr",
30037
30100
  locations: [{
30038
30101
  start: {
30039
- line: 44,
30102
+ line: 48,
30040
30103
  column: 6
30041
30104
  },
30042
30105
  end: {
30043
- line: 44,
30106
+ line: 48,
30044
30107
  column: 24
30045
30108
  }
30046
30109
  }, {
30047
30110
  start: {
30048
- line: 45,
30111
+ line: 49,
30049
30112
  column: 6
30050
30113
  },
30051
30114
  end: {
30052
- line: 45,
30115
+ line: 49,
30053
30116
  column: 27
30054
30117
  }
30055
30118
  }],
30056
- line: 43
30119
+ line: 47
30057
30120
  },
30058
- "5": {
30121
+ "6": {
30059
30122
  loc: {
30060
30123
  start: {
30061
- line: 48,
30124
+ line: 52,
30062
30125
  column: 13
30063
30126
  },
30064
30127
  end: {
30065
- line: 48,
30128
+ line: 52,
30066
30129
  column: 44
30067
30130
  }
30068
30131
  },
30069
30132
  type: "binary-expr",
30070
30133
  locations: [{
30071
30134
  start: {
30072
- line: 48,
30135
+ line: 52,
30073
30136
  column: 13
30074
30137
  },
30075
30138
  end: {
30076
- line: 48,
30139
+ line: 52,
30077
30140
  column: 38
30078
30141
  }
30079
30142
  }, {
30080
30143
  start: {
30081
- line: 48,
30144
+ line: 52,
30082
30145
  column: 42
30083
30146
  },
30084
30147
  end: {
30085
- line: 48,
30148
+ line: 52,
30086
30149
  column: 44
30087
30150
  }
30088
30151
  }],
30089
- line: 48
30152
+ line: 52
30090
30153
  },
30091
- "6": {
30154
+ "7": {
30092
30155
  loc: {
30093
30156
  start: {
30094
- line: 49,
30157
+ line: 53,
30095
30158
  column: 12
30096
30159
  },
30097
30160
  end: {
30098
- line: 49,
30161
+ line: 53,
30099
30162
  column: 42
30100
30163
  }
30101
30164
  },
30102
30165
  type: "binary-expr",
30103
30166
  locations: [{
30104
30167
  start: {
30105
- line: 49,
30168
+ line: 53,
30106
30169
  column: 12
30107
30170
  },
30108
30171
  end: {
30109
- line: 49,
30172
+ line: 53,
30110
30173
  column: 36
30111
30174
  }
30112
30175
  }, {
30113
30176
  start: {
30114
- line: 49,
30177
+ line: 53,
30115
30178
  column: 40
30116
30179
  },
30117
30180
  end: {
30118
- line: 49,
30181
+ line: 53,
30119
30182
  column: 42
30120
30183
  }
30121
30184
  }],
30122
- line: 49
30185
+ line: 53
30123
30186
  },
30124
- "7": {
30187
+ "8": {
30125
30188
  loc: {
30126
30189
  start: {
30127
- line: 50,
30190
+ line: 54,
30128
30191
  column: 10
30129
30192
  },
30130
30193
  end: {
30131
- line: 58,
30194
+ line: 62,
30132
30195
  column: 8
30133
30196
  }
30134
30197
  },
30135
30198
  type: "cond-expr",
30136
30199
  locations: [{
30137
30200
  start: {
30138
- line: 51,
30201
+ line: 55,
30139
30202
  column: 6
30140
30203
  },
30141
30204
  end: {
30142
- line: 57,
30205
+ line: 61,
30143
30206
  column: 7
30144
30207
  }
30145
30208
  }, {
30146
30209
  start: {
30147
- line: 58,
30210
+ line: 62,
30148
30211
  column: 6
30149
30212
  },
30150
30213
  end: {
30151
- line: 58,
30214
+ line: 62,
30152
30215
  column: 8
30153
30216
  }
30154
30217
  }],
30155
- line: 50
30218
+ line: 54
30156
30219
  },
30157
- "8": {
30220
+ "9": {
30158
30221
  loc: {
30159
30222
  start: {
30160
- line: 59,
30223
+ line: 63,
30161
30224
  column: 8
30162
30225
  },
30163
30226
  end: {
30164
- line: 59,
30227
+ line: 63,
30165
30228
  column: 52
30166
30229
  }
30167
30230
  },
30168
30231
  type: "binary-expr",
30169
30232
  locations: [{
30170
30233
  start: {
30171
- line: 59,
30234
+ line: 63,
30172
30235
  column: 8
30173
30236
  },
30174
30237
  end: {
30175
- line: 59,
30238
+ line: 63,
30176
30239
  column: 28
30177
30240
  }
30178
30241
  }, {
30179
30242
  start: {
30180
- line: 59,
30243
+ line: 63,
30181
30244
  column: 32
30182
30245
  },
30183
30246
  end: {
30184
- line: 59,
30247
+ line: 63,
30185
30248
  column: 46
30186
30249
  }
30187
30250
  }, {
30188
30251
  start: {
30189
- line: 59,
30252
+ line: 63,
30190
30253
  column: 50
30191
30254
  },
30192
30255
  end: {
30193
- line: 59,
30256
+ line: 63,
30194
30257
  column: 52
30195
30258
  }
30196
30259
  }],
30197
- line: 59
30260
+ line: 63
30198
30261
  },
30199
- "9": {
30262
+ "10": {
30200
30263
  loc: {
30201
30264
  start: {
30202
- line: 60,
30265
+ line: 64,
30203
30266
  column: 6
30204
30267
  },
30205
30268
  end: {
30206
- line: 62,
30269
+ line: 66,
30207
30270
  column: 3
30208
30271
  }
30209
30272
  },
30210
30273
  type: "binary-expr",
30211
30274
  locations: [{
30212
30275
  start: {
30213
- line: 60,
30276
+ line: 64,
30214
30277
  column: 6
30215
30278
  },
30216
30279
  end: {
30217
- line: 60,
30280
+ line: 64,
30218
30281
  column: 21
30219
30282
  }
30220
30283
  }, {
30221
30284
  start: {
30222
- line: 60,
30285
+ line: 64,
30223
30286
  column: 25
30224
30287
  },
30225
30288
  end: {
30226
- line: 62,
30289
+ line: 66,
30227
30290
  column: 3
30228
30291
  }
30229
30292
  }],
30230
- line: 60
30293
+ line: 64
30231
30294
  },
30232
- "10": {
30295
+ "11": {
30233
30296
  loc: {
30234
30297
  start: {
30235
- line: 67,
30298
+ line: 71,
30236
30299
  column: 2
30237
30300
  },
30238
30301
  end: {
30239
- line: 67,
30302
+ line: 71,
30240
30303
  column: 23
30241
30304
  }
30242
30305
  },
30243
30306
  type: "default-arg",
30244
30307
  locations: [{
30245
30308
  start: {
30246
- line: 67,
30309
+ line: 71,
30247
30310
  column: 19
30248
30311
  },
30249
30312
  end: {
30250
- line: 67,
30313
+ line: 71,
30251
30314
  column: 23
30252
30315
  }
30253
30316
  }],
30254
- line: 67
30317
+ line: 71
30255
30318
  },
30256
- "11": {
30319
+ "12": {
30257
30320
  loc: {
30258
30321
  start: {
30259
- line: 69,
30322
+ line: 73,
30260
30323
  column: 2
30261
30324
  },
30262
30325
  end: {
30263
- line: 82,
30326
+ line: 86,
30264
30327
  column: 7
30265
30328
  }
30266
30329
  },
30267
30330
  type: "cond-expr",
30268
30331
  locations: [{
30269
30332
  start: {
30270
- line: 70,
30333
+ line: 74,
30271
30334
  column: 6
30272
30335
  },
30273
30336
  end: {
30274
- line: 75,
30337
+ line: 79,
30275
30338
  column: 7
30276
30339
  }
30277
30340
  }, {
30278
30341
  start: {
30279
- line: 76,
30342
+ line: 80,
30280
30343
  column: 6
30281
30344
  },
30282
30345
  end: {
30283
- line: 82,
30346
+ line: 86,
30284
30347
  column: 7
30285
30348
  }
30286
30349
  }],
30287
- line: 69
30350
+ line: 73
30288
30351
  }
30289
30352
  },
30290
30353
  s: {
@@ -30311,7 +30374,9 @@ function cov_oxacgfc93() {
30311
30374
  "20": 0,
30312
30375
  "21": 0,
30313
30376
  "22": 0,
30314
- "23": 0
30377
+ "23": 0,
30378
+ "24": 0,
30379
+ "25": 0
30315
30380
  },
30316
30381
  f: {
30317
30382
  "0": 0,
@@ -30333,13 +30398,14 @@ function cov_oxacgfc93() {
30333
30398
  "5": [0, 0],
30334
30399
  "6": [0, 0],
30335
30400
  "7": [0, 0],
30336
- "8": [0, 0, 0],
30337
- "9": [0, 0],
30338
- "10": [0],
30339
- "11": [0, 0]
30401
+ "8": [0, 0],
30402
+ "9": [0, 0, 0],
30403
+ "10": [0, 0],
30404
+ "11": [0],
30405
+ "12": [0, 0]
30340
30406
  },
30341
30407
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
30342
- hash: "47030a290cad80d31dccf8d94297e52d5d168514"
30408
+ hash: "606b358f599c0f0dd00841b8d8d9a41713401450"
30343
30409
  };
30344
30410
  var coverage = global[gcv] || (global[gcv] = {});
30345
30411
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -30374,81 +30440,90 @@ var getActiveRole = function getActiveRole(activeAppRoles, role) {
30374
30440
  return (cov_oxacgfc93().b[1][0]++, activeAppRoles === null || activeAppRoles === void 0 ? void 0 : (_activeAppRoles$2 = activeAppRoles[0]) === null || _activeAppRoles$2 === void 0 ? void 0 : _activeAppRoles$2.activeRole) || (cov_oxacgfc93().b[1][1]++, role);
30375
30441
  };
30376
30442
  cov_oxacgfc93().s[4]++;
30377
- var getDefaultRole = function getDefaultRole(roles, currentAppRole) {
30443
+ var getDefaultRole = function getDefaultRole(roles, currentAppRole, appName) {
30444
+ var _globalProps$appName;
30378
30445
  cov_oxacgfc93().f[2]++;
30379
- var condition = (cov_oxacgfc93().s[5]++, isAdminRole(currentAppRole));
30380
- var role = (cov_oxacgfc93().s[6]++, pure._findBy({
30446
+ cov_oxacgfc93().s[5]++;
30447
+ if (appName === ((_globalProps$appName = initializers.globalProps.appName) === null || _globalProps$appName === void 0 ? void 0 : _globalProps$appName.substring(5))) {
30448
+ cov_oxacgfc93().b[2][0]++;
30449
+ cov_oxacgfc93().s[6]++;
30450
+ return currentAppRole;
30451
+ } else {
30452
+ cov_oxacgfc93().b[2][1]++;
30453
+ }
30454
+ var condition = (cov_oxacgfc93().s[7]++, isAdminRole(currentAppRole));
30455
+ var role = (cov_oxacgfc93().s[8]++, pure._findBy({
30381
30456
  name: condition
30382
30457
  }, roles));
30383
- cov_oxacgfc93().s[7]++;
30384
- return role ? (cov_oxacgfc93().b[2][0]++, role.name) : (cov_oxacgfc93().b[2][1]++, roles[0].name);
30458
+ cov_oxacgfc93().s[9]++;
30459
+ return role ? (cov_oxacgfc93().b[3][0]++, role.name) : (cov_oxacgfc93().b[3][1]++, roles[0].name);
30385
30460
  };
30386
- cov_oxacgfc93().s[8]++;
30461
+ cov_oxacgfc93().s[10]++;
30387
30462
  var generateAppsRolesInitialValue = function generateAppsRolesInitialValue(globalRoles, currentAppRole) {
30388
- var _globalProps$appName;
30463
+ var _globalProps$appName2;
30389
30464
  cov_oxacgfc93().f[3]++;
30390
- cov_oxacgfc93().s[9]++;
30465
+ cov_oxacgfc93().s[11]++;
30391
30466
  if (!globalRoles) {
30392
- cov_oxacgfc93().b[3][0]++;
30393
- cov_oxacgfc93().s[10]++;
30467
+ cov_oxacgfc93().b[4][0]++;
30468
+ cov_oxacgfc93().s[12]++;
30394
30469
  return [];
30395
30470
  } else {
30396
- cov_oxacgfc93().b[3][1]++;
30471
+ cov_oxacgfc93().b[4][1]++;
30397
30472
  }
30398
- var appNames = (cov_oxacgfc93().s[11]++, Object.keys(globalRoles));
30399
- var currentAppNameIndex = (cov_oxacgfc93().s[12]++, appNames.indexOf((_globalProps$appName = initializers.globalProps.appName) === null || _globalProps$appName === void 0 ? void 0 : _globalProps$appName.substring(5)));
30400
- var appNamesSorted = (cov_oxacgfc93().s[13]++, ramda.move(currentAppNameIndex, 0, appNames));
30401
- cov_oxacgfc93().s[14]++;
30473
+ var appNames = (cov_oxacgfc93().s[13]++, Object.keys(globalRoles));
30474
+ var currentAppNameIndex = (cov_oxacgfc93().s[14]++, appNames.indexOf((_globalProps$appName2 = initializers.globalProps.appName) === null || _globalProps$appName2 === void 0 ? void 0 : _globalProps$appName2.substring(5)));
30475
+ var appNamesSorted = (cov_oxacgfc93().s[15]++, ramda.move(currentAppNameIndex, 0, appNames));
30476
+ cov_oxacgfc93().s[16]++;
30402
30477
  return appNamesSorted.map(function (appName) {
30403
30478
  cov_oxacgfc93().f[4]++;
30404
- cov_oxacgfc93().s[15]++;
30479
+ cov_oxacgfc93().s[17]++;
30405
30480
  return {
30406
30481
  appName: appName,
30407
- activeRole: getDefaultRole(globalRoles[appName], currentAppRole),
30482
+ activeRole: getDefaultRole(globalRoles[appName], currentAppRole, appName),
30408
30483
  isEnabled: true
30409
30484
  };
30410
30485
  });
30411
30486
  };
30412
- cov_oxacgfc93().s[16]++;
30487
+ cov_oxacgfc93().s[18]++;
30413
30488
  var isAdminRole = function isAdminRole(role) {
30414
30489
  cov_oxacgfc93().f[5]++;
30415
- cov_oxacgfc93().s[17]++;
30416
- return ramda.includes(role, [ADMIN_ROLE, OWNER_ROLE]) ? (cov_oxacgfc93().b[4][0]++, ramda.equals(ADMIN_ROLE)) : (cov_oxacgfc93().b[4][1]++, pure.notEquals(ADMIN_ROLE));
30490
+ cov_oxacgfc93().s[19]++;
30491
+ return ramda.includes(role, [ADMIN_ROLE, OWNER_ROLE]) ? (cov_oxacgfc93().b[5][0]++, ramda.equals(ADMIN_ROLE)) : (cov_oxacgfc93().b[5][1]++, pure.notEquals(ADMIN_ROLE));
30417
30492
  };
30418
- cov_oxacgfc93().s[18]++;
30493
+ cov_oxacgfc93().s[20]++;
30419
30494
  var renderInitialValues = function renderInitialValues(selectedMember, roles, globalRoles) {
30420
30495
  var _roles$, _roles$2;
30421
30496
  cov_oxacgfc93().f[6]++;
30422
- cov_oxacgfc93().s[19]++;
30497
+ cov_oxacgfc93().s[21]++;
30423
30498
  return _objectSpread$2({
30424
- firstName: (cov_oxacgfc93().b[5][0]++, selectedMember === null || selectedMember === void 0 ? void 0 : selectedMember.firstName) || (cov_oxacgfc93().b[5][1]++, ""),
30425
- lastName: (cov_oxacgfc93().b[6][0]++, selectedMember === null || selectedMember === void 0 ? void 0 : selectedMember.lastName) || (cov_oxacgfc93().b[6][1]++, ""),
30426
- emails: selectedMember ? (cov_oxacgfc93().b[7][0]++, [{
30499
+ firstName: (cov_oxacgfc93().b[6][0]++, selectedMember === null || selectedMember === void 0 ? void 0 : selectedMember.firstName) || (cov_oxacgfc93().b[6][1]++, ""),
30500
+ lastName: (cov_oxacgfc93().b[7][0]++, selectedMember === null || selectedMember === void 0 ? void 0 : selectedMember.lastName) || (cov_oxacgfc93().b[7][1]++, ""),
30501
+ emails: selectedMember ? (cov_oxacgfc93().b[8][0]++, [{
30427
30502
  label: selectedMember.email,
30428
30503
  value: selectedMember.email,
30429
30504
  valid: true
30430
- }]) : (cov_oxacgfc93().b[7][1]++, []),
30431
- role: (cov_oxacgfc93().b[8][0]++, selectedMember === null || selectedMember === void 0 ? void 0 : selectedMember.role) || (cov_oxacgfc93().b[8][1]++, (_roles$ = roles[1]) === null || _roles$ === void 0 ? void 0 : _roles$.name) || (cov_oxacgfc93().b[8][2]++, "")
30432
- }, (cov_oxacgfc93().b[9][0]++, !selectedMember) && (cov_oxacgfc93().b[9][1]++, {
30505
+ }]) : (cov_oxacgfc93().b[8][1]++, []),
30506
+ role: (cov_oxacgfc93().b[9][0]++, selectedMember === null || selectedMember === void 0 ? void 0 : selectedMember.role) || (cov_oxacgfc93().b[9][1]++, (_roles$ = roles[1]) === null || _roles$ === void 0 ? void 0 : _roles$.name) || (cov_oxacgfc93().b[9][2]++, "")
30507
+ }, (cov_oxacgfc93().b[10][0]++, !selectedMember) && (cov_oxacgfc93().b[10][1]++, {
30433
30508
  appRoles: generateAppsRolesInitialValue(globalRoles, (_roles$2 = roles[1]) === null || _roles$2 === void 0 ? void 0 : _roles$2.name)
30434
30509
  }));
30435
30510
  };
30436
- cov_oxacgfc93().s[20]++;
30511
+ cov_oxacgfc93().s[22]++;
30437
30512
  var renderPayload = function renderPayload(_ref) {
30438
30513
  var appRoles = _ref.appRoles,
30439
30514
  emails = _ref.emails,
30440
30515
  firstName = _ref.firstName,
30441
30516
  lastName = _ref.lastName,
30442
30517
  role = _ref.role;
30443
- var selectedMember = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_oxacgfc93().b[10][0]++, null);
30518
+ var selectedMember = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_oxacgfc93().b[11][0]++, null);
30444
30519
  cov_oxacgfc93().f[7]++;
30445
- cov_oxacgfc93().s[21]++;
30446
- return selectedMember ? (cov_oxacgfc93().b[11][0]++, {
30520
+ cov_oxacgfc93().s[23]++;
30521
+ return selectedMember ? (cov_oxacgfc93().b[12][0]++, {
30447
30522
  active: true,
30448
30523
  firstName: firstName,
30449
30524
  lastName: lastName,
30450
30525
  organizationRole: role
30451
- }) : (cov_oxacgfc93().b[11][1]++, {
30526
+ }) : (cov_oxacgfc93().b[12][1]++, {
30452
30527
  user: {
30453
30528
  emails: ramda.pluck("value", emails),
30454
30529
  organizationRole: role,
@@ -30456,13 +30531,13 @@ var renderPayload = function renderPayload(_ref) {
30456
30531
  }
30457
30532
  });
30458
30533
  };
30459
- cov_oxacgfc93().s[22]++;
30534
+ cov_oxacgfc93().s[24]++;
30460
30535
  var getSingleInvitationTranslationProps = function getSingleInvitationTranslationProps(_ref2) {
30461
30536
  var activeAppRoles = _ref2.activeAppRoles,
30462
30537
  role = _ref2.role,
30463
30538
  selectedEmail = _ref2.selectedEmail;
30464
30539
  cov_oxacgfc93().f[8]++;
30465
- cov_oxacgfc93().s[23]++;
30540
+ cov_oxacgfc93().s[25]++;
30466
30541
  return {
30467
30542
  count: selectedEmail.length,
30468
30543
  emails: selectedEmail,
@@ -31251,7 +31326,7 @@ var LabelWithIcon = function LabelWithIcon(_ref) {
31251
31326
 
31252
31327
  function cov_1b0h1259jp() {
31253
31328
  var path = "/home/runner/work/neeto-team-members-frontend/neeto-team-members-frontend/src/components/TeamMembers/ManageMember/RolesRadioGroup.jsx";
31254
- var hash = "95dcc6fb3610e0259034f0871e11044a8ed9d3a6";
31329
+ var hash = "e4a560d46b0adec9fb4602c622b55b5e092def51";
31255
31330
  var global = new Function("return this")();
31256
31331
  var gcv = "__coverage__";
31257
31332
  var coverageData = {
@@ -31259,181 +31334,201 @@ function cov_1b0h1259jp() {
31259
31334
  statementMap: {
31260
31335
  "0": {
31261
31336
  start: {
31262
- line: 16,
31337
+ line: 15,
31263
31338
  column: 24
31264
31339
  },
31265
31340
  end: {
31266
- line: 78,
31341
+ line: 80,
31267
31342
  column: 1
31268
31343
  }
31269
31344
  },
31270
31345
  "1": {
31271
31346
  start: {
31272
- line: 23,
31347
+ line: 22,
31273
31348
  column: 16
31274
31349
  },
31275
31350
  end: {
31276
- line: 23,
31351
+ line: 22,
31277
31352
  column: 32
31278
31353
  }
31279
31354
  },
31280
31355
  "2": {
31281
31356
  start: {
31282
- line: 24,
31357
+ line: 23,
31283
31358
  column: 18
31284
31359
  },
31285
31360
  end: {
31286
- line: 24,
31361
+ line: 23,
31287
31362
  column: 30
31288
31363
  }
31289
31364
  },
31290
31365
  "3": {
31291
31366
  start: {
31292
- line: 25,
31367
+ line: 24,
31293
31368
  column: 36
31294
31369
  },
31295
31370
  end: {
31296
- line: 25,
31371
+ line: 24,
31297
31372
  column: 54
31298
31373
  }
31299
31374
  },
31300
31375
  "4": {
31301
31376
  start: {
31302
- line: 27,
31377
+ line: 26,
31303
31378
  column: 30
31304
31379
  },
31305
31380
  end: {
31306
- line: 39,
31381
+ line: 41,
31307
31382
  column: 3
31308
31383
  }
31309
31384
  },
31310
31385
  "5": {
31311
31386
  start: {
31312
- line: 28,
31387
+ line: 27,
31313
31388
  column: 22
31314
31389
  },
31315
31390
  end: {
31316
- line: 28,
31391
+ line: 27,
31317
31392
  column: 46
31318
31393
  }
31319
31394
  },
31320
31395
  "6": {
31321
31396
  start: {
31322
- line: 29,
31397
+ line: 28,
31323
31398
  column: 4
31324
31399
  },
31325
31400
  end: {
31326
- line: 38,
31401
+ line: 40,
31327
31402
  column: 7
31328
31403
  }
31329
31404
  },
31330
31405
  "7": {
31331
31406
  start: {
31332
- line: 30,
31407
+ line: 29,
31333
31408
  column: 6
31334
31409
  },
31335
31410
  end: {
31336
- line: 31,
31337
- column: 68
31411
+ line: 33,
31412
+ column: 7
31338
31413
  }
31339
31414
  },
31340
31415
  "8": {
31341
31416
  start: {
31342
- line: 33,
31417
+ line: 30,
31418
+ column: 8
31419
+ },
31420
+ end: {
31421
+ line: 30,
31422
+ column: 68
31423
+ }
31424
+ },
31425
+ "9": {
31426
+ start: {
31427
+ line: 32,
31428
+ column: 8
31429
+ },
31430
+ end: {
31431
+ line: 32,
31432
+ column: 15
31433
+ }
31434
+ },
31435
+ "10": {
31436
+ start: {
31437
+ line: 35,
31343
31438
  column: 6
31344
31439
  },
31345
31440
  end: {
31346
- line: 33,
31441
+ line: 35,
31347
31442
  column: 40
31348
31443
  }
31349
31444
  },
31350
- "9": {
31445
+ "11": {
31351
31446
  start: {
31352
- line: 33,
31447
+ line: 35,
31353
31448
  column: 33
31354
31449
  },
31355
31450
  end: {
31356
- line: 33,
31451
+ line: 35,
31357
31452
  column: 40
31358
31453
  }
31359
31454
  },
31360
- "10": {
31455
+ "12": {
31361
31456
  start: {
31362
- line: 34,
31457
+ line: 36,
31363
31458
  column: 27
31364
31459
  },
31365
31460
  end: {
31366
- line: 34,
31461
+ line: 36,
31367
31462
  column: 77
31368
31463
  }
31369
31464
  },
31370
- "11": {
31465
+ "13": {
31371
31466
  start: {
31372
- line: 35,
31467
+ line: 37,
31373
31468
  column: 6
31374
31469
  },
31375
31470
  end: {
31376
- line: 37,
31471
+ line: 39,
31377
31472
  column: 7
31378
31473
  }
31379
31474
  },
31380
- "12": {
31475
+ "14": {
31381
31476
  start: {
31382
- line: 36,
31477
+ line: 38,
31383
31478
  column: 8
31384
31479
  },
31385
31480
  end: {
31386
- line: 36,
31481
+ line: 38,
31387
31482
  column: 74
31388
31483
  }
31389
31484
  },
31390
- "13": {
31485
+ "15": {
31391
31486
  start: {
31392
- line: 41,
31487
+ line: 43,
31393
31488
  column: 2
31394
31489
  },
31395
31490
  end: {
31396
- line: 77,
31491
+ line: 79,
31397
31492
  column: 4
31398
31493
  }
31399
31494
  },
31400
- "14": {
31495
+ "16": {
31401
31496
  start: {
31402
- line: 49,
31497
+ line: 51,
31403
31498
  column: 38
31404
31499
  },
31405
31500
  end: {
31406
- line: 49,
31501
+ line: 51,
31407
31502
  column: 74
31408
31503
  }
31409
31504
  },
31410
- "15": {
31505
+ "17": {
31411
31506
  start: {
31412
- line: 55,
31507
+ line: 57,
31413
31508
  column: 8
31414
31509
  },
31415
31510
  end: {
31416
- line: 55,
31511
+ line: 57,
31417
31512
  column: 37
31418
31513
  }
31419
31514
  },
31420
- "16": {
31515
+ "18": {
31421
31516
  start: {
31422
- line: 56,
31517
+ line: 58,
31423
31518
  column: 8
31424
31519
  },
31425
31520
  end: {
31426
- line: 56,
31521
+ line: 58,
31427
31522
  column: 46
31428
31523
  }
31429
31524
  },
31430
- "17": {
31525
+ "19": {
31431
31526
  start: {
31432
- line: 60,
31527
+ line: 62,
31433
31528
  column: 8
31434
31529
  },
31435
31530
  end: {
31436
- line: 74,
31531
+ line: 76,
31437
31532
  column: 16
31438
31533
  }
31439
31534
  }
@@ -31443,248 +31538,248 @@ function cov_1b0h1259jp() {
31443
31538
  name: "(anonymous_0)",
31444
31539
  decl: {
31445
31540
  start: {
31446
- line: 16,
31541
+ line: 15,
31447
31542
  column: 24
31448
31543
  },
31449
31544
  end: {
31450
- line: 16,
31545
+ line: 15,
31451
31546
  column: 25
31452
31547
  }
31453
31548
  },
31454
31549
  loc: {
31455
31550
  start: {
31456
- line: 22,
31551
+ line: 21,
31457
31552
  column: 6
31458
31553
  },
31459
31554
  end: {
31460
- line: 78,
31555
+ line: 80,
31461
31556
  column: 1
31462
31557
  }
31463
31558
  },
31464
- line: 22
31559
+ line: 21
31465
31560
  },
31466
31561
  "1": {
31467
31562
  name: "(anonymous_1)",
31468
31563
  decl: {
31469
31564
  start: {
31470
- line: 27,
31565
+ line: 26,
31471
31566
  column: 30
31472
31567
  },
31473
31568
  end: {
31474
- line: 27,
31569
+ line: 26,
31475
31570
  column: 31
31476
31571
  }
31477
31572
  },
31478
31573
  loc: {
31479
31574
  start: {
31480
- line: 27,
31575
+ line: 26,
31481
31576
  column: 45
31482
31577
  },
31483
31578
  end: {
31484
- line: 39,
31579
+ line: 41,
31485
31580
  column: 3
31486
31581
  }
31487
31582
  },
31488
- line: 27
31583
+ line: 26
31489
31584
  },
31490
31585
  "2": {
31491
31586
  name: "(anonymous_2)",
31492
31587
  decl: {
31493
31588
  start: {
31494
- line: 29,
31589
+ line: 28,
31495
31590
  column: 28
31496
31591
  },
31497
31592
  end: {
31498
- line: 29,
31593
+ line: 28,
31499
31594
  column: 29
31500
31595
  }
31501
31596
  },
31502
31597
  loc: {
31503
31598
  start: {
31504
- line: 29,
31599
+ line: 28,
31505
31600
  column: 64
31506
31601
  },
31507
31602
  end: {
31508
- line: 38,
31603
+ line: 40,
31509
31604
  column: 5
31510
31605
  }
31511
31606
  },
31512
- line: 29
31607
+ line: 28
31513
31608
  },
31514
31609
  "3": {
31515
31610
  name: "(anonymous_3)",
31516
31611
  decl: {
31517
31612
  start: {
31518
- line: 49,
31613
+ line: 51,
31519
31614
  column: 32
31520
31615
  },
31521
31616
  end: {
31522
- line: 49,
31617
+ line: 51,
31523
31618
  column: 33
31524
31619
  }
31525
31620
  },
31526
31621
  loc: {
31527
31622
  start: {
31528
- line: 49,
31623
+ line: 51,
31529
31624
  column: 38
31530
31625
  },
31531
31626
  end: {
31532
- line: 49,
31627
+ line: 51,
31533
31628
  column: 74
31534
31629
  }
31535
31630
  },
31536
- line: 49
31631
+ line: 51
31537
31632
  },
31538
31633
  "4": {
31539
31634
  name: "(anonymous_4)",
31540
31635
  decl: {
31541
31636
  start: {
31542
- line: 54,
31637
+ line: 56,
31543
31638
  column: 16
31544
31639
  },
31545
31640
  end: {
31546
- line: 54,
31641
+ line: 56,
31547
31642
  column: 17
31548
31643
  }
31549
31644
  },
31550
31645
  loc: {
31551
31646
  start: {
31552
- line: 54,
31647
+ line: 56,
31553
31648
  column: 43
31554
31649
  },
31555
31650
  end: {
31556
- line: 57,
31651
+ line: 59,
31557
31652
  column: 7
31558
31653
  }
31559
31654
  },
31560
- line: 54
31655
+ line: 56
31561
31656
  },
31562
31657
  "5": {
31563
31658
  name: "(anonymous_5)",
31564
31659
  decl: {
31565
31660
  start: {
31566
- line: 59,
31661
+ line: 61,
31567
31662
  column: 17
31568
31663
  },
31569
31664
  end: {
31570
- line: 59,
31665
+ line: 61,
31571
31666
  column: 18
31572
31667
  }
31573
31668
  },
31574
31669
  loc: {
31575
31670
  start: {
31576
- line: 60,
31671
+ line: 62,
31577
31672
  column: 8
31578
31673
  },
31579
31674
  end: {
31580
- line: 74,
31675
+ line: 76,
31581
31676
  column: 16
31582
31677
  }
31583
31678
  },
31584
- line: 60
31679
+ line: 62
31585
31680
  }
31586
31681
  },
31587
31682
  branchMap: {
31588
31683
  "0": {
31589
31684
  loc: {
31590
31685
  start: {
31591
- line: 20,
31686
+ line: 19,
31592
31687
  column: 2
31593
31688
  },
31594
31689
  end: {
31595
- line: 20,
31690
+ line: 19,
31596
31691
  column: 11
31597
31692
  }
31598
31693
  },
31599
31694
  type: "default-arg",
31600
31695
  locations: [{
31601
31696
  start: {
31602
- line: 20,
31697
+ line: 19,
31603
31698
  column: 9
31604
31699
  },
31605
31700
  end: {
31606
- line: 20,
31701
+ line: 19,
31607
31702
  column: 11
31608
31703
  }
31609
31704
  }],
31610
- line: 20
31705
+ line: 19
31611
31706
  },
31612
31707
  "1": {
31613
31708
  loc: {
31614
31709
  start: {
31615
- line: 21,
31710
+ line: 20,
31616
31711
  column: 2
31617
31712
  },
31618
31713
  end: {
31619
- line: 21,
31714
+ line: 20,
31620
31715
  column: 12
31621
31716
  }
31622
31717
  },
31623
31718
  type: "default-arg",
31624
31719
  locations: [{
31625
31720
  start: {
31626
- line: 21,
31721
+ line: 20,
31627
31722
  column: 10
31628
31723
  },
31629
31724
  end: {
31630
- line: 21,
31725
+ line: 20,
31631
31726
  column: 12
31632
31727
  }
31633
31728
  }],
31634
- line: 21
31729
+ line: 20
31635
31730
  },
31636
31731
  "2": {
31637
31732
  loc: {
31638
31733
  start: {
31639
- line: 30,
31734
+ line: 29,
31640
31735
  column: 6
31641
31736
  },
31642
31737
  end: {
31643
- line: 31,
31644
- column: 67
31738
+ line: 33,
31739
+ column: 7
31645
31740
  }
31646
31741
  },
31647
- type: "binary-expr",
31742
+ type: "if",
31648
31743
  locations: [{
31649
31744
  start: {
31650
- line: 30,
31745
+ line: 29,
31651
31746
  column: 6
31652
31747
  },
31653
31748
  end: {
31654
- line: 30,
31655
- column: 51
31749
+ line: 33,
31750
+ column: 7
31656
31751
  }
31657
31752
  }, {
31658
31753
  start: {
31659
- line: 31,
31660
- column: 8
31754
+ line: undefined,
31755
+ column: undefined
31661
31756
  },
31662
31757
  end: {
31663
- line: 31,
31664
- column: 67
31758
+ line: undefined,
31759
+ column: undefined
31665
31760
  }
31666
31761
  }],
31667
- line: 30
31762
+ line: 29
31668
31763
  },
31669
31764
  "3": {
31670
31765
  loc: {
31671
31766
  start: {
31672
- line: 33,
31767
+ line: 35,
31673
31768
  column: 6
31674
31769
  },
31675
31770
  end: {
31676
- line: 33,
31771
+ line: 35,
31677
31772
  column: 40
31678
31773
  }
31679
31774
  },
31680
31775
  type: "if",
31681
31776
  locations: [{
31682
31777
  start: {
31683
- line: 33,
31778
+ line: 35,
31684
31779
  column: 6
31685
31780
  },
31686
31781
  end: {
31687
- line: 33,
31782
+ line: 35,
31688
31783
  column: 40
31689
31784
  }
31690
31785
  }, {
@@ -31697,27 +31792,27 @@ function cov_1b0h1259jp() {
31697
31792
  column: undefined
31698
31793
  }
31699
31794
  }],
31700
- line: 33
31795
+ line: 35
31701
31796
  },
31702
31797
  "4": {
31703
31798
  loc: {
31704
31799
  start: {
31705
- line: 35,
31800
+ line: 37,
31706
31801
  column: 6
31707
31802
  },
31708
31803
  end: {
31709
- line: 37,
31804
+ line: 39,
31710
31805
  column: 7
31711
31806
  }
31712
31807
  },
31713
31808
  type: "if",
31714
31809
  locations: [{
31715
31810
  start: {
31716
- line: 35,
31811
+ line: 37,
31717
31812
  column: 6
31718
31813
  },
31719
31814
  end: {
31720
- line: 37,
31815
+ line: 39,
31721
31816
  column: 7
31722
31817
  }
31723
31818
  }, {
@@ -31730,40 +31825,40 @@ function cov_1b0h1259jp() {
31730
31825
  column: undefined
31731
31826
  }
31732
31827
  }],
31733
- line: 35
31828
+ line: 37
31734
31829
  },
31735
31830
  "5": {
31736
31831
  loc: {
31737
31832
  start: {
31738
- line: 56,
31833
+ line: 58,
31739
31834
  column: 8
31740
31835
  },
31741
31836
  end: {
31742
- line: 56,
31837
+ line: 58,
31743
31838
  column: 45
31744
31839
  }
31745
31840
  },
31746
31841
  type: "binary-expr",
31747
31842
  locations: [{
31748
31843
  start: {
31749
- line: 56,
31844
+ line: 58,
31750
31845
  column: 8
31751
31846
  },
31752
31847
  end: {
31753
- line: 56,
31848
+ line: 58,
31754
31849
  column: 15
31755
31850
  }
31756
31851
  }, {
31757
31852
  start: {
31758
- line: 56,
31853
+ line: 58,
31759
31854
  column: 19
31760
31855
  },
31761
31856
  end: {
31762
- line: 56,
31857
+ line: 58,
31763
31858
  column: 45
31764
31859
  }
31765
31860
  }],
31766
- line: 56
31861
+ line: 58
31767
31862
  }
31768
31863
  },
31769
31864
  s: {
@@ -31784,7 +31879,9 @@ function cov_1b0h1259jp() {
31784
31879
  "14": 0,
31785
31880
  "15": 0,
31786
31881
  "16": 0,
31787
- "17": 0
31882
+ "17": 0,
31883
+ "18": 0,
31884
+ "19": 0
31788
31885
  },
31789
31886
  f: {
31790
31887
  "0": 0,
@@ -31803,7 +31900,7 @@ function cov_1b0h1259jp() {
31803
31900
  "5": [0, 0]
31804
31901
  },
31805
31902
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
31806
- hash: "95dcc6fb3610e0259034f0871e11044a8ed9d3a6"
31903
+ hash: "e4a560d46b0adec9fb4602c622b55b5e092def51"
31807
31904
  };
31808
31905
  var coverage = global[gcv] || (global[gcv] = {});
31809
31906
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -31846,29 +31943,37 @@ var RolesRadioGroup = function RolesRadioGroup(_ref) {
31846
31943
  activeRole = _ref4.activeRole;
31847
31944
  cov_1b0h1259jp().f[2]++;
31848
31945
  cov_1b0h1259jp().s[7]++;
31849
- (cov_1b0h1259jp().b[2][0]++, appName === ((_globalProps$appName = initializers.globalProps.appName) === null || _globalProps$appName === void 0 ? void 0 : _globalProps$appName.substring(5))) && (cov_1b0h1259jp().b[2][1]++, setFieldValue("appRoles[".concat(index, "].activeRole"), currentRole));
31850
- cov_1b0h1259jp().s[8]++;
31946
+ if (appName === ((_globalProps$appName = initializers.globalProps.appName) === null || _globalProps$appName === void 0 ? void 0 : _globalProps$appName.substring(5))) {
31947
+ cov_1b0h1259jp().b[2][0]++;
31948
+ cov_1b0h1259jp().s[8]++;
31949
+ setFieldValue("appRoles[".concat(index, "].activeRole"), currentRole);
31950
+ cov_1b0h1259jp().s[9]++;
31951
+ return;
31952
+ } else {
31953
+ cov_1b0h1259jp().b[2][1]++;
31954
+ }
31955
+ cov_1b0h1259jp().s[10]++;
31851
31956
  if (condition(activeRole)) {
31852
31957
  cov_1b0h1259jp().b[3][0]++;
31853
- cov_1b0h1259jp().s[9]++;
31958
+ cov_1b0h1259jp().s[11]++;
31854
31959
  return;
31855
31960
  } else {
31856
31961
  cov_1b0h1259jp().b[3][1]++;
31857
31962
  }
31858
- var matchingRole = (cov_1b0h1259jp().s[10]++, pure._findBy({
31963
+ var matchingRole = (cov_1b0h1259jp().s[12]++, pure._findBy({
31859
31964
  name: condition
31860
31965
  }, globalRoles[appName]));
31861
- cov_1b0h1259jp().s[11]++;
31966
+ cov_1b0h1259jp().s[13]++;
31862
31967
  if (matchingRole) {
31863
31968
  cov_1b0h1259jp().b[4][0]++;
31864
- cov_1b0h1259jp().s[12]++;
31969
+ cov_1b0h1259jp().s[14]++;
31865
31970
  setFieldValue("appRoles[".concat(index, "].activeRole"), matchingRole.name);
31866
31971
  } else {
31867
31972
  cov_1b0h1259jp().b[4][1]++;
31868
31973
  }
31869
31974
  });
31870
31975
  };
31871
- cov_1b0h1259jp().s[13]++;
31976
+ cov_1b0h1259jp().s[15]++;
31872
31977
  return /*#__PURE__*/React__default["default"].createElement(formik$1.Radio, {
31873
31978
  stacked: true,
31874
31979
  className: "ntm-members-radio-group",
@@ -31878,11 +31983,11 @@ var RolesRadioGroup = function RolesRadioGroup(_ref) {
31878
31983
  iconProps: {
31879
31984
  onClick: function onClick() {
31880
31985
  cov_1b0h1259jp().f[3]++;
31881
- cov_1b0h1259jp().s[14]++;
31986
+ cov_1b0h1259jp().s[16]++;
31882
31987
  return history.push(config.pathToRolesPage);
31883
31988
  }
31884
31989
  },
31885
- label: "".concat(t("common.role", SINGULAR), "*"),
31990
+ label: t("helpers.requiredRoleField"),
31886
31991
  tooltipProps: {
31887
31992
  content: t("tooltips.clickToViewPermissions")
31888
31993
  }
@@ -31890,16 +31995,16 @@ var RolesRadioGroup = function RolesRadioGroup(_ref) {
31890
31995
  onChange: function onChange(_ref5) {
31891
31996
  var value = _ref5.target.value;
31892
31997
  cov_1b0h1259jp().f[4]++;
31893
- cov_1b0h1259jp().s[15]++;
31998
+ cov_1b0h1259jp().s[17]++;
31894
31999
  setFieldValue("role", value);
31895
- cov_1b0h1259jp().s[16]++;
32000
+ cov_1b0h1259jp().s[18]++;
31896
32001
  (cov_1b0h1259jp().b[5][0]++, !isEdit) && (cov_1b0h1259jp().b[5][1]++, setDefaultSelection(value));
31897
32002
  }
31898
32003
  }, roles.map(function (_ref6) {
31899
32004
  var id = _ref6.id,
31900
32005
  name = _ref6.name;
31901
32006
  cov_1b0h1259jp().f[5]++;
31902
- cov_1b0h1259jp().s[17]++;
32007
+ cov_1b0h1259jp().s[19]++;
31903
32008
  return /*#__PURE__*/React__default["default"].createElement("label", {
31904
32009
  className: "ntm-members-form-radio-item__wrapper",
31905
32010
  htmlFor: pure.slugify(name),