andoncloud-sdk 1.7.6 → 1.7.8
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/dist/andoncloud-sdk.js +25 -25
- package/dist/andoncloud-sdk.js.map +1 -1
- package/dist/app/components/Header/Header.d.ts +3 -0
- package/dist/app/components/Header/Header.test.d.ts +1 -0
- package/dist/app/components/Header/index.d.ts +1 -0
- package/dist/app/components/Header/styles.d.ts +11 -0
- package/dist/app/components/Header/types.d.ts +53 -0
- package/dist/app/hooks/useHeaderContentEvent.d.ts +3 -0
- package/dist/app/hooks/useHeaderContentEvent.test.d.ts +1 -0
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.ts +1 -0
- package/dist/assets/logo.svg.d.ts +2 -0
- package/dist/cypress.config.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/src/app/__tests__/loginWithPassword.d.ts +1 -0
- package/dist/src/app/components/Header/Header.d.ts +3 -0
- package/dist/src/app/components/Header/Header.test.d.ts +1 -0
- package/dist/src/app/components/Header/index.d.ts +1 -0
- package/dist/src/app/components/Header/styles.d.ts +11 -0
- package/dist/src/app/components/Header/types.d.ts +53 -0
- package/dist/src/app/components/access/AccessBlocker.d.ts +12 -0
- package/dist/src/app/components/access/AccessBlocker.styles.d.ts +34 -0
- package/dist/src/app/components/access/AccessBlocker.test.d.ts +1 -0
- package/dist/src/app/components/access/AccessGuard.d.ts +9 -0
- package/dist/src/app/components/access/AccessGuard.test.d.ts +1 -0
- package/dist/src/app/components/access/AccessRequestModal.d.ts +8 -0
- package/dist/src/app/components/access/AccessRequestModal.styles.d.ts +31 -0
- package/dist/src/app/components/access/AccessRequestModal.test.d.ts +1 -0
- package/dist/src/app/components/access/CooldownModal.d.ts +7 -0
- package/dist/src/app/components/access/CooldownModal.styles.d.ts +30 -0
- package/dist/src/app/components/access/CooldownModal.test.d.ts +1 -0
- package/dist/src/app/components/access/index.d.ts +3 -0
- package/dist/src/app/components/access/withAccessGuard.d.ts +6 -0
- package/dist/src/app/components/access/withAccessGuard.test.d.ts +1 -0
- package/dist/src/app/components/app.d.ts +3 -0
- package/dist/src/app/components/authRedirect.d.ts +3 -0
- package/dist/src/app/components/container.d.ts +44 -0
- package/dist/src/app/components/container.styles.d.ts +20 -0
- package/dist/src/app/components/container.test.d.ts +1 -0
- package/dist/src/app/components/externalContent.d.ts +5 -0
- package/dist/src/app/components/footer.d.ts +6 -0
- package/dist/src/app/components/iframeNavigation.d.ts +2 -0
- package/dist/src/app/components/loader.d.ts +6 -0
- package/dist/src/app/components/loginForm.d.ts +29 -0
- package/dist/src/app/components/loginForm.test.d.ts +1 -0
- package/dist/src/app/components/loginModal.d.ts +31 -0
- package/dist/src/app/components/loginModal.test.d.ts +1 -0
- package/dist/src/app/components/loginRedirect.d.ts +3 -0
- package/dist/src/app/components/networkError.d.ts +4 -0
- package/dist/src/app/components/router.d.ts +5 -0
- package/dist/src/app/components/sidePanel.d.ts +66 -0
- package/dist/src/app/components/sidePanel.styles.d.ts +15 -0
- package/dist/src/app/components/sidebarMenu.d.ts +32 -0
- package/dist/src/app/components/sidebarMenu.styles.d.ts +32 -0
- package/dist/src/app/core/ui/Checkbox/Checkbox.d.ts +6 -0
- package/dist/src/app/core/ui/Checkbox/index.d.ts +1 -0
- package/dist/src/app/core/ui/Checkbox/styled.d.ts +7 -0
- package/dist/src/app/core/ui/Radio/Radio.d.ts +6 -0
- package/dist/src/app/core/ui/Radio/index.d.ts +1 -0
- package/dist/src/app/core/ui/Radio/styled.d.ts +7 -0
- package/dist/src/app/core/ui/RadioGroup/RadioGroup.d.ts +6 -0
- package/dist/src/app/core/ui/RadioGroup/index.d.ts +1 -0
- package/dist/src/app/core/ui/RadioGroup/styled.d.ts +4 -0
- package/dist/src/app/hooks/useAccess/accessState.d.ts +7 -0
- package/dist/src/app/hooks/useAccess/deriveButtons.d.ts +5 -0
- package/dist/src/app/hooks/useAccess/index.d.ts +11 -0
- package/dist/src/app/hooks/useAccess.test.d.ts +1 -0
- package/dist/src/app/hooks/useFeatures.d.ts +6 -0
- package/dist/src/app/hooks/useFeatures.test.d.ts +1 -0
- package/dist/src/app/hooks/useHeaderContentEvent.d.ts +3 -0
- package/dist/src/app/hooks/useHeaderContentEvent.test.d.ts +1 -0
- package/dist/src/app/hooks/useLogin.d.ts +2 -0
- package/dist/src/app/hooks/useLoginStatus.d.ts +4 -0
- package/dist/src/app/hooks/useModalHook/ModalContext.d.ts +7 -0
- package/dist/src/app/hooks/useModalHook/ModalProvider.d.ts +5 -0
- package/dist/src/app/hooks/useModalHook/index.d.ts +3 -0
- package/dist/src/app/hooks/useModalHook/useModal.d.ts +8 -0
- package/dist/src/app/hooks/usePermissions.d.ts +13 -0
- package/dist/src/app/hooks/usePermissions.test.d.ts +1 -0
- package/dist/src/app/hooks/useQueryParams.d.ts +2 -0
- package/dist/src/app/i18n.d.ts +2 -0
- package/dist/src/app/pages/ErrorPage.d.ts +14 -0
- package/dist/src/app/pages/LoaderPage.d.ts +7 -0
- package/dist/src/app/pages/LoginPage.d.ts +15 -0
- package/dist/src/app/providers/authConfig.d.ts +6 -0
- package/dist/src/app/providers/display.d.ts +5 -0
- package/dist/src/app/providers/metaInfo.d.ts +6 -0
- package/dist/src/app/providers/store.d.ts +171 -0
- package/dist/src/app/stores/appStore.d.ts +10 -0
- package/dist/src/app/stores/sessionStore.d.ts +83 -0
- package/dist/src/app/stores/userStore.d.ts +14 -0
- package/dist/src/app/testing/index.d.ts +2 -0
- package/dist/src/app/theme.d.ts +2 -0
- package/dist/src/app/utils/cookies-manager.d.ts +7 -0
- package/dist/src/app/utils/display.d.ts +13 -0
- package/dist/src/app/utils/fetch.d.ts +9 -0
- package/dist/src/app/utils/service-worker.d.ts +1 -0
- package/dist/src/app/utils/stores.d.ts +22 -0
- package/dist/src/app/utils/text.d.ts +1 -0
- package/dist/src/assets/index.d.ts +1 -0
- package/dist/src/index.d.ts +53 -0
- package/dist/src/serviceWorkerRegistration.d.ts +2 -0
- package/dist/src/setupTests.d.ts +1 -0
- package/dist/src/version.d.ts +1 -0
- package/dist/version.d.ts +1 -1
- package/package.json +14 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Header } from './Header';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
2
|
+
import { HeaderStylesOverride, StyleMap } from './types';
|
|
3
|
+
interface StylesInput {
|
|
4
|
+
styles?: HeaderStylesOverride;
|
|
5
|
+
titleStyles?: SxProps<Theme>;
|
|
6
|
+
contentStyles?: SxProps<Theme>;
|
|
7
|
+
menuStyles?: SxProps<Theme>;
|
|
8
|
+
menuDropdownStyles?: SxProps<Theme>;
|
|
9
|
+
}
|
|
10
|
+
declare const useStyles: ({ styles, titleStyles, contentStyles, menuStyles, menuDropdownStyles }: StylesInput) => StyleMap;
|
|
11
|
+
export default useStyles;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface NavItem {
|
|
4
|
+
label: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
action?: () => void;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export interface NavProps {
|
|
10
|
+
items?: NavItem[];
|
|
11
|
+
}
|
|
12
|
+
export interface UserProps {
|
|
13
|
+
show?: boolean;
|
|
14
|
+
showCompanyLogo?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface HeaderMenuProps {
|
|
17
|
+
items?: NavItem[];
|
|
18
|
+
buttonColor?: string;
|
|
19
|
+
dropdownStyles?: SxProps<Theme>;
|
|
20
|
+
styles?: SxProps<Theme>;
|
|
21
|
+
}
|
|
22
|
+
export interface IframeContent {
|
|
23
|
+
component: string;
|
|
24
|
+
props: Record<string, unknown>;
|
|
25
|
+
}
|
|
26
|
+
export interface IframeSource {
|
|
27
|
+
source: Window;
|
|
28
|
+
origin: string;
|
|
29
|
+
}
|
|
30
|
+
export interface HeaderStylesOverride {
|
|
31
|
+
background?: string;
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
}
|
|
34
|
+
export type StyleMap = Record<string, Record<string, unknown>>;
|
|
35
|
+
export interface HeaderProps {
|
|
36
|
+
position?: 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky';
|
|
37
|
+
scrolled?: boolean;
|
|
38
|
+
showAcLogo?: boolean;
|
|
39
|
+
leadingText?: string;
|
|
40
|
+
title?: string;
|
|
41
|
+
titleStyles?: SxProps<Theme>;
|
|
42
|
+
content?: React.ReactNode;
|
|
43
|
+
contentComponents?: Record<string, React.ComponentType<any>>;
|
|
44
|
+
contentStyles?: SxProps<Theme>;
|
|
45
|
+
navProps?: NavProps;
|
|
46
|
+
userProps?: UserProps;
|
|
47
|
+
menuProps?: HeaderMenuProps;
|
|
48
|
+
sidebarEnabled?: boolean;
|
|
49
|
+
sidebarOpen?: boolean;
|
|
50
|
+
onSidebarToggle?: () => void;
|
|
51
|
+
styles?: HeaderStylesOverride;
|
|
52
|
+
'data-testid'?: string;
|
|
53
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as acLogo } from './logo.svg';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as acLogo } from './logo.svg';
|
package/dist/index.d.ts
CHANGED
|
@@ -308,6 +308,9 @@ declare module 'andoncloud-sdk' {
|
|
|
308
308
|
|
|
309
309
|
export const useAccess: (features?: string[], options?: UseAccessOptions) => UseAccessResult;
|
|
310
310
|
|
|
311
|
+
type ContentEventHandler = (event: string, payload?: unknown) => void;
|
|
312
|
+
export const useHeaderContentEvent: (handler: ContentEventHandler) => void;
|
|
313
|
+
|
|
311
314
|
export interface FeatureRequestPayload {
|
|
312
315
|
featureKey: string;
|
|
313
316
|
requestType: AccessRequestType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Header } from './Header';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
2
|
+
import { HeaderStylesOverride, StyleMap } from './types';
|
|
3
|
+
interface StylesInput {
|
|
4
|
+
styles?: HeaderStylesOverride;
|
|
5
|
+
titleStyles?: SxProps<Theme>;
|
|
6
|
+
contentStyles?: SxProps<Theme>;
|
|
7
|
+
menuStyles?: SxProps<Theme>;
|
|
8
|
+
menuDropdownStyles?: SxProps<Theme>;
|
|
9
|
+
}
|
|
10
|
+
declare const useStyles: ({ styles, titleStyles, contentStyles, menuStyles, menuDropdownStyles }: StylesInput) => StyleMap;
|
|
11
|
+
export default useStyles;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface NavItem {
|
|
4
|
+
label: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
action?: () => void;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export interface NavProps {
|
|
10
|
+
items?: NavItem[];
|
|
11
|
+
}
|
|
12
|
+
export interface UserProps {
|
|
13
|
+
show?: boolean;
|
|
14
|
+
showCompanyLogo?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface HeaderMenuProps {
|
|
17
|
+
items?: NavItem[];
|
|
18
|
+
buttonColor?: string;
|
|
19
|
+
dropdownStyles?: SxProps<Theme>;
|
|
20
|
+
styles?: SxProps<Theme>;
|
|
21
|
+
}
|
|
22
|
+
export interface IframeContent {
|
|
23
|
+
component: string;
|
|
24
|
+
props: Record<string, unknown>;
|
|
25
|
+
}
|
|
26
|
+
export interface IframeSource {
|
|
27
|
+
source: Window;
|
|
28
|
+
origin: string;
|
|
29
|
+
}
|
|
30
|
+
export interface HeaderStylesOverride {
|
|
31
|
+
background?: string;
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
}
|
|
34
|
+
export type StyleMap = Record<string, Record<string, unknown>>;
|
|
35
|
+
export interface HeaderProps {
|
|
36
|
+
position?: 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky';
|
|
37
|
+
scrolled?: boolean;
|
|
38
|
+
showAcLogo?: boolean;
|
|
39
|
+
leadingText?: string;
|
|
40
|
+
title?: string;
|
|
41
|
+
titleStyles?: SxProps<Theme>;
|
|
42
|
+
content?: React.ReactNode;
|
|
43
|
+
contentComponents?: Record<string, React.ComponentType<any>>;
|
|
44
|
+
contentStyles?: SxProps<Theme>;
|
|
45
|
+
navProps?: NavProps;
|
|
46
|
+
userProps?: UserProps;
|
|
47
|
+
menuProps?: HeaderMenuProps;
|
|
48
|
+
sidebarEnabled?: boolean;
|
|
49
|
+
sidebarOpen?: boolean;
|
|
50
|
+
onSidebarToggle?: () => void;
|
|
51
|
+
styles?: HeaderStylesOverride;
|
|
52
|
+
'data-testid'?: string;
|
|
53
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default AccessBlocker;
|
|
2
|
+
declare function AccessBlocker({ accessState, buttons, daysSinceExpiry, featureKey, workplaceId, cooldownInfo, onTrialRequest, onFeatureRequest, }: {
|
|
3
|
+
accessState: any;
|
|
4
|
+
buttons?: any[] | undefined;
|
|
5
|
+
daysSinceExpiry: any;
|
|
6
|
+
featureKey: any;
|
|
7
|
+
workplaceId: any;
|
|
8
|
+
cooldownInfo?: {} | undefined;
|
|
9
|
+
onTrialRequest: any;
|
|
10
|
+
onFeatureRequest: any;
|
|
11
|
+
}): React.JSX.Element;
|
|
12
|
+
import React from "react";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export default makeStyles;
|
|
2
|
+
declare function makeStyles(accessState: any): {
|
|
3
|
+
container: {
|
|
4
|
+
display: string;
|
|
5
|
+
flexDirection: string;
|
|
6
|
+
alignItems: string;
|
|
7
|
+
justifyContent: string;
|
|
8
|
+
gap: number;
|
|
9
|
+
width: string;
|
|
10
|
+
height: string;
|
|
11
|
+
padding: number;
|
|
12
|
+
textAlign: string;
|
|
13
|
+
background: (theme: any) => any;
|
|
14
|
+
};
|
|
15
|
+
icon: {
|
|
16
|
+
fontSize: number;
|
|
17
|
+
color: any;
|
|
18
|
+
};
|
|
19
|
+
buttonsContainer: {
|
|
20
|
+
display: string;
|
|
21
|
+
flexWrap: string;
|
|
22
|
+
alignItems: string;
|
|
23
|
+
justifyContent: string;
|
|
24
|
+
gap: number;
|
|
25
|
+
};
|
|
26
|
+
primaryButton: {
|
|
27
|
+
backgroundColor: any;
|
|
28
|
+
};
|
|
29
|
+
secondaryButton: {};
|
|
30
|
+
linkButton: {
|
|
31
|
+
cursor: string;
|
|
32
|
+
color: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default AccessGuard;
|
|
2
|
+
declare function AccessGuard({ features: featuresProp, extraPermissions, workplaceId, onTrialRequest, onFeatureRequest, children, }: {
|
|
3
|
+
features?: any[] | undefined;
|
|
4
|
+
extraPermissions?: any[] | undefined;
|
|
5
|
+
workplaceId: any;
|
|
6
|
+
onTrialRequest: any;
|
|
7
|
+
onFeatureRequest: any;
|
|
8
|
+
children: any;
|
|
9
|
+
}): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export default styles;
|
|
2
|
+
declare namespace styles {
|
|
3
|
+
const dialog: {
|
|
4
|
+
'.MuiPaper-root': {
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
namespace dialogContent {
|
|
9
|
+
const padding: number;
|
|
10
|
+
}
|
|
11
|
+
namespace container {
|
|
12
|
+
export const display: string;
|
|
13
|
+
export const flexDirection: string;
|
|
14
|
+
export const alignItems: string;
|
|
15
|
+
export const gap: number;
|
|
16
|
+
const padding_1: number;
|
|
17
|
+
export { padding_1 as padding };
|
|
18
|
+
export function background(theme: any): any;
|
|
19
|
+
}
|
|
20
|
+
namespace stepper {
|
|
21
|
+
const width: string;
|
|
22
|
+
}
|
|
23
|
+
namespace disclaimer {
|
|
24
|
+
const marginTop: number;
|
|
25
|
+
const color: string;
|
|
26
|
+
}
|
|
27
|
+
namespace actions {
|
|
28
|
+
const marginTop_1: number;
|
|
29
|
+
export { marginTop_1 as marginTop };
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export default styles;
|
|
2
|
+
declare namespace styles {
|
|
3
|
+
const dialog: {
|
|
4
|
+
'.MuiPaper-root': {
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
namespace dialogContent {
|
|
9
|
+
const padding: number;
|
|
10
|
+
}
|
|
11
|
+
namespace container {
|
|
12
|
+
export const display: string;
|
|
13
|
+
export const flexDirection: string;
|
|
14
|
+
export const alignItems: string;
|
|
15
|
+
export const gap: number;
|
|
16
|
+
const padding_1: number;
|
|
17
|
+
export { padding_1 as padding };
|
|
18
|
+
export function background(theme: any): any;
|
|
19
|
+
}
|
|
20
|
+
namespace content {
|
|
21
|
+
const marginTop: number;
|
|
22
|
+
const marginBottom: number;
|
|
23
|
+
const textAlign: string;
|
|
24
|
+
}
|
|
25
|
+
namespace actions {
|
|
26
|
+
const display_1: string;
|
|
27
|
+
export { display_1 as display };
|
|
28
|
+
export const justifyContent: string;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export default Container;
|
|
2
|
+
declare function Container({ children, headerProps, sidebarMenuProps, sidePanelProps, styles, "data-testid": dataTestID }: {
|
|
3
|
+
children: any;
|
|
4
|
+
headerProps: any;
|
|
5
|
+
sidebarMenuProps: any;
|
|
6
|
+
sidePanelProps: any;
|
|
7
|
+
styles: any;
|
|
8
|
+
"data-testid": any;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
declare namespace Container {
|
|
11
|
+
namespace propTypes {
|
|
12
|
+
const children: any;
|
|
13
|
+
const headerProps: any;
|
|
14
|
+
const sidebarMenuProps: any;
|
|
15
|
+
const sidePanelProps: any;
|
|
16
|
+
const styles: any;
|
|
17
|
+
}
|
|
18
|
+
namespace defaultProps {
|
|
19
|
+
const headerProps_1: {};
|
|
20
|
+
export { headerProps_1 as headerProps };
|
|
21
|
+
export namespace sidebarMenuProps_1 {
|
|
22
|
+
export const enabled: boolean;
|
|
23
|
+
export const open: boolean;
|
|
24
|
+
export const items: never[];
|
|
25
|
+
export { DEFAULT_SIDEBAR_MENU_WIDTH as width };
|
|
26
|
+
}
|
|
27
|
+
export { sidebarMenuProps_1 as sidebarMenuProps };
|
|
28
|
+
export namespace sidePanelProps_1 {
|
|
29
|
+
const enabled_1: boolean;
|
|
30
|
+
export { enabled_1 as enabled };
|
|
31
|
+
const open_1: boolean;
|
|
32
|
+
export { open_1 as open };
|
|
33
|
+
export function onClose(): void;
|
|
34
|
+
export const title: string;
|
|
35
|
+
export const mainContent: null;
|
|
36
|
+
export const asideContent: null;
|
|
37
|
+
export { DEFAULT_SIDE_PANEL_WIDTH as width };
|
|
38
|
+
}
|
|
39
|
+
export { sidePanelProps_1 as sidePanelProps };
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
import React from "react";
|
|
43
|
+
declare const DEFAULT_SIDEBAR_MENU_WIDTH: 240;
|
|
44
|
+
declare const DEFAULT_SIDE_PANEL_WIDTH: "45%";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export default makeStyles;
|
|
2
|
+
declare function makeStyles({ isEmbeddedMode }: {
|
|
3
|
+
isEmbeddedMode: any;
|
|
4
|
+
}): {
|
|
5
|
+
root: {
|
|
6
|
+
height: string;
|
|
7
|
+
paddingTop: string | number;
|
|
8
|
+
mixBlendMode: string;
|
|
9
|
+
background: string;
|
|
10
|
+
};
|
|
11
|
+
overlay: {
|
|
12
|
+
position: string;
|
|
13
|
+
top: number;
|
|
14
|
+
left: number;
|
|
15
|
+
width: string;
|
|
16
|
+
height: string;
|
|
17
|
+
zIndex: number;
|
|
18
|
+
background: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
({ scope, redirectPath, onSuccess, onFailure, onCancel, storeSession, title, "data-testid": dataTestID, }: {
|
|
3
|
+
scope: any;
|
|
4
|
+
redirectPath: any;
|
|
5
|
+
onSuccess: any;
|
|
6
|
+
onFailure: any;
|
|
7
|
+
onCancel: any;
|
|
8
|
+
storeSession: any;
|
|
9
|
+
title: any;
|
|
10
|
+
"data-testid": any;
|
|
11
|
+
}): React.JSX.Element;
|
|
12
|
+
propTypes: {
|
|
13
|
+
scope: any;
|
|
14
|
+
redirectPath: any;
|
|
15
|
+
onSuccess: any;
|
|
16
|
+
onFailure: any;
|
|
17
|
+
onCancel: any;
|
|
18
|
+
storeSession: any;
|
|
19
|
+
};
|
|
20
|
+
defaultProps: {
|
|
21
|
+
redirectPath: string;
|
|
22
|
+
storeSession: boolean;
|
|
23
|
+
};
|
|
24
|
+
} & {
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
export function AcLogoSVG(): React.JSX.Element;
|
|
29
|
+
import React from "react";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
({ open, subtitle, scope, redirectPath, onSuccess, onFailure, onCancel, storeSession, "data-testid": dataTestID, }: {
|
|
3
|
+
open: any;
|
|
4
|
+
subtitle: any;
|
|
5
|
+
scope: any;
|
|
6
|
+
redirectPath: any;
|
|
7
|
+
onSuccess: any;
|
|
8
|
+
onFailure: any;
|
|
9
|
+
onCancel: any;
|
|
10
|
+
storeSession: any;
|
|
11
|
+
"data-testid": any;
|
|
12
|
+
}): React.JSX.Element;
|
|
13
|
+
propTypes: {
|
|
14
|
+
title: any;
|
|
15
|
+
subtitle: any;
|
|
16
|
+
scope: any;
|
|
17
|
+
redirectPath: any;
|
|
18
|
+
onSuccess: any;
|
|
19
|
+
onFailure: any;
|
|
20
|
+
onCancel: any;
|
|
21
|
+
storeSession: any;
|
|
22
|
+
};
|
|
23
|
+
defaultProps: {
|
|
24
|
+
redirectPath: string;
|
|
25
|
+
storeSession: boolean;
|
|
26
|
+
};
|
|
27
|
+
} & {
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
30
|
+
export default _default;
|
|
31
|
+
import React from "react";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export namespace sidePanelDefaultProps {
|
|
2
|
+
const enabled: boolean;
|
|
3
|
+
const open: boolean;
|
|
4
|
+
function onClose(): void;
|
|
5
|
+
const title: string;
|
|
6
|
+
const mainContent: null;
|
|
7
|
+
const asideContent: null;
|
|
8
|
+
const width: null;
|
|
9
|
+
const mainContentWidth: null;
|
|
10
|
+
const asideContentWidth: null;
|
|
11
|
+
const styles: {};
|
|
12
|
+
const headerStyles: {};
|
|
13
|
+
const contentWrapperStyles: {};
|
|
14
|
+
const mainContentStyles: {};
|
|
15
|
+
const asideContentStyles: {};
|
|
16
|
+
}
|
|
17
|
+
export default SidePanel;
|
|
18
|
+
declare function SidePanel({ open, onClose, title, mainContent, asideContent, width, mainContentWidth, asideContentWidth, styles, headerStyles, contentWrapperStyles, mainContentStyles, asideContentStyles, }: {
|
|
19
|
+
open: any;
|
|
20
|
+
onClose: any;
|
|
21
|
+
title: any;
|
|
22
|
+
mainContent: any;
|
|
23
|
+
asideContent: any;
|
|
24
|
+
width: any;
|
|
25
|
+
mainContentWidth: any;
|
|
26
|
+
asideContentWidth: any;
|
|
27
|
+
styles: any;
|
|
28
|
+
headerStyles: any;
|
|
29
|
+
contentWrapperStyles: any;
|
|
30
|
+
mainContentStyles: any;
|
|
31
|
+
asideContentStyles: any;
|
|
32
|
+
}): React.JSX.Element;
|
|
33
|
+
declare namespace SidePanel {
|
|
34
|
+
export namespace propTypes {
|
|
35
|
+
const enabled_1: any;
|
|
36
|
+
export { enabled_1 as enabled };
|
|
37
|
+
const open_1: any;
|
|
38
|
+
export { open_1 as open };
|
|
39
|
+
const onClose_1: any;
|
|
40
|
+
export { onClose_1 as onClose };
|
|
41
|
+
const title_1: any;
|
|
42
|
+
export { title_1 as title };
|
|
43
|
+
const mainContent_1: any;
|
|
44
|
+
export { mainContent_1 as mainContent };
|
|
45
|
+
const asideContent_1: any;
|
|
46
|
+
export { asideContent_1 as asideContent };
|
|
47
|
+
const width_1: any;
|
|
48
|
+
export { width_1 as width };
|
|
49
|
+
const mainContentWidth_1: any;
|
|
50
|
+
export { mainContentWidth_1 as mainContentWidth };
|
|
51
|
+
const asideContentWidth_1: any;
|
|
52
|
+
export { asideContentWidth_1 as asideContentWidth };
|
|
53
|
+
const styles_1: any;
|
|
54
|
+
export { styles_1 as styles };
|
|
55
|
+
const headerStyles_1: any;
|
|
56
|
+
export { headerStyles_1 as headerStyles };
|
|
57
|
+
const contentWrapperStyles_1: any;
|
|
58
|
+
export { contentWrapperStyles_1 as contentWrapperStyles };
|
|
59
|
+
const mainContentStyles_1: any;
|
|
60
|
+
export { mainContentStyles_1 as mainContentStyles };
|
|
61
|
+
const asideContentStyles_1: any;
|
|
62
|
+
export { asideContentStyles_1 as asideContentStyles };
|
|
63
|
+
}
|
|
64
|
+
export { sidePanelDefaultProps as defaultProps };
|
|
65
|
+
}
|
|
66
|
+
import React from "react";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default useStyles;
|
|
2
|
+
declare function useStyles({ hasAsideContent, styles, headerStyles, contentWrapperStyles, mainContentStyles, asideContentStyles, }: {
|
|
3
|
+
hasAsideContent: any;
|
|
4
|
+
styles: any;
|
|
5
|
+
headerStyles: any;
|
|
6
|
+
contentWrapperStyles: any;
|
|
7
|
+
mainContentStyles: any;
|
|
8
|
+
asideContentStyles: any;
|
|
9
|
+
}): {
|
|
10
|
+
root: any;
|
|
11
|
+
header: any;
|
|
12
|
+
contentWrapper: any;
|
|
13
|
+
mainContent: any;
|
|
14
|
+
asideContent: any;
|
|
15
|
+
};
|