@frontegg/types 7.83.0-alpha.6 → 7.83.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/users.d.ts +86 -0
- package/Localizations/LoginBoxLocalization/signup.d.ts +0 -16
- package/ThemeOptions/LoginBoxTheme/DynamicFields/OverrideSignupFields.d.ts +1 -2
- package/ThemeOptions/LoginBoxTheme/SignupPageTheme.d.ts +2 -3
- package/ThemeOptions/LoginBoxTheme/SignupPageTheme.js +0 -1
- package/index.js +1 -1
- package/node/ThemeOptions/LoginBoxTheme/SignupPageTheme.js +0 -1
- package/node/index.js +1 -1
- package/package.json +2 -2
|
@@ -372,6 +372,92 @@ export interface UsersLocalization {
|
|
|
372
372
|
*/
|
|
373
373
|
shareLinkDescription: string;
|
|
374
374
|
};
|
|
375
|
+
/**
|
|
376
|
+
* Invite user via link strings
|
|
377
|
+
*/
|
|
378
|
+
users_InviteUserViaLink: {
|
|
379
|
+
/**
|
|
380
|
+
* Invite user via link title
|
|
381
|
+
*/
|
|
382
|
+
title: string;
|
|
383
|
+
/**
|
|
384
|
+
* Expiration period label
|
|
385
|
+
*/
|
|
386
|
+
expirationLabel: string;
|
|
387
|
+
/**
|
|
388
|
+
* Email notification title
|
|
389
|
+
*/
|
|
390
|
+
emailNotificationTitle: string;
|
|
391
|
+
/**
|
|
392
|
+
* Email notification description
|
|
393
|
+
*/
|
|
394
|
+
emailNotificationDescription: string;
|
|
395
|
+
/**
|
|
396
|
+
* Back button text
|
|
397
|
+
*/
|
|
398
|
+
backButton: string;
|
|
399
|
+
/**
|
|
400
|
+
* Next button text
|
|
401
|
+
*/
|
|
402
|
+
nextButton: string;
|
|
403
|
+
};
|
|
404
|
+
/**
|
|
405
|
+
* Invitation Link dialog strings
|
|
406
|
+
*/
|
|
407
|
+
users_InvitationLink: {
|
|
408
|
+
/**
|
|
409
|
+
* Account invitation link label
|
|
410
|
+
*/
|
|
411
|
+
accountInvitationLink: string;
|
|
412
|
+
/**
|
|
413
|
+
* Link expiration message
|
|
414
|
+
*/
|
|
415
|
+
linkExpiration: string;
|
|
416
|
+
/**
|
|
417
|
+
* Link expired message
|
|
418
|
+
*/
|
|
419
|
+
linkExpired: string;
|
|
420
|
+
/**
|
|
421
|
+
* Regenerate link button text
|
|
422
|
+
*/
|
|
423
|
+
regenerateLink: string;
|
|
424
|
+
/**
|
|
425
|
+
* Done button text
|
|
426
|
+
*/
|
|
427
|
+
doneBtn: string;
|
|
428
|
+
/**
|
|
429
|
+
* Regenerate link confirmation dialog title
|
|
430
|
+
*/
|
|
431
|
+
regenerateLinkTitle: string;
|
|
432
|
+
/**
|
|
433
|
+
* Regenerate link confirmation description
|
|
434
|
+
*/
|
|
435
|
+
regenerateLinkDescription: string;
|
|
436
|
+
/**
|
|
437
|
+
* Cancel button text
|
|
438
|
+
*/
|
|
439
|
+
cancelBtn: string;
|
|
440
|
+
/**
|
|
441
|
+
* Regenerate button text
|
|
442
|
+
*/
|
|
443
|
+
regenerateBtn: string;
|
|
444
|
+
/**
|
|
445
|
+
* Account invitation link tip
|
|
446
|
+
*/
|
|
447
|
+
accountInvitationLinkTip: string;
|
|
448
|
+
/**
|
|
449
|
+
* New link button text
|
|
450
|
+
*/
|
|
451
|
+
newLinkBtn: string;
|
|
452
|
+
/**
|
|
453
|
+
* Day singular
|
|
454
|
+
*/
|
|
455
|
+
day: string;
|
|
456
|
+
/**
|
|
457
|
+
* Days plural
|
|
458
|
+
*/
|
|
459
|
+
days: string;
|
|
460
|
+
};
|
|
375
461
|
/**
|
|
376
462
|
* Edit user access time dialog strings
|
|
377
463
|
*/
|
|
@@ -215,22 +215,6 @@ export interface SignupLocalizationOptions {
|
|
|
215
215
|
* Description for phone verification step
|
|
216
216
|
*/
|
|
217
217
|
verifyPhoneDescription: string;
|
|
218
|
-
/**
|
|
219
|
-
* Username is required
|
|
220
|
-
*/
|
|
221
|
-
usernameIsRequired: string;
|
|
222
|
-
/**
|
|
223
|
-
* Username is invalid
|
|
224
|
-
*/
|
|
225
|
-
usernameIsInvalid: string;
|
|
226
|
-
/**
|
|
227
|
-
* Username input label
|
|
228
|
-
*/
|
|
229
|
-
usernameInputLabel: string;
|
|
230
|
-
/**
|
|
231
|
-
* Username input placeholder
|
|
232
|
-
*/
|
|
233
|
-
usernameInputPlaceholder: string;
|
|
234
218
|
}
|
|
235
219
|
export interface SignupLocalization {
|
|
236
220
|
/**
|
|
@@ -131,7 +131,7 @@ export type CustomFieldConfig = InputCustomFieldConfig | SelectCustomFieldConfig
|
|
|
131
131
|
* Config for a standard field.
|
|
132
132
|
*/
|
|
133
133
|
interface StandardFieldConfig extends CommonFieldConfig {
|
|
134
|
-
type: 'email' | 'name' | 'firstName' | 'lastName' | 'password' | 'confirmPassword' | 'companyName' | 'disclaimer' | 'phoneNumber'
|
|
134
|
+
type: 'email' | 'name' | 'firstName' | 'lastName' | 'password' | 'confirmPassword' | 'companyName' | 'disclaimer' | 'phoneNumber';
|
|
135
135
|
initialValue?: any;
|
|
136
136
|
Component?: FC<any>;
|
|
137
137
|
validationSchema?: any;
|
|
@@ -146,7 +146,6 @@ export interface FronteggFields {
|
|
|
146
146
|
companyName: StandardFieldConfig;
|
|
147
147
|
disclaimer: StandardFieldConfig;
|
|
148
148
|
phoneNumber: StandardFieldConfig;
|
|
149
|
-
username: StandardFieldConfig;
|
|
150
149
|
}
|
|
151
150
|
/**
|
|
152
151
|
* Union type for any form field configuration.
|
|
@@ -8,12 +8,11 @@ interface TitleProps {
|
|
|
8
8
|
}
|
|
9
9
|
export declare enum SignupFields {
|
|
10
10
|
/**
|
|
11
|
-
* Phone number
|
|
11
|
+
* Phone number field wont be displayed in sign up form by default
|
|
12
12
|
* Use this field in signup fields properties to enable it
|
|
13
13
|
* Currently this field will only be externalized to signUpComplete event and will not be sent to the backend
|
|
14
14
|
*/
|
|
15
|
-
phoneNumber = "phoneNumber"
|
|
16
|
-
username = "username"
|
|
15
|
+
phoneNumber = "phoneNumber"
|
|
17
16
|
}
|
|
18
17
|
type SignupFieldsProperties = {
|
|
19
18
|
[K in SignupFields]?: {
|
package/index.js
CHANGED
|
@@ -11,7 +11,6 @@ let SignupFields;
|
|
|
11
11
|
exports.SignupFields = SignupFields;
|
|
12
12
|
(function (SignupFields) {
|
|
13
13
|
SignupFields["phoneNumber"] = "phoneNumber";
|
|
14
|
-
SignupFields["username"] = "username";
|
|
15
14
|
})(SignupFields || (exports.SignupFields = SignupFields = {}));
|
|
16
15
|
let COUNTRY_FILTER_TYPE;
|
|
17
16
|
/**
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/types",
|
|
3
|
-
"version": "7.83.0
|
|
3
|
+
"version": "7.83.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": "7.83.0
|
|
9
|
+
"@frontegg/redux-store": "7.83.0",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|