@frontegg/types 6.75.0-alpha.1 → 6.75.0-alpha.3
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/FronteggAppInstance.d.ts +0 -2
- package/Localizations/AdminPortalLocalizations/groups.d.ts +312 -0
- package/Localizations/AdminPortalLocalizations/groups.js +1 -0
- package/Localizations/AdminPortalLocalizations/index.d.ts +3 -1
- package/Localizations/AdminPortalLocalizations/index.js +1 -0
- package/Localizations/AdminPortalLocalizations/navigation.d.ts +4 -0
- package/Localizations/LoginBoxLocalization/login.d.ts +4 -0
- package/index.js +1 -1
- package/node/Localizations/AdminPortalLocalizations/groups.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/index.js +11 -0
- package/node/index.js +1 -1
- package/package.json +2 -2
package/FronteggAppInstance.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EnhancedStore } from '@frontegg/redux-store';
|
|
2
|
-
import { IFeatureFlagsAttributes } from '@frontegg/rest-api';
|
|
3
2
|
import { FronteggAppOptions, FronteggCheckoutDialogOptions, LocalizationsOverrides } from './index';
|
|
4
3
|
export interface FronteggAppInstance {
|
|
5
4
|
name: string;
|
|
@@ -7,7 +6,6 @@ export interface FronteggAppInstance {
|
|
|
7
6
|
loading: boolean;
|
|
8
7
|
customElementName: string;
|
|
9
8
|
store: EnhancedStore;
|
|
10
|
-
flags: IFeatureFlagsAttributes;
|
|
11
9
|
adminPortalEl?: HTMLElement;
|
|
12
10
|
loginBoxEl?: HTMLElement;
|
|
13
11
|
checkoutDialogEl?: HTMLElement;
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
export interface UsersGroupsLocalization {
|
|
2
|
+
/**
|
|
3
|
+
* groups page strings
|
|
4
|
+
*/
|
|
5
|
+
groups: {
|
|
6
|
+
/**
|
|
7
|
+
* groups page title
|
|
8
|
+
*/
|
|
9
|
+
pageTitle: string;
|
|
10
|
+
/**
|
|
11
|
+
* groups page add new group button
|
|
12
|
+
* @default 'Add new group'
|
|
13
|
+
*/
|
|
14
|
+
addNewGroup: string;
|
|
15
|
+
/**
|
|
16
|
+
* groups page search by group name
|
|
17
|
+
* @default 'Search by group name'
|
|
18
|
+
* */
|
|
19
|
+
search: string;
|
|
20
|
+
/**
|
|
21
|
+
* groups page no groups message
|
|
22
|
+
* @default 'You havent groups yet'
|
|
23
|
+
*/
|
|
24
|
+
noGroupsMessage: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Create Group dialog localization
|
|
28
|
+
*/
|
|
29
|
+
usersGroups_addOrEditGroupDialog: {
|
|
30
|
+
/**
|
|
31
|
+
* CreateGroup dialog title create
|
|
32
|
+
* @default 'Create new group'
|
|
33
|
+
*/
|
|
34
|
+
titleCreate: string;
|
|
35
|
+
/**
|
|
36
|
+
* CreateGroup dialog title edit
|
|
37
|
+
* @default 'Edit group'
|
|
38
|
+
*/
|
|
39
|
+
titleEdit: string;
|
|
40
|
+
/**
|
|
41
|
+
* CreateGroup dialog group name
|
|
42
|
+
* @default 'Group name'
|
|
43
|
+
*/
|
|
44
|
+
groupName: string;
|
|
45
|
+
/**
|
|
46
|
+
* CreateGroup dialog group description
|
|
47
|
+
* @default 'Description (optional)'
|
|
48
|
+
*/
|
|
49
|
+
groupDescription: string;
|
|
50
|
+
/**
|
|
51
|
+
* CreateGroup dialog group color
|
|
52
|
+
* @default 'Group color'
|
|
53
|
+
*/
|
|
54
|
+
groupColor: string;
|
|
55
|
+
/**
|
|
56
|
+
* CreateGroup dialog assign roles
|
|
57
|
+
* @default 'Assign roles (optional)'
|
|
58
|
+
*/
|
|
59
|
+
assignRoles: string;
|
|
60
|
+
/**
|
|
61
|
+
* CreateGroup dialog group details
|
|
62
|
+
* @default 'Group details'
|
|
63
|
+
*/
|
|
64
|
+
groupDetails: string;
|
|
65
|
+
/**
|
|
66
|
+
* CreateGroup dialog add members
|
|
67
|
+
* @default 'Add members'
|
|
68
|
+
*/
|
|
69
|
+
addMembers: string;
|
|
70
|
+
/**
|
|
71
|
+
* CreateGroup dialog next button
|
|
72
|
+
* @default 'Next'
|
|
73
|
+
*/
|
|
74
|
+
next: string;
|
|
75
|
+
/**
|
|
76
|
+
* CreateGroup dialog cancel button
|
|
77
|
+
* @default 'Cancel'
|
|
78
|
+
*/
|
|
79
|
+
cancel: string;
|
|
80
|
+
/**
|
|
81
|
+
* CreateGroup dialog search by email or name
|
|
82
|
+
* @default 'Search by email or name'
|
|
83
|
+
*/
|
|
84
|
+
searchByEmailOrName: string;
|
|
85
|
+
/**
|
|
86
|
+
* CreateGroup dialog no users found
|
|
87
|
+
* @default 'No users found'
|
|
88
|
+
*/
|
|
89
|
+
noUsersFound: string;
|
|
90
|
+
/**
|
|
91
|
+
* Group Details Users table roles
|
|
92
|
+
* @default 'Roles'
|
|
93
|
+
*/
|
|
94
|
+
selectColor: string;
|
|
95
|
+
/**
|
|
96
|
+
* CreateGroup dialog create button
|
|
97
|
+
* @default 'Create'
|
|
98
|
+
*/
|
|
99
|
+
create: string;
|
|
100
|
+
/**
|
|
101
|
+
* CreateGroup dialog save button
|
|
102
|
+
* @default 'Save'
|
|
103
|
+
*/
|
|
104
|
+
save: string;
|
|
105
|
+
/**
|
|
106
|
+
* CreateGroup dialog assign roles tooltip
|
|
107
|
+
* @default 'Group members will get these roles in addition to the roles they already have.'
|
|
108
|
+
*/
|
|
109
|
+
assignRolesTooltip: string;
|
|
110
|
+
/**
|
|
111
|
+
* CreateGroup dialog group name already exists error
|
|
112
|
+
* @default 'Group name already taken. Please choose another.'
|
|
113
|
+
*/
|
|
114
|
+
groupNameAlreadyExists: string;
|
|
115
|
+
/**
|
|
116
|
+
* CreateGroup dialog group name required error
|
|
117
|
+
* @default 'Group name is required'
|
|
118
|
+
*/
|
|
119
|
+
groupNameRequired: string;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Group Details Users table localization
|
|
123
|
+
*/
|
|
124
|
+
userGroups_usersTable: {
|
|
125
|
+
/**
|
|
126
|
+
* Group Details Users table members
|
|
127
|
+
* @default 'Members'
|
|
128
|
+
* */
|
|
129
|
+
members: string;
|
|
130
|
+
/**
|
|
131
|
+
* Group Details Users table joined group
|
|
132
|
+
* @default 'Joined Group'
|
|
133
|
+
* */
|
|
134
|
+
joinedGroup: string;
|
|
135
|
+
/**
|
|
136
|
+
* Group Details Users table activated
|
|
137
|
+
* @default 'Activated'
|
|
138
|
+
* */
|
|
139
|
+
activated: string;
|
|
140
|
+
/**
|
|
141
|
+
* Group Details Users table add user
|
|
142
|
+
* @default 'Add user'
|
|
143
|
+
* */
|
|
144
|
+
addUser: string;
|
|
145
|
+
/**
|
|
146
|
+
* Group Details Users table search
|
|
147
|
+
* @default 'Search for any text...'
|
|
148
|
+
*/
|
|
149
|
+
search: string;
|
|
150
|
+
/**
|
|
151
|
+
* Group Details Users table search by email or name
|
|
152
|
+
* @default 'Search by email or name'
|
|
153
|
+
*/
|
|
154
|
+
searchByEmailOrName: string;
|
|
155
|
+
/**
|
|
156
|
+
* Group Details Users table no members message
|
|
157
|
+
* @default 'No members are in the group'
|
|
158
|
+
*/
|
|
159
|
+
noMembersMessage: string;
|
|
160
|
+
/**
|
|
161
|
+
* Group Details Users table no members description
|
|
162
|
+
*
|
|
163
|
+
* @default 'You can add members to the group by clicking the "Add member" button.'
|
|
164
|
+
*/
|
|
165
|
+
noMembersDescription: string;
|
|
166
|
+
/**
|
|
167
|
+
* Group Details Users table no results title
|
|
168
|
+
*
|
|
169
|
+
* @default 'No results found'
|
|
170
|
+
*/
|
|
171
|
+
noResultsMessage: string;
|
|
172
|
+
/**
|
|
173
|
+
* Group Details Users table searching placeholder
|
|
174
|
+
* @default 'Searching...'
|
|
175
|
+
*/
|
|
176
|
+
searchingPlaceholder: string;
|
|
177
|
+
/**
|
|
178
|
+
* Group Details Users table pending status
|
|
179
|
+
* @default 'Pending...'
|
|
180
|
+
*/
|
|
181
|
+
pendingStatus: string;
|
|
182
|
+
/**
|
|
183
|
+
* Group Details Users table remove member
|
|
184
|
+
* @default 'Remove member'
|
|
185
|
+
*/
|
|
186
|
+
removeMemberAction: string;
|
|
187
|
+
/**
|
|
188
|
+
* Group Details Users table leave group
|
|
189
|
+
* @default 'Leave group'
|
|
190
|
+
*/
|
|
191
|
+
leaveGroupAction: string;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Add Member dialog localization
|
|
195
|
+
*/
|
|
196
|
+
userGroups_addMemberDialog: {
|
|
197
|
+
/**
|
|
198
|
+
* Add Member dialog title
|
|
199
|
+
* @default 'Add member'
|
|
200
|
+
* */
|
|
201
|
+
title: string;
|
|
202
|
+
/**
|
|
203
|
+
* Add Member dialog add button
|
|
204
|
+
* @default 'Add'
|
|
205
|
+
* */
|
|
206
|
+
add: string;
|
|
207
|
+
/**
|
|
208
|
+
* Add Member dialog cancel button
|
|
209
|
+
* @default 'Cancel'
|
|
210
|
+
* */
|
|
211
|
+
cancel: string;
|
|
212
|
+
/**
|
|
213
|
+
* Add Member dialog search by email or name
|
|
214
|
+
* @default 'Search by email or name'
|
|
215
|
+
* */
|
|
216
|
+
searchByEmailOrName: string;
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* Group Card localization
|
|
220
|
+
* */
|
|
221
|
+
usersGroups_card: {
|
|
222
|
+
/**
|
|
223
|
+
* Group Card roles
|
|
224
|
+
* @default 'Roles'
|
|
225
|
+
* */
|
|
226
|
+
roles: string;
|
|
227
|
+
/**
|
|
228
|
+
* Group Card secret
|
|
229
|
+
*/
|
|
230
|
+
secret: string;
|
|
231
|
+
/**
|
|
232
|
+
* Group Card edit group
|
|
233
|
+
* @default 'Edit group'
|
|
234
|
+
* */
|
|
235
|
+
editGroup: string;
|
|
236
|
+
/**
|
|
237
|
+
* Group Card delete group
|
|
238
|
+
* @default 'Delete group'
|
|
239
|
+
* */
|
|
240
|
+
deleteGroup: string;
|
|
241
|
+
/**
|
|
242
|
+
* Group Card no Members Message
|
|
243
|
+
* @default 'No members are in the group'
|
|
244
|
+
*/
|
|
245
|
+
noMembersMessage: string;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* Group Details localization
|
|
249
|
+
* */
|
|
250
|
+
usersGroups_details: {
|
|
251
|
+
/**
|
|
252
|
+
* Group Details Header edit action
|
|
253
|
+
* @default 'Edit Group'
|
|
254
|
+
* */
|
|
255
|
+
edit: string;
|
|
256
|
+
/**
|
|
257
|
+
* Group Details Header delete action
|
|
258
|
+
* @default 'Delete Group'
|
|
259
|
+
* */
|
|
260
|
+
delete: string;
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* Group details deleteMemberDialog
|
|
264
|
+
* */
|
|
265
|
+
usersGroups_deleteMemberDialog: {
|
|
266
|
+
/**
|
|
267
|
+
* Group details deleteMemberDialog title
|
|
268
|
+
* @default 'Remove member'
|
|
269
|
+
* */
|
|
270
|
+
title: string;
|
|
271
|
+
/**
|
|
272
|
+
* Group details deleteMemberDialog description
|
|
273
|
+
* @default 'Are you sure you want to remove this member from the group?'
|
|
274
|
+
* */
|
|
275
|
+
description: string;
|
|
276
|
+
/**
|
|
277
|
+
* Group details deleteMemberDialog cancel button
|
|
278
|
+
* @default 'Cancel'
|
|
279
|
+
* */
|
|
280
|
+
cancel: string;
|
|
281
|
+
/**
|
|
282
|
+
* Group details deleteMemberDialog remove button
|
|
283
|
+
* @default 'Remove'
|
|
284
|
+
* */
|
|
285
|
+
remove: string;
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* Group details deleteGroupDialog
|
|
289
|
+
* */
|
|
290
|
+
usersGroups_deleteGroupDialog: {
|
|
291
|
+
/**
|
|
292
|
+
* Group details deleteGroupDialog title
|
|
293
|
+
* @default 'Delete group'
|
|
294
|
+
* */
|
|
295
|
+
title: string;
|
|
296
|
+
/**
|
|
297
|
+
* Group details deleteGroupDialog cancel button
|
|
298
|
+
* @default 'Cancel'
|
|
299
|
+
* */
|
|
300
|
+
cancel: string;
|
|
301
|
+
/**
|
|
302
|
+
* Group details deleteGroupDialog delete button
|
|
303
|
+
* @default 'Delete'
|
|
304
|
+
* */
|
|
305
|
+
delete: string;
|
|
306
|
+
/**
|
|
307
|
+
* Group details deleteGroupDialog description
|
|
308
|
+
* @default 'Are you sure you want to delete the group {{name}}? Members may lose roles granted by this group.',
|
|
309
|
+
*/
|
|
310
|
+
description: string;
|
|
311
|
+
};
|
|
312
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -13,6 +13,7 @@ import { WebhooksLocalization } from './webhooks';
|
|
|
13
13
|
import { SubscriptionsLocalization } from './subscriptions';
|
|
14
14
|
import { AllUsersLocalization } from './allUsers';
|
|
15
15
|
import { ProvisioningLocalization } from './provisioning';
|
|
16
|
+
import { UsersGroupsLocalization } from './groups';
|
|
16
17
|
export * from './navigation';
|
|
17
18
|
export * from './profile';
|
|
18
19
|
export * from './personalTokens';
|
|
@@ -24,8 +25,9 @@ export * from './security';
|
|
|
24
25
|
export * from './roles';
|
|
25
26
|
export * from './sso';
|
|
26
27
|
export * from './users';
|
|
28
|
+
export * from './groups';
|
|
27
29
|
export * from './webhooks';
|
|
28
30
|
export * from './subscriptions';
|
|
29
31
|
export * from './allUsers';
|
|
30
32
|
export * from './provisioning';
|
|
31
|
-
export declare type AdminPortalLocalization = NavigationLocalization & ProfileLocalization & PersonalTokensLocalization & AuditLogsLocalization & ApiTokensLocalization & AccountSettingsLocalization & PrivacyLocalization & SecurityLocalization & RolesLocalization & SsoLocalization & UsersLocalization & WebhooksLocalization & SubscriptionsLocalization & AllUsersLocalization & ProvisioningLocalization;
|
|
33
|
+
export declare type AdminPortalLocalization = NavigationLocalization & ProfileLocalization & PersonalTokensLocalization & AuditLogsLocalization & ApiTokensLocalization & AccountSettingsLocalization & PrivacyLocalization & SecurityLocalization & RolesLocalization & SsoLocalization & UsersLocalization & UsersGroupsLocalization & WebhooksLocalization & SubscriptionsLocalization & AllUsersLocalization & ProvisioningLocalization;
|
package/index.js
CHANGED
|
@@ -124,6 +124,17 @@ Object.keys(_users).forEach(function (key) {
|
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
});
|
|
127
|
+
var _groups = require("./groups");
|
|
128
|
+
Object.keys(_groups).forEach(function (key) {
|
|
129
|
+
if (key === "default" || key === "__esModule") return;
|
|
130
|
+
if (key in exports && exports[key] === _groups[key]) return;
|
|
131
|
+
Object.defineProperty(exports, key, {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function () {
|
|
134
|
+
return _groups[key];
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
});
|
|
127
138
|
var _webhooks = require("./webhooks");
|
|
128
139
|
Object.keys(_webhooks).forEach(function (key) {
|
|
129
140
|
if (key === "default" || key === "__esModule") return;
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/types",
|
|
3
|
-
"version": "6.75.0-alpha.
|
|
3
|
+
"version": "6.75.0-alpha.3",
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"author": "Frontegg LTD",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/runtime": "^7.18.6",
|
|
9
|
-
"@frontegg/redux-store": "6.75.0-alpha.
|
|
9
|
+
"@frontegg/redux-store": "6.75.0-alpha.3",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|