andoncloud-sdk 1.7.13 → 1.7.15
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 +4 -4
- package/dist/andoncloud-sdk.js.map +1 -1
- package/dist/cypress/support/component.d.ts +9 -12
- package/dist/cypress.config.d.ts +2 -3
- package/dist/index.d.ts +9 -3
- package/dist/src/__tests__/loginWithPassword.cy.d.ts +1 -0
- package/dist/src/assets/index.d.ts +1 -1
- package/dist/src/components/Header/Header.cy.d.ts +1 -0
- package/dist/src/components/Header/Header.d.ts +3 -0
- package/dist/src/components/Header/index.d.ts +1 -0
- package/dist/src/components/Header/styles.d.ts +11 -0
- package/dist/src/components/Header/types.d.ts +52 -0
- package/dist/src/components/access/AccessBlocker.cy.d.ts +1 -0
- package/dist/src/components/access/AccessBlocker.d.ts +12 -0
- package/dist/src/components/access/AccessBlocker.styles.d.ts +34 -0
- package/dist/src/components/access/AccessGuard.cy.d.ts +1 -0
- package/dist/src/components/access/AccessGuard.d.ts +9 -0
- package/dist/src/components/access/AccessRequestModal.cy.d.ts +1 -0
- package/dist/src/components/access/AccessRequestModal.d.ts +8 -0
- package/dist/src/components/access/AccessRequestModal.styles.d.ts +31 -0
- package/dist/src/components/access/CooldownModal.cy.d.ts +1 -0
- package/dist/src/components/access/CooldownModal.d.ts +7 -0
- package/dist/src/components/access/CooldownModal.styles.d.ts +30 -0
- package/dist/src/components/access/index.d.ts +3 -0
- package/dist/src/components/access/withAccessGuard.cy.d.ts +1 -0
- package/dist/src/components/access/withAccessGuard.d.ts +6 -0
- package/dist/src/components/app.d.ts +3 -0
- package/dist/src/components/authRedirect.cy.d.ts +1 -0
- package/dist/src/components/authRedirect.d.ts +3 -0
- package/dist/src/components/container.cy.d.ts +1 -0
- package/dist/src/components/container.d.ts +44 -0
- package/dist/src/components/container.styles.d.ts +20 -0
- package/dist/src/components/externalContent.d.ts +5 -0
- package/dist/src/components/footer.d.ts +6 -0
- package/dist/src/components/iframeNavigation.d.ts +2 -0
- package/dist/src/components/loader.d.ts +6 -0
- package/dist/src/components/loginForm.cy.d.ts +1 -0
- package/dist/src/components/loginForm.d.ts +29 -0
- package/dist/src/components/loginModal.cy.d.ts +1 -0
- package/dist/src/components/loginModal.d.ts +16 -0
- package/dist/src/components/loginRedirect.d.ts +3 -0
- package/dist/src/components/networkError.d.ts +4 -0
- package/dist/src/components/router.d.ts +5 -0
- package/dist/src/components/sidePanel.d.ts +66 -0
- package/dist/src/components/sidePanel.styles.d.ts +15 -0
- package/dist/src/components/sidebarMenu.d.ts +32 -0
- package/dist/src/components/sidebarMenu.styles.d.ts +32 -0
- package/dist/src/core/ui/Checkbox/Checkbox.d.ts +6 -0
- package/dist/src/core/ui/Checkbox/index.d.ts +1 -0
- package/dist/src/core/ui/Checkbox/styled.d.ts +6 -0
- package/dist/src/core/ui/Radio/Radio.d.ts +6 -0
- package/dist/src/core/ui/Radio/index.d.ts +1 -0
- package/dist/src/core/ui/Radio/styled.d.ts +6 -0
- package/dist/src/core/ui/RadioGroup/RadioGroup.d.ts +6 -0
- package/dist/src/core/ui/RadioGroup/index.d.ts +1 -0
- package/dist/src/core/ui/RadioGroup/styled.d.ts +4 -0
- package/dist/src/hooks/useAccess/accessState.d.ts +7 -0
- package/dist/src/hooks/useAccess/deriveButtons.d.ts +5 -0
- package/dist/src/hooks/useAccess/index.d.ts +11 -0
- package/dist/src/hooks/useAccess.cy.d.ts +1 -0
- package/dist/src/hooks/useFeatures.cy.d.ts +1 -0
- package/dist/src/hooks/useFeatures.d.ts +6 -0
- package/dist/src/hooks/useHeaderContentEvent.cy.d.ts +1 -0
- package/dist/src/hooks/useHeaderContentEvent.d.ts +3 -0
- package/dist/src/hooks/useLogin.d.ts +2 -0
- package/dist/src/hooks/useLoginStatus.d.ts +3 -0
- package/dist/src/hooks/useModalHook/ModalContext.d.ts +7 -0
- package/dist/src/hooks/useModalHook/ModalProvider.d.ts +5 -0
- package/dist/src/hooks/useModalHook/index.d.ts +3 -0
- package/dist/src/hooks/useModalHook/useModal.d.ts +8 -0
- package/dist/src/hooks/usePermissions.cy.d.ts +1 -0
- package/dist/src/hooks/usePermissions.d.ts +13 -0
- package/dist/src/hooks/useQueryParams.d.ts +2 -0
- package/dist/src/i18n.d.ts +9 -0
- package/dist/src/index.d.ts +36 -54
- package/dist/src/pages/ErrorPage.d.ts +14 -0
- package/dist/src/pages/LoaderPage.d.ts +7 -0
- package/dist/src/pages/LoginPage.d.ts +15 -0
- package/dist/src/providers/authConfig.d.ts +6 -0
- package/dist/src/providers/display.d.ts +5 -0
- package/dist/src/providers/metaInfo.d.ts +6 -0
- package/dist/src/providers/store.d.ts +171 -0
- package/dist/src/serviceWorkerRegistration.d.ts +2 -2
- package/dist/src/stores/SessionStore/CookiesManager.d.ts +11 -0
- package/dist/src/stores/SessionStore/SessionStore.cy.d.ts +1 -0
- package/dist/src/stores/SessionStore/SessionStore.d.ts +60 -0
- package/dist/src/stores/SessionStore/TokenCoordinator.cy.d.ts +1 -0
- package/dist/src/stores/SessionStore/TokenCoordinator.d.ts +46 -0
- package/dist/src/stores/SessionStore/index.d.ts +3 -0
- package/dist/src/stores/SessionStore/types.d.ts +62 -0
- package/dist/src/stores/appStore.d.ts +10 -0
- package/dist/src/stores/sessionStore.d.ts +83 -0
- package/dist/src/stores/userStore.d.ts +14 -0
- package/dist/src/theme.d.ts +2 -0
- package/dist/src/utils/authFetch.d.ts +10 -0
- package/dist/src/utils/cookies-manager.d.ts +9 -0
- package/dist/src/utils/display.d.ts +14 -0
- package/dist/src/utils/fetch.d.ts +9 -0
- package/dist/src/utils/service-worker.d.ts +1 -0
- package/dist/src/utils/stores.d.ts +26 -0
- package/dist/src/utils/text.d.ts +1 -0
- package/dist/src/utils/validateRedirect.cy.d.ts +1 -0
- package/dist/src/utils/validateRedirect.d.ts +1 -0
- package/dist/src/version.d.ts +1 -1
- package/package.json +5 -2
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
import { mount } from 'cypress/react';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace Cypress {
|
|
4
|
+
interface Chainable {
|
|
5
|
+
mount: typeof mount;
|
|
6
|
+
getByTestId(selector: string, options?: Partial<Cypress.Loggable & Cypress.Timeoutable & Cypress.Withinable & Cypress.Shadow>): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
package/dist/cypress.config.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default _default;
|
|
1
|
+
declare const _default: Cypress.ConfigOptions<any>;
|
|
2
|
+
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ import { SxProps, Theme } from '@mui/material/styles';
|
|
|
5
5
|
import * as Sentry from '@sentry/react';
|
|
6
6
|
import { InitOptions } from 'i18next';
|
|
7
7
|
|
|
8
|
-
import { CheckboxProps } from './
|
|
9
|
-
import { RadioProps } from './
|
|
10
|
-
import { RadioGroupProps } from './
|
|
8
|
+
import { CheckboxProps } from './core/ui/Checkbox';
|
|
9
|
+
import { RadioProps } from './core/ui/Radio';
|
|
10
|
+
import { RadioGroupProps } from './core/ui/RadioGroup';
|
|
11
11
|
|
|
12
12
|
declare module '@mui/material/styles' {
|
|
13
13
|
interface Palette {
|
|
@@ -426,6 +426,12 @@ declare module 'andoncloud-sdk' {
|
|
|
426
426
|
|
|
427
427
|
export const notify: typeof toast;
|
|
428
428
|
|
|
429
|
+
export type AuthEventType = 'TOKEN_REFRESHED' | 'LOGOUT';
|
|
430
|
+
|
|
431
|
+
export interface AuthEvent {
|
|
432
|
+
type: AuthEventType;
|
|
433
|
+
}
|
|
434
|
+
|
|
429
435
|
export const fetch: typeof global.fetch;
|
|
430
436
|
|
|
431
437
|
export const registerServiceWorker: (config: ServiceWorkerConfig) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as acLogo } from './logo.svg';
|
|
1
|
+
export { default as acLogo } from './logo.svg';
|
|
@@ -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,52 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
2
|
+
export interface NavItem {
|
|
3
|
+
label: string;
|
|
4
|
+
url?: string;
|
|
5
|
+
action?: () => void;
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export interface NavProps {
|
|
9
|
+
items?: NavItem[];
|
|
10
|
+
}
|
|
11
|
+
export interface UserProps {
|
|
12
|
+
show?: boolean;
|
|
13
|
+
showCompanyLogo?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface HeaderMenuProps {
|
|
16
|
+
items?: NavItem[];
|
|
17
|
+
buttonColor?: string;
|
|
18
|
+
dropdownStyles?: SxProps<Theme>;
|
|
19
|
+
styles?: SxProps<Theme>;
|
|
20
|
+
}
|
|
21
|
+
export interface IframeContent {
|
|
22
|
+
component: string;
|
|
23
|
+
props: Record<string, unknown>;
|
|
24
|
+
}
|
|
25
|
+
export interface IframeSource {
|
|
26
|
+
source: Window;
|
|
27
|
+
origin: string;
|
|
28
|
+
}
|
|
29
|
+
export interface HeaderStylesOverride {
|
|
30
|
+
background?: string;
|
|
31
|
+
[key: string]: unknown;
|
|
32
|
+
}
|
|
33
|
+
export type StyleMap = Record<string, Record<string, unknown>>;
|
|
34
|
+
export interface HeaderProps {
|
|
35
|
+
position?: 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky';
|
|
36
|
+
scrolled?: boolean;
|
|
37
|
+
showAcLogo?: boolean;
|
|
38
|
+
leadingText?: string;
|
|
39
|
+
title?: string;
|
|
40
|
+
titleStyles?: SxProps<Theme>;
|
|
41
|
+
content?: React.ReactNode;
|
|
42
|
+
contentComponents?: Record<string, React.ComponentType<any>>;
|
|
43
|
+
contentStyles?: SxProps<Theme>;
|
|
44
|
+
navProps?: NavProps;
|
|
45
|
+
userProps?: UserProps;
|
|
46
|
+
menuProps?: HeaderMenuProps;
|
|
47
|
+
sidebarEnabled?: boolean;
|
|
48
|
+
sidebarOpen?: boolean;
|
|
49
|
+
onSidebarToggle?: () => void;
|
|
50
|
+
styles?: HeaderStylesOverride;
|
|
51
|
+
'data-testid'?: string;
|
|
52
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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?: never[] | 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?: never[] | undefined;
|
|
4
|
+
extraPermissions?: never[] | 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
|
+
let dialog: {
|
|
4
|
+
'.MuiPaper-root': {
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
namespace dialogContent {
|
|
9
|
+
let padding: number;
|
|
10
|
+
}
|
|
11
|
+
namespace container {
|
|
12
|
+
export let display: string;
|
|
13
|
+
export let flexDirection: string;
|
|
14
|
+
export let alignItems: string;
|
|
15
|
+
export let gap: number;
|
|
16
|
+
let padding_1: number;
|
|
17
|
+
export { padding_1 as padding };
|
|
18
|
+
export function background(theme: any): any;
|
|
19
|
+
}
|
|
20
|
+
namespace stepper {
|
|
21
|
+
let width: string;
|
|
22
|
+
}
|
|
23
|
+
namespace disclaimer {
|
|
24
|
+
let marginTop: number;
|
|
25
|
+
let color: string;
|
|
26
|
+
}
|
|
27
|
+
namespace actions {
|
|
28
|
+
let 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
|
+
let dialog: {
|
|
4
|
+
'.MuiPaper-root': {
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
namespace dialogContent {
|
|
9
|
+
let padding: number;
|
|
10
|
+
}
|
|
11
|
+
namespace container {
|
|
12
|
+
export let display: string;
|
|
13
|
+
export let flexDirection: string;
|
|
14
|
+
export let alignItems: string;
|
|
15
|
+
export let gap: number;
|
|
16
|
+
let padding_1: number;
|
|
17
|
+
export { padding_1 as padding };
|
|
18
|
+
export function background(theme: any): any;
|
|
19
|
+
}
|
|
20
|
+
namespace content {
|
|
21
|
+
let marginTop: number;
|
|
22
|
+
let marginBottom: number;
|
|
23
|
+
let textAlign: string;
|
|
24
|
+
}
|
|
25
|
+
namespace actions {
|
|
26
|
+
let display_1: string;
|
|
27
|
+
export { display_1 as display };
|
|
28
|
+
export let justifyContent: string;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
+
let children: any;
|
|
13
|
+
let headerProps: any;
|
|
14
|
+
let sidebarMenuProps: any;
|
|
15
|
+
let sidePanelProps: any;
|
|
16
|
+
let styles: any;
|
|
17
|
+
}
|
|
18
|
+
namespace defaultProps {
|
|
19
|
+
let headerProps_1: {};
|
|
20
|
+
export { headerProps_1 as headerProps };
|
|
21
|
+
export namespace sidebarMenuProps_1 {
|
|
22
|
+
export let enabled: boolean;
|
|
23
|
+
export let open: boolean;
|
|
24
|
+
export let items: never[];
|
|
25
|
+
export { DEFAULT_SIDEBAR_MENU_WIDTH as width };
|
|
26
|
+
}
|
|
27
|
+
export { sidebarMenuProps_1 as sidebarMenuProps };
|
|
28
|
+
export namespace sidePanelProps_1 {
|
|
29
|
+
let enabled_1: boolean;
|
|
30
|
+
export { enabled_1 as enabled };
|
|
31
|
+
let open_1: boolean;
|
|
32
|
+
export { open_1 as open };
|
|
33
|
+
export function onClose(): void;
|
|
34
|
+
export let title: string;
|
|
35
|
+
export let mainContent: null;
|
|
36
|
+
export let 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,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface LoginModalProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
scope?: string;
|
|
6
|
+
redirectPath?: string;
|
|
7
|
+
onSuccess?: (session: unknown) => void;
|
|
8
|
+
onFailure?: () => void;
|
|
9
|
+
onCancel?: () => void;
|
|
10
|
+
storeSession?: boolean;
|
|
11
|
+
'data-testid'?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: (({ open, subtitle, scope, redirectPath, onSuccess, onFailure, onCancel, storeSession, "data-testid": dataTestID, }: LoginModalProps) => React.JSX.Element) & {
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export namespace sidePanelDefaultProps {
|
|
2
|
+
let enabled: boolean;
|
|
3
|
+
let open: boolean;
|
|
4
|
+
function onClose(): void;
|
|
5
|
+
let title: string;
|
|
6
|
+
let mainContent: null;
|
|
7
|
+
let asideContent: null;
|
|
8
|
+
let width: null;
|
|
9
|
+
let mainContentWidth: null;
|
|
10
|
+
let asideContentWidth: null;
|
|
11
|
+
let styles: {};
|
|
12
|
+
let headerStyles: {};
|
|
13
|
+
let contentWrapperStyles: {};
|
|
14
|
+
let mainContentStyles: {};
|
|
15
|
+
let 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
|
+
let enabled_1: any;
|
|
36
|
+
export { enabled_1 as enabled };
|
|
37
|
+
let open_1: any;
|
|
38
|
+
export { open_1 as open };
|
|
39
|
+
let onClose_1: any;
|
|
40
|
+
export { onClose_1 as onClose };
|
|
41
|
+
let title_1: any;
|
|
42
|
+
export { title_1 as title };
|
|
43
|
+
let mainContent_1: any;
|
|
44
|
+
export { mainContent_1 as mainContent };
|
|
45
|
+
let asideContent_1: any;
|
|
46
|
+
export { asideContent_1 as asideContent };
|
|
47
|
+
let width_1: any;
|
|
48
|
+
export { width_1 as width };
|
|
49
|
+
let mainContentWidth_1: any;
|
|
50
|
+
export { mainContentWidth_1 as mainContentWidth };
|
|
51
|
+
let asideContentWidth_1: any;
|
|
52
|
+
export { asideContentWidth_1 as asideContentWidth };
|
|
53
|
+
let styles_1: any;
|
|
54
|
+
export { styles_1 as styles };
|
|
55
|
+
let headerStyles_1: any;
|
|
56
|
+
export { headerStyles_1 as headerStyles };
|
|
57
|
+
let contentWrapperStyles_1: any;
|
|
58
|
+
export { contentWrapperStyles_1 as contentWrapperStyles };
|
|
59
|
+
let mainContentStyles_1: any;
|
|
60
|
+
export { mainContentStyles_1 as mainContentStyles };
|
|
61
|
+
let 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
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default SidebarMenu;
|
|
2
|
+
declare function SidebarMenu({ open, items, width, styles, listStyles, itemStyles, subitemStyles }: {
|
|
3
|
+
open: any;
|
|
4
|
+
items: any;
|
|
5
|
+
width: any;
|
|
6
|
+
styles: any;
|
|
7
|
+
listStyles: any;
|
|
8
|
+
itemStyles: any;
|
|
9
|
+
subitemStyles: any;
|
|
10
|
+
}): React.JSX.Element;
|
|
11
|
+
declare namespace SidebarMenu {
|
|
12
|
+
namespace propTypes {
|
|
13
|
+
let open: any;
|
|
14
|
+
let items: any;
|
|
15
|
+
let width: any;
|
|
16
|
+
let styles: any;
|
|
17
|
+
let listStyles: any;
|
|
18
|
+
let itemStyles: any;
|
|
19
|
+
let subitemStyles: any;
|
|
20
|
+
}
|
|
21
|
+
namespace defaultProps {
|
|
22
|
+
let styles_1: {};
|
|
23
|
+
export { styles_1 as styles };
|
|
24
|
+
let listStyles_1: {};
|
|
25
|
+
export { listStyles_1 as listStyles };
|
|
26
|
+
let itemStyles_1: {};
|
|
27
|
+
export { itemStyles_1 as itemStyles };
|
|
28
|
+
let subitemStyles_1: {};
|
|
29
|
+
export { subitemStyles_1 as subitemStyles };
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
import React from 'react';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default useStyles;
|
|
2
|
+
declare function useStyles({ styles, listStyles, itemStyles, subitemStyles }: {
|
|
3
|
+
styles: any;
|
|
4
|
+
listStyles: any;
|
|
5
|
+
itemStyles: any;
|
|
6
|
+
subitemStyles: any;
|
|
7
|
+
}): {
|
|
8
|
+
root: any;
|
|
9
|
+
list: any;
|
|
10
|
+
subList: {
|
|
11
|
+
maxHeight: string;
|
|
12
|
+
overflowY: string;
|
|
13
|
+
};
|
|
14
|
+
item: any;
|
|
15
|
+
itemIcon: {
|
|
16
|
+
color: string;
|
|
17
|
+
};
|
|
18
|
+
itemText: {
|
|
19
|
+
'& > .MuiTypography-root': {
|
|
20
|
+
fontWeight: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
subitem: any;
|
|
24
|
+
subitemText: {
|
|
25
|
+
'& > span': {
|
|
26
|
+
fontSize: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
subitemButton: {
|
|
30
|
+
paddingLeft: number;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Checkbox';
|