@frontegg/js 6.75.0-alpha.7 → 6.75.0-alpha.8
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/index.js +1 -1
- package/node/index.js +1 -1
- package/node/version.js +1 -1
- package/package.json +2 -2
- package/umd/frontegg.development.js +101 -89
- package/umd/frontegg.production.min.js +1 -1
- package/version.js +1 -1
package/index.js
CHANGED
package/node/index.js
CHANGED
package/node/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/js",
|
|
3
|
-
"version": "6.75.0-alpha.
|
|
3
|
+
"version": "6.75.0-alpha.8",
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Frontegg LTD",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/runtime": "^7.18.6",
|
|
9
|
-
"@frontegg/types": "6.75.0-alpha.
|
|
9
|
+
"@frontegg/types": "6.75.0-alpha.8"
|
|
10
10
|
},
|
|
11
11
|
"browserslist": {
|
|
12
12
|
"production": [
|
|
@@ -1177,7 +1177,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1177
1177
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1178
1178
|
/* harmony export */ });
|
|
1179
1179
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
1180
|
-
"cdnVersion": "6.75.0-alpha.
|
|
1180
|
+
"cdnVersion": "6.75.0-alpha.8"
|
|
1181
1181
|
});
|
|
1182
1182
|
|
|
1183
1183
|
/***/ }),
|
|
@@ -14011,96 +14011,108 @@ const dummyIps = [{
|
|
|
14011
14011
|
strategy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_2__.RestrictionType.BLOCK,
|
|
14012
14012
|
description: 'IP 4'
|
|
14013
14013
|
}];
|
|
14014
|
+
const generateGroupUsers = count => {
|
|
14015
|
+
const users = [];
|
|
14016
|
+
Array.from({
|
|
14017
|
+
length: count
|
|
14018
|
+
}).forEach((_, i) => {
|
|
14019
|
+
users.push((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, userTeamDemo, {
|
|
14020
|
+
id: `id${i}`,
|
|
14021
|
+
profilePictureUrl: null,
|
|
14022
|
+
createdAt: new Date()
|
|
14023
|
+
}));
|
|
14024
|
+
});
|
|
14025
|
+
return users;
|
|
14026
|
+
};
|
|
14027
|
+
const generateRoleByName = roleName => {
|
|
14028
|
+
return {
|
|
14029
|
+
id: 'b43b2c4b-e056-4eec-8c55-d200a475bbc0' + roleName,
|
|
14030
|
+
key: roleName,
|
|
14031
|
+
name: roleName,
|
|
14032
|
+
description: null,
|
|
14033
|
+
isDefault: true,
|
|
14034
|
+
createdAt: new Date(),
|
|
14035
|
+
updatedAt: new Date(),
|
|
14036
|
+
permissions: [],
|
|
14037
|
+
tenantId: 'tenantId',
|
|
14038
|
+
vendorId: 'vendorId'
|
|
14039
|
+
};
|
|
14040
|
+
};
|
|
14014
14041
|
const allGroupsDummy = [{
|
|
14015
|
-
id: '
|
|
14016
|
-
name: '
|
|
14017
|
-
color: '#
|
|
14018
|
-
description: '
|
|
14019
|
-
users:
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
email: 'kiyec12603@gmail.com',
|
|
14023
|
-
profilePictureUrl: null,
|
|
14024
|
-
createdAt: new Date()
|
|
14025
|
-
}],
|
|
14026
|
-
roles: [{
|
|
14027
|
-
id: '916577c9-c5cc-4312-9725-450be7ede15f',
|
|
14028
|
-
name: 'Admin'
|
|
14029
|
-
}, {
|
|
14030
|
-
id: '916577c9-c5cc-4312-9725-43be7ede15f',
|
|
14031
|
-
name: 'Read'
|
|
14032
|
-
}, {
|
|
14033
|
-
id: '916577c9-c5cc-4312-9725-43be723e15f',
|
|
14034
|
-
name: 'View'
|
|
14035
|
-
}, {
|
|
14036
|
-
id: '916577c9-c5cc-4312-9725-43be7ede15f',
|
|
14037
|
-
name: 'Readonly'
|
|
14038
|
-
}]
|
|
14042
|
+
id: 'id1',
|
|
14043
|
+
name: 'Designers',
|
|
14044
|
+
color: '#E1F5E2',
|
|
14045
|
+
description: 'The whole design team',
|
|
14046
|
+
users: generateGroupUsers(6),
|
|
14047
|
+
roles: [generateRoleByName('Editor')],
|
|
14048
|
+
metadata: '{"lastTermsCheck":"2022-08-16T10:31:11.270Z"}'
|
|
14039
14049
|
}, {
|
|
14040
14050
|
id: 'id2',
|
|
14041
|
-
name: '
|
|
14042
|
-
color: '#
|
|
14043
|
-
description: '
|
|
14044
|
-
users:
|
|
14045
|
-
|
|
14046
|
-
|
|
14047
|
-
|
|
14048
|
-
|
|
14049
|
-
|
|
14050
|
-
|
|
14051
|
-
|
|
14052
|
-
|
|
14053
|
-
|
|
14054
|
-
|
|
14055
|
-
|
|
14056
|
-
|
|
14057
|
-
|
|
14058
|
-
|
|
14059
|
-
|
|
14060
|
-
|
|
14061
|
-
|
|
14062
|
-
|
|
14063
|
-
|
|
14064
|
-
|
|
14065
|
-
|
|
14066
|
-
|
|
14067
|
-
|
|
14068
|
-
|
|
14069
|
-
|
|
14070
|
-
|
|
14071
|
-
|
|
14072
|
-
|
|
14073
|
-
|
|
14074
|
-
|
|
14075
|
-
|
|
14076
|
-
|
|
14077
|
-
|
|
14078
|
-
|
|
14079
|
-
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14083
|
-
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
14087
|
-
|
|
14088
|
-
|
|
14089
|
-
|
|
14090
|
-
|
|
14091
|
-
|
|
14092
|
-
|
|
14093
|
-
|
|
14094
|
-
|
|
14095
|
-
|
|
14096
|
-
|
|
14097
|
-
|
|
14098
|
-
|
|
14099
|
-
roles: [
|
|
14100
|
-
|
|
14101
|
-
|
|
14102
|
-
|
|
14103
|
-
|
|
14051
|
+
name: 'Developers',
|
|
14052
|
+
color: '#03A9F4',
|
|
14053
|
+
description: 'All frontend and backend developers',
|
|
14054
|
+
users: generateGroupUsers(44),
|
|
14055
|
+
roles: [generateRoleByName('Editor')]
|
|
14056
|
+
}, {
|
|
14057
|
+
id: 'id3',
|
|
14058
|
+
name: 'Product',
|
|
14059
|
+
color: '#E1583E',
|
|
14060
|
+
description: 'PMs and team leads',
|
|
14061
|
+
users: generateGroupUsers(8),
|
|
14062
|
+
roles: [generateRoleByName('Viewer')]
|
|
14063
|
+
}, {
|
|
14064
|
+
id: 'id4',
|
|
14065
|
+
name: 'Management',
|
|
14066
|
+
color: '#9AE0FF',
|
|
14067
|
+
description: 'Executives',
|
|
14068
|
+
users: generateGroupUsers(5),
|
|
14069
|
+
roles: [generateRoleByName('Admin'), generateRoleByName('Owner')]
|
|
14070
|
+
}, {
|
|
14071
|
+
id: 'id5',
|
|
14072
|
+
name: 'Sales',
|
|
14073
|
+
color: '#ED8E7C',
|
|
14074
|
+
users: generateGroupUsers(21),
|
|
14075
|
+
description: 'BDR, AE, and inside sales',
|
|
14076
|
+
roles: [generateRoleByName('Viewer')]
|
|
14077
|
+
}, {
|
|
14078
|
+
id: 'id6',
|
|
14079
|
+
name: 'Support',
|
|
14080
|
+
color: '#A79D7B',
|
|
14081
|
+
users: generateGroupUsers(23),
|
|
14082
|
+
description: 'Dev success and customer success',
|
|
14083
|
+
roles: [generateRoleByName('Admin')]
|
|
14084
|
+
}, {
|
|
14085
|
+
id: 'id7',
|
|
14086
|
+
name: 'Marketing',
|
|
14087
|
+
color: '#2CA744',
|
|
14088
|
+
users: generateGroupUsers(10),
|
|
14089
|
+
description: 'The marketing department',
|
|
14090
|
+
roles: [generateRoleByName('Viewer')]
|
|
14091
|
+
}, {
|
|
14092
|
+
id: 'id8',
|
|
14093
|
+
name: 'HR',
|
|
14094
|
+
color: '#EAE1C2',
|
|
14095
|
+
users: generateGroupUsers(4),
|
|
14096
|
+
description: 'Human resources',
|
|
14097
|
+
roles: [generateRoleByName('Viewer')]
|
|
14098
|
+
}, {
|
|
14099
|
+
id: 'id9',
|
|
14100
|
+
name: 'Finance',
|
|
14101
|
+
color: '#5587C0',
|
|
14102
|
+
users: generateGroupUsers(3),
|
|
14103
|
+
roles: [generateRoleByName('Viewer')]
|
|
14104
|
+
}, {
|
|
14105
|
+
id: 'id10',
|
|
14106
|
+
name: 'Operations',
|
|
14107
|
+
color: '#B1CAE7',
|
|
14108
|
+
users: generateGroupUsers(8),
|
|
14109
|
+
roles: [generateRoleByName('Editor')]
|
|
14110
|
+
}, {
|
|
14111
|
+
id: 'id11',
|
|
14112
|
+
name: 'Legal',
|
|
14113
|
+
color: '#2CA744',
|
|
14114
|
+
users: generateGroupUsers(4),
|
|
14115
|
+
roles: [generateRoleByName('Viewer')]
|
|
14104
14116
|
}];
|
|
14105
14117
|
|
|
14106
14118
|
/***/ }),
|
|
@@ -18657,7 +18669,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18657
18669
|
/* harmony export */ });
|
|
18658
18670
|
/* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
|
|
18659
18671
|
/* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
|
|
18660
|
-
/** @license Frontegg v6.75.0-alpha.
|
|
18672
|
+
/** @license Frontegg v6.75.0-alpha.8
|
|
18661
18673
|
*
|
|
18662
18674
|
* This source code is licensed under the MIT license found in the
|
|
18663
18675
|
* LICENSE file in the root directory of this source tree.
|