@frontegg/types 6.162.0 → 6.164.0-alpha.0
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/Localizations/AdminPortalLocalizations/allUsers.d.ts +1 -1
- package/Localizations/AdminPortalLocalizations/users.d.ts +40 -1
- package/Localizations/LoginBoxLocalization/index.d.ts +3 -1
- package/Localizations/LoginBoxLocalization/index.js +1 -0
- package/Localizations/LoginBoxLocalization/login.d.ts +12 -0
- package/Localizations/LoginBoxLocalization/stepUp.d.ts +51 -0
- package/Localizations/LoginBoxLocalization/stepUp.js +1 -0
- package/ThemeOptions/AdminPortalThemeOptions.d.ts +77 -0
- package/ThemeOptions/LoginBoxTheme/StepUpTheme.d.ts +3 -0
- package/ThemeOptions/LoginBoxTheme/StepUpTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/index.d.ts +3 -0
- package/index.js +1 -1
- package/node/Localizations/LoginBoxLocalization/index.js +11 -0
- package/node/Localizations/LoginBoxLocalization/stepUp.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/StepUpTheme.js +5 -0
- package/node/index.js +1 -1
- package/package.json +2 -2
|
@@ -229,7 +229,7 @@ export interface AllUsersLocalization {
|
|
|
229
229
|
expirationInputPlaceholder: string;
|
|
230
230
|
/**
|
|
231
231
|
* Link expiration description
|
|
232
|
-
* EX: 'link will
|
|
232
|
+
* EX: 'link will expire in {{number}} day(s)',
|
|
233
233
|
*/
|
|
234
234
|
linkExpiration: string;
|
|
235
235
|
/**
|
|
@@ -23,6 +23,14 @@ export interface UsersLocalization {
|
|
|
23
23
|
* Me tooltip indicator for users table row if it's the same logged in user
|
|
24
24
|
*/
|
|
25
25
|
meTooltip: string;
|
|
26
|
+
/**
|
|
27
|
+
* Access time tooltip indicator text
|
|
28
|
+
*/
|
|
29
|
+
accessTimeTooltip: string;
|
|
30
|
+
/**
|
|
31
|
+
* Access time expired tooltip indicator text
|
|
32
|
+
*/
|
|
33
|
+
accessTimeExpiredTooltip: string;
|
|
26
34
|
/**
|
|
27
35
|
* Table user information column header
|
|
28
36
|
*/
|
|
@@ -63,6 +71,22 @@ export interface UsersLocalization {
|
|
|
63
71
|
* Table row action for editing user roles
|
|
64
72
|
*/
|
|
65
73
|
editRolesAction: string;
|
|
74
|
+
/**
|
|
75
|
+
* Table row action for setting user access time
|
|
76
|
+
*/
|
|
77
|
+
setAccessTimeAction: string;
|
|
78
|
+
/**
|
|
79
|
+
* Table row action for edit access time
|
|
80
|
+
*/
|
|
81
|
+
editAccessTimeAction: string;
|
|
82
|
+
/**
|
|
83
|
+
* Table row action for renew access time
|
|
84
|
+
*/
|
|
85
|
+
renewAccessTimeAction: string;
|
|
86
|
+
/**
|
|
87
|
+
* Table row action for set as permanent user
|
|
88
|
+
*/
|
|
89
|
+
setAsPermanentUserAction: string;
|
|
66
90
|
/**
|
|
67
91
|
* Table row action for resending invitation email to specific user
|
|
68
92
|
*/
|
|
@@ -276,6 +300,21 @@ export interface UsersLocalization {
|
|
|
276
300
|
bulkLabelWithoutRoles: string;
|
|
277
301
|
emailInputLabelWithoutRoles: string;
|
|
278
302
|
};
|
|
303
|
+
/**
|
|
304
|
+
* Edit user access time dialog strings
|
|
305
|
+
*/
|
|
306
|
+
users_editAccessTime: {
|
|
307
|
+
cancelButton: string;
|
|
308
|
+
backButton: string;
|
|
309
|
+
saveButton: string;
|
|
310
|
+
saveAndContinueButton: string;
|
|
311
|
+
accessPeriodEditBtn: string;
|
|
312
|
+
accessPeriodSwitchLabel: string;
|
|
313
|
+
accessPeriodSwitchDescription: string;
|
|
314
|
+
accessTimeValidationError: string;
|
|
315
|
+
accessTimeSummary: string;
|
|
316
|
+
dialogTitle: string;
|
|
317
|
+
};
|
|
279
318
|
/**
|
|
280
319
|
* Edit Invitation Link dialog strings
|
|
281
320
|
*/
|
|
@@ -306,7 +345,7 @@ export interface UsersLocalization {
|
|
|
306
345
|
expirationInputPlaceholder: string;
|
|
307
346
|
/**
|
|
308
347
|
* Link expiration description
|
|
309
|
-
* EX: 'link will
|
|
348
|
+
* EX: 'link will expire in {{number}} day(s)',
|
|
310
349
|
*/
|
|
311
350
|
linkExpiration: string;
|
|
312
351
|
/**
|
|
@@ -8,7 +8,9 @@ import { ActivateAccountLocalization } from './activateAccount';
|
|
|
8
8
|
import { RecoveryMfaLocalization } from './recoveryMfa';
|
|
9
9
|
import { ResetPhoneNumberLocalization } from './resetPhoneNumber';
|
|
10
10
|
import { ImpersonateLocalization } from './impersonate';
|
|
11
|
+
import { StepUpLocalization } from './stepUp';
|
|
11
12
|
export * from './login';
|
|
13
|
+
export * from './stepUp';
|
|
12
14
|
export * from './signup';
|
|
13
15
|
export * from './forgetPassword';
|
|
14
16
|
export * from './resetPhoneNumber';
|
|
@@ -19,4 +21,4 @@ export * from './activateAccount';
|
|
|
19
21
|
export * from './recoveryMfa';
|
|
20
22
|
export * from './SplitPageTypes';
|
|
21
23
|
export * from './impersonate';
|
|
22
|
-
export declare type LoginBoxLocalization = LoginLocalization & SignupLocalization & ForgetPasswordLocalization & ResetPhoneNumberLocalization & ResetPasswordLocalization & SocialLoginsLocalization & AcceptInvitationLocalization & ActivateAccountLocalization & ImpersonateLocalization & RecoveryMfaLocalization;
|
|
24
|
+
export declare type LoginBoxLocalization = LoginLocalization & StepUpLocalization & SignupLocalization & ForgetPasswordLocalization & ResetPhoneNumberLocalization & ResetPasswordLocalization & SocialLoginsLocalization & AcceptInvitationLocalization & ActivateAccountLocalization & ImpersonateLocalization & RecoveryMfaLocalization;
|
|
@@ -467,6 +467,14 @@ export interface LoginLocalization {
|
|
|
467
467
|
* MFA login list SMS option description
|
|
468
468
|
*/
|
|
469
469
|
loginMfaSMSDescription: string;
|
|
470
|
+
/**
|
|
471
|
+
* MFA login list Email option message
|
|
472
|
+
*/
|
|
473
|
+
loginMfaEmail: string;
|
|
474
|
+
/**
|
|
475
|
+
* MFA login list Email option description
|
|
476
|
+
*/
|
|
477
|
+
loginMfaEmailDescription: string;
|
|
470
478
|
/**
|
|
471
479
|
* MFA login list platform option message
|
|
472
480
|
*/
|
|
@@ -496,6 +504,10 @@ export interface LoginLocalization {
|
|
|
496
504
|
* MFA login with Authenticator App title
|
|
497
505
|
*/
|
|
498
506
|
loginMfaAuthenticatorAppTitle: string;
|
|
507
|
+
/**
|
|
508
|
+
* MFA login list Authenticator App sub title
|
|
509
|
+
*/
|
|
510
|
+
loginMfaListAuthenticatorAppSubtitle: string;
|
|
499
511
|
/**
|
|
500
512
|
* MFA login list with help message
|
|
501
513
|
*/
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export interface StepUpLocalization {
|
|
2
|
+
/**
|
|
3
|
+
* strings in step up page
|
|
4
|
+
*/
|
|
5
|
+
stepUp: {
|
|
6
|
+
/**
|
|
7
|
+
* no enrolled mfa title
|
|
8
|
+
*/
|
|
9
|
+
noEnrolledMfaTitle: string;
|
|
10
|
+
/**
|
|
11
|
+
* no enrolled mfa description part 1
|
|
12
|
+
*/
|
|
13
|
+
noEnrolledMfaDescriptionPart1: string;
|
|
14
|
+
/**
|
|
15
|
+
* no enrolled mfa description part 2
|
|
16
|
+
*/
|
|
17
|
+
noEnrolledMfaDescriptionPart2: string;
|
|
18
|
+
/**
|
|
19
|
+
* mfa options component title
|
|
20
|
+
*/
|
|
21
|
+
mfaTitle: string;
|
|
22
|
+
/**
|
|
23
|
+
* mfa options component sub title
|
|
24
|
+
*/
|
|
25
|
+
mfaSubtitle: string;
|
|
26
|
+
/**
|
|
27
|
+
* mfa authenticator component title
|
|
28
|
+
*/
|
|
29
|
+
stepUpMfaAuthenticatorAppTitle: string;
|
|
30
|
+
/**
|
|
31
|
+
* MFA authenticate another way button message
|
|
32
|
+
*/
|
|
33
|
+
moreWaysToAuthenticate: string;
|
|
34
|
+
/**
|
|
35
|
+
* MFA email code screen title
|
|
36
|
+
*/
|
|
37
|
+
mfaEmailCodeTitle: string;
|
|
38
|
+
/**
|
|
39
|
+
* MFA email code screen sub title
|
|
40
|
+
*/
|
|
41
|
+
mfaEmailCodeSubtitle: string;
|
|
42
|
+
/**
|
|
43
|
+
* MFA method (like authenticator, sms, ..) submit button
|
|
44
|
+
*/
|
|
45
|
+
mfaSubmitButton: string;
|
|
46
|
+
/**
|
|
47
|
+
* MFA email code screen sub title
|
|
48
|
+
*/
|
|
49
|
+
mfaSMSSubtitle: string;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -178,6 +178,78 @@ export interface TreeGraphTheme {
|
|
|
178
178
|
*/
|
|
179
179
|
linesColor?: Color;
|
|
180
180
|
}
|
|
181
|
+
export interface DatePickerTheme {
|
|
182
|
+
/**
|
|
183
|
+
* Styling applying for date picker background colors
|
|
184
|
+
*/
|
|
185
|
+
background?: {
|
|
186
|
+
/**
|
|
187
|
+
* Styling applying for date picker background color
|
|
188
|
+
*/
|
|
189
|
+
main?: Color;
|
|
190
|
+
/**
|
|
191
|
+
* Styling applying for date picker items hover background color
|
|
192
|
+
*/
|
|
193
|
+
hover?: Color;
|
|
194
|
+
/**
|
|
195
|
+
* Styling applying for date picker selected items background color
|
|
196
|
+
*/
|
|
197
|
+
accessibility?: Color;
|
|
198
|
+
/**
|
|
199
|
+
* Styling applying for date picker highlited items background color
|
|
200
|
+
*/
|
|
201
|
+
highlighted?: Color;
|
|
202
|
+
/**
|
|
203
|
+
* Styling applying for date picker holidays background color
|
|
204
|
+
*/
|
|
205
|
+
holidays?: Color;
|
|
206
|
+
/**
|
|
207
|
+
* Styling applying for date picker muted items background color
|
|
208
|
+
*/
|
|
209
|
+
muted?: Color;
|
|
210
|
+
/**
|
|
211
|
+
* Styling applying for date picker selected items background color
|
|
212
|
+
*/
|
|
213
|
+
selected?: Color;
|
|
214
|
+
/**
|
|
215
|
+
* Styling applying for date picker selected in range items background color
|
|
216
|
+
*/
|
|
217
|
+
selectedInRange?: Color;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* Styling applying for date picker text color
|
|
221
|
+
*/
|
|
222
|
+
text?: {
|
|
223
|
+
/**
|
|
224
|
+
* Styling applying for date picker default text color
|
|
225
|
+
*/
|
|
226
|
+
default?: Color;
|
|
227
|
+
/**
|
|
228
|
+
* Styling applying for date picker header text color
|
|
229
|
+
*/
|
|
230
|
+
header?: Color;
|
|
231
|
+
/**
|
|
232
|
+
* Styling applying for date picker items muted text color
|
|
233
|
+
*/
|
|
234
|
+
muted?: Color;
|
|
235
|
+
/**
|
|
236
|
+
* Styling applying for date picker selected items text color
|
|
237
|
+
*/
|
|
238
|
+
selected?: Color;
|
|
239
|
+
/**
|
|
240
|
+
* Styling applying for date picker selected in range items text color
|
|
241
|
+
*/
|
|
242
|
+
selectedInRange?: Color;
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* Styling applying for date picker border color
|
|
246
|
+
*/
|
|
247
|
+
borderColor?: Color;
|
|
248
|
+
/**
|
|
249
|
+
* Styling applying for date picker navigation icon color
|
|
250
|
+
*/
|
|
251
|
+
navigationIconColor?: Color;
|
|
252
|
+
}
|
|
181
253
|
export interface AdminPortalCommonOptions extends BaseThemeOptions {
|
|
182
254
|
/**
|
|
183
255
|
* Option to customize admin portal table
|
|
@@ -199,6 +271,10 @@ export interface AdminPortalCommonOptions extends BaseThemeOptions {
|
|
|
199
271
|
* Option to customize admin portal drop zone
|
|
200
272
|
*/
|
|
201
273
|
dropZone?: ExtendedCSSProperties;
|
|
274
|
+
/**
|
|
275
|
+
* Option to customize admin portal date picker
|
|
276
|
+
*/
|
|
277
|
+
datePickerTheme?: DatePickerTheme;
|
|
202
278
|
}
|
|
203
279
|
export interface AdminPortalThemeOptions extends AdminPortalCommonOptions {
|
|
204
280
|
themeName?: BasicThemeName;
|
|
@@ -221,4 +297,5 @@ export interface AdminPortalTheme extends BaseTheme {
|
|
|
221
297
|
severityChipTheme: SeverityChipTheme;
|
|
222
298
|
treeGraphTheme: TreeGraphTheme;
|
|
223
299
|
dropZone: ExtendedCSSProperties;
|
|
300
|
+
datePickerTheme: DatePickerTheme;
|
|
224
301
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -9,6 +9,7 @@ import { LoginPageTheme, LoginPageThemeOptions } from './LoginPageTheme';
|
|
|
9
9
|
import { LoaderTheme, LoaderThemeOptions } from './LoaderTheme';
|
|
10
10
|
import { SignupPageTheme } from './SignupPageTheme';
|
|
11
11
|
import { ResetPhoneNumberPageTheme, ResetPhoneNumberPageThemeOptions } from './ResetPhoneNumberTheme';
|
|
12
|
+
import { StepUpTheme, StepUpThemeOptions } from './StepUpTheme';
|
|
12
13
|
export * from './LoginBoxCommon';
|
|
13
14
|
export * from './LoginPageTheme';
|
|
14
15
|
export * from './SignupPageTheme';
|
|
@@ -37,6 +38,7 @@ export interface LoginBoxThemeOptions extends LoginBoxCommonThemeOptions {
|
|
|
37
38
|
resetPhoneNumber?: ResetPhoneNumberPageThemeOptions;
|
|
38
39
|
resetPassword?: ResetPasswordPageThemeOptions;
|
|
39
40
|
login?: LoginPageThemeOptions;
|
|
41
|
+
stepUp?: StepUpThemeOptions;
|
|
40
42
|
signup?: SignupPageThemeOptions;
|
|
41
43
|
loader?: LoaderThemeOptions;
|
|
42
44
|
}
|
|
@@ -48,6 +50,7 @@ export interface LoginBoxTheme extends LoginBoxCommonTheme {
|
|
|
48
50
|
resetPhoneNumber: ResetPhoneNumberPageTheme;
|
|
49
51
|
resetPassword: ResetPasswordPageTheme;
|
|
50
52
|
login: LoginPageTheme;
|
|
53
|
+
stepUp: StepUpTheme;
|
|
51
54
|
signup: SignupPageTheme;
|
|
52
55
|
socialLogins: SocialLoginsTheme;
|
|
53
56
|
loader: LoaderTheme;
|
package/index.js
CHANGED
|
@@ -14,6 +14,17 @@ Object.keys(_login).forEach(function (key) {
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
|
+
var _stepUp = require("./stepUp");
|
|
18
|
+
Object.keys(_stepUp).forEach(function (key) {
|
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
|
20
|
+
if (key in exports && exports[key] === _stepUp[key]) return;
|
|
21
|
+
Object.defineProperty(exports, key, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return _stepUp[key];
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
17
28
|
var _signup = require("./signup");
|
|
18
29
|
Object.keys(_signup).forEach(function (key) {
|
|
19
30
|
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.
|
|
3
|
+
"version": "6.164.0-alpha.0",
|
|
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.
|
|
9
|
+
"@frontegg/redux-store": "6.164.0-alpha.0",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|