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.
Files changed (106) hide show
  1. package/dist/andoncloud-sdk.js +25 -25
  2. package/dist/andoncloud-sdk.js.map +1 -1
  3. package/dist/app/components/Header/Header.d.ts +3 -0
  4. package/dist/app/components/Header/Header.test.d.ts +1 -0
  5. package/dist/app/components/Header/index.d.ts +1 -0
  6. package/dist/app/components/Header/styles.d.ts +11 -0
  7. package/dist/app/components/Header/types.d.ts +53 -0
  8. package/dist/app/hooks/useHeaderContentEvent.d.ts +3 -0
  9. package/dist/app/hooks/useHeaderContentEvent.test.d.ts +1 -0
  10. package/dist/assets/index.d.ts +1 -0
  11. package/dist/assets/index.ts +1 -0
  12. package/dist/assets/logo.svg.d.ts +2 -0
  13. package/dist/cypress.config.d.ts +2 -0
  14. package/dist/index.d.ts +3 -0
  15. package/dist/src/app/__tests__/loginWithPassword.d.ts +1 -0
  16. package/dist/src/app/components/Header/Header.d.ts +3 -0
  17. package/dist/src/app/components/Header/Header.test.d.ts +1 -0
  18. package/dist/src/app/components/Header/index.d.ts +1 -0
  19. package/dist/src/app/components/Header/styles.d.ts +11 -0
  20. package/dist/src/app/components/Header/types.d.ts +53 -0
  21. package/dist/src/app/components/access/AccessBlocker.d.ts +12 -0
  22. package/dist/src/app/components/access/AccessBlocker.styles.d.ts +34 -0
  23. package/dist/src/app/components/access/AccessBlocker.test.d.ts +1 -0
  24. package/dist/src/app/components/access/AccessGuard.d.ts +9 -0
  25. package/dist/src/app/components/access/AccessGuard.test.d.ts +1 -0
  26. package/dist/src/app/components/access/AccessRequestModal.d.ts +8 -0
  27. package/dist/src/app/components/access/AccessRequestModal.styles.d.ts +31 -0
  28. package/dist/src/app/components/access/AccessRequestModal.test.d.ts +1 -0
  29. package/dist/src/app/components/access/CooldownModal.d.ts +7 -0
  30. package/dist/src/app/components/access/CooldownModal.styles.d.ts +30 -0
  31. package/dist/src/app/components/access/CooldownModal.test.d.ts +1 -0
  32. package/dist/src/app/components/access/index.d.ts +3 -0
  33. package/dist/src/app/components/access/withAccessGuard.d.ts +6 -0
  34. package/dist/src/app/components/access/withAccessGuard.test.d.ts +1 -0
  35. package/dist/src/app/components/app.d.ts +3 -0
  36. package/dist/src/app/components/authRedirect.d.ts +3 -0
  37. package/dist/src/app/components/container.d.ts +44 -0
  38. package/dist/src/app/components/container.styles.d.ts +20 -0
  39. package/dist/src/app/components/container.test.d.ts +1 -0
  40. package/dist/src/app/components/externalContent.d.ts +5 -0
  41. package/dist/src/app/components/footer.d.ts +6 -0
  42. package/dist/src/app/components/iframeNavigation.d.ts +2 -0
  43. package/dist/src/app/components/loader.d.ts +6 -0
  44. package/dist/src/app/components/loginForm.d.ts +29 -0
  45. package/dist/src/app/components/loginForm.test.d.ts +1 -0
  46. package/dist/src/app/components/loginModal.d.ts +31 -0
  47. package/dist/src/app/components/loginModal.test.d.ts +1 -0
  48. package/dist/src/app/components/loginRedirect.d.ts +3 -0
  49. package/dist/src/app/components/networkError.d.ts +4 -0
  50. package/dist/src/app/components/router.d.ts +5 -0
  51. package/dist/src/app/components/sidePanel.d.ts +66 -0
  52. package/dist/src/app/components/sidePanel.styles.d.ts +15 -0
  53. package/dist/src/app/components/sidebarMenu.d.ts +32 -0
  54. package/dist/src/app/components/sidebarMenu.styles.d.ts +32 -0
  55. package/dist/src/app/core/ui/Checkbox/Checkbox.d.ts +6 -0
  56. package/dist/src/app/core/ui/Checkbox/index.d.ts +1 -0
  57. package/dist/src/app/core/ui/Checkbox/styled.d.ts +7 -0
  58. package/dist/src/app/core/ui/Radio/Radio.d.ts +6 -0
  59. package/dist/src/app/core/ui/Radio/index.d.ts +1 -0
  60. package/dist/src/app/core/ui/Radio/styled.d.ts +7 -0
  61. package/dist/src/app/core/ui/RadioGroup/RadioGroup.d.ts +6 -0
  62. package/dist/src/app/core/ui/RadioGroup/index.d.ts +1 -0
  63. package/dist/src/app/core/ui/RadioGroup/styled.d.ts +4 -0
  64. package/dist/src/app/hooks/useAccess/accessState.d.ts +7 -0
  65. package/dist/src/app/hooks/useAccess/deriveButtons.d.ts +5 -0
  66. package/dist/src/app/hooks/useAccess/index.d.ts +11 -0
  67. package/dist/src/app/hooks/useAccess.test.d.ts +1 -0
  68. package/dist/src/app/hooks/useFeatures.d.ts +6 -0
  69. package/dist/src/app/hooks/useFeatures.test.d.ts +1 -0
  70. package/dist/src/app/hooks/useHeaderContentEvent.d.ts +3 -0
  71. package/dist/src/app/hooks/useHeaderContentEvent.test.d.ts +1 -0
  72. package/dist/src/app/hooks/useLogin.d.ts +2 -0
  73. package/dist/src/app/hooks/useLoginStatus.d.ts +4 -0
  74. package/dist/src/app/hooks/useModalHook/ModalContext.d.ts +7 -0
  75. package/dist/src/app/hooks/useModalHook/ModalProvider.d.ts +5 -0
  76. package/dist/src/app/hooks/useModalHook/index.d.ts +3 -0
  77. package/dist/src/app/hooks/useModalHook/useModal.d.ts +8 -0
  78. package/dist/src/app/hooks/usePermissions.d.ts +13 -0
  79. package/dist/src/app/hooks/usePermissions.test.d.ts +1 -0
  80. package/dist/src/app/hooks/useQueryParams.d.ts +2 -0
  81. package/dist/src/app/i18n.d.ts +2 -0
  82. package/dist/src/app/pages/ErrorPage.d.ts +14 -0
  83. package/dist/src/app/pages/LoaderPage.d.ts +7 -0
  84. package/dist/src/app/pages/LoginPage.d.ts +15 -0
  85. package/dist/src/app/providers/authConfig.d.ts +6 -0
  86. package/dist/src/app/providers/display.d.ts +5 -0
  87. package/dist/src/app/providers/metaInfo.d.ts +6 -0
  88. package/dist/src/app/providers/store.d.ts +171 -0
  89. package/dist/src/app/stores/appStore.d.ts +10 -0
  90. package/dist/src/app/stores/sessionStore.d.ts +83 -0
  91. package/dist/src/app/stores/userStore.d.ts +14 -0
  92. package/dist/src/app/testing/index.d.ts +2 -0
  93. package/dist/src/app/theme.d.ts +2 -0
  94. package/dist/src/app/utils/cookies-manager.d.ts +7 -0
  95. package/dist/src/app/utils/display.d.ts +13 -0
  96. package/dist/src/app/utils/fetch.d.ts +9 -0
  97. package/dist/src/app/utils/service-worker.d.ts +1 -0
  98. package/dist/src/app/utils/stores.d.ts +22 -0
  99. package/dist/src/app/utils/text.d.ts +1 -0
  100. package/dist/src/assets/index.d.ts +1 -0
  101. package/dist/src/index.d.ts +53 -0
  102. package/dist/src/serviceWorkerRegistration.d.ts +2 -0
  103. package/dist/src/setupTests.d.ts +1 -0
  104. package/dist/src/version.d.ts +1 -0
  105. package/dist/version.d.ts +1 -1
  106. package/package.json +14 -8
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { HeaderProps } from './types';
3
+ export declare const Header: React.FC<HeaderProps>;
@@ -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,3 @@
1
+ type ContentEventHandler = (event: string, payload?: unknown) => void;
2
+ export declare const useHeaderContentEvent: (handler: ContentEventHandler) => void;
3
+ export {};
@@ -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';
@@ -0,0 +1,2 @@
1
+ declare const url: string;
2
+ export default url;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
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,3 @@
1
+ import React from 'react';
2
+ import { HeaderProps } from './types';
3
+ export declare const Header: React.FC<HeaderProps>;
@@ -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,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,8 @@
1
+ export default AccessRequestModal;
2
+ declare function AccessRequestModal({ open, requestType, onSubmitRequest, onClose }: {
3
+ open: any;
4
+ requestType: any;
5
+ onSubmitRequest: any;
6
+ onClose: any;
7
+ }): React.JSX.Element;
8
+ import React from "react";
@@ -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,7 @@
1
+ export default CooldownModal;
2
+ declare function CooldownModal({ open, daysRemaining, onClose }: {
3
+ open: any;
4
+ daysRemaining: any;
5
+ onClose: any;
6
+ }): React.JSX.Element;
7
+ import React from "react";
@@ -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,3 @@
1
+ export { default as AccessBlocker } from "./AccessBlocker";
2
+ export { default as AccessGuard } from "./AccessGuard";
3
+ export { default as withAccessGuard } from "./withAccessGuard";
@@ -0,0 +1,6 @@
1
+ export default withAccessGuard;
2
+ declare function withAccessGuard(featuresProp?: any[], options?: {}): (WrappedComponent: any) => {
3
+ (props: any): React.JSX.Element;
4
+ displayName: string;
5
+ };
6
+ import React from "react";
@@ -0,0 +1,3 @@
1
+ declare const _default: React.FC<object>;
2
+ export default _default;
3
+ import React from "react";
@@ -0,0 +1,3 @@
1
+ export default AuthRedirect;
2
+ declare function AuthRedirect(): React.JSX.Element | null;
3
+ import React from "react";
@@ -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,5 @@
1
+ export default ExternalContent;
2
+ declare function ExternalContent({ src }: {
3
+ src: any;
4
+ }): React.JSX.Element;
5
+ import React from "react";
@@ -0,0 +1,6 @@
1
+ export default Footer;
2
+ declare function Footer({ appVersion, apiVersion }: {
3
+ appVersion: any;
4
+ apiVersion: any;
5
+ }): React.JSX.Element | null;
6
+ import React from "react";
@@ -0,0 +1,2 @@
1
+ export default IframeNavigation;
2
+ declare function IframeNavigation(): null;
@@ -0,0 +1,6 @@
1
+ export default Loader;
2
+ declare function Loader({ width, "data-testid": dataTestId }: {
3
+ width: any;
4
+ "data-testid": any;
5
+ }): React.JSX.Element;
6
+ import React from "react";
@@ -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,3 @@
1
+ export default LoginRedirect;
2
+ declare function LoginRedirect(): React.JSX.Element | null;
3
+ import React from "react";
@@ -0,0 +1,4 @@
1
+ export function NetworkError({ error }: {
2
+ error: any;
3
+ }): React.JSX.Element;
4
+ import React from "react";
@@ -0,0 +1,5 @@
1
+ export default Router;
2
+ declare function Router({ children }: {
3
+ children: any;
4
+ }): React.JSX.Element;
5
+ import React from "react";
@@ -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
+ };