@frontegg/types 5.61.0 → 6.0.1-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/CheckoutDialogOptions.d.ts +6 -6
- package/CheckoutDialogOptions.js +1 -0
- package/Common.d.ts +6 -6
- package/Common.js +1 -0
- package/ContextOptions.d.ts +31 -31
- package/ContextOptions.js +1 -0
- package/CustomComponents.d.ts +19 -19
- package/CustomComponents.js +1 -0
- package/FronteggAppInstance.d.ts +23 -23
- package/FronteggAppInstance.js +1 -0
- package/FronteggAppOptions.d.ts +76 -76
- package/FronteggAppOptions.js +1 -0
- package/FronteggMetadata.d.ts +88 -88
- package/FronteggMetadata.js +1 -0
- package/FronteggStoreOptions.d.ts +13 -13
- package/FronteggStoreOptions.js +1 -0
- package/Localizations/AdminPortalLocalizations/accountSettings.d.ts +216 -216
- package/Localizations/AdminPortalLocalizations/accountSettings.js +1 -0
- package/Localizations/AdminPortalLocalizations/allUsers.d.ts +275 -275
- package/Localizations/AdminPortalLocalizations/allUsers.js +1 -0
- package/Localizations/AdminPortalLocalizations/apiTokens.d.ts +137 -137
- package/Localizations/AdminPortalLocalizations/apiTokens.js +1 -0
- package/Localizations/AdminPortalLocalizations/auditLogs.d.ts +51 -51
- package/Localizations/AdminPortalLocalizations/auditLogs.js +1 -0
- package/Localizations/AdminPortalLocalizations/index.d.ts +29 -29
- package/Localizations/AdminPortalLocalizations/index.js +15 -0
- package/Localizations/AdminPortalLocalizations/navigation.d.ts +85 -85
- package/Localizations/AdminPortalLocalizations/navigation.js +1 -0
- package/Localizations/AdminPortalLocalizations/personalTokens.d.ts +117 -117
- package/Localizations/AdminPortalLocalizations/personalTokens.js +1 -0
- package/Localizations/AdminPortalLocalizations/privacy.d.ts +182 -182
- package/Localizations/AdminPortalLocalizations/privacy.js +1 -0
- package/Localizations/AdminPortalLocalizations/profile.d.ts +243 -243
- package/Localizations/AdminPortalLocalizations/profile.js +1 -0
- package/Localizations/AdminPortalLocalizations/roles.d.ts +88 -88
- package/Localizations/AdminPortalLocalizations/roles.js +1 -0
- package/Localizations/AdminPortalLocalizations/security.d.ts +182 -182
- package/Localizations/AdminPortalLocalizations/security.js +1 -0
- package/Localizations/AdminPortalLocalizations/sso.d.ts +398 -398
- package/Localizations/AdminPortalLocalizations/sso.js +1 -0
- package/Localizations/AdminPortalLocalizations/subscriptions.d.ts +252 -252
- package/Localizations/AdminPortalLocalizations/subscriptions.js +1 -0
- package/Localizations/AdminPortalLocalizations/users.d.ts +288 -288
- package/Localizations/AdminPortalLocalizations/users.js +1 -0
- package/Localizations/AdminPortalLocalizations/webhooks.d.ts +157 -157
- package/Localizations/AdminPortalLocalizations/webhooks.js +1 -0
- package/Localizations/LocalizationOverrides.d.ts +21 -21
- package/Localizations/LocalizationOverrides.js +1 -0
- package/Localizations/LocalizationType.d.ts +45 -45
- package/Localizations/LocalizationType.js +1 -0
- package/Localizations/LoginBoxLocalization/SplitPageTypes/index.d.ts +25 -25
- package/Localizations/LoginBoxLocalization/SplitPageTypes/index.js +1 -0
- package/Localizations/LoginBoxLocalization/acceptInvitation.d.ts +31 -31
- package/Localizations/LoginBoxLocalization/acceptInvitation.js +1 -0
- package/Localizations/LoginBoxLocalization/activateAccount.d.ts +79 -79
- package/Localizations/LoginBoxLocalization/activateAccount.js +1 -0
- package/Localizations/LoginBoxLocalization/forgetPassword.d.ts +35 -35
- package/Localizations/LoginBoxLocalization/forgetPassword.js +1 -0
- package/Localizations/LoginBoxLocalization/index.d.ts +20 -20
- package/Localizations/LoginBoxLocalization/index.js +11 -0
- package/Localizations/LoginBoxLocalization/login.d.ts +307 -335
- package/Localizations/LoginBoxLocalization/login.js +1 -0
- package/Localizations/LoginBoxLocalization/recoveryMfa.d.ts +23 -23
- package/Localizations/LoginBoxLocalization/recoveryMfa.js +1 -0
- package/Localizations/LoginBoxLocalization/resetPassword.d.ts +67 -67
- package/Localizations/LoginBoxLocalization/resetPassword.js +1 -0
- package/Localizations/LoginBoxLocalization/resetPhoneNumber.d.ts +34 -34
- package/Localizations/LoginBoxLocalization/resetPhoneNumber.js +1 -0
- package/Localizations/LoginBoxLocalization/signup.d.ts +186 -186
- package/Localizations/LoginBoxLocalization/signup.js +1 -0
- package/Localizations/LoginBoxLocalization/socialLogins.d.ts +34 -34
- package/Localizations/LoginBoxLocalization/socialLogins.js +1 -0
- package/Localizations/index.d.ts +4 -4
- package/Localizations/index.js +4 -0
- package/Localizations/package.json +6 -0
- package/Metadata/colorManipulator.d.ts +73 -73
- package/Metadata/colorManipulator.js +186 -0
- package/Metadata/getPalette.d.ts +3 -3
- package/Metadata/getPalette.js +58 -0
- package/Metadata/index.d.ts +15 -15
- package/Metadata/index.js +126 -0
- package/Metadata/package.json +6 -0
- package/PrivateOptions.d.ts +25 -25
- package/PrivateOptions.js +1 -0
- package/ThemeOptions/AdminPortalThemeOptions.d.ts +84 -84
- package/ThemeOptions/AdminPortalThemeOptions.js +16 -0
- package/ThemeOptions/BreakpointsOptions.d.ts +17 -17
- package/ThemeOptions/BreakpointsOptions.js +1 -0
- package/ThemeOptions/ComponentsOptions.d.ts +751 -751
- package/ThemeOptions/ComponentsOptions.js +2 -0
- package/ThemeOptions/LoginBoxTheme/AcceptInvitationTheme.d.ts +21 -21
- package/ThemeOptions/LoginBoxTheme/AcceptInvitationTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/ActivateAccountPageTheme.d.ts +51 -51
- package/ThemeOptions/LoginBoxTheme/ActivateAccountPageTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/CustomLoginComponents.d.ts +12 -12
- package/ThemeOptions/LoginBoxTheme/CustomLoginComponents.js +1 -0
- package/ThemeOptions/LoginBoxTheme/ForgotPasswordTheme.d.ts +45 -45
- package/ThemeOptions/LoginBoxTheme/ForgotPasswordTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/LoaderTheme.d.ts +7 -7
- package/ThemeOptions/LoginBoxTheme/LoaderTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/LoginBoxCommon.d.ts +226 -226
- package/ThemeOptions/LoginBoxTheme/LoginBoxCommon.js +1 -0
- package/ThemeOptions/LoginBoxTheme/LoginPageTheme.d.ts +136 -148
- package/ThemeOptions/LoginBoxTheme/LoginPageTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/ResetPasswordTheme.d.ts +47 -47
- package/ThemeOptions/LoginBoxTheme/ResetPasswordTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/ResetPhoneNumberTheme.d.ts +71 -71
- package/ThemeOptions/LoginBoxTheme/ResetPhoneNumberTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/SignupPageTheme.d.ts +95 -95
- package/ThemeOptions/LoginBoxTheme/SignupPageTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/SocialLoginsTheme.d.ts +64 -64
- package/ThemeOptions/LoginBoxTheme/SocialLoginsTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/index.d.ts +53 -53
- package/ThemeOptions/LoginBoxTheme/index.js +11 -0
- package/ThemeOptions/LoginBoxThemeOptions.d.ts +46 -46
- package/ThemeOptions/LoginBoxThemeOptions.js +1 -0
- package/ThemeOptions/Palette.d.ts +85 -85
- package/ThemeOptions/Palette.js +1 -0
- package/ThemeOptions/Shadows.d.ts +1 -1
- package/ThemeOptions/Shadows.js +1 -0
- package/ThemeOptions/SpacingOptions.d.ts +9 -9
- package/ThemeOptions/SpacingOptions.js +1 -0
- package/ThemeOptions/TransitionsOptions.d.ts +23 -23
- package/ThemeOptions/TransitionsOptions.js +1 -0
- package/ThemeOptions/TypographyOptions.d.ts +13 -13
- package/ThemeOptions/TypographyOptions.js +1 -0
- package/ThemeOptions/index.d.ts +41 -41
- package/ThemeOptions/index.js +3 -0
- package/ThemeOptions/package.json +6 -0
- package/index.d.ts +7 -7
- package/index.js +12 -444
- package/node/CheckoutDialogOptions.js +5 -0
- package/node/Common.js +5 -0
- package/node/ContextOptions.js +5 -0
- package/node/CustomComponents.js +5 -0
- package/node/FronteggAppInstance.js +5 -0
- package/node/FronteggAppOptions.js +5 -0
- package/node/FronteggMetadata.js +5 -0
- package/node/FronteggStoreOptions.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/accountSettings.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/allUsers.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/apiTokens.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/auditLogs.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/index.js +187 -0
- package/node/Localizations/AdminPortalLocalizations/navigation.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/personalTokens.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/privacy.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/profile.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/roles.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/security.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/sso.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/subscriptions.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/users.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/webhooks.js +5 -0
- package/node/Localizations/LocalizationOverrides.js +5 -0
- package/node/Localizations/LocalizationType.js +5 -0
- package/node/Localizations/LoginBoxLocalization/SplitPageTypes/index.js +5 -0
- package/node/Localizations/LoginBoxLocalization/acceptInvitation.js +5 -0
- package/node/Localizations/LoginBoxLocalization/activateAccount.js +5 -0
- package/node/Localizations/LoginBoxLocalization/forgetPassword.js +5 -0
- package/node/Localizations/LoginBoxLocalization/index.js +135 -0
- package/node/Localizations/LoginBoxLocalization/login.js +5 -0
- package/node/Localizations/LoginBoxLocalization/recoveryMfa.js +5 -0
- package/node/Localizations/LoginBoxLocalization/resetPassword.js +5 -0
- package/node/Localizations/LoginBoxLocalization/resetPhoneNumber.js +5 -0
- package/node/Localizations/LoginBoxLocalization/signup.js +5 -0
- package/node/Localizations/LoginBoxLocalization/socialLogins.js +5 -0
- package/node/Localizations/index.js +57 -0
- package/node/Metadata/colorManipulator.js +210 -0
- package/node/Metadata/getPalette.js +70 -0
- package/node/Metadata/index.js +140 -0
- package/node/PrivateOptions.js +5 -0
- package/node/ThemeOptions/AdminPortalThemeOptions.js +23 -0
- package/node/ThemeOptions/BreakpointsOptions.js +5 -0
- package/node/ThemeOptions/ComponentsOptions.js +6 -0
- package/node/ThemeOptions/LoginBoxTheme/AcceptInvitationTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/ActivateAccountPageTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/CustomLoginComponents.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/ForgotPasswordTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/LoaderTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/LoginBoxCommon.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/LoginPageTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/ResetPasswordTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/ResetPhoneNumberTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/SignupPageTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/SocialLoginsTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/index.js +135 -0
- package/node/ThemeOptions/LoginBoxThemeOptions.js +5 -0
- package/node/ThemeOptions/Palette.js +5 -0
- package/node/ThemeOptions/Shadows.js +5 -0
- package/node/ThemeOptions/SpacingOptions.js +5 -0
- package/node/ThemeOptions/TransitionsOptions.js +5 -0
- package/node/ThemeOptions/TypographyOptions.js +5 -0
- package/node/ThemeOptions/index.js +31 -0
- package/node/index.js +101 -446
- package/package.json +8 -5
- package/ThemeOptions/helpers.d.ts +0 -0
package/PrivateOptions.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { RedirectOptions } from '@frontegg/rest-api';
|
|
2
|
-
import { EnhancedStore } from '@reduxjs/toolkit';
|
|
3
|
-
export interface PrivateOptions {
|
|
4
|
-
/**
|
|
5
|
-
* Option to open admin portal as Preview mode without HTTP requests for demo mode purpose
|
|
6
|
-
*/
|
|
7
|
-
previewMode?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Option to display login box as Preview mode without HTTP requests for builder customization mode purpose
|
|
10
|
-
*/
|
|
11
|
-
builderMode?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Connect AdminPortal redirects with the wrapper application router
|
|
14
|
-
*/
|
|
15
|
-
onRedirectTo?: (path: string, options?: RedirectOptions) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Pass Redux store object created by create Frontegg Store to manage actions and state of the frontegg application
|
|
18
|
-
* mostly used when building your own components.
|
|
19
|
-
*/
|
|
20
|
-
store?: EnhancedStore;
|
|
21
|
-
/**
|
|
22
|
-
* Option to open admin portal as Preview mode without HTTP requests for demo mode purpose
|
|
23
|
-
*/
|
|
24
|
-
framework?: 'nextjs' | 'react' | 'angular' | 'vuejs' | 'flutter';
|
|
25
|
-
}
|
|
1
|
+
import { RedirectOptions } from '@frontegg/rest-api';
|
|
2
|
+
import { EnhancedStore } from '@reduxjs/toolkit';
|
|
3
|
+
export interface PrivateOptions {
|
|
4
|
+
/**
|
|
5
|
+
* Option to open admin portal as Preview mode without HTTP requests for demo mode purpose
|
|
6
|
+
*/
|
|
7
|
+
previewMode?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Option to display login box as Preview mode without HTTP requests for builder customization mode purpose
|
|
10
|
+
*/
|
|
11
|
+
builderMode?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Connect AdminPortal redirects with the wrapper application router
|
|
14
|
+
*/
|
|
15
|
+
onRedirectTo?: (path: string, options?: RedirectOptions) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Pass Redux store object created by create Frontegg Store to manage actions and state of the frontegg application
|
|
18
|
+
* mostly used when building your own components.
|
|
19
|
+
*/
|
|
20
|
+
store?: EnhancedStore;
|
|
21
|
+
/**
|
|
22
|
+
* Option to open admin portal as Preview mode without HTTP requests for demo mode purpose
|
|
23
|
+
*/
|
|
24
|
+
framework?: 'nextjs' | 'react' | 'angular' | 'vuejs' | 'flutter';
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
import { BaseTheme, BaseThemeOptions } from './index';
|
|
2
|
-
import { Color, CSSProperties, ExtendedCSSProperties } from '../Common';
|
|
3
|
-
export interface NavigationThemeOptionsState {
|
|
4
|
-
color?: Color;
|
|
5
|
-
background?: Color;
|
|
6
|
-
borderColor?: Color;
|
|
7
|
-
avatarColor?: Color;
|
|
8
|
-
avatarBgColor?: Color;
|
|
9
|
-
}
|
|
10
|
-
export interface NavigationThemeOptions extends BaseThemeOptions {
|
|
11
|
-
header?: BaseThemeOptions;
|
|
12
|
-
content?: BaseThemeOptions;
|
|
13
|
-
footer?: BaseThemeOptions;
|
|
14
|
-
groupTitleColor?: Color;
|
|
15
|
-
groupTitleSize?: CSSProperties['fontSize'];
|
|
16
|
-
background?: Color;
|
|
17
|
-
headerColor?: Color;
|
|
18
|
-
subHeaderColor?: Color;
|
|
19
|
-
default?: Partial<Omit<NavigationThemeOptionsState, 'background'>>;
|
|
20
|
-
hover?: Partial<NavigationThemeOptionsState>;
|
|
21
|
-
selected?: Partial<NavigationThemeOptionsState>;
|
|
22
|
-
}
|
|
23
|
-
export interface RightPanelThemeOptions {
|
|
24
|
-
headerBackground: Color;
|
|
25
|
-
pageBackground: Color;
|
|
26
|
-
elementBackground: Color;
|
|
27
|
-
profileHeader: Color;
|
|
28
|
-
tableHeaderBackground: Color;
|
|
29
|
-
tableBodyBackground: Color;
|
|
30
|
-
}
|
|
31
|
-
export declare const enum AdminPortalPages {
|
|
32
|
-
Profile = "profile",
|
|
33
|
-
Privacy = "privacy",
|
|
34
|
-
PersonalTokens = "personalTokens",
|
|
35
|
-
AccountDetails = "accountDetails",
|
|
36
|
-
Users = "users",
|
|
37
|
-
Security = "security",
|
|
38
|
-
Sso = "sso",
|
|
39
|
-
AuditLogs = "auditLogs",
|
|
40
|
-
Webhooks = "webhooks",
|
|
41
|
-
ApiTokens = "apiTokens",
|
|
42
|
-
Roles = "roles",
|
|
43
|
-
Subscription = "subscription"
|
|
44
|
-
}
|
|
45
|
-
export interface PageThemeOptions extends BaseThemeOptions {
|
|
46
|
-
header?: ExtendedCSSProperties;
|
|
47
|
-
content?: ExtendedCSSProperties;
|
|
48
|
-
}
|
|
49
|
-
export interface ProfilePageThemeOptions extends Omit<PageThemeOptions, 'content'> {
|
|
50
|
-
profileInfo?: BaseThemeOptions;
|
|
51
|
-
basicInformation?: BaseThemeOptions;
|
|
52
|
-
}
|
|
53
|
-
export interface UsersPageThemeOptions extends Omit<PageThemeOptions, 'content'> {
|
|
54
|
-
hideInviteWithEmail?: boolean;
|
|
55
|
-
}
|
|
56
|
-
export interface PagesThemeOptions extends PageThemeOptions {
|
|
57
|
-
profile?: ProfilePageThemeOptions;
|
|
58
|
-
privacy?: PageThemeOptions;
|
|
59
|
-
personalApiTokens?: PageThemeOptions;
|
|
60
|
-
account?: PageThemeOptions;
|
|
61
|
-
users?: UsersPageThemeOptions;
|
|
62
|
-
security?: PageThemeOptions;
|
|
63
|
-
singleSignOn?: PageThemeOptions;
|
|
64
|
-
audits?: PageThemeOptions;
|
|
65
|
-
webhooks?: PageThemeOptions;
|
|
66
|
-
apiTokens?: PageThemeOptions;
|
|
67
|
-
roles?: PageThemeOptions;
|
|
68
|
-
subscriptions?: PageThemeOptions;
|
|
69
|
-
}
|
|
70
|
-
export interface AdminPortalThemeOptions extends BaseThemeOptions {
|
|
71
|
-
layout?: {
|
|
72
|
-
fullScreenMode?: boolean;
|
|
73
|
-
};
|
|
74
|
-
navigation?: NavigationThemeOptions;
|
|
75
|
-
pages?: PagesThemeOptions;
|
|
76
|
-
}
|
|
77
|
-
export interface AdminPortalTheme extends BaseTheme {
|
|
78
|
-
layout: {
|
|
79
|
-
fullScreenMode: boolean;
|
|
80
|
-
};
|
|
81
|
-
navigation: NavigationThemeOptions;
|
|
82
|
-
rightPanel: RightPanelThemeOptions;
|
|
83
|
-
pages: PagesThemeOptions;
|
|
84
|
-
}
|
|
1
|
+
import { BaseTheme, BaseThemeOptions } from './index';
|
|
2
|
+
import { Color, CSSProperties, ExtendedCSSProperties } from '../Common';
|
|
3
|
+
export interface NavigationThemeOptionsState {
|
|
4
|
+
color?: Color;
|
|
5
|
+
background?: Color;
|
|
6
|
+
borderColor?: Color;
|
|
7
|
+
avatarColor?: Color;
|
|
8
|
+
avatarBgColor?: Color;
|
|
9
|
+
}
|
|
10
|
+
export interface NavigationThemeOptions extends BaseThemeOptions {
|
|
11
|
+
header?: BaseThemeOptions;
|
|
12
|
+
content?: BaseThemeOptions;
|
|
13
|
+
footer?: BaseThemeOptions;
|
|
14
|
+
groupTitleColor?: Color;
|
|
15
|
+
groupTitleSize?: CSSProperties['fontSize'];
|
|
16
|
+
background?: Color;
|
|
17
|
+
headerColor?: Color;
|
|
18
|
+
subHeaderColor?: Color;
|
|
19
|
+
default?: Partial<Omit<NavigationThemeOptionsState, 'background'>>;
|
|
20
|
+
hover?: Partial<NavigationThemeOptionsState>;
|
|
21
|
+
selected?: Partial<NavigationThemeOptionsState>;
|
|
22
|
+
}
|
|
23
|
+
export interface RightPanelThemeOptions {
|
|
24
|
+
headerBackground: Color;
|
|
25
|
+
pageBackground: Color;
|
|
26
|
+
elementBackground: Color;
|
|
27
|
+
profileHeader: Color;
|
|
28
|
+
tableHeaderBackground: Color;
|
|
29
|
+
tableBodyBackground: Color;
|
|
30
|
+
}
|
|
31
|
+
export declare const enum AdminPortalPages {
|
|
32
|
+
Profile = "profile",
|
|
33
|
+
Privacy = "privacy",
|
|
34
|
+
PersonalTokens = "personalTokens",
|
|
35
|
+
AccountDetails = "accountDetails",
|
|
36
|
+
Users = "users",
|
|
37
|
+
Security = "security",
|
|
38
|
+
Sso = "sso",
|
|
39
|
+
AuditLogs = "auditLogs",
|
|
40
|
+
Webhooks = "webhooks",
|
|
41
|
+
ApiTokens = "apiTokens",
|
|
42
|
+
Roles = "roles",
|
|
43
|
+
Subscription = "subscription"
|
|
44
|
+
}
|
|
45
|
+
export interface PageThemeOptions extends BaseThemeOptions {
|
|
46
|
+
header?: ExtendedCSSProperties;
|
|
47
|
+
content?: ExtendedCSSProperties;
|
|
48
|
+
}
|
|
49
|
+
export interface ProfilePageThemeOptions extends Omit<PageThemeOptions, 'content'> {
|
|
50
|
+
profileInfo?: BaseThemeOptions;
|
|
51
|
+
basicInformation?: BaseThemeOptions;
|
|
52
|
+
}
|
|
53
|
+
export interface UsersPageThemeOptions extends Omit<PageThemeOptions, 'content'> {
|
|
54
|
+
hideInviteWithEmail?: boolean;
|
|
55
|
+
}
|
|
56
|
+
export interface PagesThemeOptions extends PageThemeOptions {
|
|
57
|
+
profile?: ProfilePageThemeOptions;
|
|
58
|
+
privacy?: PageThemeOptions;
|
|
59
|
+
personalApiTokens?: PageThemeOptions;
|
|
60
|
+
account?: PageThemeOptions;
|
|
61
|
+
users?: UsersPageThemeOptions;
|
|
62
|
+
security?: PageThemeOptions;
|
|
63
|
+
singleSignOn?: PageThemeOptions;
|
|
64
|
+
audits?: PageThemeOptions;
|
|
65
|
+
webhooks?: PageThemeOptions;
|
|
66
|
+
apiTokens?: PageThemeOptions;
|
|
67
|
+
roles?: PageThemeOptions;
|
|
68
|
+
subscriptions?: PageThemeOptions;
|
|
69
|
+
}
|
|
70
|
+
export interface AdminPortalThemeOptions extends BaseThemeOptions {
|
|
71
|
+
layout?: {
|
|
72
|
+
fullScreenMode?: boolean;
|
|
73
|
+
};
|
|
74
|
+
navigation?: NavigationThemeOptions;
|
|
75
|
+
pages?: PagesThemeOptions;
|
|
76
|
+
}
|
|
77
|
+
export interface AdminPortalTheme extends BaseTheme {
|
|
78
|
+
layout: {
|
|
79
|
+
fullScreenMode: boolean;
|
|
80
|
+
};
|
|
81
|
+
navigation: NavigationThemeOptions;
|
|
82
|
+
rightPanel: RightPanelThemeOptions;
|
|
83
|
+
pages: PagesThemeOptions;
|
|
84
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export let AdminPortalPages;
|
|
2
|
+
|
|
3
|
+
(function (AdminPortalPages) {
|
|
4
|
+
AdminPortalPages["Profile"] = "profile";
|
|
5
|
+
AdminPortalPages["Privacy"] = "privacy";
|
|
6
|
+
AdminPortalPages["PersonalTokens"] = "personalTokens";
|
|
7
|
+
AdminPortalPages["AccountDetails"] = "accountDetails";
|
|
8
|
+
AdminPortalPages["Users"] = "users";
|
|
9
|
+
AdminPortalPages["Security"] = "security";
|
|
10
|
+
AdminPortalPages["Sso"] = "sso";
|
|
11
|
+
AdminPortalPages["AuditLogs"] = "auditLogs";
|
|
12
|
+
AdminPortalPages["Webhooks"] = "webhooks";
|
|
13
|
+
AdminPortalPages["ApiTokens"] = "apiTokens";
|
|
14
|
+
AdminPortalPages["Roles"] = "roles";
|
|
15
|
+
AdminPortalPages["Subscription"] = "subscription";
|
|
16
|
+
})(AdminPortalPages || (AdminPortalPages = {}));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export declare type BreakpointDefaults = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
-
export declare type Breakpoint = BreakpointDefaults;
|
|
3
|
-
export declare type BreakpointValues = {
|
|
4
|
-
[key in Breakpoint]: number;
|
|
5
|
-
};
|
|
6
|
-
export interface Breakpoints {
|
|
7
|
-
unit: string;
|
|
8
|
-
step: number;
|
|
9
|
-
keys: Breakpoint[];
|
|
10
|
-
values: BreakpointValues;
|
|
11
|
-
up: (key: Breakpoint | number) => string;
|
|
12
|
-
down: (key: Breakpoint | number) => string;
|
|
13
|
-
between: (start: Breakpoint | number, end: Breakpoint | number) => string;
|
|
14
|
-
only: (key: Breakpoint) => string;
|
|
15
|
-
width: (key: Breakpoint) => number;
|
|
16
|
-
}
|
|
17
|
-
export declare type BreakpointsOptions = Partial<Breakpoints>;
|
|
1
|
+
export declare type BreakpointDefaults = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
+
export declare type Breakpoint = BreakpointDefaults;
|
|
3
|
+
export declare type BreakpointValues = {
|
|
4
|
+
[key in Breakpoint]: number;
|
|
5
|
+
};
|
|
6
|
+
export interface Breakpoints {
|
|
7
|
+
unit: string;
|
|
8
|
+
step: number;
|
|
9
|
+
keys: Breakpoint[];
|
|
10
|
+
values: BreakpointValues;
|
|
11
|
+
up: (key: Breakpoint | number) => string;
|
|
12
|
+
down: (key: Breakpoint | number) => string;
|
|
13
|
+
between: (start: Breakpoint | number, end: Breakpoint | number) => string;
|
|
14
|
+
only: (key: Breakpoint) => string;
|
|
15
|
+
width: (key: Breakpoint) => number;
|
|
16
|
+
}
|
|
17
|
+
export declare type BreakpointsOptions = Partial<Breakpoints>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|