@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 +488 -383
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +488 -383
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -4805,6 +4805,10 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
4805
4805
|
|
|
4806
4806
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4807
4807
|
|
|
4808
|
+
function getDefaultExportFromCjs (x) {
|
|
4809
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
4810
|
+
}
|
|
4811
|
+
|
|
4808
4812
|
/**
|
|
4809
4813
|
* This file automatically generated from `pre-publish.js`.
|
|
4810
4814
|
* Do not manually edit.
|
|
@@ -4827,7 +4831,9 @@ var voidElements = {
|
|
|
4827
4831
|
"wbr": true
|
|
4828
4832
|
};
|
|
4829
4833
|
|
|
4830
|
-
var
|
|
4834
|
+
var e$1 = /*@__PURE__*/getDefaultExportFromCjs(voidElements);
|
|
4835
|
+
|
|
4836
|
+
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)},"")}};
|
|
4831
4837
|
|
|
4832
4838
|
function warn() {
|
|
4833
4839
|
if (console && console.warn) {
|
|
@@ -5525,6 +5531,7 @@ var helpers$1 = {
|
|
|
5525
5531
|
moreInfoAboutPermissions: "More information about permissions",
|
|
5526
5532
|
multipleProductInvitation: "{{- emails, boldList}} will be invited to the following neeto products with the role given next to it.",
|
|
5527
5533
|
noRolesFound: "No roles found.",
|
|
5534
|
+
requiredRoleField: "Role*",
|
|
5528
5535
|
searchRoles: "Search roles",
|
|
5529
5536
|
selectedMembersCount: "{{count}} {{metaName}} selected of <span>{{totalCount}}</span>",
|
|
5530
5537
|
singleProductInvitation: "{{- emails, boldList}} will be invited to <strong>{{product}}</strong> with a role of <strong>{{role}}</strong>.",
|
|
@@ -5647,6 +5654,7 @@ var helpers = {
|
|
|
5647
5654
|
multipleProductInvitation_one: "{{- emails, boldList}} sera invité aux produits neeto suivants avec le rôle attribué à côté.",
|
|
5648
5655
|
multipleProductInvitation_other: "{{- emails, boldList}} seront invités aux produits neeto suivants avec le rôle attribué à côté.",
|
|
5649
5656
|
noRolesFound: "Aucun rôle trouvé.",
|
|
5657
|
+
requiredRoleField: "Rôle*",
|
|
5650
5658
|
searchRoles: "Rechercher des rôles",
|
|
5651
5659
|
selectedMembersCount_one: "{{count}} {{metaName}} sélectionné sur <span>{{totalCount}}</span>",
|
|
5652
5660
|
selectedMembersCount_other: "{{count}} {{metaName}} sélectionnés sur <span>{{totalCount}}</span>",
|
|
@@ -6662,11 +6670,9 @@ var hasPermission = function hasPermission() {
|
|
|
6662
6670
|
cov_ojbc1aq0x().s[9]++;
|
|
6663
6671
|
cov_ojbc1aq0x().s[11]++;
|
|
6664
6672
|
|
|
6665
|
-
var
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
set exports(v){ distExports = v; },
|
|
6669
|
-
};
|
|
6673
|
+
var dist = {exports: {}};
|
|
6674
|
+
|
|
6675
|
+
dist.exports;
|
|
6670
6676
|
|
|
6671
6677
|
(function (module, exports) {
|
|
6672
6678
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -8038,7 +8044,9 @@ var dist = {
|
|
|
8038
8044
|
/******/ ]);
|
|
8039
8045
|
});
|
|
8040
8046
|
|
|
8041
|
-
} (dist));
|
|
8047
|
+
} (dist, dist.exports));
|
|
8048
|
+
|
|
8049
|
+
var distExports = dist.exports;
|
|
8042
8050
|
|
|
8043
8051
|
function cov_a5y9dvwc7() {
|
|
8044
8052
|
var path = "/home/runner/work/neeto-team-members-frontend/neeto-team-members-frontend/src/common/constants.js";
|
|
@@ -16921,11 +16929,9 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
|
16921
16929
|
return value;
|
|
16922
16930
|
};
|
|
16923
16931
|
|
|
16924
|
-
var
|
|
16925
|
-
|
|
16926
|
-
|
|
16927
|
-
set exports(v){ callBindExports = v; },
|
|
16928
|
-
};
|
|
16932
|
+
var callBind$1 = {exports: {}};
|
|
16933
|
+
|
|
16934
|
+
callBind$1.exports;
|
|
16929
16935
|
|
|
16930
16936
|
(function (module) {
|
|
16931
16937
|
|
|
@@ -16973,9 +16979,11 @@ var callBind$1 = {
|
|
|
16973
16979
|
$defineProperty(module.exports, 'apply', { value: applyBind });
|
|
16974
16980
|
} else {
|
|
16975
16981
|
module.exports.apply = applyBind;
|
|
16976
|
-
}
|
|
16982
|
+
}
|
|
16977
16983
|
} (callBind$1));
|
|
16978
16984
|
|
|
16985
|
+
var callBindExports = callBind$1.exports;
|
|
16986
|
+
|
|
16979
16987
|
var GetIntrinsic$1 = getIntrinsic;
|
|
16980
16988
|
|
|
16981
16989
|
var callBind = callBindExports;
|
|
@@ -18496,6 +18504,8 @@ var lib = {
|
|
|
18496
18504
|
stringify: stringify
|
|
18497
18505
|
};
|
|
18498
18506
|
|
|
18507
|
+
var qs = /*@__PURE__*/getDefaultExportFromCjs(lib);
|
|
18508
|
+
|
|
18499
18509
|
function cov_om31pkwz0() {
|
|
18500
18510
|
var path = "/home/runner/work/neeto-team-members-frontend/neeto-team-members-frontend/src/apis/teams.js";
|
|
18501
18511
|
var hash = "e42ec66554eaa4bec03ce3623ded0151747428c7";
|
|
@@ -18790,7 +18800,7 @@ cov_om31pkwz0();
|
|
|
18790
18800
|
cov_om31pkwz0().s[0]++;
|
|
18791
18801
|
var fetch = function fetch(params) {
|
|
18792
18802
|
cov_om31pkwz0().f[0]++;
|
|
18793
|
-
var serializedParams = (cov_om31pkwz0().s[1]++,
|
|
18803
|
+
var serializedParams = (cov_om31pkwz0().s[1]++, qs.stringify(keysToSnakeCase(params), {
|
|
18794
18804
|
arrayFormat: "brackets",
|
|
18795
18805
|
encode: false
|
|
18796
18806
|
}));
|
|
@@ -20279,13 +20289,10 @@ function commonjsRequire(path) {
|
|
|
20279
20289
|
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.');
|
|
20280
20290
|
}
|
|
20281
20291
|
|
|
20282
|
-
var
|
|
20283
|
-
var pluralize$1 = {
|
|
20284
|
-
get exports(){ return pluralizeExports; },
|
|
20285
|
-
set exports(v){ pluralizeExports = v; },
|
|
20286
|
-
};
|
|
20292
|
+
var pluralize$1 = {exports: {}};
|
|
20287
20293
|
|
|
20288
20294
|
/* global define */
|
|
20295
|
+
pluralize$1.exports;
|
|
20289
20296
|
|
|
20290
20297
|
(function (module, exports) {
|
|
20291
20298
|
(function (root, pluralize) {
|
|
@@ -20783,10 +20790,11 @@ var pluralize$1 = {
|
|
|
20783
20790
|
].forEach(pluralize.addUncountableRule);
|
|
20784
20791
|
|
|
20785
20792
|
return pluralize;
|
|
20786
|
-
});
|
|
20787
|
-
} (pluralize$1));
|
|
20793
|
+
});
|
|
20794
|
+
} (pluralize$1, pluralize$1.exports));
|
|
20788
20795
|
|
|
20789
|
-
var
|
|
20796
|
+
var pluralizeExports = pluralize$1.exports;
|
|
20797
|
+
var pluralize = /*@__PURE__*/getDefaultExportFromCjs(pluralizeExports);
|
|
20790
20798
|
|
|
20791
20799
|
function cov_1ajikpxp6u() {
|
|
20792
20800
|
var path = "/home/runner/work/neeto-team-members-frontend/neeto-team-members-frontend/src/components/TeamMembers/utils.jsx";
|
|
@@ -24413,17 +24421,11 @@ function _asyncToGenerator(fn) {
|
|
|
24413
24421
|
};
|
|
24414
24422
|
}
|
|
24415
24423
|
|
|
24416
|
-
var
|
|
24417
|
-
var regeneratorRuntime$1 = {
|
|
24418
|
-
get exports(){ return regeneratorRuntimeExports; },
|
|
24419
|
-
set exports(v){ regeneratorRuntimeExports = v; },
|
|
24420
|
-
};
|
|
24424
|
+
var regeneratorRuntime$1 = {exports: {}};
|
|
24421
24425
|
|
|
24422
|
-
var
|
|
24423
|
-
|
|
24424
|
-
|
|
24425
|
-
set exports(v){ _typeofExports = v; },
|
|
24426
|
-
};
|
|
24426
|
+
var _typeof = {exports: {}};
|
|
24427
|
+
|
|
24428
|
+
_typeof.exports;
|
|
24427
24429
|
|
|
24428
24430
|
(function (module) {
|
|
24429
24431
|
function _typeof(obj) {
|
|
@@ -24435,9 +24437,13 @@ var _typeof = {
|
|
|
24435
24437
|
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
24436
24438
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
|
|
24437
24439
|
}
|
|
24438
|
-
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
24440
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
24439
24441
|
} (_typeof));
|
|
24440
24442
|
|
|
24443
|
+
var _typeofExports = _typeof.exports;
|
|
24444
|
+
|
|
24445
|
+
regeneratorRuntime$1.exports;
|
|
24446
|
+
|
|
24441
24447
|
(function (module) {
|
|
24442
24448
|
var _typeof = _typeofExports["default"];
|
|
24443
24449
|
function _regeneratorRuntime() {
|
|
@@ -24741,9 +24747,11 @@ var _typeof = {
|
|
|
24741
24747
|
}
|
|
24742
24748
|
}, exports;
|
|
24743
24749
|
}
|
|
24744
|
-
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
24750
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
24745
24751
|
} (regeneratorRuntime$1));
|
|
24746
24752
|
|
|
24753
|
+
var regeneratorRuntimeExports = regeneratorRuntime$1.exports;
|
|
24754
|
+
|
|
24747
24755
|
// TODO(Babel 8): Remove this file.
|
|
24748
24756
|
|
|
24749
24757
|
var runtime = regeneratorRuntimeExports();
|
|
@@ -24760,6 +24768,8 @@ try {
|
|
|
24760
24768
|
}
|
|
24761
24769
|
}
|
|
24762
24770
|
|
|
24771
|
+
var _regeneratorRuntime = /*@__PURE__*/getDefaultExportFromCjs(regenerator);
|
|
24772
|
+
|
|
24763
24773
|
function cov_vel136oxr() {
|
|
24764
24774
|
var path = "/home/runner/work/neeto-team-members-frontend/neeto-team-members-frontend/src/hooks/useTeams.js";
|
|
24765
24775
|
var hash = "578b21fb29d2d6ec0187052d724eb126b7272418";
|
|
@@ -25466,9 +25476,9 @@ var useTeams = function useTeams(_ref) {
|
|
|
25466
25476
|
setSelectedRows = _ref7[1];
|
|
25467
25477
|
cov_vel136oxr().s[4]++;
|
|
25468
25478
|
var handleUpdateMember = /*#__PURE__*/function () {
|
|
25469
|
-
var _ref8 = _asyncToGenerator( /*#__PURE__*/
|
|
25479
|
+
var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
25470
25480
|
var _ref9, id, active, payload;
|
|
25471
|
-
return
|
|
25481
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
25472
25482
|
while (1) switch (_context.prev = _context.next) {
|
|
25473
25483
|
case 0:
|
|
25474
25484
|
cov_vel136oxr().f[1]++;
|
|
@@ -29394,7 +29404,7 @@ var OWNER_CANT_CHANGE_USER_EMAIL_KB_ARTICLE_URL = (cov_82lke0lxh().s[13]++, "htt
|
|
|
29394
29404
|
|
|
29395
29405
|
function cov_oxacgfc93() {
|
|
29396
29406
|
var path = "/home/runner/work/neeto-team-members-frontend/neeto-team-members-frontend/src/components/TeamMembers/ManageMember/utils.js";
|
|
29397
|
-
var hash = "
|
|
29407
|
+
var hash = "606b358f599c0f0dd00841b8d8d9a41713401450";
|
|
29398
29408
|
var global = new Function("return this")();
|
|
29399
29409
|
var gcv = "__coverage__";
|
|
29400
29410
|
var coverageData = {
|
|
@@ -29446,48 +29456,48 @@ function cov_oxacgfc93() {
|
|
|
29446
29456
|
column: 23
|
|
29447
29457
|
},
|
|
29448
29458
|
end: {
|
|
29449
|
-
line:
|
|
29459
|
+
line: 28,
|
|
29450
29460
|
column: 1
|
|
29451
29461
|
}
|
|
29452
29462
|
},
|
|
29453
29463
|
"5": {
|
|
29454
29464
|
start: {
|
|
29455
29465
|
line: 19,
|
|
29456
|
-
column:
|
|
29466
|
+
column: 2
|
|
29457
29467
|
},
|
|
29458
29468
|
end: {
|
|
29459
|
-
line:
|
|
29460
|
-
column:
|
|
29469
|
+
line: 21,
|
|
29470
|
+
column: 3
|
|
29461
29471
|
}
|
|
29462
29472
|
},
|
|
29463
29473
|
"6": {
|
|
29464
29474
|
start: {
|
|
29465
|
-
line:
|
|
29466
|
-
column:
|
|
29475
|
+
line: 20,
|
|
29476
|
+
column: 4
|
|
29467
29477
|
},
|
|
29468
29478
|
end: {
|
|
29469
|
-
line:
|
|
29470
|
-
column:
|
|
29479
|
+
line: 20,
|
|
29480
|
+
column: 26
|
|
29471
29481
|
}
|
|
29472
29482
|
},
|
|
29473
29483
|
"7": {
|
|
29474
29484
|
start: {
|
|
29475
29485
|
line: 23,
|
|
29476
|
-
column:
|
|
29486
|
+
column: 20
|
|
29477
29487
|
},
|
|
29478
29488
|
end: {
|
|
29479
29489
|
line: 23,
|
|
29480
|
-
column:
|
|
29490
|
+
column: 47
|
|
29481
29491
|
}
|
|
29482
29492
|
},
|
|
29483
29493
|
"8": {
|
|
29484
29494
|
start: {
|
|
29485
|
-
line:
|
|
29486
|
-
column:
|
|
29495
|
+
line: 25,
|
|
29496
|
+
column: 15
|
|
29487
29497
|
},
|
|
29488
29498
|
end: {
|
|
29489
|
-
line:
|
|
29490
|
-
column:
|
|
29499
|
+
line: 25,
|
|
29500
|
+
column: 50
|
|
29491
29501
|
}
|
|
29492
29502
|
},
|
|
29493
29503
|
"9": {
|
|
@@ -29497,146 +29507,166 @@ function cov_oxacgfc93() {
|
|
|
29497
29507
|
},
|
|
29498
29508
|
end: {
|
|
29499
29509
|
line: 27,
|
|
29500
|
-
column:
|
|
29510
|
+
column: 42
|
|
29501
29511
|
}
|
|
29502
29512
|
},
|
|
29503
29513
|
"10": {
|
|
29504
29514
|
start: {
|
|
29505
|
-
line:
|
|
29515
|
+
line: 30,
|
|
29516
|
+
column: 38
|
|
29517
|
+
},
|
|
29518
|
+
end: {
|
|
29519
|
+
line: 44,
|
|
29520
|
+
column: 1
|
|
29521
|
+
}
|
|
29522
|
+
},
|
|
29523
|
+
"11": {
|
|
29524
|
+
start: {
|
|
29525
|
+
line: 31,
|
|
29526
|
+
column: 2
|
|
29527
|
+
},
|
|
29528
|
+
end: {
|
|
29529
|
+
line: 31,
|
|
29530
|
+
column: 30
|
|
29531
|
+
}
|
|
29532
|
+
},
|
|
29533
|
+
"12": {
|
|
29534
|
+
start: {
|
|
29535
|
+
line: 31,
|
|
29506
29536
|
column: 20
|
|
29507
29537
|
},
|
|
29508
29538
|
end: {
|
|
29509
|
-
line:
|
|
29539
|
+
line: 31,
|
|
29510
29540
|
column: 30
|
|
29511
29541
|
}
|
|
29512
29542
|
},
|
|
29513
|
-
"
|
|
29543
|
+
"13": {
|
|
29514
29544
|
start: {
|
|
29515
|
-
line:
|
|
29545
|
+
line: 33,
|
|
29516
29546
|
column: 19
|
|
29517
29547
|
},
|
|
29518
29548
|
end: {
|
|
29519
|
-
line:
|
|
29549
|
+
line: 33,
|
|
29520
29550
|
column: 43
|
|
29521
29551
|
}
|
|
29522
29552
|
},
|
|
29523
|
-
"
|
|
29553
|
+
"14": {
|
|
29524
29554
|
start: {
|
|
29525
|
-
line:
|
|
29555
|
+
line: 34,
|
|
29526
29556
|
column: 30
|
|
29527
29557
|
},
|
|
29528
29558
|
end: {
|
|
29529
|
-
line:
|
|
29559
|
+
line: 36,
|
|
29530
29560
|
column: 3
|
|
29531
29561
|
}
|
|
29532
29562
|
},
|
|
29533
|
-
"
|
|
29563
|
+
"15": {
|
|
29534
29564
|
start: {
|
|
29535
|
-
line:
|
|
29565
|
+
line: 37,
|
|
29536
29566
|
column: 25
|
|
29537
29567
|
},
|
|
29538
29568
|
end: {
|
|
29539
|
-
line:
|
|
29569
|
+
line: 37,
|
|
29540
29570
|
column: 63
|
|
29541
29571
|
}
|
|
29542
29572
|
},
|
|
29543
|
-
"
|
|
29573
|
+
"16": {
|
|
29544
29574
|
start: {
|
|
29545
|
-
line:
|
|
29575
|
+
line: 39,
|
|
29546
29576
|
column: 2
|
|
29547
29577
|
},
|
|
29548
29578
|
end: {
|
|
29549
|
-
line:
|
|
29579
|
+
line: 43,
|
|
29550
29580
|
column: 6
|
|
29551
29581
|
}
|
|
29552
29582
|
},
|
|
29553
|
-
"
|
|
29583
|
+
"17": {
|
|
29554
29584
|
start: {
|
|
29555
|
-
line:
|
|
29585
|
+
line: 39,
|
|
29556
29586
|
column: 40
|
|
29557
29587
|
},
|
|
29558
29588
|
end: {
|
|
29559
|
-
line:
|
|
29589
|
+
line: 43,
|
|
29560
29590
|
column: 3
|
|
29561
29591
|
}
|
|
29562
29592
|
},
|
|
29563
|
-
"
|
|
29593
|
+
"18": {
|
|
29564
29594
|
start: {
|
|
29565
|
-
line:
|
|
29595
|
+
line: 46,
|
|
29566
29596
|
column: 27
|
|
29567
29597
|
},
|
|
29568
29598
|
end: {
|
|
29569
|
-
line:
|
|
29599
|
+
line: 49,
|
|
29570
29600
|
column: 27
|
|
29571
29601
|
}
|
|
29572
29602
|
},
|
|
29573
|
-
"
|
|
29603
|
+
"19": {
|
|
29574
29604
|
start: {
|
|
29575
|
-
line:
|
|
29605
|
+
line: 47,
|
|
29576
29606
|
column: 2
|
|
29577
29607
|
},
|
|
29578
29608
|
end: {
|
|
29579
|
-
line:
|
|
29609
|
+
line: 49,
|
|
29580
29610
|
column: 27
|
|
29581
29611
|
}
|
|
29582
29612
|
},
|
|
29583
|
-
"
|
|
29613
|
+
"20": {
|
|
29584
29614
|
start: {
|
|
29585
|
-
line:
|
|
29615
|
+
line: 51,
|
|
29586
29616
|
column: 35
|
|
29587
29617
|
},
|
|
29588
29618
|
end: {
|
|
29589
|
-
line:
|
|
29619
|
+
line: 67,
|
|
29590
29620
|
column: 2
|
|
29591
29621
|
}
|
|
29592
29622
|
},
|
|
29593
|
-
"
|
|
29623
|
+
"21": {
|
|
29594
29624
|
start: {
|
|
29595
|
-
line:
|
|
29625
|
+
line: 51,
|
|
29596
29626
|
column: 76
|
|
29597
29627
|
},
|
|
29598
29628
|
end: {
|
|
29599
|
-
line:
|
|
29629
|
+
line: 67,
|
|
29600
29630
|
column: 1
|
|
29601
29631
|
}
|
|
29602
29632
|
},
|
|
29603
|
-
"
|
|
29633
|
+
"22": {
|
|
29604
29634
|
start: {
|
|
29605
|
-
line:
|
|
29635
|
+
line: 69,
|
|
29606
29636
|
column: 29
|
|
29607
29637
|
},
|
|
29608
29638
|
end: {
|
|
29609
|
-
line:
|
|
29639
|
+
line: 86,
|
|
29610
29640
|
column: 7
|
|
29611
29641
|
}
|
|
29612
29642
|
},
|
|
29613
|
-
"
|
|
29643
|
+
"23": {
|
|
29614
29644
|
start: {
|
|
29615
|
-
line:
|
|
29645
|
+
line: 73,
|
|
29616
29646
|
column: 2
|
|
29617
29647
|
},
|
|
29618
29648
|
end: {
|
|
29619
|
-
line:
|
|
29649
|
+
line: 86,
|
|
29620
29650
|
column: 7
|
|
29621
29651
|
}
|
|
29622
29652
|
},
|
|
29623
|
-
"
|
|
29653
|
+
"24": {
|
|
29624
29654
|
start: {
|
|
29625
|
-
line:
|
|
29655
|
+
line: 88,
|
|
29626
29656
|
column: 51
|
|
29627
29657
|
},
|
|
29628
29658
|
end: {
|
|
29629
|
-
line:
|
|
29659
|
+
line: 97,
|
|
29630
29660
|
column: 2
|
|
29631
29661
|
}
|
|
29632
29662
|
},
|
|
29633
|
-
"
|
|
29663
|
+
"25": {
|
|
29634
29664
|
start: {
|
|
29635
|
-
line:
|
|
29665
|
+
line: 92,
|
|
29636
29666
|
column: 7
|
|
29637
29667
|
},
|
|
29638
29668
|
end: {
|
|
29639
|
-
line:
|
|
29669
|
+
line: 97,
|
|
29640
29670
|
column: 1
|
|
29641
29671
|
}
|
|
29642
29672
|
}
|
|
@@ -29705,10 +29735,10 @@ function cov_oxacgfc93() {
|
|
|
29705
29735
|
loc: {
|
|
29706
29736
|
start: {
|
|
29707
29737
|
line: 18,
|
|
29708
|
-
column:
|
|
29738
|
+
column: 59
|
|
29709
29739
|
},
|
|
29710
29740
|
end: {
|
|
29711
|
-
line:
|
|
29741
|
+
line: 28,
|
|
29712
29742
|
column: 1
|
|
29713
29743
|
}
|
|
29714
29744
|
},
|
|
@@ -29718,145 +29748,145 @@ function cov_oxacgfc93() {
|
|
|
29718
29748
|
name: "(anonymous_3)",
|
|
29719
29749
|
decl: {
|
|
29720
29750
|
start: {
|
|
29721
|
-
line:
|
|
29751
|
+
line: 30,
|
|
29722
29752
|
column: 38
|
|
29723
29753
|
},
|
|
29724
29754
|
end: {
|
|
29725
|
-
line:
|
|
29755
|
+
line: 30,
|
|
29726
29756
|
column: 39
|
|
29727
29757
|
}
|
|
29728
29758
|
},
|
|
29729
29759
|
loc: {
|
|
29730
29760
|
start: {
|
|
29731
|
-
line:
|
|
29761
|
+
line: 30,
|
|
29732
29762
|
column: 71
|
|
29733
29763
|
},
|
|
29734
29764
|
end: {
|
|
29735
|
-
line:
|
|
29765
|
+
line: 44,
|
|
29736
29766
|
column: 1
|
|
29737
29767
|
}
|
|
29738
29768
|
},
|
|
29739
|
-
line:
|
|
29769
|
+
line: 30
|
|
29740
29770
|
},
|
|
29741
29771
|
"4": {
|
|
29742
29772
|
name: "(anonymous_4)",
|
|
29743
29773
|
decl: {
|
|
29744
29774
|
start: {
|
|
29745
|
-
line:
|
|
29775
|
+
line: 39,
|
|
29746
29776
|
column: 28
|
|
29747
29777
|
},
|
|
29748
29778
|
end: {
|
|
29749
|
-
line:
|
|
29779
|
+
line: 39,
|
|
29750
29780
|
column: 29
|
|
29751
29781
|
}
|
|
29752
29782
|
},
|
|
29753
29783
|
loc: {
|
|
29754
29784
|
start: {
|
|
29755
|
-
line:
|
|
29785
|
+
line: 39,
|
|
29756
29786
|
column: 40
|
|
29757
29787
|
},
|
|
29758
29788
|
end: {
|
|
29759
|
-
line:
|
|
29789
|
+
line: 43,
|
|
29760
29790
|
column: 3
|
|
29761
29791
|
}
|
|
29762
29792
|
},
|
|
29763
|
-
line:
|
|
29793
|
+
line: 39
|
|
29764
29794
|
},
|
|
29765
29795
|
"5": {
|
|
29766
29796
|
name: "(anonymous_5)",
|
|
29767
29797
|
decl: {
|
|
29768
29798
|
start: {
|
|
29769
|
-
line:
|
|
29799
|
+
line: 46,
|
|
29770
29800
|
column: 27
|
|
29771
29801
|
},
|
|
29772
29802
|
end: {
|
|
29773
|
-
line:
|
|
29803
|
+
line: 46,
|
|
29774
29804
|
column: 28
|
|
29775
29805
|
}
|
|
29776
29806
|
},
|
|
29777
29807
|
loc: {
|
|
29778
29808
|
start: {
|
|
29779
|
-
line:
|
|
29809
|
+
line: 47,
|
|
29780
29810
|
column: 2
|
|
29781
29811
|
},
|
|
29782
29812
|
end: {
|
|
29783
|
-
line:
|
|
29813
|
+
line: 49,
|
|
29784
29814
|
column: 27
|
|
29785
29815
|
}
|
|
29786
29816
|
},
|
|
29787
|
-
line:
|
|
29817
|
+
line: 47
|
|
29788
29818
|
},
|
|
29789
29819
|
"6": {
|
|
29790
29820
|
name: "(anonymous_6)",
|
|
29791
29821
|
decl: {
|
|
29792
29822
|
start: {
|
|
29793
|
-
line:
|
|
29823
|
+
line: 51,
|
|
29794
29824
|
column: 35
|
|
29795
29825
|
},
|
|
29796
29826
|
end: {
|
|
29797
|
-
line:
|
|
29827
|
+
line: 51,
|
|
29798
29828
|
column: 36
|
|
29799
29829
|
}
|
|
29800
29830
|
},
|
|
29801
29831
|
loc: {
|
|
29802
29832
|
start: {
|
|
29803
|
-
line:
|
|
29833
|
+
line: 51,
|
|
29804
29834
|
column: 76
|
|
29805
29835
|
},
|
|
29806
29836
|
end: {
|
|
29807
|
-
line:
|
|
29837
|
+
line: 67,
|
|
29808
29838
|
column: 1
|
|
29809
29839
|
}
|
|
29810
29840
|
},
|
|
29811
|
-
line:
|
|
29841
|
+
line: 51
|
|
29812
29842
|
},
|
|
29813
29843
|
"7": {
|
|
29814
29844
|
name: "(anonymous_7)",
|
|
29815
29845
|
decl: {
|
|
29816
29846
|
start: {
|
|
29817
|
-
line:
|
|
29847
|
+
line: 69,
|
|
29818
29848
|
column: 29
|
|
29819
29849
|
},
|
|
29820
29850
|
end: {
|
|
29821
|
-
line:
|
|
29851
|
+
line: 69,
|
|
29822
29852
|
column: 30
|
|
29823
29853
|
}
|
|
29824
29854
|
},
|
|
29825
29855
|
loc: {
|
|
29826
29856
|
start: {
|
|
29827
|
-
line:
|
|
29857
|
+
line: 73,
|
|
29828
29858
|
column: 2
|
|
29829
29859
|
},
|
|
29830
29860
|
end: {
|
|
29831
|
-
line:
|
|
29861
|
+
line: 86,
|
|
29832
29862
|
column: 7
|
|
29833
29863
|
}
|
|
29834
29864
|
},
|
|
29835
|
-
line:
|
|
29865
|
+
line: 73
|
|
29836
29866
|
},
|
|
29837
29867
|
"8": {
|
|
29838
29868
|
name: "(anonymous_8)",
|
|
29839
29869
|
decl: {
|
|
29840
29870
|
start: {
|
|
29841
|
-
line:
|
|
29871
|
+
line: 88,
|
|
29842
29872
|
column: 51
|
|
29843
29873
|
},
|
|
29844
29874
|
end: {
|
|
29845
|
-
line:
|
|
29875
|
+
line: 88,
|
|
29846
29876
|
column: 52
|
|
29847
29877
|
}
|
|
29848
29878
|
},
|
|
29849
29879
|
loc: {
|
|
29850
29880
|
start: {
|
|
29851
|
-
line:
|
|
29881
|
+
line: 92,
|
|
29852
29882
|
column: 7
|
|
29853
29883
|
},
|
|
29854
29884
|
end: {
|
|
29855
|
-
line:
|
|
29885
|
+
line: 97,
|
|
29856
29886
|
column: 1
|
|
29857
29887
|
}
|
|
29858
29888
|
},
|
|
29859
|
-
line:
|
|
29889
|
+
line: 92
|
|
29860
29890
|
}
|
|
29861
29891
|
},
|
|
29862
29892
|
branchMap: {
|
|
@@ -29929,65 +29959,65 @@ function cov_oxacgfc93() {
|
|
|
29929
29959
|
"2": {
|
|
29930
29960
|
loc: {
|
|
29931
29961
|
start: {
|
|
29932
|
-
line:
|
|
29933
|
-
column:
|
|
29962
|
+
line: 19,
|
|
29963
|
+
column: 2
|
|
29934
29964
|
},
|
|
29935
29965
|
end: {
|
|
29936
|
-
line:
|
|
29937
|
-
column:
|
|
29966
|
+
line: 21,
|
|
29967
|
+
column: 3
|
|
29938
29968
|
}
|
|
29939
29969
|
},
|
|
29940
|
-
type: "
|
|
29970
|
+
type: "if",
|
|
29941
29971
|
locations: [{
|
|
29942
29972
|
start: {
|
|
29943
|
-
line:
|
|
29944
|
-
column:
|
|
29973
|
+
line: 19,
|
|
29974
|
+
column: 2
|
|
29945
29975
|
},
|
|
29946
29976
|
end: {
|
|
29947
|
-
line:
|
|
29948
|
-
column:
|
|
29977
|
+
line: 21,
|
|
29978
|
+
column: 3
|
|
29949
29979
|
}
|
|
29950
29980
|
}, {
|
|
29951
29981
|
start: {
|
|
29952
|
-
line:
|
|
29953
|
-
column:
|
|
29982
|
+
line: undefined,
|
|
29983
|
+
column: undefined
|
|
29954
29984
|
},
|
|
29955
29985
|
end: {
|
|
29956
|
-
line:
|
|
29957
|
-
column:
|
|
29986
|
+
line: undefined,
|
|
29987
|
+
column: undefined
|
|
29958
29988
|
}
|
|
29959
29989
|
}],
|
|
29960
|
-
line:
|
|
29990
|
+
line: 19
|
|
29961
29991
|
},
|
|
29962
29992
|
"3": {
|
|
29963
29993
|
loc: {
|
|
29964
29994
|
start: {
|
|
29965
29995
|
line: 27,
|
|
29966
|
-
column:
|
|
29996
|
+
column: 9
|
|
29967
29997
|
},
|
|
29968
29998
|
end: {
|
|
29969
29999
|
line: 27,
|
|
29970
|
-
column:
|
|
30000
|
+
column: 41
|
|
29971
30001
|
}
|
|
29972
30002
|
},
|
|
29973
|
-
type: "
|
|
30003
|
+
type: "cond-expr",
|
|
29974
30004
|
locations: [{
|
|
29975
30005
|
start: {
|
|
29976
30006
|
line: 27,
|
|
29977
|
-
column:
|
|
30007
|
+
column: 16
|
|
29978
30008
|
},
|
|
29979
30009
|
end: {
|
|
29980
30010
|
line: 27,
|
|
29981
|
-
column:
|
|
30011
|
+
column: 25
|
|
29982
30012
|
}
|
|
29983
30013
|
}, {
|
|
29984
30014
|
start: {
|
|
29985
|
-
line:
|
|
29986
|
-
column:
|
|
29987
|
-
},
|
|
30015
|
+
line: 27,
|
|
30016
|
+
column: 28
|
|
30017
|
+
},
|
|
29988
30018
|
end: {
|
|
29989
|
-
line:
|
|
29990
|
-
column:
|
|
30019
|
+
line: 27,
|
|
30020
|
+
column: 41
|
|
29991
30021
|
}
|
|
29992
30022
|
}],
|
|
29993
30023
|
line: 27
|
|
@@ -29995,266 +30025,299 @@ function cov_oxacgfc93() {
|
|
|
29995
30025
|
"4": {
|
|
29996
30026
|
loc: {
|
|
29997
30027
|
start: {
|
|
29998
|
-
line:
|
|
30028
|
+
line: 31,
|
|
29999
30029
|
column: 2
|
|
30000
30030
|
},
|
|
30001
30031
|
end: {
|
|
30002
|
-
line:
|
|
30032
|
+
line: 31,
|
|
30033
|
+
column: 30
|
|
30034
|
+
}
|
|
30035
|
+
},
|
|
30036
|
+
type: "if",
|
|
30037
|
+
locations: [{
|
|
30038
|
+
start: {
|
|
30039
|
+
line: 31,
|
|
30040
|
+
column: 2
|
|
30041
|
+
},
|
|
30042
|
+
end: {
|
|
30043
|
+
line: 31,
|
|
30044
|
+
column: 30
|
|
30045
|
+
}
|
|
30046
|
+
}, {
|
|
30047
|
+
start: {
|
|
30048
|
+
line: undefined,
|
|
30049
|
+
column: undefined
|
|
30050
|
+
},
|
|
30051
|
+
end: {
|
|
30052
|
+
line: undefined,
|
|
30053
|
+
column: undefined
|
|
30054
|
+
}
|
|
30055
|
+
}],
|
|
30056
|
+
line: 31
|
|
30057
|
+
},
|
|
30058
|
+
"5": {
|
|
30059
|
+
loc: {
|
|
30060
|
+
start: {
|
|
30061
|
+
line: 47,
|
|
30062
|
+
column: 2
|
|
30063
|
+
},
|
|
30064
|
+
end: {
|
|
30065
|
+
line: 49,
|
|
30003
30066
|
column: 27
|
|
30004
30067
|
}
|
|
30005
30068
|
},
|
|
30006
30069
|
type: "cond-expr",
|
|
30007
30070
|
locations: [{
|
|
30008
30071
|
start: {
|
|
30009
|
-
line:
|
|
30072
|
+
line: 48,
|
|
30010
30073
|
column: 6
|
|
30011
30074
|
},
|
|
30012
30075
|
end: {
|
|
30013
|
-
line:
|
|
30076
|
+
line: 48,
|
|
30014
30077
|
column: 24
|
|
30015
30078
|
}
|
|
30016
30079
|
}, {
|
|
30017
30080
|
start: {
|
|
30018
|
-
line:
|
|
30081
|
+
line: 49,
|
|
30019
30082
|
column: 6
|
|
30020
30083
|
},
|
|
30021
30084
|
end: {
|
|
30022
|
-
line:
|
|
30085
|
+
line: 49,
|
|
30023
30086
|
column: 27
|
|
30024
30087
|
}
|
|
30025
30088
|
}],
|
|
30026
|
-
line:
|
|
30089
|
+
line: 47
|
|
30027
30090
|
},
|
|
30028
|
-
"
|
|
30091
|
+
"6": {
|
|
30029
30092
|
loc: {
|
|
30030
30093
|
start: {
|
|
30031
|
-
line:
|
|
30094
|
+
line: 52,
|
|
30032
30095
|
column: 13
|
|
30033
30096
|
},
|
|
30034
30097
|
end: {
|
|
30035
|
-
line:
|
|
30098
|
+
line: 52,
|
|
30036
30099
|
column: 44
|
|
30037
30100
|
}
|
|
30038
30101
|
},
|
|
30039
30102
|
type: "binary-expr",
|
|
30040
30103
|
locations: [{
|
|
30041
30104
|
start: {
|
|
30042
|
-
line:
|
|
30105
|
+
line: 52,
|
|
30043
30106
|
column: 13
|
|
30044
30107
|
},
|
|
30045
30108
|
end: {
|
|
30046
|
-
line:
|
|
30109
|
+
line: 52,
|
|
30047
30110
|
column: 38
|
|
30048
30111
|
}
|
|
30049
30112
|
}, {
|
|
30050
30113
|
start: {
|
|
30051
|
-
line:
|
|
30114
|
+
line: 52,
|
|
30052
30115
|
column: 42
|
|
30053
30116
|
},
|
|
30054
30117
|
end: {
|
|
30055
|
-
line:
|
|
30118
|
+
line: 52,
|
|
30056
30119
|
column: 44
|
|
30057
30120
|
}
|
|
30058
30121
|
}],
|
|
30059
|
-
line:
|
|
30122
|
+
line: 52
|
|
30060
30123
|
},
|
|
30061
|
-
"
|
|
30124
|
+
"7": {
|
|
30062
30125
|
loc: {
|
|
30063
30126
|
start: {
|
|
30064
|
-
line:
|
|
30127
|
+
line: 53,
|
|
30065
30128
|
column: 12
|
|
30066
30129
|
},
|
|
30067
30130
|
end: {
|
|
30068
|
-
line:
|
|
30131
|
+
line: 53,
|
|
30069
30132
|
column: 42
|
|
30070
30133
|
}
|
|
30071
30134
|
},
|
|
30072
30135
|
type: "binary-expr",
|
|
30073
30136
|
locations: [{
|
|
30074
30137
|
start: {
|
|
30075
|
-
line:
|
|
30138
|
+
line: 53,
|
|
30076
30139
|
column: 12
|
|
30077
30140
|
},
|
|
30078
30141
|
end: {
|
|
30079
|
-
line:
|
|
30142
|
+
line: 53,
|
|
30080
30143
|
column: 36
|
|
30081
30144
|
}
|
|
30082
30145
|
}, {
|
|
30083
30146
|
start: {
|
|
30084
|
-
line:
|
|
30147
|
+
line: 53,
|
|
30085
30148
|
column: 40
|
|
30086
30149
|
},
|
|
30087
30150
|
end: {
|
|
30088
|
-
line:
|
|
30151
|
+
line: 53,
|
|
30089
30152
|
column: 42
|
|
30090
30153
|
}
|
|
30091
30154
|
}],
|
|
30092
|
-
line:
|
|
30155
|
+
line: 53
|
|
30093
30156
|
},
|
|
30094
|
-
"
|
|
30157
|
+
"8": {
|
|
30095
30158
|
loc: {
|
|
30096
30159
|
start: {
|
|
30097
|
-
line:
|
|
30160
|
+
line: 54,
|
|
30098
30161
|
column: 10
|
|
30099
30162
|
},
|
|
30100
30163
|
end: {
|
|
30101
|
-
line:
|
|
30164
|
+
line: 62,
|
|
30102
30165
|
column: 8
|
|
30103
30166
|
}
|
|
30104
30167
|
},
|
|
30105
30168
|
type: "cond-expr",
|
|
30106
30169
|
locations: [{
|
|
30107
30170
|
start: {
|
|
30108
|
-
line:
|
|
30171
|
+
line: 55,
|
|
30109
30172
|
column: 6
|
|
30110
30173
|
},
|
|
30111
30174
|
end: {
|
|
30112
|
-
line:
|
|
30175
|
+
line: 61,
|
|
30113
30176
|
column: 7
|
|
30114
30177
|
}
|
|
30115
30178
|
}, {
|
|
30116
30179
|
start: {
|
|
30117
|
-
line:
|
|
30180
|
+
line: 62,
|
|
30118
30181
|
column: 6
|
|
30119
30182
|
},
|
|
30120
30183
|
end: {
|
|
30121
|
-
line:
|
|
30184
|
+
line: 62,
|
|
30122
30185
|
column: 8
|
|
30123
30186
|
}
|
|
30124
30187
|
}],
|
|
30125
|
-
line:
|
|
30188
|
+
line: 54
|
|
30126
30189
|
},
|
|
30127
|
-
"
|
|
30190
|
+
"9": {
|
|
30128
30191
|
loc: {
|
|
30129
30192
|
start: {
|
|
30130
|
-
line:
|
|
30193
|
+
line: 63,
|
|
30131
30194
|
column: 8
|
|
30132
30195
|
},
|
|
30133
30196
|
end: {
|
|
30134
|
-
line:
|
|
30197
|
+
line: 63,
|
|
30135
30198
|
column: 52
|
|
30136
30199
|
}
|
|
30137
30200
|
},
|
|
30138
30201
|
type: "binary-expr",
|
|
30139
30202
|
locations: [{
|
|
30140
30203
|
start: {
|
|
30141
|
-
line:
|
|
30204
|
+
line: 63,
|
|
30142
30205
|
column: 8
|
|
30143
30206
|
},
|
|
30144
30207
|
end: {
|
|
30145
|
-
line:
|
|
30208
|
+
line: 63,
|
|
30146
30209
|
column: 28
|
|
30147
30210
|
}
|
|
30148
30211
|
}, {
|
|
30149
30212
|
start: {
|
|
30150
|
-
line:
|
|
30213
|
+
line: 63,
|
|
30151
30214
|
column: 32
|
|
30152
30215
|
},
|
|
30153
30216
|
end: {
|
|
30154
|
-
line:
|
|
30217
|
+
line: 63,
|
|
30155
30218
|
column: 46
|
|
30156
30219
|
}
|
|
30157
30220
|
}, {
|
|
30158
30221
|
start: {
|
|
30159
|
-
line:
|
|
30222
|
+
line: 63,
|
|
30160
30223
|
column: 50
|
|
30161
30224
|
},
|
|
30162
30225
|
end: {
|
|
30163
|
-
line:
|
|
30226
|
+
line: 63,
|
|
30164
30227
|
column: 52
|
|
30165
30228
|
}
|
|
30166
30229
|
}],
|
|
30167
|
-
line:
|
|
30230
|
+
line: 63
|
|
30168
30231
|
},
|
|
30169
|
-
"
|
|
30232
|
+
"10": {
|
|
30170
30233
|
loc: {
|
|
30171
30234
|
start: {
|
|
30172
|
-
line:
|
|
30235
|
+
line: 64,
|
|
30173
30236
|
column: 6
|
|
30174
30237
|
},
|
|
30175
30238
|
end: {
|
|
30176
|
-
line:
|
|
30239
|
+
line: 66,
|
|
30177
30240
|
column: 3
|
|
30178
30241
|
}
|
|
30179
30242
|
},
|
|
30180
30243
|
type: "binary-expr",
|
|
30181
30244
|
locations: [{
|
|
30182
30245
|
start: {
|
|
30183
|
-
line:
|
|
30246
|
+
line: 64,
|
|
30184
30247
|
column: 6
|
|
30185
30248
|
},
|
|
30186
30249
|
end: {
|
|
30187
|
-
line:
|
|
30250
|
+
line: 64,
|
|
30188
30251
|
column: 21
|
|
30189
30252
|
}
|
|
30190
30253
|
}, {
|
|
30191
30254
|
start: {
|
|
30192
|
-
line:
|
|
30255
|
+
line: 64,
|
|
30193
30256
|
column: 25
|
|
30194
30257
|
},
|
|
30195
30258
|
end: {
|
|
30196
|
-
line:
|
|
30259
|
+
line: 66,
|
|
30197
30260
|
column: 3
|
|
30198
30261
|
}
|
|
30199
30262
|
}],
|
|
30200
|
-
line:
|
|
30263
|
+
line: 64
|
|
30201
30264
|
},
|
|
30202
|
-
"
|
|
30265
|
+
"11": {
|
|
30203
30266
|
loc: {
|
|
30204
30267
|
start: {
|
|
30205
|
-
line:
|
|
30268
|
+
line: 71,
|
|
30206
30269
|
column: 2
|
|
30207
30270
|
},
|
|
30208
30271
|
end: {
|
|
30209
|
-
line:
|
|
30272
|
+
line: 71,
|
|
30210
30273
|
column: 23
|
|
30211
30274
|
}
|
|
30212
30275
|
},
|
|
30213
30276
|
type: "default-arg",
|
|
30214
30277
|
locations: [{
|
|
30215
30278
|
start: {
|
|
30216
|
-
line:
|
|
30279
|
+
line: 71,
|
|
30217
30280
|
column: 19
|
|
30218
30281
|
},
|
|
30219
30282
|
end: {
|
|
30220
|
-
line:
|
|
30283
|
+
line: 71,
|
|
30221
30284
|
column: 23
|
|
30222
30285
|
}
|
|
30223
30286
|
}],
|
|
30224
|
-
line:
|
|
30287
|
+
line: 71
|
|
30225
30288
|
},
|
|
30226
|
-
"
|
|
30289
|
+
"12": {
|
|
30227
30290
|
loc: {
|
|
30228
30291
|
start: {
|
|
30229
|
-
line:
|
|
30292
|
+
line: 73,
|
|
30230
30293
|
column: 2
|
|
30231
30294
|
},
|
|
30232
30295
|
end: {
|
|
30233
|
-
line:
|
|
30296
|
+
line: 86,
|
|
30234
30297
|
column: 7
|
|
30235
30298
|
}
|
|
30236
30299
|
},
|
|
30237
30300
|
type: "cond-expr",
|
|
30238
30301
|
locations: [{
|
|
30239
30302
|
start: {
|
|
30240
|
-
line:
|
|
30303
|
+
line: 74,
|
|
30241
30304
|
column: 6
|
|
30242
30305
|
},
|
|
30243
30306
|
end: {
|
|
30244
|
-
line:
|
|
30307
|
+
line: 79,
|
|
30245
30308
|
column: 7
|
|
30246
30309
|
}
|
|
30247
30310
|
}, {
|
|
30248
30311
|
start: {
|
|
30249
|
-
line:
|
|
30312
|
+
line: 80,
|
|
30250
30313
|
column: 6
|
|
30251
30314
|
},
|
|
30252
30315
|
end: {
|
|
30253
|
-
line:
|
|
30316
|
+
line: 86,
|
|
30254
30317
|
column: 7
|
|
30255
30318
|
}
|
|
30256
30319
|
}],
|
|
30257
|
-
line:
|
|
30320
|
+
line: 73
|
|
30258
30321
|
}
|
|
30259
30322
|
},
|
|
30260
30323
|
s: {
|
|
@@ -30281,7 +30344,9 @@ function cov_oxacgfc93() {
|
|
|
30281
30344
|
"20": 0,
|
|
30282
30345
|
"21": 0,
|
|
30283
30346
|
"22": 0,
|
|
30284
|
-
"23": 0
|
|
30347
|
+
"23": 0,
|
|
30348
|
+
"24": 0,
|
|
30349
|
+
"25": 0
|
|
30285
30350
|
},
|
|
30286
30351
|
f: {
|
|
30287
30352
|
"0": 0,
|
|
@@ -30303,13 +30368,14 @@ function cov_oxacgfc93() {
|
|
|
30303
30368
|
"5": [0, 0],
|
|
30304
30369
|
"6": [0, 0],
|
|
30305
30370
|
"7": [0, 0],
|
|
30306
|
-
"8": [0, 0
|
|
30307
|
-
"9": [0, 0],
|
|
30308
|
-
"10": [0],
|
|
30309
|
-
"11": [0,
|
|
30371
|
+
"8": [0, 0],
|
|
30372
|
+
"9": [0, 0, 0],
|
|
30373
|
+
"10": [0, 0],
|
|
30374
|
+
"11": [0],
|
|
30375
|
+
"12": [0, 0]
|
|
30310
30376
|
},
|
|
30311
30377
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
30312
|
-
hash: "
|
|
30378
|
+
hash: "606b358f599c0f0dd00841b8d8d9a41713401450"
|
|
30313
30379
|
};
|
|
30314
30380
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
30315
30381
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -30344,81 +30410,90 @@ var getActiveRole = function getActiveRole(activeAppRoles, role) {
|
|
|
30344
30410
|
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);
|
|
30345
30411
|
};
|
|
30346
30412
|
cov_oxacgfc93().s[4]++;
|
|
30347
|
-
var getDefaultRole = function getDefaultRole(roles, currentAppRole) {
|
|
30413
|
+
var getDefaultRole = function getDefaultRole(roles, currentAppRole, appName) {
|
|
30414
|
+
var _globalProps$appName;
|
|
30348
30415
|
cov_oxacgfc93().f[2]++;
|
|
30349
|
-
|
|
30350
|
-
|
|
30416
|
+
cov_oxacgfc93().s[5]++;
|
|
30417
|
+
if (appName === ((_globalProps$appName = globalProps.appName) === null || _globalProps$appName === void 0 ? void 0 : _globalProps$appName.substring(5))) {
|
|
30418
|
+
cov_oxacgfc93().b[2][0]++;
|
|
30419
|
+
cov_oxacgfc93().s[6]++;
|
|
30420
|
+
return currentAppRole;
|
|
30421
|
+
} else {
|
|
30422
|
+
cov_oxacgfc93().b[2][1]++;
|
|
30423
|
+
}
|
|
30424
|
+
var condition = (cov_oxacgfc93().s[7]++, isAdminRole(currentAppRole));
|
|
30425
|
+
var role = (cov_oxacgfc93().s[8]++, _findBy({
|
|
30351
30426
|
name: condition
|
|
30352
30427
|
}, roles));
|
|
30353
|
-
cov_oxacgfc93().s[
|
|
30354
|
-
return role ? (cov_oxacgfc93().b[
|
|
30428
|
+
cov_oxacgfc93().s[9]++;
|
|
30429
|
+
return role ? (cov_oxacgfc93().b[3][0]++, role.name) : (cov_oxacgfc93().b[3][1]++, roles[0].name);
|
|
30355
30430
|
};
|
|
30356
|
-
cov_oxacgfc93().s[
|
|
30431
|
+
cov_oxacgfc93().s[10]++;
|
|
30357
30432
|
var generateAppsRolesInitialValue = function generateAppsRolesInitialValue(globalRoles, currentAppRole) {
|
|
30358
|
-
var _globalProps$
|
|
30433
|
+
var _globalProps$appName2;
|
|
30359
30434
|
cov_oxacgfc93().f[3]++;
|
|
30360
|
-
cov_oxacgfc93().s[
|
|
30435
|
+
cov_oxacgfc93().s[11]++;
|
|
30361
30436
|
if (!globalRoles) {
|
|
30362
|
-
cov_oxacgfc93().b[
|
|
30363
|
-
cov_oxacgfc93().s[
|
|
30437
|
+
cov_oxacgfc93().b[4][0]++;
|
|
30438
|
+
cov_oxacgfc93().s[12]++;
|
|
30364
30439
|
return [];
|
|
30365
30440
|
} else {
|
|
30366
|
-
cov_oxacgfc93().b[
|
|
30441
|
+
cov_oxacgfc93().b[4][1]++;
|
|
30367
30442
|
}
|
|
30368
|
-
var appNames = (cov_oxacgfc93().s[
|
|
30369
|
-
var currentAppNameIndex = (cov_oxacgfc93().s[
|
|
30370
|
-
var appNamesSorted = (cov_oxacgfc93().s[
|
|
30371
|
-
cov_oxacgfc93().s[
|
|
30443
|
+
var appNames = (cov_oxacgfc93().s[13]++, Object.keys(globalRoles));
|
|
30444
|
+
var currentAppNameIndex = (cov_oxacgfc93().s[14]++, appNames.indexOf((_globalProps$appName2 = globalProps.appName) === null || _globalProps$appName2 === void 0 ? void 0 : _globalProps$appName2.substring(5)));
|
|
30445
|
+
var appNamesSorted = (cov_oxacgfc93().s[15]++, move(currentAppNameIndex, 0, appNames));
|
|
30446
|
+
cov_oxacgfc93().s[16]++;
|
|
30372
30447
|
return appNamesSorted.map(function (appName) {
|
|
30373
30448
|
cov_oxacgfc93().f[4]++;
|
|
30374
|
-
cov_oxacgfc93().s[
|
|
30449
|
+
cov_oxacgfc93().s[17]++;
|
|
30375
30450
|
return {
|
|
30376
30451
|
appName: appName,
|
|
30377
|
-
activeRole: getDefaultRole(globalRoles[appName], currentAppRole),
|
|
30452
|
+
activeRole: getDefaultRole(globalRoles[appName], currentAppRole, appName),
|
|
30378
30453
|
isEnabled: true
|
|
30379
30454
|
};
|
|
30380
30455
|
});
|
|
30381
30456
|
};
|
|
30382
|
-
cov_oxacgfc93().s[
|
|
30457
|
+
cov_oxacgfc93().s[18]++;
|
|
30383
30458
|
var isAdminRole = function isAdminRole(role) {
|
|
30384
30459
|
cov_oxacgfc93().f[5]++;
|
|
30385
|
-
cov_oxacgfc93().s[
|
|
30386
|
-
return includes(role, [ADMIN_ROLE, OWNER_ROLE]) ? (cov_oxacgfc93().b[
|
|
30460
|
+
cov_oxacgfc93().s[19]++;
|
|
30461
|
+
return includes(role, [ADMIN_ROLE, OWNER_ROLE]) ? (cov_oxacgfc93().b[5][0]++, equals(ADMIN_ROLE)) : (cov_oxacgfc93().b[5][1]++, notEquals(ADMIN_ROLE));
|
|
30387
30462
|
};
|
|
30388
|
-
cov_oxacgfc93().s[
|
|
30463
|
+
cov_oxacgfc93().s[20]++;
|
|
30389
30464
|
var renderInitialValues = function renderInitialValues(selectedMember, roles, globalRoles) {
|
|
30390
30465
|
var _roles$, _roles$2;
|
|
30391
30466
|
cov_oxacgfc93().f[6]++;
|
|
30392
|
-
cov_oxacgfc93().s[
|
|
30467
|
+
cov_oxacgfc93().s[21]++;
|
|
30393
30468
|
return _objectSpread$2({
|
|
30394
|
-
firstName: (cov_oxacgfc93().b[
|
|
30395
|
-
lastName: (cov_oxacgfc93().b[
|
|
30396
|
-
emails: selectedMember ? (cov_oxacgfc93().b[
|
|
30469
|
+
firstName: (cov_oxacgfc93().b[6][0]++, selectedMember === null || selectedMember === void 0 ? void 0 : selectedMember.firstName) || (cov_oxacgfc93().b[6][1]++, ""),
|
|
30470
|
+
lastName: (cov_oxacgfc93().b[7][0]++, selectedMember === null || selectedMember === void 0 ? void 0 : selectedMember.lastName) || (cov_oxacgfc93().b[7][1]++, ""),
|
|
30471
|
+
emails: selectedMember ? (cov_oxacgfc93().b[8][0]++, [{
|
|
30397
30472
|
label: selectedMember.email,
|
|
30398
30473
|
value: selectedMember.email,
|
|
30399
30474
|
valid: true
|
|
30400
|
-
}]) : (cov_oxacgfc93().b[
|
|
30401
|
-
role: (cov_oxacgfc93().b[
|
|
30402
|
-
}, (cov_oxacgfc93().b[
|
|
30475
|
+
}]) : (cov_oxacgfc93().b[8][1]++, []),
|
|
30476
|
+
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]++, "")
|
|
30477
|
+
}, (cov_oxacgfc93().b[10][0]++, !selectedMember) && (cov_oxacgfc93().b[10][1]++, {
|
|
30403
30478
|
appRoles: generateAppsRolesInitialValue(globalRoles, (_roles$2 = roles[1]) === null || _roles$2 === void 0 ? void 0 : _roles$2.name)
|
|
30404
30479
|
}));
|
|
30405
30480
|
};
|
|
30406
|
-
cov_oxacgfc93().s[
|
|
30481
|
+
cov_oxacgfc93().s[22]++;
|
|
30407
30482
|
var renderPayload = function renderPayload(_ref) {
|
|
30408
30483
|
var appRoles = _ref.appRoles,
|
|
30409
30484
|
emails = _ref.emails,
|
|
30410
30485
|
firstName = _ref.firstName,
|
|
30411
30486
|
lastName = _ref.lastName,
|
|
30412
30487
|
role = _ref.role;
|
|
30413
|
-
var selectedMember = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_oxacgfc93().b[
|
|
30488
|
+
var selectedMember = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_oxacgfc93().b[11][0]++, null);
|
|
30414
30489
|
cov_oxacgfc93().f[7]++;
|
|
30415
|
-
cov_oxacgfc93().s[
|
|
30416
|
-
return selectedMember ? (cov_oxacgfc93().b[
|
|
30490
|
+
cov_oxacgfc93().s[23]++;
|
|
30491
|
+
return selectedMember ? (cov_oxacgfc93().b[12][0]++, {
|
|
30417
30492
|
active: true,
|
|
30418
30493
|
firstName: firstName,
|
|
30419
30494
|
lastName: lastName,
|
|
30420
30495
|
organizationRole: role
|
|
30421
|
-
}) : (cov_oxacgfc93().b[
|
|
30496
|
+
}) : (cov_oxacgfc93().b[12][1]++, {
|
|
30422
30497
|
user: {
|
|
30423
30498
|
emails: pluck("value", emails),
|
|
30424
30499
|
organizationRole: role,
|
|
@@ -30426,13 +30501,13 @@ var renderPayload = function renderPayload(_ref) {
|
|
|
30426
30501
|
}
|
|
30427
30502
|
});
|
|
30428
30503
|
};
|
|
30429
|
-
cov_oxacgfc93().s[
|
|
30504
|
+
cov_oxacgfc93().s[24]++;
|
|
30430
30505
|
var getSingleInvitationTranslationProps = function getSingleInvitationTranslationProps(_ref2) {
|
|
30431
30506
|
var activeAppRoles = _ref2.activeAppRoles,
|
|
30432
30507
|
role = _ref2.role,
|
|
30433
30508
|
selectedEmail = _ref2.selectedEmail;
|
|
30434
30509
|
cov_oxacgfc93().f[8]++;
|
|
30435
|
-
cov_oxacgfc93().s[
|
|
30510
|
+
cov_oxacgfc93().s[25]++;
|
|
30436
30511
|
return {
|
|
30437
30512
|
count: selectedEmail.length,
|
|
30438
30513
|
emails: selectedEmail,
|
|
@@ -31221,7 +31296,7 @@ var LabelWithIcon = function LabelWithIcon(_ref) {
|
|
|
31221
31296
|
|
|
31222
31297
|
function cov_1b0h1259jp() {
|
|
31223
31298
|
var path = "/home/runner/work/neeto-team-members-frontend/neeto-team-members-frontend/src/components/TeamMembers/ManageMember/RolesRadioGroup.jsx";
|
|
31224
|
-
var hash = "
|
|
31299
|
+
var hash = "e4a560d46b0adec9fb4602c622b55b5e092def51";
|
|
31225
31300
|
var global = new Function("return this")();
|
|
31226
31301
|
var gcv = "__coverage__";
|
|
31227
31302
|
var coverageData = {
|
|
@@ -31229,181 +31304,201 @@ function cov_1b0h1259jp() {
|
|
|
31229
31304
|
statementMap: {
|
|
31230
31305
|
"0": {
|
|
31231
31306
|
start: {
|
|
31232
|
-
line:
|
|
31307
|
+
line: 15,
|
|
31233
31308
|
column: 24
|
|
31234
31309
|
},
|
|
31235
31310
|
end: {
|
|
31236
|
-
line:
|
|
31311
|
+
line: 80,
|
|
31237
31312
|
column: 1
|
|
31238
31313
|
}
|
|
31239
31314
|
},
|
|
31240
31315
|
"1": {
|
|
31241
31316
|
start: {
|
|
31242
|
-
line:
|
|
31317
|
+
line: 22,
|
|
31243
31318
|
column: 16
|
|
31244
31319
|
},
|
|
31245
31320
|
end: {
|
|
31246
|
-
line:
|
|
31321
|
+
line: 22,
|
|
31247
31322
|
column: 32
|
|
31248
31323
|
}
|
|
31249
31324
|
},
|
|
31250
31325
|
"2": {
|
|
31251
31326
|
start: {
|
|
31252
|
-
line:
|
|
31327
|
+
line: 23,
|
|
31253
31328
|
column: 18
|
|
31254
31329
|
},
|
|
31255
31330
|
end: {
|
|
31256
|
-
line:
|
|
31331
|
+
line: 23,
|
|
31257
31332
|
column: 30
|
|
31258
31333
|
}
|
|
31259
31334
|
},
|
|
31260
31335
|
"3": {
|
|
31261
31336
|
start: {
|
|
31262
|
-
line:
|
|
31337
|
+
line: 24,
|
|
31263
31338
|
column: 36
|
|
31264
31339
|
},
|
|
31265
31340
|
end: {
|
|
31266
|
-
line:
|
|
31341
|
+
line: 24,
|
|
31267
31342
|
column: 54
|
|
31268
31343
|
}
|
|
31269
31344
|
},
|
|
31270
31345
|
"4": {
|
|
31271
31346
|
start: {
|
|
31272
|
-
line:
|
|
31347
|
+
line: 26,
|
|
31273
31348
|
column: 30
|
|
31274
31349
|
},
|
|
31275
31350
|
end: {
|
|
31276
|
-
line:
|
|
31351
|
+
line: 41,
|
|
31277
31352
|
column: 3
|
|
31278
31353
|
}
|
|
31279
31354
|
},
|
|
31280
31355
|
"5": {
|
|
31281
31356
|
start: {
|
|
31282
|
-
line:
|
|
31357
|
+
line: 27,
|
|
31283
31358
|
column: 22
|
|
31284
31359
|
},
|
|
31285
31360
|
end: {
|
|
31286
|
-
line:
|
|
31361
|
+
line: 27,
|
|
31287
31362
|
column: 46
|
|
31288
31363
|
}
|
|
31289
31364
|
},
|
|
31290
31365
|
"6": {
|
|
31291
31366
|
start: {
|
|
31292
|
-
line:
|
|
31367
|
+
line: 28,
|
|
31293
31368
|
column: 4
|
|
31294
31369
|
},
|
|
31295
31370
|
end: {
|
|
31296
|
-
line:
|
|
31371
|
+
line: 40,
|
|
31297
31372
|
column: 7
|
|
31298
31373
|
}
|
|
31299
31374
|
},
|
|
31300
31375
|
"7": {
|
|
31301
31376
|
start: {
|
|
31302
|
-
line:
|
|
31377
|
+
line: 29,
|
|
31303
31378
|
column: 6
|
|
31304
31379
|
},
|
|
31305
31380
|
end: {
|
|
31306
|
-
line:
|
|
31307
|
-
column:
|
|
31381
|
+
line: 33,
|
|
31382
|
+
column: 7
|
|
31308
31383
|
}
|
|
31309
31384
|
},
|
|
31310
31385
|
"8": {
|
|
31311
31386
|
start: {
|
|
31312
|
-
line:
|
|
31387
|
+
line: 30,
|
|
31388
|
+
column: 8
|
|
31389
|
+
},
|
|
31390
|
+
end: {
|
|
31391
|
+
line: 30,
|
|
31392
|
+
column: 68
|
|
31393
|
+
}
|
|
31394
|
+
},
|
|
31395
|
+
"9": {
|
|
31396
|
+
start: {
|
|
31397
|
+
line: 32,
|
|
31398
|
+
column: 8
|
|
31399
|
+
},
|
|
31400
|
+
end: {
|
|
31401
|
+
line: 32,
|
|
31402
|
+
column: 15
|
|
31403
|
+
}
|
|
31404
|
+
},
|
|
31405
|
+
"10": {
|
|
31406
|
+
start: {
|
|
31407
|
+
line: 35,
|
|
31313
31408
|
column: 6
|
|
31314
31409
|
},
|
|
31315
31410
|
end: {
|
|
31316
|
-
line:
|
|
31411
|
+
line: 35,
|
|
31317
31412
|
column: 40
|
|
31318
31413
|
}
|
|
31319
31414
|
},
|
|
31320
|
-
"
|
|
31415
|
+
"11": {
|
|
31321
31416
|
start: {
|
|
31322
|
-
line:
|
|
31417
|
+
line: 35,
|
|
31323
31418
|
column: 33
|
|
31324
31419
|
},
|
|
31325
31420
|
end: {
|
|
31326
|
-
line:
|
|
31421
|
+
line: 35,
|
|
31327
31422
|
column: 40
|
|
31328
31423
|
}
|
|
31329
31424
|
},
|
|
31330
|
-
"
|
|
31425
|
+
"12": {
|
|
31331
31426
|
start: {
|
|
31332
|
-
line:
|
|
31427
|
+
line: 36,
|
|
31333
31428
|
column: 27
|
|
31334
31429
|
},
|
|
31335
31430
|
end: {
|
|
31336
|
-
line:
|
|
31431
|
+
line: 36,
|
|
31337
31432
|
column: 77
|
|
31338
31433
|
}
|
|
31339
31434
|
},
|
|
31340
|
-
"
|
|
31435
|
+
"13": {
|
|
31341
31436
|
start: {
|
|
31342
|
-
line:
|
|
31437
|
+
line: 37,
|
|
31343
31438
|
column: 6
|
|
31344
31439
|
},
|
|
31345
31440
|
end: {
|
|
31346
|
-
line:
|
|
31441
|
+
line: 39,
|
|
31347
31442
|
column: 7
|
|
31348
31443
|
}
|
|
31349
31444
|
},
|
|
31350
|
-
"
|
|
31445
|
+
"14": {
|
|
31351
31446
|
start: {
|
|
31352
|
-
line:
|
|
31447
|
+
line: 38,
|
|
31353
31448
|
column: 8
|
|
31354
31449
|
},
|
|
31355
31450
|
end: {
|
|
31356
|
-
line:
|
|
31451
|
+
line: 38,
|
|
31357
31452
|
column: 74
|
|
31358
31453
|
}
|
|
31359
31454
|
},
|
|
31360
|
-
"
|
|
31455
|
+
"15": {
|
|
31361
31456
|
start: {
|
|
31362
|
-
line:
|
|
31457
|
+
line: 43,
|
|
31363
31458
|
column: 2
|
|
31364
31459
|
},
|
|
31365
31460
|
end: {
|
|
31366
|
-
line:
|
|
31461
|
+
line: 79,
|
|
31367
31462
|
column: 4
|
|
31368
31463
|
}
|
|
31369
31464
|
},
|
|
31370
|
-
"
|
|
31465
|
+
"16": {
|
|
31371
31466
|
start: {
|
|
31372
|
-
line:
|
|
31467
|
+
line: 51,
|
|
31373
31468
|
column: 38
|
|
31374
31469
|
},
|
|
31375
31470
|
end: {
|
|
31376
|
-
line:
|
|
31471
|
+
line: 51,
|
|
31377
31472
|
column: 74
|
|
31378
31473
|
}
|
|
31379
31474
|
},
|
|
31380
|
-
"
|
|
31475
|
+
"17": {
|
|
31381
31476
|
start: {
|
|
31382
|
-
line:
|
|
31477
|
+
line: 57,
|
|
31383
31478
|
column: 8
|
|
31384
31479
|
},
|
|
31385
31480
|
end: {
|
|
31386
|
-
line:
|
|
31481
|
+
line: 57,
|
|
31387
31482
|
column: 37
|
|
31388
31483
|
}
|
|
31389
31484
|
},
|
|
31390
|
-
"
|
|
31485
|
+
"18": {
|
|
31391
31486
|
start: {
|
|
31392
|
-
line:
|
|
31487
|
+
line: 58,
|
|
31393
31488
|
column: 8
|
|
31394
31489
|
},
|
|
31395
31490
|
end: {
|
|
31396
|
-
line:
|
|
31491
|
+
line: 58,
|
|
31397
31492
|
column: 46
|
|
31398
31493
|
}
|
|
31399
31494
|
},
|
|
31400
|
-
"
|
|
31495
|
+
"19": {
|
|
31401
31496
|
start: {
|
|
31402
|
-
line:
|
|
31497
|
+
line: 62,
|
|
31403
31498
|
column: 8
|
|
31404
31499
|
},
|
|
31405
31500
|
end: {
|
|
31406
|
-
line:
|
|
31501
|
+
line: 76,
|
|
31407
31502
|
column: 16
|
|
31408
31503
|
}
|
|
31409
31504
|
}
|
|
@@ -31413,248 +31508,248 @@ function cov_1b0h1259jp() {
|
|
|
31413
31508
|
name: "(anonymous_0)",
|
|
31414
31509
|
decl: {
|
|
31415
31510
|
start: {
|
|
31416
|
-
line:
|
|
31511
|
+
line: 15,
|
|
31417
31512
|
column: 24
|
|
31418
31513
|
},
|
|
31419
31514
|
end: {
|
|
31420
|
-
line:
|
|
31515
|
+
line: 15,
|
|
31421
31516
|
column: 25
|
|
31422
31517
|
}
|
|
31423
31518
|
},
|
|
31424
31519
|
loc: {
|
|
31425
31520
|
start: {
|
|
31426
|
-
line:
|
|
31521
|
+
line: 21,
|
|
31427
31522
|
column: 6
|
|
31428
31523
|
},
|
|
31429
31524
|
end: {
|
|
31430
|
-
line:
|
|
31525
|
+
line: 80,
|
|
31431
31526
|
column: 1
|
|
31432
31527
|
}
|
|
31433
31528
|
},
|
|
31434
|
-
line:
|
|
31529
|
+
line: 21
|
|
31435
31530
|
},
|
|
31436
31531
|
"1": {
|
|
31437
31532
|
name: "(anonymous_1)",
|
|
31438
31533
|
decl: {
|
|
31439
31534
|
start: {
|
|
31440
|
-
line:
|
|
31535
|
+
line: 26,
|
|
31441
31536
|
column: 30
|
|
31442
31537
|
},
|
|
31443
31538
|
end: {
|
|
31444
|
-
line:
|
|
31539
|
+
line: 26,
|
|
31445
31540
|
column: 31
|
|
31446
31541
|
}
|
|
31447
31542
|
},
|
|
31448
31543
|
loc: {
|
|
31449
31544
|
start: {
|
|
31450
|
-
line:
|
|
31545
|
+
line: 26,
|
|
31451
31546
|
column: 45
|
|
31452
31547
|
},
|
|
31453
31548
|
end: {
|
|
31454
|
-
line:
|
|
31549
|
+
line: 41,
|
|
31455
31550
|
column: 3
|
|
31456
31551
|
}
|
|
31457
31552
|
},
|
|
31458
|
-
line:
|
|
31553
|
+
line: 26
|
|
31459
31554
|
},
|
|
31460
31555
|
"2": {
|
|
31461
31556
|
name: "(anonymous_2)",
|
|
31462
31557
|
decl: {
|
|
31463
31558
|
start: {
|
|
31464
|
-
line:
|
|
31559
|
+
line: 28,
|
|
31465
31560
|
column: 28
|
|
31466
31561
|
},
|
|
31467
31562
|
end: {
|
|
31468
|
-
line:
|
|
31563
|
+
line: 28,
|
|
31469
31564
|
column: 29
|
|
31470
31565
|
}
|
|
31471
31566
|
},
|
|
31472
31567
|
loc: {
|
|
31473
31568
|
start: {
|
|
31474
|
-
line:
|
|
31569
|
+
line: 28,
|
|
31475
31570
|
column: 64
|
|
31476
31571
|
},
|
|
31477
31572
|
end: {
|
|
31478
|
-
line:
|
|
31573
|
+
line: 40,
|
|
31479
31574
|
column: 5
|
|
31480
31575
|
}
|
|
31481
31576
|
},
|
|
31482
|
-
line:
|
|
31577
|
+
line: 28
|
|
31483
31578
|
},
|
|
31484
31579
|
"3": {
|
|
31485
31580
|
name: "(anonymous_3)",
|
|
31486
31581
|
decl: {
|
|
31487
31582
|
start: {
|
|
31488
|
-
line:
|
|
31583
|
+
line: 51,
|
|
31489
31584
|
column: 32
|
|
31490
31585
|
},
|
|
31491
31586
|
end: {
|
|
31492
|
-
line:
|
|
31587
|
+
line: 51,
|
|
31493
31588
|
column: 33
|
|
31494
31589
|
}
|
|
31495
31590
|
},
|
|
31496
31591
|
loc: {
|
|
31497
31592
|
start: {
|
|
31498
|
-
line:
|
|
31593
|
+
line: 51,
|
|
31499
31594
|
column: 38
|
|
31500
31595
|
},
|
|
31501
31596
|
end: {
|
|
31502
|
-
line:
|
|
31597
|
+
line: 51,
|
|
31503
31598
|
column: 74
|
|
31504
31599
|
}
|
|
31505
31600
|
},
|
|
31506
|
-
line:
|
|
31601
|
+
line: 51
|
|
31507
31602
|
},
|
|
31508
31603
|
"4": {
|
|
31509
31604
|
name: "(anonymous_4)",
|
|
31510
31605
|
decl: {
|
|
31511
31606
|
start: {
|
|
31512
|
-
line:
|
|
31607
|
+
line: 56,
|
|
31513
31608
|
column: 16
|
|
31514
31609
|
},
|
|
31515
31610
|
end: {
|
|
31516
|
-
line:
|
|
31611
|
+
line: 56,
|
|
31517
31612
|
column: 17
|
|
31518
31613
|
}
|
|
31519
31614
|
},
|
|
31520
31615
|
loc: {
|
|
31521
31616
|
start: {
|
|
31522
|
-
line:
|
|
31617
|
+
line: 56,
|
|
31523
31618
|
column: 43
|
|
31524
31619
|
},
|
|
31525
31620
|
end: {
|
|
31526
|
-
line:
|
|
31621
|
+
line: 59,
|
|
31527
31622
|
column: 7
|
|
31528
31623
|
}
|
|
31529
31624
|
},
|
|
31530
|
-
line:
|
|
31625
|
+
line: 56
|
|
31531
31626
|
},
|
|
31532
31627
|
"5": {
|
|
31533
31628
|
name: "(anonymous_5)",
|
|
31534
31629
|
decl: {
|
|
31535
31630
|
start: {
|
|
31536
|
-
line:
|
|
31631
|
+
line: 61,
|
|
31537
31632
|
column: 17
|
|
31538
31633
|
},
|
|
31539
31634
|
end: {
|
|
31540
|
-
line:
|
|
31635
|
+
line: 61,
|
|
31541
31636
|
column: 18
|
|
31542
31637
|
}
|
|
31543
31638
|
},
|
|
31544
31639
|
loc: {
|
|
31545
31640
|
start: {
|
|
31546
|
-
line:
|
|
31641
|
+
line: 62,
|
|
31547
31642
|
column: 8
|
|
31548
31643
|
},
|
|
31549
31644
|
end: {
|
|
31550
|
-
line:
|
|
31645
|
+
line: 76,
|
|
31551
31646
|
column: 16
|
|
31552
31647
|
}
|
|
31553
31648
|
},
|
|
31554
|
-
line:
|
|
31649
|
+
line: 62
|
|
31555
31650
|
}
|
|
31556
31651
|
},
|
|
31557
31652
|
branchMap: {
|
|
31558
31653
|
"0": {
|
|
31559
31654
|
loc: {
|
|
31560
31655
|
start: {
|
|
31561
|
-
line:
|
|
31656
|
+
line: 19,
|
|
31562
31657
|
column: 2
|
|
31563
31658
|
},
|
|
31564
31659
|
end: {
|
|
31565
|
-
line:
|
|
31660
|
+
line: 19,
|
|
31566
31661
|
column: 11
|
|
31567
31662
|
}
|
|
31568
31663
|
},
|
|
31569
31664
|
type: "default-arg",
|
|
31570
31665
|
locations: [{
|
|
31571
31666
|
start: {
|
|
31572
|
-
line:
|
|
31667
|
+
line: 19,
|
|
31573
31668
|
column: 9
|
|
31574
31669
|
},
|
|
31575
31670
|
end: {
|
|
31576
|
-
line:
|
|
31671
|
+
line: 19,
|
|
31577
31672
|
column: 11
|
|
31578
31673
|
}
|
|
31579
31674
|
}],
|
|
31580
|
-
line:
|
|
31675
|
+
line: 19
|
|
31581
31676
|
},
|
|
31582
31677
|
"1": {
|
|
31583
31678
|
loc: {
|
|
31584
31679
|
start: {
|
|
31585
|
-
line:
|
|
31680
|
+
line: 20,
|
|
31586
31681
|
column: 2
|
|
31587
31682
|
},
|
|
31588
31683
|
end: {
|
|
31589
|
-
line:
|
|
31684
|
+
line: 20,
|
|
31590
31685
|
column: 12
|
|
31591
31686
|
}
|
|
31592
31687
|
},
|
|
31593
31688
|
type: "default-arg",
|
|
31594
31689
|
locations: [{
|
|
31595
31690
|
start: {
|
|
31596
|
-
line:
|
|
31691
|
+
line: 20,
|
|
31597
31692
|
column: 10
|
|
31598
31693
|
},
|
|
31599
31694
|
end: {
|
|
31600
|
-
line:
|
|
31695
|
+
line: 20,
|
|
31601
31696
|
column: 12
|
|
31602
31697
|
}
|
|
31603
31698
|
}],
|
|
31604
|
-
line:
|
|
31699
|
+
line: 20
|
|
31605
31700
|
},
|
|
31606
31701
|
"2": {
|
|
31607
31702
|
loc: {
|
|
31608
31703
|
start: {
|
|
31609
|
-
line:
|
|
31704
|
+
line: 29,
|
|
31610
31705
|
column: 6
|
|
31611
31706
|
},
|
|
31612
31707
|
end: {
|
|
31613
|
-
line:
|
|
31614
|
-
column:
|
|
31708
|
+
line: 33,
|
|
31709
|
+
column: 7
|
|
31615
31710
|
}
|
|
31616
31711
|
},
|
|
31617
|
-
type: "
|
|
31712
|
+
type: "if",
|
|
31618
31713
|
locations: [{
|
|
31619
31714
|
start: {
|
|
31620
|
-
line:
|
|
31715
|
+
line: 29,
|
|
31621
31716
|
column: 6
|
|
31622
31717
|
},
|
|
31623
31718
|
end: {
|
|
31624
|
-
line:
|
|
31625
|
-
column:
|
|
31719
|
+
line: 33,
|
|
31720
|
+
column: 7
|
|
31626
31721
|
}
|
|
31627
31722
|
}, {
|
|
31628
31723
|
start: {
|
|
31629
|
-
line:
|
|
31630
|
-
column:
|
|
31724
|
+
line: undefined,
|
|
31725
|
+
column: undefined
|
|
31631
31726
|
},
|
|
31632
31727
|
end: {
|
|
31633
|
-
line:
|
|
31634
|
-
column:
|
|
31728
|
+
line: undefined,
|
|
31729
|
+
column: undefined
|
|
31635
31730
|
}
|
|
31636
31731
|
}],
|
|
31637
|
-
line:
|
|
31732
|
+
line: 29
|
|
31638
31733
|
},
|
|
31639
31734
|
"3": {
|
|
31640
31735
|
loc: {
|
|
31641
31736
|
start: {
|
|
31642
|
-
line:
|
|
31737
|
+
line: 35,
|
|
31643
31738
|
column: 6
|
|
31644
31739
|
},
|
|
31645
31740
|
end: {
|
|
31646
|
-
line:
|
|
31741
|
+
line: 35,
|
|
31647
31742
|
column: 40
|
|
31648
31743
|
}
|
|
31649
31744
|
},
|
|
31650
31745
|
type: "if",
|
|
31651
31746
|
locations: [{
|
|
31652
31747
|
start: {
|
|
31653
|
-
line:
|
|
31748
|
+
line: 35,
|
|
31654
31749
|
column: 6
|
|
31655
31750
|
},
|
|
31656
31751
|
end: {
|
|
31657
|
-
line:
|
|
31752
|
+
line: 35,
|
|
31658
31753
|
column: 40
|
|
31659
31754
|
}
|
|
31660
31755
|
}, {
|
|
@@ -31667,27 +31762,27 @@ function cov_1b0h1259jp() {
|
|
|
31667
31762
|
column: undefined
|
|
31668
31763
|
}
|
|
31669
31764
|
}],
|
|
31670
|
-
line:
|
|
31765
|
+
line: 35
|
|
31671
31766
|
},
|
|
31672
31767
|
"4": {
|
|
31673
31768
|
loc: {
|
|
31674
31769
|
start: {
|
|
31675
|
-
line:
|
|
31770
|
+
line: 37,
|
|
31676
31771
|
column: 6
|
|
31677
31772
|
},
|
|
31678
31773
|
end: {
|
|
31679
|
-
line:
|
|
31774
|
+
line: 39,
|
|
31680
31775
|
column: 7
|
|
31681
31776
|
}
|
|
31682
31777
|
},
|
|
31683
31778
|
type: "if",
|
|
31684
31779
|
locations: [{
|
|
31685
31780
|
start: {
|
|
31686
|
-
line:
|
|
31781
|
+
line: 37,
|
|
31687
31782
|
column: 6
|
|
31688
31783
|
},
|
|
31689
31784
|
end: {
|
|
31690
|
-
line:
|
|
31785
|
+
line: 39,
|
|
31691
31786
|
column: 7
|
|
31692
31787
|
}
|
|
31693
31788
|
}, {
|
|
@@ -31700,40 +31795,40 @@ function cov_1b0h1259jp() {
|
|
|
31700
31795
|
column: undefined
|
|
31701
31796
|
}
|
|
31702
31797
|
}],
|
|
31703
|
-
line:
|
|
31798
|
+
line: 37
|
|
31704
31799
|
},
|
|
31705
31800
|
"5": {
|
|
31706
31801
|
loc: {
|
|
31707
31802
|
start: {
|
|
31708
|
-
line:
|
|
31803
|
+
line: 58,
|
|
31709
31804
|
column: 8
|
|
31710
31805
|
},
|
|
31711
31806
|
end: {
|
|
31712
|
-
line:
|
|
31807
|
+
line: 58,
|
|
31713
31808
|
column: 45
|
|
31714
31809
|
}
|
|
31715
31810
|
},
|
|
31716
31811
|
type: "binary-expr",
|
|
31717
31812
|
locations: [{
|
|
31718
31813
|
start: {
|
|
31719
|
-
line:
|
|
31814
|
+
line: 58,
|
|
31720
31815
|
column: 8
|
|
31721
31816
|
},
|
|
31722
31817
|
end: {
|
|
31723
|
-
line:
|
|
31818
|
+
line: 58,
|
|
31724
31819
|
column: 15
|
|
31725
31820
|
}
|
|
31726
31821
|
}, {
|
|
31727
31822
|
start: {
|
|
31728
|
-
line:
|
|
31823
|
+
line: 58,
|
|
31729
31824
|
column: 19
|
|
31730
31825
|
},
|
|
31731
31826
|
end: {
|
|
31732
|
-
line:
|
|
31827
|
+
line: 58,
|
|
31733
31828
|
column: 45
|
|
31734
31829
|
}
|
|
31735
31830
|
}],
|
|
31736
|
-
line:
|
|
31831
|
+
line: 58
|
|
31737
31832
|
}
|
|
31738
31833
|
},
|
|
31739
31834
|
s: {
|
|
@@ -31754,7 +31849,9 @@ function cov_1b0h1259jp() {
|
|
|
31754
31849
|
"14": 0,
|
|
31755
31850
|
"15": 0,
|
|
31756
31851
|
"16": 0,
|
|
31757
|
-
"17": 0
|
|
31852
|
+
"17": 0,
|
|
31853
|
+
"18": 0,
|
|
31854
|
+
"19": 0
|
|
31758
31855
|
},
|
|
31759
31856
|
f: {
|
|
31760
31857
|
"0": 0,
|
|
@@ -31773,7 +31870,7 @@ function cov_1b0h1259jp() {
|
|
|
31773
31870
|
"5": [0, 0]
|
|
31774
31871
|
},
|
|
31775
31872
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
31776
|
-
hash: "
|
|
31873
|
+
hash: "e4a560d46b0adec9fb4602c622b55b5e092def51"
|
|
31777
31874
|
};
|
|
31778
31875
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
31779
31876
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -31816,29 +31913,37 @@ var RolesRadioGroup = function RolesRadioGroup(_ref) {
|
|
|
31816
31913
|
activeRole = _ref4.activeRole;
|
|
31817
31914
|
cov_1b0h1259jp().f[2]++;
|
|
31818
31915
|
cov_1b0h1259jp().s[7]++;
|
|
31819
|
-
(
|
|
31820
|
-
|
|
31916
|
+
if (appName === ((_globalProps$appName = globalProps.appName) === null || _globalProps$appName === void 0 ? void 0 : _globalProps$appName.substring(5))) {
|
|
31917
|
+
cov_1b0h1259jp().b[2][0]++;
|
|
31918
|
+
cov_1b0h1259jp().s[8]++;
|
|
31919
|
+
setFieldValue("appRoles[".concat(index, "].activeRole"), currentRole);
|
|
31920
|
+
cov_1b0h1259jp().s[9]++;
|
|
31921
|
+
return;
|
|
31922
|
+
} else {
|
|
31923
|
+
cov_1b0h1259jp().b[2][1]++;
|
|
31924
|
+
}
|
|
31925
|
+
cov_1b0h1259jp().s[10]++;
|
|
31821
31926
|
if (condition(activeRole)) {
|
|
31822
31927
|
cov_1b0h1259jp().b[3][0]++;
|
|
31823
|
-
cov_1b0h1259jp().s[
|
|
31928
|
+
cov_1b0h1259jp().s[11]++;
|
|
31824
31929
|
return;
|
|
31825
31930
|
} else {
|
|
31826
31931
|
cov_1b0h1259jp().b[3][1]++;
|
|
31827
31932
|
}
|
|
31828
|
-
var matchingRole = (cov_1b0h1259jp().s[
|
|
31933
|
+
var matchingRole = (cov_1b0h1259jp().s[12]++, _findBy({
|
|
31829
31934
|
name: condition
|
|
31830
31935
|
}, globalRoles[appName]));
|
|
31831
|
-
cov_1b0h1259jp().s[
|
|
31936
|
+
cov_1b0h1259jp().s[13]++;
|
|
31832
31937
|
if (matchingRole) {
|
|
31833
31938
|
cov_1b0h1259jp().b[4][0]++;
|
|
31834
|
-
cov_1b0h1259jp().s[
|
|
31939
|
+
cov_1b0h1259jp().s[14]++;
|
|
31835
31940
|
setFieldValue("appRoles[".concat(index, "].activeRole"), matchingRole.name);
|
|
31836
31941
|
} else {
|
|
31837
31942
|
cov_1b0h1259jp().b[4][1]++;
|
|
31838
31943
|
}
|
|
31839
31944
|
});
|
|
31840
31945
|
};
|
|
31841
|
-
cov_1b0h1259jp().s[
|
|
31946
|
+
cov_1b0h1259jp().s[15]++;
|
|
31842
31947
|
return /*#__PURE__*/React.createElement(Radio, {
|
|
31843
31948
|
stacked: true,
|
|
31844
31949
|
className: "ntm-members-radio-group",
|
|
@@ -31848,11 +31953,11 @@ var RolesRadioGroup = function RolesRadioGroup(_ref) {
|
|
|
31848
31953
|
iconProps: {
|
|
31849
31954
|
onClick: function onClick() {
|
|
31850
31955
|
cov_1b0h1259jp().f[3]++;
|
|
31851
|
-
cov_1b0h1259jp().s[
|
|
31956
|
+
cov_1b0h1259jp().s[16]++;
|
|
31852
31957
|
return history.push(config.pathToRolesPage);
|
|
31853
31958
|
}
|
|
31854
31959
|
},
|
|
31855
|
-
label:
|
|
31960
|
+
label: t("helpers.requiredRoleField"),
|
|
31856
31961
|
tooltipProps: {
|
|
31857
31962
|
content: t("tooltips.clickToViewPermissions")
|
|
31858
31963
|
}
|
|
@@ -31860,16 +31965,16 @@ var RolesRadioGroup = function RolesRadioGroup(_ref) {
|
|
|
31860
31965
|
onChange: function onChange(_ref5) {
|
|
31861
31966
|
var value = _ref5.target.value;
|
|
31862
31967
|
cov_1b0h1259jp().f[4]++;
|
|
31863
|
-
cov_1b0h1259jp().s[
|
|
31968
|
+
cov_1b0h1259jp().s[17]++;
|
|
31864
31969
|
setFieldValue("role", value);
|
|
31865
|
-
cov_1b0h1259jp().s[
|
|
31970
|
+
cov_1b0h1259jp().s[18]++;
|
|
31866
31971
|
(cov_1b0h1259jp().b[5][0]++, !isEdit) && (cov_1b0h1259jp().b[5][1]++, setDefaultSelection(value));
|
|
31867
31972
|
}
|
|
31868
31973
|
}, roles.map(function (_ref6) {
|
|
31869
31974
|
var id = _ref6.id,
|
|
31870
31975
|
name = _ref6.name;
|
|
31871
31976
|
cov_1b0h1259jp().f[5]++;
|
|
31872
|
-
cov_1b0h1259jp().s[
|
|
31977
|
+
cov_1b0h1259jp().s[19]++;
|
|
31873
31978
|
return /*#__PURE__*/React.createElement("label", {
|
|
31874
31979
|
className: "ntm-members-form-radio-item__wrapper",
|
|
31875
31980
|
htmlFor: slugify(name),
|