@frontegg/types 5.59.0 → 5.61.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.
@@ -20,6 +20,8 @@ export interface UsersInviteDialogMetadata {
20
20
  export interface UsersMetadata extends PageMetadata {
21
21
  inviteDialog?: UsersInviteDialogMetadata;
22
22
  }
23
+ export interface AllUsersMetadata extends PageMetadata {
24
+ }
23
25
  interface RolesMetadata extends PageMetadata {
24
26
  }
25
27
  interface SecurityMetadata extends PageMetadata {
@@ -43,6 +45,7 @@ export declare type NavigationMetadata = {
43
45
  usage?: UsageMetadata;
44
46
  account?: AccountMetadata;
45
47
  users?: UsersMetadata;
48
+ allUsers?: AllUsersMetadata;
46
49
  roles?: RolesMetadata;
47
50
  security?: SecurityMetadata;
48
51
  sso?: SsoMetadata;
@@ -0,0 +1,275 @@
1
+ export interface AllUsersLocalization {
2
+ /**
3
+ * Users page strings
4
+ */
5
+ allUsers: {
6
+ /**
7
+ * Users management page title
8
+ */
9
+ pageTitle: string;
10
+ /**
11
+ * Users Table invite user button text
12
+ */
13
+ inviteUserButton: string;
14
+ /**
15
+ * Users Table search input placeholder
16
+ */
17
+ searchInputPlaceholder: string;
18
+ /**
19
+ * Text to be displayed as table placeholder while loading content based on search query
20
+ */
21
+ searchingPlaceholder: string;
22
+ /**
23
+ * Me tooltip indicator for users table row if it's the same logged in user
24
+ */
25
+ meTooltip: string;
26
+ /**
27
+ * Table user information column header
28
+ */
29
+ userHeader: string;
30
+ /**
31
+ * Table user roles column header
32
+ */
33
+ rolesHeader: string;
34
+ /**
35
+ * Table user accounts column header
36
+ */
37
+ accountsHeader: string;
38
+ /**
39
+ * Table user joined date column header
40
+ */
41
+ joinedHeader: string;
42
+ /**
43
+ * Table user last login / refresh token column header
44
+ */
45
+ lastSeenHeader: string;
46
+ /**
47
+ * User pending approval status displayed in lastLogin column
48
+ */
49
+ pendingApprovalStatus: string;
50
+ /**
51
+ * User pending activation status displayed in lastLogin column
52
+ */
53
+ pendingActivationStatus: string;
54
+ /**
55
+ * Table row action for manage user
56
+ */
57
+ manageAction: string;
58
+ /**
59
+ * Table row action for resending invitation email to specific user
60
+ */
61
+ resendInvitationAction: string;
62
+ /**
63
+ * Table row action for resending activation email to specific user
64
+ */
65
+ resendActivationAction: string;
66
+ /**
67
+ * Table row action display on logged in user row to leave the active tenant
68
+ */
69
+ leaveTeamAction: string;
70
+ /**
71
+ * Table row action to remove user from all tenants
72
+ */
73
+ deleteUserAction: string;
74
+ /**
75
+ * Table row action to lock user in tenants
76
+ */
77
+ lockUserAction: string;
78
+ /**
79
+ * Placeholder title to be displayed no users added yet
80
+ */
81
+ noUsersYet: string;
82
+ /**
83
+ * Placeholder description to be displayed no users added yet
84
+ */
85
+ noUsersYetDescription: string;
86
+ /**
87
+ * Placeholder title to be displayed no results found while searching
88
+ */
89
+ noResultFound: string;
90
+ /**
91
+ * Placeholder description to be displayed no results found while searching
92
+ */
93
+ noResultFoundDescription: string;
94
+ };
95
+ /**
96
+ * Delete user dialog strings
97
+ */
98
+ allUsers_DeleteUser: {
99
+ /**
100
+ * Dialog title
101
+ */
102
+ title: string;
103
+ /**
104
+ * Delete user description to "Before" username
105
+ */
106
+ areYouSureDeleteUser1: string;
107
+ /**
108
+ * Delete user description to "After" username
109
+ */
110
+ areYouSureDeleteUser2: string;
111
+ /**
112
+ * Delete user dialog cancel button text
113
+ */
114
+ cancel: string;
115
+ /**
116
+ * Delete user dialog submit button text
117
+ */
118
+ delete: string;
119
+ };
120
+ /**
121
+ * Lock user dialog strings
122
+ */
123
+ allUsers_LockUser: {
124
+ /**
125
+ * Dialog title
126
+ */
127
+ title: string;
128
+ /**
129
+ * Lock user description
130
+ */
131
+ areYouSureLockUser1: string;
132
+ /**
133
+ * Lock user dialog cancel button text
134
+ */
135
+ cancel: string;
136
+ /**
137
+ * Lock user dialog submit button text
138
+ */
139
+ lock: string;
140
+ };
141
+ /**
142
+ * Invite new user to tenant dialog strings
143
+ */
144
+ allUsers_InviteUser: {
145
+ /**
146
+ * Invite user dialog title
147
+ */
148
+ title: string;
149
+ inviteWithLinkSettings: string;
150
+ /**
151
+ * Full name input label
152
+ */
153
+ fullNameInputLabel: string;
154
+ /**
155
+ * Error displayed if first name input is empty
156
+ */
157
+ fullNameIsRequired: string;
158
+ /**
159
+ * User email input label
160
+ */
161
+ emailInputLabel: string;
162
+ /**
163
+ * Error message displayed if email is empty
164
+ */
165
+ emailIsRequired: string;
166
+ /**
167
+ * Error message displayed if email is not valid email address
168
+ */
169
+ emailMustBeValid: string;
170
+ /**
171
+ * User roles select input label
172
+ */
173
+ rolesInputLabel: string;
174
+ /**
175
+ * User roles select placeholder
176
+ */
177
+ rolesInputPlaceholder: string;
178
+ /**
179
+ * Error displayed if no roles selected
180
+ */
181
+ rolesIsRequired: string;
182
+ /**
183
+ * Invite user dialog cancel button text
184
+ */
185
+ cancel: string;
186
+ /**
187
+ * Invite user dialog submit button text
188
+ */
189
+ invite: string;
190
+ save: string;
191
+ selected: string;
192
+ accountsCount_one: string;
193
+ accountsCount_other: string;
194
+ assignRole: string;
195
+ accounts: string;
196
+ role: string;
197
+ };
198
+ /**
199
+ * Edit Invitation Link dialog strings
200
+ */
201
+ allUsers_EditInvitationLink: {
202
+ /**
203
+ * Edit invitation link settings
204
+ */
205
+ title: string;
206
+ /**
207
+ * Invitation link title
208
+ */
209
+ inviteWithLinkTitle: string;
210
+ /**
211
+ * Notification settings title
212
+ */
213
+ notification: string;
214
+ /**
215
+ * Send notification link settings
216
+ */
217
+ sendMeNotification: string;
218
+ /**
219
+ * Invitation link expiration input label
220
+ */
221
+ expirationInputLabel: string;
222
+ /**
223
+ * Invitation link expiration input placeholder
224
+ */
225
+ expirationInputPlaceholder: string;
226
+ /**
227
+ * Link expiration description
228
+ * EX: 'link will be expired in {{number}} day(s)',
229
+ */
230
+ linkExpiration: string;
231
+ /**
232
+ * Deactivate link button text
233
+ */
234
+ deactivateLink: string;
235
+ /**
236
+ * Back to invite user dialog button text
237
+ */
238
+ back: string;
239
+ /**
240
+ * Save invitation link settings button text
241
+ */
242
+ save: string;
243
+ /**
244
+ * Copy link help description message
245
+ */
246
+ copyInviteLink: string;
247
+ /**
248
+ * Edit link button text
249
+ */
250
+ edit: string;
251
+ day: string;
252
+ days: string;
253
+ };
254
+ /**
255
+ * Deactivate invitation link dialog strings
256
+ */
257
+ allUsers_DeactivateInvitationLink: {
258
+ /**
259
+ * Deactivate invitation link dialog title
260
+ */
261
+ title: string;
262
+ /**
263
+ * Deactivate invitation link description message
264
+ */
265
+ areYouSureDeleteInviteLink: string;
266
+ /**
267
+ * Deactivate invitation link cancel button text
268
+ */
269
+ cancel: string;
270
+ /**
271
+ * Deactivate invitation link submit button text
272
+ */
273
+ deactivate: string;
274
+ };
275
+ }
@@ -11,6 +11,7 @@ import { SsoLocalization } from './sso';
11
11
  import { UsersLocalization } from './users';
12
12
  import { WebhooksLocalization } from './webhooks';
13
13
  import { SubscriptionsLocalization } from './subscriptions';
14
+ import { AllUsersLocalization } from './allUsers';
14
15
  export * from './navigation';
15
16
  export * from './profile';
16
17
  export * from './personalTokens';
@@ -24,4 +25,5 @@ export * from './sso';
24
25
  export * from './users';
25
26
  export * from './webhooks';
26
27
  export * from './subscriptions';
27
- export declare type AdminPortalLocalization = NavigationLocalization & ProfileLocalization & PersonalTokensLocalization & AuditLogsLocalization & ApiTokensLocalization & AccountSettingsLocalization & PrivacyLocalization & SecurityLocalization & RolesLocalization & SsoLocalization & UsersLocalization & WebhooksLocalization & SubscriptionsLocalization;
28
+ export * from './allUsers';
29
+ export declare type AdminPortalLocalization = NavigationLocalization & ProfileLocalization & PersonalTokensLocalization & AuditLogsLocalization & ApiTokensLocalization & AccountSettingsLocalization & PrivacyLocalization & SecurityLocalization & RolesLocalization & SsoLocalization & UsersLocalization & WebhooksLocalization & SubscriptionsLocalization & AllUsersLocalization;
@@ -8,10 +8,15 @@ export interface NavigationLocalization {
8
8
  */
9
9
  poweredBy: string;
10
10
  /**
11
- * Text displayed as seperator between personal settings and active tenant settings
11
+ * Text displayed as separator between personal settings and active tenant settings
12
12
  * in navigation
13
13
  */
14
14
  workspace: 'Workspace';
15
+ /**
16
+ * Text displayed as separator between tenant settings and all accounts settings
17
+ * in navigation
18
+ */
19
+ allAccounts: 'All Accounts';
15
20
  /**
16
21
  * Profile navigation item text
17
22
  */
@@ -36,6 +41,10 @@ export interface NavigationLocalization {
36
41
  * Users navigation item text
37
42
  */
38
43
  users: string;
44
+ /**
45
+ * All Users navigation item text
46
+ */
47
+ allUsers: string;
39
48
  /**
40
49
  * Roles navigation item text
41
50
  */
@@ -303,5 +303,33 @@ export interface LoginLocalization {
303
303
  * this text is optional
304
304
  */
305
305
  termsAndPrivacyConjunctionText: string;
306
+ oneTouchLoginTitle: string;
307
+ oneTouchLoginMessage: string;
308
+ oneTouchLoginButton: string;
309
+ touchId: string;
310
+ androidLoginTitle: string;
311
+ androidLoginMessage: string;
312
+ androidLoginButton: string;
313
+ android: string;
314
+ usbLoginTitle: string;
315
+ usbLoginMessage: string;
316
+ usbLoginButton: string;
317
+ usb: string;
318
+ smsLoginTitle: string;
319
+ smsLoginMessage: string;
320
+ smsLoginButton: string;
321
+ sms: string;
322
+ smsLoginChangePhoneTitle: string;
323
+ smsLoginChangePhoneMessage: string;
324
+ smsLoginChangePhoneInputLabel: string;
325
+ smsLoginChangePhoneButton: string;
326
+ smsLoginPinTitle: string;
327
+ smsLoginPinMessage: string;
328
+ smsLoginPinButton: string;
329
+ loginWelcomeTitle: string;
330
+ loginWelcomeSubtitleSubtitle: string;
331
+ loginWelcomeKnownUserSubtitle: string;
332
+ registerNewQuickLoginTitle: string;
333
+ registerNewQuickLoginSubtitle: string;
306
334
  };
307
335
  }
@@ -50,12 +50,15 @@ export interface ProfilePageThemeOptions extends Omit<PageThemeOptions, 'content
50
50
  profileInfo?: BaseThemeOptions;
51
51
  basicInformation?: BaseThemeOptions;
52
52
  }
53
+ export interface UsersPageThemeOptions extends Omit<PageThemeOptions, 'content'> {
54
+ hideInviteWithEmail?: boolean;
55
+ }
53
56
  export interface PagesThemeOptions extends PageThemeOptions {
54
57
  profile?: ProfilePageThemeOptions;
55
58
  privacy?: PageThemeOptions;
56
59
  personalApiTokens?: PageThemeOptions;
57
60
  account?: PageThemeOptions;
58
- users?: PageThemeOptions;
61
+ users?: UsersPageThemeOptions;
59
62
  security?: PageThemeOptions;
60
63
  singleSignOn?: PageThemeOptions;
61
64
  audits?: PageThemeOptions;
@@ -20,6 +20,7 @@ export interface ResendOTCProps {
20
20
  export interface LoginDisclaimerOptions {
21
21
  textStyle: ExtendedCSSProperties;
22
22
  disclaimerContainerStyle?: ExtendedCSSProperties;
23
+ placement?: 'box' | 'page';
23
24
  terms: {
24
25
  enabled?: boolean;
25
26
  linkStyle?: ExtendedCSSProperties;
@@ -34,6 +35,12 @@ export interface LoginPageComponentsTheme {
34
35
  * Login page container style
35
36
  */
36
37
  containerStyle?: ExtendedCSSProperties;
38
+ carouselArrowsContainerStyle?: ExtendedCSSProperties;
39
+ carouselArrowsStyle?: ExtendedCSSProperties;
40
+ pageTitleStyle?: ExtendedCSSProperties;
41
+ pageSubtitleStyle?: ExtendedCSSProperties;
42
+ carouselIndicatorStyle?: ExtendedCSSProperties;
43
+ carouselActiveIndicatorStyle?: ExtendedCSSProperties;
37
44
  /**
38
45
  * Login page form container style
39
46
  */
@@ -128,6 +135,11 @@ export interface LoginPageComponentsTheme {
128
135
  * on login page can be displayed as text info only
129
136
  */
130
137
  disclaimer?: LoginDisclaimerOptions;
138
+ touchIdCardIcon?: CustomComponent<{}>;
139
+ androidCardIcon?: CustomComponent<{}>;
140
+ smsCardIcon?: CustomComponent<{}>;
141
+ usbKeyCardIcon?: CustomComponent<{}>;
142
+ loginCardIcon?: CustomComponent<{}>;
131
143
  }
132
144
  export interface LoginPageThemeOptions extends LoginBoxCommonThemeOptions, LoginPageComponentsTheme {
133
145
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "5.59.0",
3
+ "version": "5.61.0",
4
4
  "main": "./node/index.js",
5
5
  "module": "./index.js",
6
6
  "types": "./index.d.ts",