andoncloud-sdk 1.7.24 → 1.7.26
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 +4372 -0
- package/dist/index.js.map +1 -0
- package/package.json +10 -22
- 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,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
|
-
const open: any;
|
|
14
|
-
const items: any;
|
|
15
|
-
const width: any;
|
|
16
|
-
const styles: any;
|
|
17
|
-
const listStyles: any;
|
|
18
|
-
const itemStyles: any;
|
|
19
|
-
const subitemStyles: any;
|
|
20
|
-
}
|
|
21
|
-
namespace defaultProps {
|
|
22
|
-
const styles_1: {};
|
|
23
|
-
export { styles_1 as styles };
|
|
24
|
-
const listStyles_1: {};
|
|
25
|
-
export { listStyles_1 as listStyles };
|
|
26
|
-
const itemStyles_1: {};
|
|
27
|
-
export { itemStyles_1 as itemStyles };
|
|
28
|
-
const 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,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type CheckboxProps } from '@mui/material';
|
|
3
|
-
export interface StyledCheckboxProps extends CheckboxProps {}
|
|
4
|
-
export declare const UncheckedIcon: import('@emotion/styled').StyledComponent<
|
|
5
|
-
import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>,
|
|
6
|
-
import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>,
|
|
7
|
-
{}
|
|
8
|
-
>;
|
|
9
|
-
export declare const CheckedIcon: import('@emotion/styled').StyledComponent<
|
|
10
|
-
import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> &
|
|
11
|
-
import('react').ClassAttributes<HTMLSpanElement> &
|
|
12
|
-
import('react').HTMLAttributes<HTMLSpanElement>,
|
|
13
|
-
{},
|
|
14
|
-
{}
|
|
15
|
-
>;
|
|
16
|
-
export declare const StyledCheckbox: import('@emotion/styled').StyledComponent<
|
|
17
|
-
CheckboxProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & StyledCheckboxProps,
|
|
18
|
-
{},
|
|
19
|
-
{}
|
|
20
|
-
>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Radio';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type RadioProps } from '@mui/material';
|
|
3
|
-
export interface StyledRadioProps extends RadioProps {}
|
|
4
|
-
export declare const UncheckedIcon: import('@emotion/styled').StyledComponent<
|
|
5
|
-
import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>,
|
|
6
|
-
import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>,
|
|
7
|
-
{}
|
|
8
|
-
>;
|
|
9
|
-
export declare const CheckedIcon: import('@emotion/styled').StyledComponent<
|
|
10
|
-
import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> &
|
|
11
|
-
import('react').ClassAttributes<HTMLSpanElement> &
|
|
12
|
-
import('react').HTMLAttributes<HTMLSpanElement>,
|
|
13
|
-
{},
|
|
14
|
-
{}
|
|
15
|
-
>;
|
|
16
|
-
export declare const StyledRadio: import('@emotion/styled').StyledComponent<
|
|
17
|
-
RadioProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & StyledRadioProps,
|
|
18
|
-
{},
|
|
19
|
-
{}
|
|
20
|
-
>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './RadioGroup';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type RadioGroupProps } from '@mui/material';
|
|
2
|
-
export interface StyledRadioGroupProps extends RadioGroupProps {}
|
|
3
|
-
export declare const StyledRadioGroup: import('@emotion/styled').StyledComponent<
|
|
4
|
-
RadioGroupProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & StyledRadioGroupProps,
|
|
5
|
-
{},
|
|
6
|
-
{}
|
|
7
|
-
>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function getAccessState(status: string): 'accessible' | 'no_permission' | 'expired' | 'not_purchased';
|
|
2
|
-
export namespace ACCESS_STATE_PRIORITY {
|
|
3
|
-
const no_permission: number;
|
|
4
|
-
const expired: number;
|
|
5
|
-
const not_purchased: number;
|
|
6
|
-
const accessible: number;
|
|
7
|
-
}
|
|
@@ -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[] | undefined;
|
|
10
|
-
workplaceId?: string | undefined;
|
|
11
|
-
}): UseAccessResult;
|
|
@@ -1,10 +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[] }} options - Additional options
|
|
6
|
-
* @returns {UseAccessResult}
|
|
7
|
-
*/
|
|
8
|
-
declare function useAccess(features?: string[], options?: {
|
|
9
|
-
extraPermissions?: string[] | undefined;
|
|
10
|
-
}): 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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/app/i18n.d.ts
DELETED
|
@@ -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
|
-
const error: any;
|
|
10
|
-
const componentStack: any;
|
|
11
|
-
}
|
|
12
|
-
const 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";
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
export namespace rootStore {
|
|
2
|
-
export { sessionStore };
|
|
3
|
-
}
|
|
4
|
-
export const StoreContext: React.Context<{
|
|
5
|
-
sessionStore: {
|
|
6
|
-
loading: boolean;
|
|
7
|
-
loginStatus: {
|
|
8
|
-
status: string;
|
|
9
|
-
};
|
|
10
|
-
refreshTokenPromise: null;
|
|
11
|
-
api: {
|
|
12
|
-
setAuthConfig({ baseUrl, clientId, redirectUri }: {
|
|
13
|
-
baseUrl: any;
|
|
14
|
-
clientId: any;
|
|
15
|
-
redirectUri: any;
|
|
16
|
-
}): void;
|
|
17
|
-
baseUrl: any;
|
|
18
|
-
clientId: any;
|
|
19
|
-
redirectUri: any;
|
|
20
|
-
authorize(credentials: any): Promise<undefined>;
|
|
21
|
-
getUserData(authData: any): Promise<{
|
|
22
|
-
id: any;
|
|
23
|
-
companyId: any;
|
|
24
|
-
roleId: any;
|
|
25
|
-
username: any;
|
|
26
|
-
email: any;
|
|
27
|
-
name: any;
|
|
28
|
-
permissionsMap: any;
|
|
29
|
-
featuresMap: {
|
|
30
|
-
[k: string]: {
|
|
31
|
-
status: any;
|
|
32
|
-
entitlementType: any;
|
|
33
|
-
expiresAt: any;
|
|
34
|
-
daysSinceExpiry: any;
|
|
35
|
-
permissions: any;
|
|
36
|
-
} | null;
|
|
37
|
-
} | null;
|
|
38
|
-
featuresRequestsMap: {} | null;
|
|
39
|
-
} | null>;
|
|
40
|
-
signOut(token: any): Promise<void>;
|
|
41
|
-
};
|
|
42
|
-
networkError: any;
|
|
43
|
-
setLoading(value: any): void;
|
|
44
|
-
setConnectedLoginStatus(): void;
|
|
45
|
-
setNotAuthorizedLoginStatus(): void;
|
|
46
|
-
setAuthConfig(config: any): void;
|
|
47
|
-
setNetworkError(value: any): void;
|
|
48
|
-
isLoggedIn(): boolean;
|
|
49
|
-
requestHeaders(): {
|
|
50
|
-
'Accept-Language': string;
|
|
51
|
-
} | {
|
|
52
|
-
Authorization: string;
|
|
53
|
-
'Accept-Language': string;
|
|
54
|
-
};
|
|
55
|
-
authorize(credentials: any, storeSession?: boolean): Promise<null>;
|
|
56
|
-
session: any;
|
|
57
|
-
refresh(): Promise<null>;
|
|
58
|
-
recover(): Promise<void>;
|
|
59
|
-
logout(): Promise<void>;
|
|
60
|
-
refreshUserData(): Promise<{
|
|
61
|
-
id: any;
|
|
62
|
-
companyId: any;
|
|
63
|
-
roleId: any;
|
|
64
|
-
username: any;
|
|
65
|
-
email: any;
|
|
66
|
-
name: any;
|
|
67
|
-
permissionsMap: any;
|
|
68
|
-
featuresMap: {
|
|
69
|
-
[k: string]: {
|
|
70
|
-
status: any;
|
|
71
|
-
entitlementType: any;
|
|
72
|
-
expiresAt: any;
|
|
73
|
-
daysSinceExpiry: any;
|
|
74
|
-
permissions: any;
|
|
75
|
-
} | null;
|
|
76
|
-
} | null;
|
|
77
|
-
featuresRequestsMap: {} | null;
|
|
78
|
-
} | null>;
|
|
79
|
-
storeSession(): Promise<void>;
|
|
80
|
-
restoreSession(): Promise<void>;
|
|
81
|
-
removeSession(): void;
|
|
82
|
-
setCurrentUser(user: any): void;
|
|
83
|
-
removeCurrentUser(): void;
|
|
84
|
-
};
|
|
85
|
-
}>;
|
|
86
|
-
export const StoreProvider: React.FunctionComponent<object>;
|
|
87
|
-
export function useStore(): {
|
|
88
|
-
sessionStore: {
|
|
89
|
-
loading: boolean;
|
|
90
|
-
loginStatus: {
|
|
91
|
-
status: string;
|
|
92
|
-
};
|
|
93
|
-
refreshTokenPromise: null;
|
|
94
|
-
api: {
|
|
95
|
-
setAuthConfig({ baseUrl, clientId, redirectUri }: {
|
|
96
|
-
baseUrl: any;
|
|
97
|
-
clientId: any;
|
|
98
|
-
redirectUri: any;
|
|
99
|
-
}): void;
|
|
100
|
-
baseUrl: any;
|
|
101
|
-
clientId: any;
|
|
102
|
-
redirectUri: any;
|
|
103
|
-
authorize(credentials: any): Promise<undefined>;
|
|
104
|
-
getUserData(authData: any): Promise<{
|
|
105
|
-
id: any;
|
|
106
|
-
companyId: any;
|
|
107
|
-
roleId: any;
|
|
108
|
-
username: any;
|
|
109
|
-
email: any;
|
|
110
|
-
name: any;
|
|
111
|
-
permissionsMap: any;
|
|
112
|
-
featuresMap: {
|
|
113
|
-
[k: string]: {
|
|
114
|
-
status: any;
|
|
115
|
-
entitlementType: any;
|
|
116
|
-
expiresAt: any;
|
|
117
|
-
daysSinceExpiry: any;
|
|
118
|
-
permissions: any;
|
|
119
|
-
} | null;
|
|
120
|
-
} | null;
|
|
121
|
-
featuresRequestsMap: {} | null;
|
|
122
|
-
} | null>;
|
|
123
|
-
signOut(token: any): Promise<void>;
|
|
124
|
-
};
|
|
125
|
-
networkError: any;
|
|
126
|
-
setLoading(value: any): void;
|
|
127
|
-
setConnectedLoginStatus(): void;
|
|
128
|
-
setNotAuthorizedLoginStatus(): void;
|
|
129
|
-
setAuthConfig(config: any): void;
|
|
130
|
-
setNetworkError(value: any): void;
|
|
131
|
-
isLoggedIn(): boolean;
|
|
132
|
-
requestHeaders(): {
|
|
133
|
-
'Accept-Language': string;
|
|
134
|
-
} | {
|
|
135
|
-
Authorization: string;
|
|
136
|
-
'Accept-Language': string;
|
|
137
|
-
};
|
|
138
|
-
authorize(credentials: any, storeSession?: boolean): Promise<null>;
|
|
139
|
-
session: any;
|
|
140
|
-
refresh(): Promise<null>;
|
|
141
|
-
recover(): Promise<void>;
|
|
142
|
-
logout(): Promise<void>;
|
|
143
|
-
refreshUserData(): Promise<{
|
|
144
|
-
id: any;
|
|
145
|
-
companyId: any;
|
|
146
|
-
roleId: any;
|
|
147
|
-
username: any;
|
|
148
|
-
email: any;
|
|
149
|
-
name: any;
|
|
150
|
-
permissionsMap: any;
|
|
151
|
-
featuresMap: {
|
|
152
|
-
[k: string]: {
|
|
153
|
-
status: any;
|
|
154
|
-
entitlementType: any;
|
|
155
|
-
expiresAt: any;
|
|
156
|
-
daysSinceExpiry: any;
|
|
157
|
-
permissions: any;
|
|
158
|
-
} | null;
|
|
159
|
-
} | null;
|
|
160
|
-
featuresRequestsMap: {} | null;
|
|
161
|
-
} | null>;
|
|
162
|
-
storeSession(): Promise<void>;
|
|
163
|
-
restoreSession(): Promise<void>;
|
|
164
|
-
removeSession(): void;
|
|
165
|
-
setCurrentUser(user: any): void;
|
|
166
|
-
removeCurrentUser(): void;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
export default rootStore;
|
|
170
|
-
import sessionStore from "../stores/sessionStore";
|
|
171
|
-
import React from "react";
|