andoncloud-sdk 1.7.23 → 1.7.25
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/index.d.ts +14 -3
- package/dist/index.js +4012 -0
- package/dist/index.js.map +1 -0
- package/package.json +7 -20
- package/dist/andoncloud-sdk.css +0 -2
- package/dist/andoncloud-sdk.css.map +0 -1
- package/dist/andoncloud-sdk.js +0 -173
- package/dist/andoncloud-sdk.js.map +0 -1
- package/dist/app/__tests__/loginWithPassword.d.ts +0 -1
- package/dist/app/components/Header/Header.d.ts +0 -3
- package/dist/app/components/Header/Header.test.d.ts +0 -1
- package/dist/app/components/Header/index.d.ts +0 -1
- package/dist/app/components/Header/styles.d.ts +0 -11
- package/dist/app/components/Header/types.d.ts +0 -53
- package/dist/app/components/access/AccessBlocker.d.ts +0 -12
- package/dist/app/components/access/AccessBlocker.styles.d.ts +0 -34
- package/dist/app/components/access/AccessBlocker.test.d.ts +0 -1
- package/dist/app/components/access/AccessGuard.d.ts +0 -9
- package/dist/app/components/access/AccessGuard.test.d.ts +0 -1
- package/dist/app/components/access/AccessRequestModal.d.ts +0 -8
- package/dist/app/components/access/AccessRequestModal.styles.d.ts +0 -31
- package/dist/app/components/access/AccessRequestModal.test.d.ts +0 -1
- package/dist/app/components/access/CooldownModal.d.ts +0 -7
- package/dist/app/components/access/CooldownModal.styles.d.ts +0 -30
- package/dist/app/components/access/CooldownModal.test.d.ts +0 -1
- package/dist/app/components/access/InternalProcedureScreen.d.ts +0 -7
- package/dist/app/components/access/InternalProcedureScreen.styles.d.ts +0 -26
- package/dist/app/components/access/InternalProcedureScreen.test.d.ts +0 -1
- package/dist/app/components/access/index.d.ts +0 -3
- package/dist/app/components/access/withAccessGuard.d.ts +0 -6
- package/dist/app/components/access/withAccessGuard.test.d.ts +0 -1
- package/dist/app/components/app.d.ts +0 -3
- package/dist/app/components/authRedirect.d.ts +0 -3
- package/dist/app/components/container.d.ts +0 -44
- package/dist/app/components/container.styles.d.ts +0 -20
- package/dist/app/components/container.test.d.ts +0 -1
- package/dist/app/components/externalContent.d.ts +0 -5
- package/dist/app/components/footer.d.ts +0 -6
- package/dist/app/components/header.d.ts +0 -46
- package/dist/app/components/header.styles.d.ts +0 -50
- package/dist/app/components/header.test.d.ts +0 -1
- package/dist/app/components/iframeNavigation.d.ts +0 -2
- package/dist/app/components/loader.d.ts +0 -6
- package/dist/app/components/loginForm.d.ts +0 -29
- package/dist/app/components/loginForm.test.d.ts +0 -1
- package/dist/app/components/loginModal.d.ts +0 -31
- package/dist/app/components/loginModal.test.d.ts +0 -1
- package/dist/app/components/loginRedirect.d.ts +0 -3
- package/dist/app/components/messageNavigator.d.ts +0 -2
- package/dist/app/components/networkError.d.ts +0 -4
- package/dist/app/components/router.d.ts +0 -5
- package/dist/app/components/sidePanel.d.ts +0 -66
- package/dist/app/components/sidePanel.styles.d.ts +0 -15
- package/dist/app/components/sidebarMenu.d.ts +0 -32
- package/dist/app/components/sidebarMenu.styles.d.ts +0 -32
- package/dist/app/components/version.d.ts +0 -6
- package/dist/app/core/ui/Checkbox/Checkbox.d.ts +0 -7
- package/dist/app/core/ui/Checkbox/index.d.ts +0 -1
- package/dist/app/core/ui/Checkbox/styled.d.ts +0 -20
- package/dist/app/core/ui/Radio/Radio.d.ts +0 -7
- package/dist/app/core/ui/Radio/index.d.ts +0 -1
- package/dist/app/core/ui/Radio/styled.d.ts +0 -20
- package/dist/app/core/ui/RadioGroup/RadioGroup.d.ts +0 -7
- package/dist/app/core/ui/RadioGroup/index.d.ts +0 -1
- package/dist/app/core/ui/RadioGroup/styled.d.ts +0 -7
- package/dist/app/hooks/useAccess/accessState.d.ts +0 -7
- package/dist/app/hooks/useAccess/deriveButtons.d.ts +0 -5
- package/dist/app/hooks/useAccess/index.d.ts +0 -11
- package/dist/app/hooks/useAccess.d.ts +0 -10
- package/dist/app/hooks/useAccess.test.d.ts +0 -1
- package/dist/app/hooks/useFeatures.d.ts +0 -6
- package/dist/app/hooks/useFeatures.test.d.ts +0 -1
- package/dist/app/hooks/useFetch.d.ts +0 -2
- package/dist/app/hooks/useHeaderContentEvent.d.ts +0 -3
- package/dist/app/hooks/useHeaderContentEvent.test.d.ts +0 -1
- package/dist/app/hooks/useLogin.d.ts +0 -2
- package/dist/app/hooks/useLoginStatus.d.ts +0 -4
- package/dist/app/hooks/useModalHook/ModalContext.d.ts +0 -7
- package/dist/app/hooks/useModalHook/ModalProvider.d.ts +0 -5
- package/dist/app/hooks/useModalHook/index.d.ts +0 -3
- package/dist/app/hooks/useModalHook/useModal.d.ts +0 -8
- package/dist/app/hooks/usePackages.d.ts +0 -6
- package/dist/app/hooks/usePackages.test.d.ts +0 -1
- package/dist/app/hooks/usePermissions.d.ts +0 -13
- package/dist/app/hooks/usePermissions.test.d.ts +0 -1
- package/dist/app/hooks/useQueryParams.d.ts +0 -2
- package/dist/app/i18n.d.ts +0 -2
- package/dist/app/pages/ErrorPage.d.ts +0 -14
- package/dist/app/pages/ExternalPage.d.ts +0 -5
- package/dist/app/pages/LoaderPage.d.ts +0 -7
- package/dist/app/pages/LoginPage.d.ts +0 -15
- package/dist/app/providers/authConfig.d.ts +0 -6
- package/dist/app/providers/display.d.ts +0 -5
- package/dist/app/providers/displayMode.d.ts +0 -5
- package/dist/app/providers/metaInfo.d.ts +0 -6
- package/dist/app/providers/store.d.ts +0 -171
- package/dist/app/stores/appStore.d.ts +0 -10
- package/dist/app/stores/sessionStore.d.ts +0 -83
- package/dist/app/stores/userStore.d.ts +0 -14
- package/dist/app/testing/index.d.ts +0 -2
- package/dist/app/theme.d.ts +0 -2
- package/dist/app/utils/cookies-manager.d.ts +0 -7
- package/dist/app/utils/display.d.ts +0 -13
- package/dist/app/utils/fetch.d.ts +0 -9
- package/dist/app/utils/service-worker.d.ts +0 -1
- package/dist/app/utils/stores.d.ts +0 -22
- package/dist/app/utils/text.d.ts +0 -1
- package/dist/app/utils/window.d.ts +0 -1
- package/dist/assets/index.d.ts +0 -1
- package/dist/assets/logo.svg.d.ts +0 -2
- package/dist/cypress/support/component.d.ts +0 -9
- package/dist/cypress.config.d.ts +0 -2
- package/dist/locales/i18n.d.ts +0 -22
- package/dist/locales/index.d.ts +0 -2
- package/dist/serviceWorkerRegistration.d.ts +0 -2
- package/dist/setupTests.d.ts +0 -1
- package/dist/src/__tests__/loginWithPassword.cy.d.ts +0 -1
- package/dist/src/app/__tests__/loginWithPassword.cy.d.ts +0 -1
- package/dist/src/app/__tests__/loginWithPassword.d.ts +0 -1
- package/dist/src/app/components/Header/Header.cy.d.ts +0 -1
- package/dist/src/app/components/Header/Header.d.ts +0 -3
- package/dist/src/app/components/Header/Header.test.d.ts +0 -1
- package/dist/src/app/components/Header/index.d.ts +0 -1
- package/dist/src/app/components/Header/styles.d.ts +0 -11
- package/dist/src/app/components/Header/types.d.ts +0 -53
- package/dist/src/app/components/access/AccessBlocker.cy.d.ts +0 -1
- package/dist/src/app/components/access/AccessBlocker.d.ts +0 -12
- package/dist/src/app/components/access/AccessBlocker.styles.d.ts +0 -34
- package/dist/src/app/components/access/AccessBlocker.test.d.ts +0 -1
- package/dist/src/app/components/access/AccessGuard.cy.d.ts +0 -1
- package/dist/src/app/components/access/AccessGuard.d.ts +0 -9
- package/dist/src/app/components/access/AccessGuard.test.d.ts +0 -1
- package/dist/src/app/components/access/AccessRequestModal.cy.d.ts +0 -1
- package/dist/src/app/components/access/AccessRequestModal.d.ts +0 -8
- package/dist/src/app/components/access/AccessRequestModal.styles.d.ts +0 -31
- package/dist/src/app/components/access/AccessRequestModal.test.d.ts +0 -1
- package/dist/src/app/components/access/CooldownModal.cy.d.ts +0 -1
- package/dist/src/app/components/access/CooldownModal.d.ts +0 -7
- package/dist/src/app/components/access/CooldownModal.styles.d.ts +0 -30
- package/dist/src/app/components/access/CooldownModal.test.d.ts +0 -1
- package/dist/src/app/components/access/index.d.ts +0 -3
- package/dist/src/app/components/access/withAccessGuard.cy.d.ts +0 -1
- package/dist/src/app/components/access/withAccessGuard.d.ts +0 -6
- package/dist/src/app/components/access/withAccessGuard.test.d.ts +0 -1
- package/dist/src/app/components/app.d.ts +0 -3
- package/dist/src/app/components/authRedirect.d.ts +0 -3
- package/dist/src/app/components/container.cy.d.ts +0 -1
- package/dist/src/app/components/container.d.ts +0 -44
- package/dist/src/app/components/container.styles.d.ts +0 -20
- package/dist/src/app/components/container.test.d.ts +0 -1
- package/dist/src/app/components/externalContent.d.ts +0 -5
- package/dist/src/app/components/footer.d.ts +0 -6
- package/dist/src/app/components/iframeNavigation.d.ts +0 -2
- package/dist/src/app/components/loader.d.ts +0 -6
- package/dist/src/app/components/loginForm.cy.d.ts +0 -1
- package/dist/src/app/components/loginForm.d.ts +0 -29
- package/dist/src/app/components/loginForm.test.d.ts +0 -1
- package/dist/src/app/components/loginModal.cy.d.ts +0 -1
- package/dist/src/app/components/loginModal.d.ts +0 -31
- package/dist/src/app/components/loginModal.test.d.ts +0 -1
- package/dist/src/app/components/loginRedirect.d.ts +0 -3
- package/dist/src/app/components/networkError.d.ts +0 -4
- package/dist/src/app/components/router.d.ts +0 -5
- package/dist/src/app/components/sidePanel.d.ts +0 -66
- package/dist/src/app/components/sidePanel.styles.d.ts +0 -15
- package/dist/src/app/components/sidebarMenu.d.ts +0 -32
- package/dist/src/app/components/sidebarMenu.styles.d.ts +0 -32
- package/dist/src/app/core/ui/Checkbox/Checkbox.d.ts +0 -6
- package/dist/src/app/core/ui/Checkbox/index.d.ts +0 -1
- package/dist/src/app/core/ui/Checkbox/styled.d.ts +0 -7
- package/dist/src/app/core/ui/Radio/Radio.d.ts +0 -6
- package/dist/src/app/core/ui/Radio/index.d.ts +0 -1
- package/dist/src/app/core/ui/Radio/styled.d.ts +0 -7
- package/dist/src/app/core/ui/RadioGroup/RadioGroup.d.ts +0 -6
- package/dist/src/app/core/ui/RadioGroup/index.d.ts +0 -1
- package/dist/src/app/core/ui/RadioGroup/styled.d.ts +0 -4
- package/dist/src/app/hooks/useAccess/accessState.d.ts +0 -7
- package/dist/src/app/hooks/useAccess/deriveButtons.d.ts +0 -5
- package/dist/src/app/hooks/useAccess/index.d.ts +0 -11
- package/dist/src/app/hooks/useAccess.cy.d.ts +0 -1
- package/dist/src/app/hooks/useAccess.test.d.ts +0 -1
- package/dist/src/app/hooks/useFeatures.cy.d.ts +0 -1
- package/dist/src/app/hooks/useFeatures.d.ts +0 -6
- package/dist/src/app/hooks/useFeatures.test.d.ts +0 -1
- package/dist/src/app/hooks/useHeaderContentEvent.cy.d.ts +0 -1
- package/dist/src/app/hooks/useHeaderContentEvent.d.ts +0 -3
- package/dist/src/app/hooks/useHeaderContentEvent.test.d.ts +0 -1
- package/dist/src/app/hooks/useLogin.d.ts +0 -2
- package/dist/src/app/hooks/useLoginStatus.d.ts +0 -4
- package/dist/src/app/hooks/useModalHook/ModalContext.d.ts +0 -7
- package/dist/src/app/hooks/useModalHook/ModalProvider.d.ts +0 -5
- package/dist/src/app/hooks/useModalHook/index.d.ts +0 -3
- package/dist/src/app/hooks/useModalHook/useModal.d.ts +0 -8
- package/dist/src/app/hooks/usePermissions.cy.d.ts +0 -1
- package/dist/src/app/hooks/usePermissions.d.ts +0 -13
- package/dist/src/app/hooks/usePermissions.test.d.ts +0 -1
- package/dist/src/app/hooks/useQueryParams.d.ts +0 -2
- package/dist/src/app/i18n.d.ts +0 -3
- package/dist/src/app/pages/ErrorPage.d.ts +0 -14
- package/dist/src/app/pages/LoaderPage.d.ts +0 -7
- package/dist/src/app/pages/LoginPage.d.ts +0 -15
- package/dist/src/app/providers/authConfig.d.ts +0 -6
- package/dist/src/app/providers/display.d.ts +0 -5
- package/dist/src/app/providers/metaInfo.d.ts +0 -6
- package/dist/src/app/providers/store.d.ts +0 -171
- package/dist/src/app/stores/appStore.d.ts +0 -10
- package/dist/src/app/stores/sessionStore.d.ts +0 -83
- package/dist/src/app/stores/userStore.d.ts +0 -14
- package/dist/src/app/testing/index.d.ts +0 -2
- package/dist/src/app/theme.d.ts +0 -2
- package/dist/src/app/utils/cookies-manager.d.ts +0 -7
- package/dist/src/app/utils/display.d.ts +0 -13
- package/dist/src/app/utils/fetch.d.ts +0 -9
- package/dist/src/app/utils/service-worker.d.ts +0 -1
- package/dist/src/app/utils/stores.d.ts +0 -22
- package/dist/src/app/utils/text.d.ts +0 -1
- package/dist/src/assets/index.d.ts +0 -1
- package/dist/src/components/Header/Header.cy.d.ts +0 -1
- package/dist/src/components/Header/Header.d.ts +0 -3
- package/dist/src/components/Header/index.d.ts +0 -1
- package/dist/src/components/Header/styles.d.ts +0 -11
- package/dist/src/components/Header/types.d.ts +0 -52
- package/dist/src/components/access/AccessBlocker.cy.d.ts +0 -1
- package/dist/src/components/access/AccessBlocker.d.ts +0 -13
- package/dist/src/components/access/AccessBlocker.styles.d.ts +0 -43
- package/dist/src/components/access/AccessGuard.cy.d.ts +0 -1
- package/dist/src/components/access/AccessGuard.d.ts +0 -10
- package/dist/src/components/access/AccessRequestModal.cy.d.ts +0 -1
- package/dist/src/components/access/AccessRequestModal.d.ts +0 -8
- package/dist/src/components/access/AccessRequestModal.styles.d.ts +0 -31
- package/dist/src/components/access/CooldownModal.cy.d.ts +0 -1
- package/dist/src/components/access/CooldownModal.d.ts +0 -7
- package/dist/src/components/access/CooldownModal.styles.d.ts +0 -30
- package/dist/src/components/access/index.d.ts +0 -3
- package/dist/src/components/access/withAccessGuard.cy.d.ts +0 -1
- package/dist/src/components/access/withAccessGuard.d.ts +0 -6
- package/dist/src/components/app.d.ts +0 -3
- package/dist/src/components/authRedirect.cy.d.ts +0 -1
- package/dist/src/components/authRedirect.d.ts +0 -3
- package/dist/src/components/container.cy.d.ts +0 -1
- package/dist/src/components/container.d.ts +0 -44
- package/dist/src/components/container.styles.d.ts +0 -20
- package/dist/src/components/externalContent.d.ts +0 -5
- package/dist/src/components/footer.d.ts +0 -6
- package/dist/src/components/iframeNavigation.d.ts +0 -2
- package/dist/src/components/loader.d.ts +0 -6
- package/dist/src/components/loginForm.cy.d.ts +0 -1
- package/dist/src/components/loginForm.d.ts +0 -29
- package/dist/src/components/loginModal.cy.d.ts +0 -1
- package/dist/src/components/loginModal.d.ts +0 -16
- package/dist/src/components/loginRedirect.d.ts +0 -3
- package/dist/src/components/networkError.d.ts +0 -4
- package/dist/src/components/router.d.ts +0 -5
- package/dist/src/components/sidePanel.d.ts +0 -66
- package/dist/src/components/sidePanel.styles.d.ts +0 -15
- package/dist/src/components/sidebarMenu.d.ts +0 -32
- package/dist/src/components/sidebarMenu.styles.d.ts +0 -32
- package/dist/src/core/ui/Checkbox/Checkbox.d.ts +0 -6
- package/dist/src/core/ui/Checkbox/index.d.ts +0 -1
- package/dist/src/core/ui/Checkbox/styled.d.ts +0 -6
- package/dist/src/core/ui/Radio/Radio.d.ts +0 -6
- package/dist/src/core/ui/Radio/index.d.ts +0 -1
- package/dist/src/core/ui/Radio/styled.d.ts +0 -6
- package/dist/src/core/ui/RadioGroup/RadioGroup.d.ts +0 -6
- package/dist/src/core/ui/RadioGroup/index.d.ts +0 -1
- package/dist/src/core/ui/RadioGroup/styled.d.ts +0 -4
- package/dist/src/hooks/useAccess/accessState.d.ts +0 -7
- package/dist/src/hooks/useAccess/deriveButtons.d.ts +0 -5
- package/dist/src/hooks/useAccess/index.d.ts +0 -11
- package/dist/src/hooks/useAccess.cy.d.ts +0 -1
- package/dist/src/hooks/useFeatures.cy.d.ts +0 -1
- package/dist/src/hooks/useFeatures.d.ts +0 -6
- package/dist/src/hooks/useHeaderContentEvent.cy.d.ts +0 -1
- package/dist/src/hooks/useHeaderContentEvent.d.ts +0 -3
- package/dist/src/hooks/useLogin.d.ts +0 -2
- package/dist/src/hooks/useLoginStatus.d.ts +0 -3
- package/dist/src/hooks/useModalHook/ModalContext.d.ts +0 -7
- package/dist/src/hooks/useModalHook/ModalProvider.d.ts +0 -5
- package/dist/src/hooks/useModalHook/index.d.ts +0 -3
- package/dist/src/hooks/useModalHook/useModal.d.ts +0 -8
- package/dist/src/hooks/usePermissions.cy.d.ts +0 -1
- package/dist/src/hooks/usePermissions.d.ts +0 -13
- package/dist/src/hooks/useQueryParams.d.ts +0 -2
- package/dist/src/i18n.d.ts +0 -9
- package/dist/src/index.d.ts +0 -36
- package/dist/src/pages/ErrorPage.d.ts +0 -14
- package/dist/src/pages/LoaderPage.d.ts +0 -7
- package/dist/src/pages/LoginPage.d.ts +0 -15
- package/dist/src/providers/authConfig.d.ts +0 -6
- package/dist/src/providers/display.d.ts +0 -5
- package/dist/src/providers/metaInfo.d.ts +0 -6
- package/dist/src/providers/store.d.ts +0 -171
- package/dist/src/serviceWorkerRegistration.d.ts +0 -2
- package/dist/src/setupTests.d.ts +0 -1
- package/dist/src/stores/SessionStore/CookiesManager.cy.d.ts +0 -1
- package/dist/src/stores/SessionStore/CookiesManager.d.ts +0 -15
- package/dist/src/stores/SessionStore/SessionStore.cy.d.ts +0 -1
- package/dist/src/stores/SessionStore/SessionStore.d.ts +0 -92
- package/dist/src/stores/SessionStore/TokenCoordinator.cy.d.ts +0 -1
- package/dist/src/stores/SessionStore/TokenCoordinator.d.ts +0 -46
- package/dist/src/stores/SessionStore/index.d.ts +0 -3
- package/dist/src/stores/SessionStore/types.d.ts +0 -94
- package/dist/src/stores/appStore.d.ts +0 -10
- package/dist/src/stores/sessionStore.d.ts +0 -83
- package/dist/src/stores/userStore.d.ts +0 -14
- package/dist/src/theme.d.ts +0 -2
- package/dist/src/utils/authFetch.d.ts +0 -10
- package/dist/src/utils/cookies-manager.d.ts +0 -9
- package/dist/src/utils/display.d.ts +0 -14
- package/dist/src/utils/fetch.d.ts +0 -9
- package/dist/src/utils/service-worker.d.ts +0 -1
- package/dist/src/utils/stores.d.ts +0 -15
- package/dist/src/utils/text.d.ts +0 -1
- package/dist/src/utils/validateRedirect.cy.d.ts +0 -1
- package/dist/src/utils/validateRedirect.d.ts +0 -1
- package/dist/src/version.d.ts +0 -1
- package/dist/version.d.ts +0 -1
|
@@ -1,44 +0,0 @@
|
|
|
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%";
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
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';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
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;
|
|
@@ -1,66 +0,0 @@
|
|
|
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';
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
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';
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Checkbox';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type CheckboxProps } from '@mui/material';
|
|
2
|
-
export interface StyledCheckboxProps extends CheckboxProps {
|
|
3
|
-
}
|
|
4
|
-
export declare const UncheckedIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
5
|
-
export declare const CheckedIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, {}, {}>;
|
|
6
|
-
export declare const StyledCheckbox: import("@emotion/styled").StyledComponent<CheckboxProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledCheckboxProps, {}, {}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Radio';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type RadioProps } from '@mui/material';
|
|
2
|
-
export interface StyledRadioProps extends RadioProps {
|
|
3
|
-
}
|
|
4
|
-
export declare const UncheckedIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
5
|
-
export declare const CheckedIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, {}, {}>;
|
|
6
|
-
export declare const StyledRadio: import("@emotion/styled").StyledComponent<RadioProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledRadioProps, {}, {}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './RadioGroup';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type RadioGroupProps } from '@mui/material';
|
|
2
|
-
export interface StyledRadioGroupProps extends RadioGroupProps {
|
|
3
|
-
}
|
|
4
|
-
export declare const StyledRadioGroup: import("@emotion/styled").StyledComponent<RadioGroupProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledRadioGroupProps, {}, {}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export default useAccess;
|
|
2
|
-
/**
|
|
3
|
-
* Hook for checking feature access based on features and permissions
|
|
4
|
-
* @param {string[]} features - Array of feature keys to check
|
|
5
|
-
* @param {{ extraPermissions?: string[], workplaceId?: string }} options - Additional options
|
|
6
|
-
* @returns {UseAccessResult}
|
|
7
|
-
*/
|
|
8
|
-
declare function useAccess(features?: string[], options?: {
|
|
9
|
-
extraPermissions?: string[];
|
|
10
|
-
workplaceId?: string;
|
|
11
|
-
}): UseAccessResult;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export default useModal;
|
|
2
|
-
declare function useModal(component: any, data: any, onClose: any): ((modalData: any) => any)[];
|
|
3
|
-
declare namespace useModal {
|
|
4
|
-
export { ModalContext };
|
|
5
|
-
export { ModalProvider };
|
|
6
|
-
}
|
|
7
|
-
import ModalContext from './ModalContext';
|
|
8
|
-
import ModalProvider from './ModalProvider';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default usePermissions;
|
|
2
|
-
declare function usePermissions(): {
|
|
3
|
-
checkPermission: (permissionKey: any) => {
|
|
4
|
-
isAllowed: boolean;
|
|
5
|
-
denyReason: string | null;
|
|
6
|
-
};
|
|
7
|
-
checkPermissions: (permissionKeys: any) => {
|
|
8
|
-
allAllowed: boolean;
|
|
9
|
-
results: any;
|
|
10
|
-
deniedKeys: any;
|
|
11
|
-
};
|
|
12
|
-
permissionsMap: null;
|
|
13
|
-
};
|
package/dist/src/i18n.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import i18n from 'i18next';
|
|
2
|
-
interface TranslationResources {
|
|
3
|
-
[lang: string]: {
|
|
4
|
-
translation?: Record<string, unknown>;
|
|
5
|
-
};
|
|
6
|
-
}
|
|
7
|
-
declare const registerTranslations: (locales: TranslationResources) => void;
|
|
8
|
-
export { registerTranslations };
|
|
9
|
-
export default i18n;
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { AccessBlocker } from './components/access';
|
|
2
|
-
import { AccessGuard } from './components/access';
|
|
3
|
-
import App from './components/app';
|
|
4
|
-
import { Checkbox } from './core/ui/Checkbox';
|
|
5
|
-
import Container from './components/container';
|
|
6
|
-
import { Radio } from './core/ui/Radio';
|
|
7
|
-
import { RadioGroup } from './core/ui/RadioGroup';
|
|
8
|
-
import { sidePanelDefaultProps } from './components/sidePanel';
|
|
9
|
-
import { withAccessGuard } from './components/access';
|
|
10
|
-
import { getDisplayMode } from './utils/display';
|
|
11
|
-
import { updateParentHeaderTitle } from './utils/display';
|
|
12
|
-
import { resetParentHeaderTitle } from './utils/display';
|
|
13
|
-
import { updateParentHeaderLeadingText } from './utils/display';
|
|
14
|
-
import { resetParentHeaderLeadingText } from './utils/display';
|
|
15
|
-
import { updateParentHeaderStyles } from './utils/display';
|
|
16
|
-
import { resetParentHeaderContent } from './utils/display';
|
|
17
|
-
import { resetParentHeaderStyles } from './utils/display';
|
|
18
|
-
import { updateParentHeaderContent } from './utils/display';
|
|
19
|
-
import useAccess from './hooks/useAccess';
|
|
20
|
-
import { useHeaderContentEvent } from './hooks/useHeaderContentEvent';
|
|
21
|
-
import { useDisplay } from './providers/display';
|
|
22
|
-
import useFeatures from './hooks/useFeatures';
|
|
23
|
-
import usePermissions from './hooks/usePermissions';
|
|
24
|
-
import { useStore } from './providers/store';
|
|
25
|
-
import useLogin from './hooks/useLogin';
|
|
26
|
-
import useLoginStatus from './hooks/useLoginStatus';
|
|
27
|
-
export function logout(): Promise<void>;
|
|
28
|
-
export function refreshUserData(): Promise<import("./stores/SessionStore").UserData | null>;
|
|
29
|
-
export function setLocale(locale: any): Promise<import("i18next").TFunction<"translation", undefined>>;
|
|
30
|
-
export function getLocale(): string;
|
|
31
|
-
import toast from 'react-hot-toast';
|
|
32
|
-
import { fetch } from './utils/authFetch';
|
|
33
|
-
import { registerServiceWorker } from './utils/service-worker';
|
|
34
|
-
import { registerTranslations } from './i18n';
|
|
35
|
-
import { captureException } from '@sentry/react';
|
|
36
|
-
export { AccessBlocker, AccessGuard, App, Checkbox, Container, Radio, RadioGroup, sidePanelDefaultProps, withAccessGuard, getDisplayMode, updateParentHeaderTitle, resetParentHeaderTitle, updateParentHeaderLeadingText, resetParentHeaderLeadingText, updateParentHeaderStyles, resetParentHeaderContent, resetParentHeaderStyles, updateParentHeaderContent, useAccess, useHeaderContentEvent, useDisplay, useFeatures, usePermissions, useStore, useLogin, useLoginStatus, toast as notify, fetch, registerServiceWorker, registerTranslations, captureException };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export default ErrorPage;
|
|
2
|
-
declare function ErrorPage({ error, appVersion, apiVersion }: {
|
|
3
|
-
error: any;
|
|
4
|
-
appVersion: any;
|
|
5
|
-
apiVersion: any;
|
|
6
|
-
}): React.JSX.Element;
|
|
7
|
-
declare namespace ErrorPage {
|
|
8
|
-
namespace propTypes {
|
|
9
|
-
let error: any;
|
|
10
|
-
let componentStack: any;
|
|
11
|
-
}
|
|
12
|
-
let defaultProps: {};
|
|
13
|
-
}
|
|
14
|
-
import React from 'react';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
({ redirectPath }: {
|
|
3
|
-
redirectPath: any;
|
|
4
|
-
}): React.JSX.Element;
|
|
5
|
-
propTypes: {
|
|
6
|
-
redirectPath: any;
|
|
7
|
-
};
|
|
8
|
-
defaultProps: {
|
|
9
|
-
redirectPath: string;
|
|
10
|
-
};
|
|
11
|
-
} & {
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
15
|
-
import React from 'react';
|