@frontegg/types 7.0.0-alpha.0 → 7.0.0-alpha.2
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/FronteggMetadata.d.ts +9 -0
- package/FronteggStoreOptions.d.ts +10 -0
- package/Localizations/AdminPortalLocalizations/allUsers.d.ts +1 -1
- package/Localizations/AdminPortalLocalizations/apiTokens.d.ts +4 -0
- package/Localizations/AdminPortalLocalizations/appDialog.d.ts +11 -0
- package/Localizations/AdminPortalLocalizations/appDialog.js +1 -0
- package/Localizations/AdminPortalLocalizations/index.d.ts +3 -1
- package/Localizations/AdminPortalLocalizations/index.js +1 -0
- package/Localizations/AdminPortalLocalizations/privacy.d.ts +32 -0
- package/Localizations/AdminPortalLocalizations/profile.d.ts +5 -0
- package/Localizations/AdminPortalLocalizations/roles.d.ts +35 -0
- package/Localizations/AdminPortalLocalizations/security.d.ts +1 -0
- package/Localizations/AdminPortalLocalizations/users.d.ts +53 -1
- package/Localizations/LoginBoxLocalization/index.d.ts +5 -1
- package/Localizations/LoginBoxLocalization/index.js +2 -0
- package/Localizations/LoginBoxLocalization/login.d.ts +15 -0
- package/Localizations/LoginBoxLocalization/openApp.d.ts +23 -0
- package/Localizations/LoginBoxLocalization/openApp.js +1 -0
- package/Localizations/LoginBoxLocalization/stepUp.d.ts +51 -0
- package/Localizations/LoginBoxLocalization/stepUp.js +1 -0
- package/Metadata/index.d.ts +3 -0
- package/Metadata/index.js +8 -1
- package/PrivateOptions.d.ts +5 -0
- package/ThemeOptions/AdminPortalThemeOptions.d.ts +77 -0
- package/ThemeOptions/LoginBoxTheme/OpenAppPageTheme.d.ts +39 -0
- package/ThemeOptions/LoginBoxTheme/OpenAppPageTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/SignupPageTheme.d.ts +30 -0
- package/ThemeOptions/LoginBoxTheme/SignupPageTheme.js +8 -1
- package/ThemeOptions/LoginBoxTheme/StepUpTheme.d.ts +3 -0
- package/ThemeOptions/LoginBoxTheme/StepUpTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/index.d.ts +7 -0
- package/ThemeOptions/LoginBoxTheme/index.js +1 -0
- package/index.d.ts +2 -1
- package/index.js +1 -1
- package/node/Localizations/AdminPortalLocalizations/appDialog.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/index.js +11 -0
- package/node/Localizations/LoginBoxLocalization/index.js +22 -0
- package/node/Localizations/LoginBoxLocalization/openApp.js +5 -0
- package/node/Localizations/LoginBoxLocalization/stepUp.js +5 -0
- package/node/Metadata/index.js +8 -1
- package/node/ThemeOptions/LoginBoxTheme/OpenAppPageTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/SignupPageTheme.js +10 -1
- package/node/ThemeOptions/LoginBoxTheme/StepUpTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/index.js +11 -0
- package/node/index.js +1 -1
- package/package.json +2 -2
package/FronteggMetadata.d.ts
CHANGED
|
@@ -56,11 +56,20 @@ declare type ThemeMetadata = {
|
|
|
56
56
|
palette?: PaletteOptions;
|
|
57
57
|
breakpoints?: BreakpointsOptions;
|
|
58
58
|
};
|
|
59
|
+
export interface GTMConfiguration {
|
|
60
|
+
id: string;
|
|
61
|
+
enabled: boolean;
|
|
62
|
+
createdAt: Date;
|
|
63
|
+
}
|
|
64
|
+
export interface IntegrationsMetadata {
|
|
65
|
+
gtm?: GTMConfiguration[];
|
|
66
|
+
}
|
|
59
67
|
export declare type FronteggMetadata = {
|
|
60
68
|
theme?: ThemeMetadata;
|
|
61
69
|
themeV2?: FronteggThemeOptions;
|
|
62
70
|
navigation?: NavigationMetadata;
|
|
63
71
|
localizations?: LocalizationsOverrides;
|
|
72
|
+
integrations?: IntegrationsMetadata;
|
|
64
73
|
};
|
|
65
74
|
export declare type SubscriptionRolePermissions = 'fe.subscriptions.*' | 'fe.subscriptions.read.*' | 'fe.subscriptions.write.*';
|
|
66
75
|
export declare type GroupsRolePermissions = 'fe.secure.delete.groups' | 'fe.secure.delete.groupsUsers' | 'fe.secure.read.groups' | 'fe.secure.write.groups' | 'fe.secure.write.groupsRoles' | 'fe.secure.write.groupsUsers';
|
|
@@ -4,6 +4,10 @@ export interface AuthOptions extends Partial<Omit<AuthState, 'routes'>> {
|
|
|
4
4
|
includeQueryParam?: boolean;
|
|
5
5
|
routes?: Partial<AuthPageRoutes>;
|
|
6
6
|
disableSilentRefresh?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Determine if each tab operates with a separate tenant context
|
|
9
|
+
*/
|
|
10
|
+
enableSessionPerTenant?: boolean;
|
|
7
11
|
/**
|
|
8
12
|
* Determine if the redirect url query param of after auth should be enforced to same site
|
|
9
13
|
*/
|
|
@@ -16,6 +20,12 @@ export interface AuthOptions extends Partial<Omit<AuthState, 'routes'>> {
|
|
|
16
20
|
* Origins that are allowed to clear idle session timeout from
|
|
17
21
|
*/
|
|
18
22
|
clearIdleTimeoutAllowedOrigins?: string[];
|
|
23
|
+
/**
|
|
24
|
+
* Advanced options for social logins flow
|
|
25
|
+
*/
|
|
26
|
+
socialLoginOptions?: {
|
|
27
|
+
promptConsent?: boolean;
|
|
28
|
+
};
|
|
19
29
|
/**
|
|
20
30
|
* Advanced options for hosted login mode
|
|
21
31
|
*/
|
|
@@ -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
|
/**
|
|
@@ -116,6 +116,10 @@ export interface ApiTokensLocalization {
|
|
|
116
116
|
* Expires option display as 'never' it's value: null
|
|
117
117
|
*/
|
|
118
118
|
neverExpire: string;
|
|
119
|
+
/**
|
|
120
|
+
* Expires option display as 'After 1 day' it's value: 1
|
|
121
|
+
*/
|
|
122
|
+
expireAfter1Day: string;
|
|
119
123
|
/**
|
|
120
124
|
* Expires option display as 'After 7 days' it's value: 7
|
|
121
125
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -15,6 +15,7 @@ import { AllUsersLocalization } from './allUsers';
|
|
|
15
15
|
import { ProvisioningLocalization } from './provisioning';
|
|
16
16
|
import { UsersGroupsLocalization } from './groups';
|
|
17
17
|
import { AllAccountsLocalization } from './allAccounts';
|
|
18
|
+
import { AppDialogLocalization } from './appDialog';
|
|
18
19
|
export * from './navigation';
|
|
19
20
|
export * from './profile';
|
|
20
21
|
export * from './personalTokens';
|
|
@@ -32,4 +33,5 @@ export * from './subscriptions';
|
|
|
32
33
|
export * from './allUsers';
|
|
33
34
|
export * from './provisioning';
|
|
34
35
|
export * from './allAccounts';
|
|
35
|
-
export
|
|
36
|
+
export * from './appDialog';
|
|
37
|
+
export declare type AdminPortalLocalization = NavigationLocalization & ProfileLocalization & PersonalTokensLocalization & AuditLogsLocalization & ApiTokensLocalization & AccountSettingsLocalization & PrivacyLocalization & SecurityLocalization & RolesLocalization & SsoLocalization & UsersLocalization & UsersGroupsLocalization & WebhooksLocalization & SubscriptionsLocalization & AllUsersLocalization & ProvisioningLocalization & AllAccountsLocalization & AppDialogLocalization;
|
|
@@ -87,6 +87,13 @@ export interface PrivacyLocalization {
|
|
|
87
87
|
setUpPasskeys: string;
|
|
88
88
|
noPasskeysSetYet: string;
|
|
89
89
|
disabledSetUpPasskeysTooltip: string;
|
|
90
|
+
mfaSmsDisabledTooltip: string;
|
|
91
|
+
smsTitle: string;
|
|
92
|
+
setUpSms: string;
|
|
93
|
+
noPhoneNumberSet: string;
|
|
94
|
+
disabledSetUpSmsTooltip: string;
|
|
95
|
+
editPhoneNumber: string;
|
|
96
|
+
deletePhoneNumber: string;
|
|
90
97
|
};
|
|
91
98
|
/**
|
|
92
99
|
* Privacy page change password dialogs strings
|
|
@@ -177,6 +184,13 @@ export interface PrivacyLocalization {
|
|
|
177
184
|
cancel: string;
|
|
178
185
|
disable: string;
|
|
179
186
|
};
|
|
187
|
+
privacy_deleteSmsDialog: {
|
|
188
|
+
dialogTitle: string;
|
|
189
|
+
deleteSmsFirstDescription: string;
|
|
190
|
+
deleteSmsSecondDescription: string;
|
|
191
|
+
cancel: string;
|
|
192
|
+
delete: string;
|
|
193
|
+
};
|
|
180
194
|
privacy_DisableMfaAuthenticatorApp: {
|
|
181
195
|
/**
|
|
182
196
|
* Disable mfa dialog title
|
|
@@ -354,4 +368,22 @@ export interface PrivacyLocalization {
|
|
|
354
368
|
cancel: string;
|
|
355
369
|
delete: string;
|
|
356
370
|
};
|
|
371
|
+
privacy_setUpSmsDialog: {
|
|
372
|
+
setUpSmsTitle: string;
|
|
373
|
+
preVerifySmsDescription: string;
|
|
374
|
+
phoneIsRequired: string;
|
|
375
|
+
phoneIsInvalid: string;
|
|
376
|
+
verifyDescription: string;
|
|
377
|
+
cancel: string;
|
|
378
|
+
confirm: string;
|
|
379
|
+
continue: string;
|
|
380
|
+
otcResend: string;
|
|
381
|
+
otcResending: string;
|
|
382
|
+
successfullySetUpTitle: string;
|
|
383
|
+
successfullySetUpDescription: string;
|
|
384
|
+
phoneNumber: string;
|
|
385
|
+
successfullyAddedTitle: string;
|
|
386
|
+
successfullyAddedDescription: string;
|
|
387
|
+
done: string;
|
|
388
|
+
};
|
|
357
389
|
}
|
|
@@ -63,6 +63,11 @@ export interface ProfileLocalization {
|
|
|
63
63
|
* Remove profile image action in profile page
|
|
64
64
|
*/
|
|
65
65
|
removeImage: string;
|
|
66
|
+
disabledEditPhoneNumberTooltip: string;
|
|
67
|
+
/**
|
|
68
|
+
* Profile page edit avatar button aria label
|
|
69
|
+
*/
|
|
70
|
+
editAvatarButtonAriaLabel: string;
|
|
66
71
|
};
|
|
67
72
|
/**
|
|
68
73
|
* Edit user name and title Dialog strings
|
|
@@ -39,6 +39,29 @@ export interface RolesLocalization {
|
|
|
39
39
|
* Table actions column header text
|
|
40
40
|
*/
|
|
41
41
|
actionsHeader: string;
|
|
42
|
+
permissions: string;
|
|
43
|
+
noRolesMessage: string;
|
|
44
|
+
noRolesFoundMessage: string;
|
|
45
|
+
emptyChipsMessage: string;
|
|
46
|
+
editRole: string;
|
|
47
|
+
deleteRole: string;
|
|
48
|
+
};
|
|
49
|
+
roles_addOrEditRole: {
|
|
50
|
+
roleName: string;
|
|
51
|
+
roleDescription: string;
|
|
52
|
+
title: string;
|
|
53
|
+
defaultRole: string;
|
|
54
|
+
defaultRoleDescription: string;
|
|
55
|
+
cancel: string;
|
|
56
|
+
save: string;
|
|
57
|
+
nameRequiredValidation: string;
|
|
58
|
+
createNewRole: string;
|
|
59
|
+
setRoleDetails: string;
|
|
60
|
+
choosePermissions: string;
|
|
61
|
+
next: string;
|
|
62
|
+
createRole: string;
|
|
63
|
+
existingRoleNameValidation: string;
|
|
64
|
+
copyPermissionsFrom: string;
|
|
42
65
|
};
|
|
43
66
|
/**
|
|
44
67
|
* Add new role dialog strings
|
|
@@ -85,4 +108,16 @@ export interface RolesLocalization {
|
|
|
85
108
|
*/
|
|
86
109
|
create: string;
|
|
87
110
|
};
|
|
111
|
+
roles_singleRole: {
|
|
112
|
+
pageTitle: string;
|
|
113
|
+
permissions: string;
|
|
114
|
+
defaultRole: string;
|
|
115
|
+
emptyChipsMessage: string;
|
|
116
|
+
};
|
|
117
|
+
roles_deleteRole: {
|
|
118
|
+
title: string;
|
|
119
|
+
description: string;
|
|
120
|
+
cancel: string;
|
|
121
|
+
deleteRole: string;
|
|
122
|
+
};
|
|
88
123
|
}
|
|
@@ -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
|
*/
|
|
@@ -181,6 +205,10 @@ export interface UsersLocalization {
|
|
|
181
205
|
* Roles also assigned by groups tooltip in select options
|
|
182
206
|
* */
|
|
183
207
|
alsoAssignedByGroups: string;
|
|
208
|
+
/**
|
|
209
|
+
* Validation error message if no roles selected
|
|
210
|
+
* */
|
|
211
|
+
rolesIsRequired: string;
|
|
184
212
|
};
|
|
185
213
|
/**
|
|
186
214
|
* Invite new user to tenant dialog strings
|
|
@@ -272,6 +300,22 @@ export interface UsersLocalization {
|
|
|
272
300
|
bulkLabelWithoutRoles: string;
|
|
273
301
|
emailInputLabelWithoutRoles: string;
|
|
274
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
|
+
accessPeriodSwitchTooltip: string;
|
|
314
|
+
accessPeriodSwitchDescription: string;
|
|
315
|
+
accessTimeValidationError: string;
|
|
316
|
+
accessTimeSummary: string;
|
|
317
|
+
dialogTitle: string;
|
|
318
|
+
};
|
|
275
319
|
/**
|
|
276
320
|
* Edit Invitation Link dialog strings
|
|
277
321
|
*/
|
|
@@ -302,9 +346,13 @@ export interface UsersLocalization {
|
|
|
302
346
|
expirationInputPlaceholder: string;
|
|
303
347
|
/**
|
|
304
348
|
* Link expiration description
|
|
305
|
-
* EX: 'link will
|
|
349
|
+
* EX: 'link will expire in {{number}} day(s)',
|
|
306
350
|
*/
|
|
307
351
|
linkExpiration: string;
|
|
352
|
+
/**
|
|
353
|
+
* Disabled link expiration if access period is on tooltip
|
|
354
|
+
*/
|
|
355
|
+
linkExpiratonDisabledReasonAccessPeriod: string;
|
|
308
356
|
/**
|
|
309
357
|
* Deactivate link button text
|
|
310
358
|
*/
|
|
@@ -327,6 +375,10 @@ export interface UsersLocalization {
|
|
|
327
375
|
edit: string;
|
|
328
376
|
day: string;
|
|
329
377
|
days: string;
|
|
378
|
+
/**
|
|
379
|
+
* Edit invite link button aria label
|
|
380
|
+
*/
|
|
381
|
+
editInviteLinkAriaLabel: string;
|
|
330
382
|
};
|
|
331
383
|
/**
|
|
332
384
|
* Deactivate invitation link dialog strings
|
|
@@ -8,7 +8,10 @@ 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';
|
|
12
|
+
import { OpenAppLocalization } from './openApp';
|
|
11
13
|
export * from './login';
|
|
14
|
+
export * from './stepUp';
|
|
12
15
|
export * from './signup';
|
|
13
16
|
export * from './forgetPassword';
|
|
14
17
|
export * from './resetPhoneNumber';
|
|
@@ -19,4 +22,5 @@ export * from './activateAccount';
|
|
|
19
22
|
export * from './recoveryMfa';
|
|
20
23
|
export * from './SplitPageTypes';
|
|
21
24
|
export * from './impersonate';
|
|
22
|
-
export
|
|
25
|
+
export * from './openApp';
|
|
26
|
+
export declare type LoginBoxLocalization = LoginLocalization & StepUpLocalization & SignupLocalization & ForgetPasswordLocalization & ResetPhoneNumberLocalization & ResetPasswordLocalization & SocialLoginsLocalization & AcceptInvitationLocalization & ActivateAccountLocalization & ImpersonateLocalization & RecoveryMfaLocalization & OpenAppLocalization;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './login';
|
|
2
|
+
export * from './stepUp';
|
|
2
3
|
export * from './signup';
|
|
3
4
|
export * from './forgetPassword';
|
|
4
5
|
export * from './resetPhoneNumber';
|
|
@@ -9,4 +10,5 @@ export * from './activateAccount';
|
|
|
9
10
|
export * from './recoveryMfa';
|
|
10
11
|
export * from './SplitPageTypes';
|
|
11
12
|
export * from './impersonate';
|
|
13
|
+
export * from './openApp';
|
|
12
14
|
export {};
|
|
@@ -28,6 +28,8 @@ export interface LoginLocalization {
|
|
|
28
28
|
* String displayed as placeholder when email field is empty
|
|
29
29
|
*/
|
|
30
30
|
emailInputPlaceholder: string;
|
|
31
|
+
emailOrPhoneInputLabel: string;
|
|
32
|
+
emailOrPhonePlaceHolder: string;
|
|
31
33
|
/**
|
|
32
34
|
* error message displayed if email is invalid
|
|
33
35
|
*/
|
|
@@ -369,6 +371,7 @@ export interface LoginLocalization {
|
|
|
369
371
|
registerNewQuickLoginSubtitle: string;
|
|
370
372
|
phoneIsRequired: string;
|
|
371
373
|
phoneIsInvalid: string;
|
|
374
|
+
phoneFormatIsInvalid: string;
|
|
372
375
|
promptPasskeysTitle: string;
|
|
373
376
|
promptFirstItemTitle: string;
|
|
374
377
|
promptFirstItemSubtitle: string;
|
|
@@ -464,6 +467,14 @@ export interface LoginLocalization {
|
|
|
464
467
|
* MFA login list SMS option description
|
|
465
468
|
*/
|
|
466
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;
|
|
467
478
|
/**
|
|
468
479
|
* MFA login list platform option message
|
|
469
480
|
*/
|
|
@@ -493,6 +504,10 @@ export interface LoginLocalization {
|
|
|
493
504
|
* MFA login with Authenticator App title
|
|
494
505
|
*/
|
|
495
506
|
loginMfaAuthenticatorAppTitle: string;
|
|
507
|
+
/**
|
|
508
|
+
* MFA login list Authenticator App sub title
|
|
509
|
+
*/
|
|
510
|
+
loginMfaListAuthenticatorAppSubtitle: string;
|
|
496
511
|
/**
|
|
497
512
|
* MFA login list with help message
|
|
498
513
|
*/
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface OpenAppLocalization {
|
|
2
|
+
/**
|
|
3
|
+
* strings in step up page
|
|
4
|
+
*/
|
|
5
|
+
openApp: {
|
|
6
|
+
/**
|
|
7
|
+
* open app page title
|
|
8
|
+
*/
|
|
9
|
+
title: string;
|
|
10
|
+
/**
|
|
11
|
+
* open app page title
|
|
12
|
+
*/
|
|
13
|
+
description: string;
|
|
14
|
+
/**
|
|
15
|
+
* open app page "open" button text
|
|
16
|
+
*/
|
|
17
|
+
buttonText: string;
|
|
18
|
+
/**
|
|
19
|
+
* back to login button text
|
|
20
|
+
*/
|
|
21
|
+
backToLogin: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 {};
|
package/Metadata/index.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { FronteggMetadata } from '../FronteggMetadata';
|
|
2
2
|
export { alpha } from './colorManipulator';
|
|
3
|
+
export type { GTMConfiguration, IntegrationsMetadata } from '../FronteggMetadata';
|
|
3
4
|
export declare class Metadata {
|
|
4
5
|
private _theme;
|
|
5
6
|
private _themeV2;
|
|
6
7
|
private _navigation;
|
|
7
8
|
private _localizations;
|
|
9
|
+
private _integrations;
|
|
8
10
|
static _instances: Record<string, Metadata>;
|
|
9
11
|
static getInstance(name?: string): Metadata;
|
|
10
12
|
static set(metadata?: FronteggMetadata, name?: string): Metadata;
|
|
@@ -12,5 +14,6 @@ export declare class Metadata {
|
|
|
12
14
|
get themeV2(): Required<FronteggMetadata>['themeV2'];
|
|
13
15
|
get navigation(): Required<FronteggMetadata>['navigation'];
|
|
14
16
|
get localizations(): Required<FronteggMetadata>['localizations'];
|
|
17
|
+
get integrations(): Required<FronteggMetadata>['integrations'];
|
|
15
18
|
set(metadata?: FronteggMetadata): void;
|
|
16
19
|
}
|
package/Metadata/index.js
CHANGED
|
@@ -82,6 +82,7 @@ export class Metadata {
|
|
|
82
82
|
this._themeV2 = defaultMetadata.themeV2;
|
|
83
83
|
this._navigation = defaultMetadata.navigation;
|
|
84
84
|
this._localizations = defaultMetadata.localizations;
|
|
85
|
+
this._integrations = defaultMetadata.integrations;
|
|
85
86
|
}
|
|
86
87
|
static getInstance(name = 'default') {
|
|
87
88
|
return this._instances[name];
|
|
@@ -108,18 +109,24 @@ export class Metadata {
|
|
|
108
109
|
var _this$_localizations;
|
|
109
110
|
return (_this$_localizations = this._localizations) != null ? _this$_localizations : {};
|
|
110
111
|
}
|
|
112
|
+
get integrations() {
|
|
113
|
+
var _this$_integrations;
|
|
114
|
+
return (_this$_integrations = this._integrations) != null ? _this$_integrations : {};
|
|
115
|
+
}
|
|
111
116
|
set(metadata) {
|
|
112
117
|
try {
|
|
113
|
-
var _defaultMetadata$navi, _metadata$navigation, _defaultMetadata$them, _defaultMetadata$them2, _metadata$themeV, _defaultMetadata$loca, _metadata$localizatio;
|
|
118
|
+
var _defaultMetadata$navi, _metadata$navigation, _defaultMetadata$them, _defaultMetadata$them2, _metadata$themeV, _defaultMetadata$loca, _metadata$localizatio, _defaultMetadata$inte, _metadata$integration;
|
|
114
119
|
this._navigation = deepMerge.all([(_defaultMetadata$navi = defaultMetadata.navigation) != null ? _defaultMetadata$navi : {}, (_metadata$navigation = metadata == null ? void 0 : metadata.navigation) != null ? _metadata$navigation : {}]);
|
|
115
120
|
this._theme = deepMerge.all([(_defaultMetadata$them = defaultMetadata.theme) != null ? _defaultMetadata$them : {}, getPalette(metadata == null ? void 0 : metadata.theme, defaultMetadata.theme)]);
|
|
116
121
|
this._themeV2 = deepMerge.all([(_defaultMetadata$them2 = defaultMetadata.themeV2) != null ? _defaultMetadata$them2 : {}, (_metadata$themeV = metadata == null ? void 0 : metadata.themeV2) != null ? _metadata$themeV : {}]);
|
|
117
122
|
this._localizations = deepMerge.all([(_defaultMetadata$loca = defaultMetadata.localizations) != null ? _defaultMetadata$loca : {}, (_metadata$localizatio = metadata == null ? void 0 : metadata.localizations) != null ? _metadata$localizatio : {}]);
|
|
123
|
+
this._integrations = deepMerge.all([(_defaultMetadata$inte = defaultMetadata.integrations) != null ? _defaultMetadata$inte : {}, (_metadata$integration = metadata == null ? void 0 : metadata.integrations) != null ? _metadata$integration : {}]);
|
|
118
124
|
} catch (e) {
|
|
119
125
|
this._navigation = defaultMetadata.navigation;
|
|
120
126
|
this._theme = defaultMetadata.theme;
|
|
121
127
|
this._themeV2 = defaultMetadata.themeV2;
|
|
122
128
|
this._localizations = defaultMetadata.localizations;
|
|
129
|
+
this._integrations = defaultMetadata.integrations;
|
|
123
130
|
}
|
|
124
131
|
}
|
|
125
132
|
}
|
package/PrivateOptions.d.ts
CHANGED
|
@@ -32,4 +32,9 @@ export interface PrivateOptions {
|
|
|
32
32
|
* default: undefined
|
|
33
33
|
*/
|
|
34
34
|
overrideFeatureFlags?: Record<string, 'on' | 'off'>;
|
|
35
|
+
/**
|
|
36
|
+
* Open App route will be used to redirect user to the app after login
|
|
37
|
+
* default: false
|
|
38
|
+
*/
|
|
39
|
+
enableOpenAppRoute?: boolean;
|
|
35
40
|
}
|
|
@@ -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,39 @@
|
|
|
1
|
+
import { CustomComponent, LoginBoxCommonTheme, LoginBoxCommonThemeOptions } from '../index';
|
|
2
|
+
import { ExtendedCSSProperties } from '../../Common';
|
|
3
|
+
interface TitleProps {
|
|
4
|
+
title: string;
|
|
5
|
+
}
|
|
6
|
+
interface MessageProps {
|
|
7
|
+
message: string;
|
|
8
|
+
}
|
|
9
|
+
interface OpenAppPageComponentsTheme {
|
|
10
|
+
/**
|
|
11
|
+
* Activate account page container style
|
|
12
|
+
*/
|
|
13
|
+
containerStyle?: ExtendedCSSProperties;
|
|
14
|
+
/**
|
|
15
|
+
* Activate account page title default is 'Activate Account'
|
|
16
|
+
* displayed in forgot password form screen
|
|
17
|
+
* passing 'null' will hide the title
|
|
18
|
+
*/
|
|
19
|
+
title?: CustomComponent<TitleProps>;
|
|
20
|
+
/**
|
|
21
|
+
* Direct css style for Forgot password Page title
|
|
22
|
+
*/
|
|
23
|
+
titleStyle?: ExtendedCSSProperties;
|
|
24
|
+
/**
|
|
25
|
+
* Activate account page message default is hidden
|
|
26
|
+
* displayed in forgot password form screen
|
|
27
|
+
* passing 'null' will hide the message
|
|
28
|
+
*/
|
|
29
|
+
message?: CustomComponent<MessageProps>;
|
|
30
|
+
/**
|
|
31
|
+
* Direct css style for Forgot password Page message
|
|
32
|
+
*/
|
|
33
|
+
messageStyle?: ExtendedCSSProperties;
|
|
34
|
+
}
|
|
35
|
+
export interface OpenAppPageThemeOptions extends LoginBoxCommonThemeOptions, OpenAppPageComponentsTheme {
|
|
36
|
+
}
|
|
37
|
+
export interface OpenAppPageTheme extends LoginBoxCommonTheme, OpenAppPageComponentsTheme {
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -5,6 +5,32 @@ import { DisclaimerOptions } from '../DisclaimerOptions';
|
|
|
5
5
|
interface TitleProps {
|
|
6
6
|
title: string;
|
|
7
7
|
}
|
|
8
|
+
export declare enum SignupFields {
|
|
9
|
+
/**
|
|
10
|
+
* Phone number field wont be displayed in sign up form by default
|
|
11
|
+
* Use this field in signup fields properties to enable it
|
|
12
|
+
* Currently this field will only be externalized to signUpComplete event and will not be sent to the backend
|
|
13
|
+
*/
|
|
14
|
+
phoneNumber = "phoneNumber"
|
|
15
|
+
}
|
|
16
|
+
declare type SignupFieldsProperties = {
|
|
17
|
+
[K in SignupFields]?: {
|
|
18
|
+
/**
|
|
19
|
+
* If true the field in will be rendered in signup form
|
|
20
|
+
* Default false
|
|
21
|
+
*/
|
|
22
|
+
enabled?: boolean;
|
|
23
|
+
settings?: {
|
|
24
|
+
validation?: {
|
|
25
|
+
/**
|
|
26
|
+
* If true the field will be required in signup form
|
|
27
|
+
* Default false
|
|
28
|
+
*/
|
|
29
|
+
required?: boolean;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
8
34
|
export interface GoToLoginMessageProps {
|
|
9
35
|
goToLogin: () => void;
|
|
10
36
|
goToLoginMessage: string;
|
|
@@ -76,6 +102,10 @@ export interface SignupPageComponentsTheme {
|
|
|
76
102
|
hideSignUpFields?: {
|
|
77
103
|
hideCompanyName?: boolean;
|
|
78
104
|
};
|
|
105
|
+
/**
|
|
106
|
+
* Control the state of the "Sign Up" fields
|
|
107
|
+
*/
|
|
108
|
+
fieldsProperties?: SignupFieldsProperties;
|
|
79
109
|
/**
|
|
80
110
|
* use this flag if you want to show password meter on the sign up form
|
|
81
111
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -9,6 +9,8 @@ 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';
|
|
13
|
+
import { OpenAppPageTheme, OpenAppPageThemeOptions } from './OpenAppPageTheme';
|
|
12
14
|
export * from './LoginBoxCommon';
|
|
13
15
|
export * from './LoginPageTheme';
|
|
14
16
|
export * from './SignupPageTheme';
|
|
@@ -19,6 +21,7 @@ export * from './ResetPhoneNumberTheme';
|
|
|
19
21
|
export * from './ResetPasswordTheme';
|
|
20
22
|
export * from './ActivateAccountPageTheme';
|
|
21
23
|
export * from './AcceptInvitationTheme';
|
|
24
|
+
export * from './OpenAppPageTheme';
|
|
22
25
|
export interface AuthPageThemeOptions extends BaseThemeOptions, AuthPageCustomComponents {
|
|
23
26
|
style?: ExtendedCSSProperties;
|
|
24
27
|
layout?: {
|
|
@@ -37,7 +40,9 @@ export interface LoginBoxThemeOptions extends LoginBoxCommonThemeOptions {
|
|
|
37
40
|
resetPhoneNumber?: ResetPhoneNumberPageThemeOptions;
|
|
38
41
|
resetPassword?: ResetPasswordPageThemeOptions;
|
|
39
42
|
login?: LoginPageThemeOptions;
|
|
43
|
+
stepUp?: StepUpThemeOptions;
|
|
40
44
|
signup?: SignupPageThemeOptions;
|
|
45
|
+
openApp?: OpenAppPageThemeOptions;
|
|
41
46
|
loader?: LoaderThemeOptions;
|
|
42
47
|
}
|
|
43
48
|
export interface LoginBoxTheme extends LoginBoxCommonTheme {
|
|
@@ -48,7 +53,9 @@ export interface LoginBoxTheme extends LoginBoxCommonTheme {
|
|
|
48
53
|
resetPhoneNumber: ResetPhoneNumberPageTheme;
|
|
49
54
|
resetPassword: ResetPasswordPageTheme;
|
|
50
55
|
login: LoginPageTheme;
|
|
56
|
+
stepUp: StepUpTheme;
|
|
51
57
|
signup: SignupPageTheme;
|
|
52
58
|
socialLogins: SocialLoginsTheme;
|
|
59
|
+
openApp: OpenAppPageTheme;
|
|
53
60
|
loader: LoaderTheme;
|
|
54
61
|
}
|
package/index.d.ts
CHANGED
|
@@ -6,4 +6,5 @@ export * from './Localizations';
|
|
|
6
6
|
export * from './Metadata';
|
|
7
7
|
export * from './CheckoutDialogOptions';
|
|
8
8
|
export * from './CustomLoginTypes';
|
|
9
|
-
export type { Entitlement, NotEntitledJustification, EntitledToOptions, LoadEntitlementsCallback, } from '@frontegg/redux-store';
|
|
9
|
+
export type { Entitlement, NotEntitledJustification, EntitledToOptions, LoadEntitlementsCallback, StepUpOptions, IsSteppedUpOptions, } from '@frontegg/redux-store';
|
|
10
|
+
export type { UserEntitlementsContext as UserEntitlementsResponseV2, CustomAttributes, Attributes, JwtAttributes, } from '@frontegg/entitlements-javascript-commons';
|
package/index.js
CHANGED
|
@@ -189,4 +189,15 @@ Object.keys(_allAccounts).forEach(function (key) {
|
|
|
189
189
|
return _allAccounts[key];
|
|
190
190
|
}
|
|
191
191
|
});
|
|
192
|
+
});
|
|
193
|
+
var _appDialog = require("./appDialog");
|
|
194
|
+
Object.keys(_appDialog).forEach(function (key) {
|
|
195
|
+
if (key === "default" || key === "__esModule") return;
|
|
196
|
+
if (key in exports && exports[key] === _appDialog[key]) return;
|
|
197
|
+
Object.defineProperty(exports, key, {
|
|
198
|
+
enumerable: true,
|
|
199
|
+
get: function () {
|
|
200
|
+
return _appDialog[key];
|
|
201
|
+
}
|
|
202
|
+
});
|
|
192
203
|
});
|
|
@@ -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;
|
|
@@ -123,4 +134,15 @@ Object.keys(_impersonate).forEach(function (key) {
|
|
|
123
134
|
return _impersonate[key];
|
|
124
135
|
}
|
|
125
136
|
});
|
|
137
|
+
});
|
|
138
|
+
var _openApp = require("./openApp");
|
|
139
|
+
Object.keys(_openApp).forEach(function (key) {
|
|
140
|
+
if (key === "default" || key === "__esModule") return;
|
|
141
|
+
if (key in exports && exports[key] === _openApp[key]) return;
|
|
142
|
+
Object.defineProperty(exports, key, {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function () {
|
|
145
|
+
return _openApp[key];
|
|
146
|
+
}
|
|
147
|
+
});
|
|
126
148
|
});
|
package/node/Metadata/index.js
CHANGED
|
@@ -95,6 +95,7 @@ class Metadata {
|
|
|
95
95
|
this._themeV2 = defaultMetadata.themeV2;
|
|
96
96
|
this._navigation = defaultMetadata.navigation;
|
|
97
97
|
this._localizations = defaultMetadata.localizations;
|
|
98
|
+
this._integrations = defaultMetadata.integrations;
|
|
98
99
|
}
|
|
99
100
|
static getInstance(name = 'default') {
|
|
100
101
|
return this._instances[name];
|
|
@@ -121,18 +122,24 @@ class Metadata {
|
|
|
121
122
|
var _this$_localizations;
|
|
122
123
|
return (_this$_localizations = this._localizations) != null ? _this$_localizations : {};
|
|
123
124
|
}
|
|
125
|
+
get integrations() {
|
|
126
|
+
var _this$_integrations;
|
|
127
|
+
return (_this$_integrations = this._integrations) != null ? _this$_integrations : {};
|
|
128
|
+
}
|
|
124
129
|
set(metadata) {
|
|
125
130
|
try {
|
|
126
|
-
var _defaultMetadata$navi, _metadata$navigation, _defaultMetadata$them, _defaultMetadata$them2, _metadata$themeV, _defaultMetadata$loca, _metadata$localizatio;
|
|
131
|
+
var _defaultMetadata$navi, _metadata$navigation, _defaultMetadata$them, _defaultMetadata$them2, _metadata$themeV, _defaultMetadata$loca, _metadata$localizatio, _defaultMetadata$inte, _metadata$integration;
|
|
127
132
|
this._navigation = _deepmerge.default.all([(_defaultMetadata$navi = defaultMetadata.navigation) != null ? _defaultMetadata$navi : {}, (_metadata$navigation = metadata == null ? void 0 : metadata.navigation) != null ? _metadata$navigation : {}]);
|
|
128
133
|
this._theme = _deepmerge.default.all([(_defaultMetadata$them = defaultMetadata.theme) != null ? _defaultMetadata$them : {}, (0, _getPalette.getPalette)(metadata == null ? void 0 : metadata.theme, defaultMetadata.theme)]);
|
|
129
134
|
this._themeV2 = _deepmerge.default.all([(_defaultMetadata$them2 = defaultMetadata.themeV2) != null ? _defaultMetadata$them2 : {}, (_metadata$themeV = metadata == null ? void 0 : metadata.themeV2) != null ? _metadata$themeV : {}]);
|
|
130
135
|
this._localizations = _deepmerge.default.all([(_defaultMetadata$loca = defaultMetadata.localizations) != null ? _defaultMetadata$loca : {}, (_metadata$localizatio = metadata == null ? void 0 : metadata.localizations) != null ? _metadata$localizatio : {}]);
|
|
136
|
+
this._integrations = _deepmerge.default.all([(_defaultMetadata$inte = defaultMetadata.integrations) != null ? _defaultMetadata$inte : {}, (_metadata$integration = metadata == null ? void 0 : metadata.integrations) != null ? _metadata$integration : {}]);
|
|
131
137
|
} catch (e) {
|
|
132
138
|
this._navigation = defaultMetadata.navigation;
|
|
133
139
|
this._theme = defaultMetadata.theme;
|
|
134
140
|
this._themeV2 = defaultMetadata.themeV2;
|
|
135
141
|
this._localizations = defaultMetadata.localizations;
|
|
142
|
+
this._integrations = defaultMetadata.integrations;
|
|
136
143
|
}
|
|
137
144
|
}
|
|
138
145
|
}
|
|
@@ -2,4 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
|
-
});
|
|
5
|
+
});
|
|
6
|
+
exports.SignupFields = void 0;
|
|
7
|
+
// interface MessageProps {
|
|
8
|
+
// message: ReactNode;
|
|
9
|
+
// }
|
|
10
|
+
let SignupFields;
|
|
11
|
+
exports.SignupFields = SignupFields;
|
|
12
|
+
(function (SignupFields) {
|
|
13
|
+
SignupFields["phoneNumber"] = "phoneNumber";
|
|
14
|
+
})(SignupFields || (exports.SignupFields = SignupFields = {}));
|
|
@@ -112,4 +112,15 @@ Object.keys(_AcceptInvitationTheme).forEach(function (key) {
|
|
|
112
112
|
return _AcceptInvitationTheme[key];
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
|
+
});
|
|
116
|
+
var _OpenAppPageTheme = require("./OpenAppPageTheme");
|
|
117
|
+
Object.keys(_OpenAppPageTheme).forEach(function (key) {
|
|
118
|
+
if (key === "default" || key === "__esModule") return;
|
|
119
|
+
if (key in exports && exports[key] === _OpenAppPageTheme[key]) return;
|
|
120
|
+
Object.defineProperty(exports, key, {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () {
|
|
123
|
+
return _OpenAppPageTheme[key];
|
|
124
|
+
}
|
|
125
|
+
});
|
|
115
126
|
});
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/types",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.2",
|
|
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": "7.0.0-alpha.
|
|
9
|
+
"@frontegg/redux-store": "7.0.0-alpha.2",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|