@frontegg/types 7.90.0 → 7.91.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/LoginBoxLocalization/approvalFlow.d.ts +55 -0
- package/Localizations/LoginBoxLocalization/approvalFlow.js +1 -0
- package/Localizations/LoginBoxLocalization/index.d.ts +3 -1
- package/Localizations/LoginBoxLocalization/index.js +1 -0
- package/ThemeOptions/LoginBoxTheme/ApprovalFlowPageTheme.d.ts +6 -0
- package/ThemeOptions/LoginBoxTheme/ApprovalFlowPageTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/index.d.ts +4 -0
- package/ThemeOptions/LoginBoxTheme/index.js +1 -0
- package/index.js +1 -1
- package/node/Localizations/LoginBoxLocalization/approvalFlow.js +5 -0
- package/node/Localizations/LoginBoxLocalization/index.js +11 -0
- package/node/ThemeOptions/LoginBoxTheme/ApprovalFlowPageTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/index.js +11 -0
- package/node/index.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export interface ApprovalFlowLocalization {
|
|
2
|
+
/**
|
|
3
|
+
* strings in approval flow page
|
|
4
|
+
*/
|
|
5
|
+
approvalFlow: {
|
|
6
|
+
/**
|
|
7
|
+
* Approval flow page title
|
|
8
|
+
*/
|
|
9
|
+
title: string;
|
|
10
|
+
/**
|
|
11
|
+
* Approval flow page description
|
|
12
|
+
*/
|
|
13
|
+
description: string;
|
|
14
|
+
/**
|
|
15
|
+
* Approve button text
|
|
16
|
+
*/
|
|
17
|
+
approve: string;
|
|
18
|
+
/**
|
|
19
|
+
* Reject button text
|
|
20
|
+
*/
|
|
21
|
+
reject: string;
|
|
22
|
+
/**
|
|
23
|
+
* Success title
|
|
24
|
+
*/
|
|
25
|
+
successTitle: string;
|
|
26
|
+
/**
|
|
27
|
+
* Success description
|
|
28
|
+
*/
|
|
29
|
+
successDescription: string;
|
|
30
|
+
/**
|
|
31
|
+
* Failed title
|
|
32
|
+
*/
|
|
33
|
+
failedTitle: string;
|
|
34
|
+
/**
|
|
35
|
+
* Failed description
|
|
36
|
+
*/
|
|
37
|
+
failedDescription: string;
|
|
38
|
+
/**
|
|
39
|
+
* Invalid link title
|
|
40
|
+
*/
|
|
41
|
+
invalidLinkTitle: string;
|
|
42
|
+
/**
|
|
43
|
+
* Invalid link description
|
|
44
|
+
*/
|
|
45
|
+
invalidLinkDescription: string;
|
|
46
|
+
/**
|
|
47
|
+
* Requester
|
|
48
|
+
*/
|
|
49
|
+
requester: string;
|
|
50
|
+
/**
|
|
51
|
+
* Request date
|
|
52
|
+
*/
|
|
53
|
+
requestDate: string;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -11,6 +11,7 @@ import { ImpersonateLocalization } from './impersonate';
|
|
|
11
11
|
import { StepUpLocalization } from './stepUp';
|
|
12
12
|
import { OpenAppLocalization } from './openApp';
|
|
13
13
|
import { UnlockAccountLocalization } from './unlockAccount';
|
|
14
|
+
import { ApprovalFlowLocalization } from './approvalFlow';
|
|
14
15
|
export * from './login';
|
|
15
16
|
export * from './stepUp';
|
|
16
17
|
export * from './signup';
|
|
@@ -26,4 +27,5 @@ export * from './impersonate';
|
|
|
26
27
|
export * from './openApp';
|
|
27
28
|
export * from './unlockAccount';
|
|
28
29
|
export * from './prestep';
|
|
29
|
-
export
|
|
30
|
+
export * from './approvalFlow';
|
|
31
|
+
export type LoginBoxLocalization = LoginLocalization & StepUpLocalization & SignupLocalization & ForgetPasswordLocalization & ResetPhoneNumberLocalization & ResetPasswordLocalization & SocialLoginsLocalization & AcceptInvitationLocalization & ActivateAccountLocalization & ImpersonateLocalization & RecoveryMfaLocalization & UnlockAccountLocalization & OpenAppLocalization & ApprovalFlowLocalization;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { LoginBoxCommonTheme, LoginBoxCommonThemeOptions } from '../index';
|
|
2
|
+
import { LoginPageComponentsTheme } from './LoginPageTheme';
|
|
3
|
+
export interface ApprovalFlowPageThemeOptions extends LoginBoxCommonThemeOptions, LoginPageComponentsTheme {
|
|
4
|
+
}
|
|
5
|
+
export interface ApprovalFlowPageTheme extends LoginBoxCommonTheme, LoginPageComponentsTheme {
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AcceptInvitationPageTheme, AcceptInvitationPageThemeOptions } from './AcceptInvitationTheme';
|
|
2
2
|
import { ActivateAccountPageTheme, ActivateAccountPageThemeOptions } from './ActivateAccountPageTheme';
|
|
3
|
+
import { ApprovalFlowPageTheme, ApprovalFlowPageThemeOptions } from './ApprovalFlowPageTheme';
|
|
3
4
|
import { BaseThemeOptions, BasicThemeName, LoginBoxCommonTheme, LoginBoxCommonThemeOptions, SignupPageThemeOptions, SocialLoginsTheme, ThemeNameV2 } from '../index';
|
|
4
5
|
import { Color, CSSProperties, ExtendedCSSProperties } from '../../Common';
|
|
5
6
|
import { AuthPageCustomComponents } from '../../CustomComponents';
|
|
@@ -22,6 +23,7 @@ export * from './ForgotPasswordTheme';
|
|
|
22
23
|
export * from './ResetPhoneNumberTheme';
|
|
23
24
|
export * from './ResetPasswordTheme';
|
|
24
25
|
export * from './ActivateAccountPageTheme';
|
|
26
|
+
export * from './ApprovalFlowPageTheme';
|
|
25
27
|
export * from './AcceptInvitationTheme';
|
|
26
28
|
export * from './OpenAppPageTheme';
|
|
27
29
|
export * from './DynamicFields';
|
|
@@ -39,6 +41,7 @@ export interface LoginBoxThemeOptions extends LoginBoxCommonThemeOptions {
|
|
|
39
41
|
poweredByColor?: Color;
|
|
40
42
|
acceptInvitation?: AcceptInvitationPageThemeOptions;
|
|
41
43
|
activateAccount?: ActivateAccountPageThemeOptions;
|
|
44
|
+
approvalFlow?: ApprovalFlowPageThemeOptions;
|
|
42
45
|
unlockAccount?: UnlockAccountPageThemeOptions;
|
|
43
46
|
forgotPassword?: ForgotPasswordPageThemeOptions;
|
|
44
47
|
resetPhoneNumber?: ResetPhoneNumberPageThemeOptions;
|
|
@@ -53,6 +56,7 @@ export interface LoginBoxTheme extends LoginBoxCommonTheme {
|
|
|
53
56
|
themeName: BasicThemeName | ThemeNameV2;
|
|
54
57
|
acceptInvitation: AcceptInvitationPageTheme;
|
|
55
58
|
activateAccount: ActivateAccountPageTheme;
|
|
59
|
+
approvalFlow: ApprovalFlowPageTheme;
|
|
56
60
|
unlockAccount: UnlockAccountPageTheme;
|
|
57
61
|
forgotPassword: ForgotPasswordPageTheme;
|
|
58
62
|
resetPhoneNumber: ResetPhoneNumberPageTheme;
|
|
@@ -8,6 +8,7 @@ export * from './ForgotPasswordTheme';
|
|
|
8
8
|
export * from './ResetPhoneNumberTheme';
|
|
9
9
|
export * from './ResetPasswordTheme';
|
|
10
10
|
export * from './ActivateAccountPageTheme';
|
|
11
|
+
export * from './ApprovalFlowPageTheme';
|
|
11
12
|
export * from './AcceptInvitationTheme';
|
|
12
13
|
export * from './OpenAppPageTheme';
|
|
13
14
|
export * from './DynamicFields';
|
package/index.js
CHANGED
|
@@ -167,4 +167,15 @@ Object.keys(_prestep).forEach(function (key) {
|
|
|
167
167
|
return _prestep[key];
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
|
+
});
|
|
171
|
+
var _approvalFlow = require("./approvalFlow");
|
|
172
|
+
Object.keys(_approvalFlow).forEach(function (key) {
|
|
173
|
+
if (key === "default" || key === "__esModule") return;
|
|
174
|
+
if (key in exports && exports[key] === _approvalFlow[key]) return;
|
|
175
|
+
Object.defineProperty(exports, key, {
|
|
176
|
+
enumerable: true,
|
|
177
|
+
get: function () {
|
|
178
|
+
return _approvalFlow[key];
|
|
179
|
+
}
|
|
180
|
+
});
|
|
170
181
|
});
|
|
@@ -113,6 +113,17 @@ Object.keys(_ActivateAccountPageTheme).forEach(function (key) {
|
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
115
|
});
|
|
116
|
+
var _ApprovalFlowPageTheme = require("./ApprovalFlowPageTheme");
|
|
117
|
+
Object.keys(_ApprovalFlowPageTheme).forEach(function (key) {
|
|
118
|
+
if (key === "default" || key === "__esModule") return;
|
|
119
|
+
if (key in exports && exports[key] === _ApprovalFlowPageTheme[key]) return;
|
|
120
|
+
Object.defineProperty(exports, key, {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () {
|
|
123
|
+
return _ApprovalFlowPageTheme[key];
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
});
|
|
116
127
|
var _AcceptInvitationTheme = require("./AcceptInvitationTheme");
|
|
117
128
|
Object.keys(_AcceptInvitationTheme).forEach(function (key) {
|
|
118
129
|
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": "7.
|
|
3
|
+
"version": "7.91.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.
|
|
9
|
+
"@frontegg/redux-store": "7.91.0",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|