@opengeoweb/shared 9.28.1 → 9.29.0
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/index.esm.js +512 -491
- package/package.json +2 -2
- package/src/index.d.ts +7 -7
- package/src/lib/components/AlertBanner/AlertBanner.d.ts +16 -16
- package/src/lib/components/AlertBanner/AlertBanner.spec.d.ts +1 -1
- package/src/lib/components/AlertBanner/AlertBanner.stories.d.ts +13 -13
- package/src/lib/components/AlertBanner/index.d.ts +1 -1
- package/src/lib/components/AlertIcon/AlertIcon.d.ts +8 -8
- package/src/lib/components/AlertIcon/index.d.ts +1 -1
- package/src/lib/components/AppHeader/AppHeader.d.ts +10 -10
- package/src/lib/components/AppHeader/AppHeader.spec.d.ts +1 -1
- package/src/lib/components/AppHeader/AppHeader.stories.d.ts +25 -25
- package/src/lib/components/AppHeader/index.d.ts +1 -1
- package/src/lib/components/AppLayout/AppLayout.d.ts +7 -7
- package/src/lib/components/AppLayout/AppLayout.spec.d.ts +1 -1
- package/src/lib/components/AppLayout/AppLayout.stories.d.ts +7 -7
- package/src/lib/components/AppLayout/index.d.ts +1 -1
- package/src/lib/components/Avatar/Avatar.d.ts +7 -7
- package/src/lib/components/Avatar/Avatar.stories.d.ts +25 -25
- package/src/lib/components/Avatar/index.d.ts +1 -1
- package/src/lib/components/CanvasComponent/CanvasComponent.d.ts +71 -71
- package/src/lib/components/CanvasComponent/CanvasComponent.spec.d.ts +1 -1
- package/src/lib/components/CanvasComponent/CanvasComponent.stories.d.ts +7 -7
- package/src/lib/components/CanvasComponent/index.d.ts +1 -1
- package/src/lib/components/ConfirmationDialog/ConfirmationDialog.d.ts +22 -22
- package/src/lib/components/ConfirmationDialog/ConfirmationDialog.spec.d.ts +1 -1
- package/src/lib/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +15 -15
- package/src/lib/components/ConfirmationDialog/ConfirmationService.d.ts +18 -18
- package/src/lib/components/ConfirmationDialog/ConfirmationService.spec.d.ts +1 -1
- package/src/lib/components/ConfirmationDialog/index.d.ts +2 -2
- package/src/lib/components/CustomAccordion/CustomAccordion.d.ts +13 -12
- package/src/lib/components/CustomAccordion/CustomAccordion.spec.d.ts +1 -1
- package/src/lib/components/CustomAccordion/CustomAccordion.stories.d.ts +13 -13
- package/src/lib/components/CustomAccordion/index.d.ts +1 -1
- package/src/lib/components/CustomDialog/CustomDialog.d.ts +10 -10
- package/src/lib/components/CustomDialog/CustomDialog.spec.d.ts +1 -1
- package/src/lib/components/CustomDialog/CustomDialog.stories.d.ts +13 -13
- package/src/lib/components/CustomDialog/index.d.ts +1 -1
- package/src/lib/components/CustomIconButton/CustomIconButton.d.ts +13 -13
- package/src/lib/components/CustomIconButton/CustomIconButton.spec.d.ts +1 -1
- package/src/lib/components/CustomIconButton/CustomIconButton.stories.d.ts +25 -25
- package/src/lib/components/CustomIconButton/index.d.ts +1 -1
- package/src/lib/components/CustomSlider/CustomSlider.d.ts +14 -14
- package/src/lib/components/CustomSlider/CustomSlider.spec.d.ts +1 -1
- package/src/lib/components/CustomSlider/CustomSlider.stories.d.ts +13 -13
- package/src/lib/components/CustomSlider/index.d.ts +1 -1
- package/src/lib/components/CustomToggleButton/CustomToggleButton.d.ts +8 -8
- package/src/lib/components/CustomToggleButton/CustomToggleButton.spec.d.ts +1 -1
- package/src/lib/components/CustomToggleButton/CustomToggleButton.stories.d.ts +13 -13
- package/src/lib/components/CustomToggleButton/index.d.ts +1 -1
- package/src/lib/components/CustomTooltip/CustomTooltip.d.ts +8 -8
- package/src/lib/components/CustomTooltip/CustomTooltip.spec.d.ts +1 -1
- package/src/lib/components/CustomTooltip/index.d.ts +1 -1
- package/src/lib/components/DraggableResizable/Draggable.d.ts +15 -15
- package/src/lib/components/DraggableResizable/Draggable.spec.d.ts +1 -1
- package/src/lib/components/DraggableResizable/Resizable.d.ts +10 -10
- package/src/lib/components/DraggableResizable/Resizable.spec.d.ts +1 -1
- package/src/lib/components/DraggableResizable/index.d.ts +3 -3
- package/src/lib/components/DraggableResizable/types.d.ts +27 -27
- package/src/lib/components/ErrorBoundary/ErrorBoundary.d.ts +31 -31
- package/src/lib/components/ErrorBoundary/ErrorBoundary.spec.d.ts +1 -1
- package/src/lib/components/ErrorBoundary/ErrorBoundary.stories.d.ts +10 -10
- package/src/lib/components/ErrorBoundary/index.d.ts +1 -1
- package/src/lib/components/Filter/Filter.d.ts +13 -13
- package/src/lib/components/Filter/Filter.spec.d.ts +1 -1
- package/src/lib/components/Filter/Filter.stories.d.ts +25 -25
- package/src/lib/components/Filter/FilterChip.d.ts +13 -13
- package/src/lib/components/Filter/FilterChip.spec.d.ts +1 -1
- package/src/lib/components/Filter/FilterList.d.ts +15 -15
- package/src/lib/components/Filter/FilterList.spec.d.ts +1 -1
- package/src/lib/components/Filter/FilterListItem.d.ts +17 -17
- package/src/lib/components/Filter/FilterListItem.spec.d.ts +1 -1
- package/src/lib/components/Filter/FilterListItem.stories.d.ts +7 -7
- package/src/lib/components/Filter/SearchField.d.ts +8 -8
- package/src/lib/components/Filter/SearchField.spec.d.ts +1 -1
- package/src/lib/components/Filter/index.d.ts +8 -8
- package/src/lib/components/LastUpdateTime/LastUpdateTime.d.ts +10 -10
- package/src/lib/components/LastUpdateTime/LastUpdateTime.spec.d.ts +1 -1
- package/src/lib/components/LastUpdateTime/LastUpdateTime.stories.d.ts +13 -13
- package/src/lib/components/LastUpdateTime/index.d.ts +1 -1
- package/src/lib/components/Providers/Providers.d.ts +14 -14
- package/src/lib/components/Providers/index.d.ts +1 -1
- package/src/lib/components/SearchField/SearchField.d.ts +9 -9
- package/src/lib/components/SearchField/SearchField.spec.d.ts +1 -1
- package/src/lib/components/SearchField/SearchFieldButtonContainer.d.ts +9 -9
- package/src/lib/components/SearchField/SearchFieldButtonContainer.spec.d.ts +1 -1
- package/src/lib/components/SearchField/index.d.ts +2 -2
- package/src/lib/components/SearchHighlight/SearchHighlight.d.ts +7 -7
- package/src/lib/components/SearchHighlight/SearchHighlight.spec.d.ts +1 -1
- package/src/lib/components/SearchHighlight/SearchHighlight.stories.d.ts +13 -13
- package/src/lib/components/SearchHighlight/index.d.ts +1 -1
- package/src/lib/components/StatusTag/StatusTag.d.ts +9 -9
- package/src/lib/components/StatusTag/StatusTag.spec.d.ts +1 -1
- package/src/lib/components/StatusTag/StatusTag.stories.d.ts +25 -25
- package/src/lib/components/StatusTag/index.d.ts +1 -1
- package/src/lib/components/SwitchButton/SwitchButton.d.ts +8 -8
- package/src/lib/components/SwitchButton/SwitchButton.spec.d.ts +1 -1
- package/src/lib/components/SwitchButton/index.d.ts +1 -1
- package/src/lib/components/ToggleMenu/ToggleMenu.d.ts +30 -30
- package/src/lib/components/ToggleMenu/ToggleMenu.spec.d.ts +1 -1
- package/src/lib/components/ToggleMenu/ToggleMenu.stories.d.ts +13 -13
- package/src/lib/components/ToggleMenu/index.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolContainer.d.ts +5 -5
- package/src/lib/components/ToolContainer/ToolContainer.spec.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolContainer.stories.d.ts +28 -28
- package/src/lib/components/ToolContainer/ToolContainerDraggable.d.ts +37 -37
- package/src/lib/components/ToolContainer/ToolContainerDraggable.spec.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolContainerDraggable.stories.d.ts +7 -7
- package/src/lib/components/ToolContainer/ToolContainerSnapShots.stories.d.ts +13 -13
- package/src/lib/components/ToolContainer/ToolFooter.d.ts +3 -3
- package/src/lib/components/ToolContainer/ToolFooter.spec.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolHeader.d.ts +4 -4
- package/src/lib/components/ToolContainer/ToolHeader.spec.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolHeader.stories.d.ts +23 -23
- package/src/lib/components/ToolContainer/index.d.ts +7 -7
- package/src/lib/components/ToolContainer/types.d.ts +20 -20
- package/src/lib/components/ToolContainer/useHandleSizeFromOutsideComponent.d.ts +15 -15
- package/src/lib/components/ToolContainer/useHandleSizeFromOutsideComponent.spec.d.ts +1 -1
- package/src/lib/components/TooltipSelect/TooltipSelect.d.ts +20 -20
- package/src/lib/components/TooltipSelect/TooltipSelect.spec.d.ts +1 -1
- package/src/lib/components/TooltipSelect/TooltipSelect.stories.d.ts +13 -13
- package/src/lib/components/TooltipSelect/index.d.ts +1 -1
- package/src/lib/components/UserMenu/CheatSheet/CheatSheet.d.ts +3 -3
- package/src/lib/components/UserMenu/CheatSheet/CheatSheet.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/CheatSheet/CheatSheet.stories.d.ts +31 -31
- package/src/lib/components/UserMenu/CheatSheet/ShortcutList.d.ts +6 -6
- package/src/lib/components/UserMenu/CheatSheet/ShortcutList.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/CheatSheet/ShortcutSegment.d.ts +7 -7
- package/src/lib/components/UserMenu/CheatSheet/ShortcutSegment.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/UserMenu.d.ts +11 -11
- package/src/lib/components/UserMenu/UserMenu.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/UserMenu.stories.d.ts +15 -15
- package/src/lib/components/UserMenu/UserMenuItemCheatSheet.d.ts +3 -3
- package/src/lib/components/UserMenu/UserMenuItemCheatSheet.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/UserMenuItemTheme.d.ts +3 -3
- package/src/lib/components/UserMenu/UserMenuItemTheme.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/UserMenuSentryRecording.d.ts +7 -7
- package/src/lib/components/UserMenu/index.d.ts +6 -6
- package/src/lib/components/UserMenu/useUserMenu.d.ts +7 -7
- package/src/lib/components/UserMenu/useUserMenu.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/utils.d.ts +1 -1
- package/src/lib/components/WithEggs/WithEggs.d.ts +7 -7
- package/src/lib/components/WithEggs/WithEggs.spec.d.ts +1 -1
- package/src/lib/components/WithEggs/index.d.ts +1 -1
- package/src/lib/components/components.stories.d.ts +5 -5
- package/src/lib/components/index.d.ts +26 -26
- package/src/lib/hooks/index.d.ts +6 -6
- package/src/lib/hooks/useDebounce/useDebounce.d.ts +1 -1
- package/src/lib/hooks/useDebounce/useDebounce.spec.d.ts +1 -1
- package/src/lib/hooks/useIsMounted/useIsMounted.d.ts +4 -4
- package/src/lib/hooks/useIsMounted/useIsMounted.spec.d.ts +1 -1
- package/src/lib/hooks/useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow.d.ts +4 -4
- package/src/lib/hooks/useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow.spec.d.ts +1 -1
- package/src/lib/hooks/usePoller/usePoller.d.ts +3 -3
- package/src/lib/hooks/usePoller/usePoller.spec.d.ts +1 -1
- package/src/lib/hooks/usePoller/usePoller.stories.d.ts +6 -6
- package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.d.ts +2 -2
- package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.spec.d.ts +1 -1
- package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.stories.d.ts +6 -6
- package/src/lib/hooks/usePrevious/usePrevious.d.ts +1 -1
- package/src/lib/hooks/usePrevious/usePrevious.spec.d.ts +1 -1
- package/src/lib/hooks/usePrevious/usePrevious.stories.d.ts +6 -6
- package/src/lib/types/index.d.ts +1 -1
- package/src/lib/types/types.d.ts +107 -108
- package/src/lib/utils/axiosErrorUtils/axiosErrorUtils.d.ts +8 -8
- package/src/lib/utils/axiosErrorUtils/axiosErrorUtils.spec.d.ts +1 -1
- package/src/lib/utils/axiosErrorUtils/index.d.ts +1 -1
- package/src/lib/utils/dateUtils/dateFormats.d.ts +7 -7
- package/src/lib/utils/dateUtils/dateUtils.d.ts +343 -343
- package/src/lib/utils/dateUtils/dateUtils.spec.d.ts +1 -1
- package/src/lib/utils/dateUtils/index.d.ts +2 -2
- package/src/lib/utils/i18n.d.ts +7 -7
- package/src/lib/utils/index.d.ts +5 -5
- package/src/lib/utils/mapProjections.d.ts +75 -75
- package/src/lib/utils/reduxTestUtils/createMockStoreWithEggs.d.ts +20 -20
- package/src/lib/utils/reduxTestUtils/createMockStoreWithEggs.spec.d.ts +1 -1
- package/src/lib/utils/reduxTestUtils/index.d.ts +1 -1
- package/src/lib/utils/renderCounter.d.ts +21 -21
- package/src/lib/utils/renderCounter.spec.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/shared",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.29.0",
|
|
4
4
|
"description": "GeoWeb shared library with shared components and utils for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"react-i18next": "^14.1.2",
|
|
22
22
|
"i18next": "^23.11.5",
|
|
23
23
|
"@mui/material": "^6.1.1",
|
|
24
|
-
"@sentry/react": "^
|
|
24
|
+
"@sentry/react": "^8.34.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": "18",
|
package/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import sharedTranslations from '../locales/shared.json';
|
|
2
|
-
export * from './lib/components';
|
|
3
|
-
export * from './lib/hooks';
|
|
4
|
-
export * from './lib/utils';
|
|
5
|
-
export * from './lib/types';
|
|
6
|
-
export { SHARED_NAMESPACE } from './lib/utils/i18n';
|
|
7
|
-
export { sharedTranslations };
|
|
1
|
+
import sharedTranslations from '../locales/shared.json';
|
|
2
|
+
export * from './lib/components';
|
|
3
|
+
export * from './lib/hooks';
|
|
4
|
+
export * from './lib/utils';
|
|
5
|
+
export * from './lib/types';
|
|
6
|
+
export { SHARED_NAMESPACE } from './lib/utils/i18n';
|
|
7
|
+
export { sharedTranslations };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AlertColor } from '@mui/material';
|
|
3
|
-
interface AlertBannerProps {
|
|
4
|
-
title: string;
|
|
5
|
-
severity?: AlertColor;
|
|
6
|
-
info?: string | React.ReactElement;
|
|
7
|
-
dataTestId?: string;
|
|
8
|
-
isCompact?: boolean;
|
|
9
|
-
shouldClose?: boolean;
|
|
10
|
-
actionButtonProps?: {
|
|
11
|
-
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
12
|
-
title: string;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
declare const AlertBanner: React.FC<AlertBannerProps>;
|
|
16
|
-
export default AlertBanner;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AlertColor } from '@mui/material';
|
|
3
|
+
interface AlertBannerProps {
|
|
4
|
+
title: string;
|
|
5
|
+
severity?: AlertColor;
|
|
6
|
+
info?: string | React.ReactElement;
|
|
7
|
+
dataTestId?: string;
|
|
8
|
+
isCompact?: boolean;
|
|
9
|
+
shouldClose?: boolean;
|
|
10
|
+
actionButtonProps?: {
|
|
11
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
12
|
+
title: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
declare const AlertBanner: React.FC<AlertBannerProps>;
|
|
16
|
+
export default AlertBanner;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const AlertBannersLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const AlertBannersDark: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const AlertBannersLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const AlertBannersDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as AlertBanner } from './AlertBanner';
|
|
1
|
+
export { default as AlertBanner } from './AlertBanner';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AlertColor } from '@mui/material';
|
|
3
|
-
interface AlertIconProps {
|
|
4
|
-
severity?: AlertColor;
|
|
5
|
-
dataTestId?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const AlertIcon: React.FC<AlertIconProps>;
|
|
8
|
-
export default AlertIcon;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AlertColor } from '@mui/material';
|
|
3
|
+
interface AlertIconProps {
|
|
4
|
+
severity?: AlertColor;
|
|
5
|
+
dataTestId?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const AlertIcon: React.FC<AlertIconProps>;
|
|
8
|
+
export default AlertIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as AlertIcon } from './AlertIcon';
|
|
1
|
+
export { default as AlertIcon } from './AlertIcon';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface AppHeaderProps {
|
|
3
|
-
menu?: React.ReactNode;
|
|
4
|
-
userMenu?: React.ReactNode;
|
|
5
|
-
workspaceTopBar?: React.ReactNode;
|
|
6
|
-
title?: string;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const AppHeader: React.FC<AppHeaderProps>;
|
|
10
|
-
export default AppHeader;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface AppHeaderProps {
|
|
3
|
+
menu?: React.ReactNode;
|
|
4
|
+
userMenu?: React.ReactNode;
|
|
5
|
+
workspaceTopBar?: React.ReactNode;
|
|
6
|
+
title?: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const AppHeader: React.FC<AppHeaderProps>;
|
|
10
|
+
export default AppHeader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const AppHeaderDark: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
parameters: {
|
|
10
|
-
zeplinLink: {
|
|
11
|
-
name: string;
|
|
12
|
-
link: string;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const AppHeaderLight: {
|
|
17
|
-
(): React.ReactElement;
|
|
18
|
-
tags: string[];
|
|
19
|
-
parameters: {
|
|
20
|
-
zeplinLink: {
|
|
21
|
-
name: string;
|
|
22
|
-
link: string;
|
|
23
|
-
}[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const AppHeaderDark: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
parameters: {
|
|
10
|
+
zeplinLink: {
|
|
11
|
+
name: string;
|
|
12
|
+
link: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const AppHeaderLight: {
|
|
17
|
+
(): React.ReactElement;
|
|
18
|
+
tags: string[];
|
|
19
|
+
parameters: {
|
|
20
|
+
zeplinLink: {
|
|
21
|
+
name: string;
|
|
22
|
+
link: string;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as AppHeader } from './AppHeader';
|
|
1
|
+
export { default as AppHeader } from './AppHeader';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface AppLayoutProps {
|
|
3
|
-
header?: React.ReactNode;
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
declare const AppLayout: React.FC<AppLayoutProps>;
|
|
7
|
-
export default AppLayout;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface AppLayoutProps {
|
|
3
|
+
header?: React.ReactNode;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const AppLayout: React.FC<AppLayoutProps>;
|
|
7
|
+
export default AppLayout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const ThemeLight: () => React.ReactElement;
|
|
7
|
-
export declare const ThemeDark: () => React.ReactElement;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const ThemeLight: () => React.ReactElement;
|
|
7
|
+
export declare const ThemeDark: () => React.ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as AppLayout } from './AppLayout';
|
|
1
|
+
export { default as AppLayout } from './AppLayout';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface AvatarProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
size?: 'small' | 'large';
|
|
5
|
-
}
|
|
6
|
-
declare const Avatar: React.FC<AvatarProps>;
|
|
7
|
-
export default Avatar;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface AvatarProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
size?: 'small' | 'large';
|
|
5
|
+
}
|
|
6
|
+
declare const Avatar: React.FC<AvatarProps>;
|
|
7
|
+
export default Avatar;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const AvatarLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
parameters: {
|
|
10
|
-
zeplinLink: {
|
|
11
|
-
name: string;
|
|
12
|
-
link: string;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const AvatarDark: {
|
|
17
|
-
(): React.ReactElement;
|
|
18
|
-
tags: string[];
|
|
19
|
-
parameters: {
|
|
20
|
-
zeplinLink: {
|
|
21
|
-
name: string;
|
|
22
|
-
link: string;
|
|
23
|
-
}[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const AvatarLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
parameters: {
|
|
10
|
+
zeplinLink: {
|
|
11
|
+
name: string;
|
|
12
|
+
link: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const AvatarDark: {
|
|
17
|
+
(): React.ReactElement;
|
|
18
|
+
tags: string[];
|
|
19
|
+
parameters: {
|
|
20
|
+
zeplinLink: {
|
|
21
|
+
name: string;
|
|
22
|
+
link: string;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as Avatar } from './Avatar';
|
|
1
|
+
export { default as Avatar } from './Avatar';
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
interface CanvasComponentProps {
|
|
3
|
-
onRenderCanvas: (ctx: CanvasRenderingContext2D, width: number, height: number, canvas: HTMLCanvasElement) => void;
|
|
4
|
-
onCanvasClick?: (x: number, y: number, width: number, height: number) => void;
|
|
5
|
-
onMouseMove?: (x: number, y: number, event: MouseEvent, width: number) => void;
|
|
6
|
-
onMouseUp?: (x: number) => void;
|
|
7
|
-
onMouseDown?: (x: number, y: number, width: number) => void;
|
|
8
|
-
onTouchStart?: (event: TouchEvent, width: number) => void;
|
|
9
|
-
onTouchEnd?: () => void;
|
|
10
|
-
onTouchMove?: (event: TouchEvent, width: number) => void;
|
|
11
|
-
onKeyUp?: (event: KeyboardEvent) => void;
|
|
12
|
-
onKeyDown?: (event: KeyboardEvent) => void;
|
|
13
|
-
isFocussed?: (isFocussed: boolean) => void;
|
|
14
|
-
onWheel?: ({ event, deltaY, deltaX, canvasWidth, mouseX, }: {
|
|
15
|
-
event: WheelEvent;
|
|
16
|
-
deltaY: number;
|
|
17
|
-
deltaX: number;
|
|
18
|
-
canvasWidth: number;
|
|
19
|
-
mouseX: number;
|
|
20
|
-
}) => void;
|
|
21
|
-
loop?: boolean;
|
|
22
|
-
redrawInterval?: number;
|
|
23
|
-
resizeCallback?: (newWidth: number) => void;
|
|
24
|
-
children?: React.ReactNode;
|
|
25
|
-
}
|
|
26
|
-
export declare class CanvasComponent extends Component<CanvasComponentProps> {
|
|
27
|
-
canvas: HTMLCanvasElement | null;
|
|
28
|
-
ctx: CanvasRenderingContext2D | null;
|
|
29
|
-
currentWidth: number;
|
|
30
|
-
currentHeight: number;
|
|
31
|
-
canvascontaineroutside: React.RefObject<HTMLDivElement> | null;
|
|
32
|
-
canvascontainer: React.RefObject<HTMLDivElement> | null;
|
|
33
|
-
timer: ReturnType<typeof setTimeout> | null;
|
|
34
|
-
redrawTimer: ReturnType<typeof setTimeout> | null;
|
|
35
|
-
loopHasStarted: boolean;
|
|
36
|
-
mounted: boolean;
|
|
37
|
-
static defaultProps: {
|
|
38
|
-
onRenderCanvas: () => void;
|
|
39
|
-
onCanvasClick: () => void;
|
|
40
|
-
onMouseMove: () => void;
|
|
41
|
-
onMouseUp: () => void;
|
|
42
|
-
onMouseDown: () => void;
|
|
43
|
-
onTouchStart: () => void;
|
|
44
|
-
onTouchEnd: () => void;
|
|
45
|
-
onTouchMove: () => void;
|
|
46
|
-
onWheel: () => void;
|
|
47
|
-
};
|
|
48
|
-
private _isFocussed;
|
|
49
|
-
constructor(props: CanvasComponentProps);
|
|
50
|
-
componentDidMount(): void;
|
|
51
|
-
shouldComponentUpdate(): boolean;
|
|
52
|
-
componentWillUnmount(): void;
|
|
53
|
-
handleMouseMoveEvent(event: MouseEvent): void;
|
|
54
|
-
handleMouseUpEvent(event: MouseEvent): void;
|
|
55
|
-
handleMouseDownEvent(event: MouseEvent): void;
|
|
56
|
-
handleTouchStartEvent(event: TouchEvent): void;
|
|
57
|
-
handleTouchEndEvent(): void;
|
|
58
|
-
handleTouchMoveEvent(event: TouchEvent): void;
|
|
59
|
-
handleClickEvent(event: MouseEvent): void;
|
|
60
|
-
handleWheelEvent(event: WheelEvent): void;
|
|
61
|
-
onFocus(): void;
|
|
62
|
-
onBlur(): void;
|
|
63
|
-
onKeyUp(event: KeyboardEvent): void;
|
|
64
|
-
_documentKeyDown(event: KeyboardEvent): void;
|
|
65
|
-
_handleWindowResize(): void;
|
|
66
|
-
startLoop(): void;
|
|
67
|
-
updateCanvas(): void;
|
|
68
|
-
resize(): void;
|
|
69
|
-
render(): React.ReactElement;
|
|
70
|
-
}
|
|
71
|
-
export {};
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
interface CanvasComponentProps {
|
|
3
|
+
onRenderCanvas: (ctx: CanvasRenderingContext2D, width: number, height: number, canvas: HTMLCanvasElement) => void;
|
|
4
|
+
onCanvasClick?: (x: number, y: number, width: number, height: number) => void;
|
|
5
|
+
onMouseMove?: (x: number, y: number, event: MouseEvent, width: number) => void;
|
|
6
|
+
onMouseUp?: (x: number) => void;
|
|
7
|
+
onMouseDown?: (x: number, y: number, width: number) => void;
|
|
8
|
+
onTouchStart?: (event: TouchEvent, width: number) => void;
|
|
9
|
+
onTouchEnd?: () => void;
|
|
10
|
+
onTouchMove?: (event: TouchEvent, width: number) => void;
|
|
11
|
+
onKeyUp?: (event: KeyboardEvent) => void;
|
|
12
|
+
onKeyDown?: (event: KeyboardEvent) => void;
|
|
13
|
+
isFocussed?: (isFocussed: boolean) => void;
|
|
14
|
+
onWheel?: ({ event, deltaY, deltaX, canvasWidth, mouseX, }: {
|
|
15
|
+
event: WheelEvent;
|
|
16
|
+
deltaY: number;
|
|
17
|
+
deltaX: number;
|
|
18
|
+
canvasWidth: number;
|
|
19
|
+
mouseX: number;
|
|
20
|
+
}) => void;
|
|
21
|
+
loop?: boolean;
|
|
22
|
+
redrawInterval?: number;
|
|
23
|
+
resizeCallback?: (newWidth: number) => void;
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
}
|
|
26
|
+
export declare class CanvasComponent extends Component<CanvasComponentProps> {
|
|
27
|
+
canvas: HTMLCanvasElement | null;
|
|
28
|
+
ctx: CanvasRenderingContext2D | null;
|
|
29
|
+
currentWidth: number;
|
|
30
|
+
currentHeight: number;
|
|
31
|
+
canvascontaineroutside: React.RefObject<HTMLDivElement> | null;
|
|
32
|
+
canvascontainer: React.RefObject<HTMLDivElement> | null;
|
|
33
|
+
timer: ReturnType<typeof setTimeout> | null;
|
|
34
|
+
redrawTimer: ReturnType<typeof setTimeout> | null;
|
|
35
|
+
loopHasStarted: boolean;
|
|
36
|
+
mounted: boolean;
|
|
37
|
+
static defaultProps: {
|
|
38
|
+
onRenderCanvas: () => void;
|
|
39
|
+
onCanvasClick: () => void;
|
|
40
|
+
onMouseMove: () => void;
|
|
41
|
+
onMouseUp: () => void;
|
|
42
|
+
onMouseDown: () => void;
|
|
43
|
+
onTouchStart: () => void;
|
|
44
|
+
onTouchEnd: () => void;
|
|
45
|
+
onTouchMove: () => void;
|
|
46
|
+
onWheel: () => void;
|
|
47
|
+
};
|
|
48
|
+
private _isFocussed;
|
|
49
|
+
constructor(props: CanvasComponentProps);
|
|
50
|
+
componentDidMount(): void;
|
|
51
|
+
shouldComponentUpdate(): boolean;
|
|
52
|
+
componentWillUnmount(): void;
|
|
53
|
+
handleMouseMoveEvent(event: MouseEvent): void;
|
|
54
|
+
handleMouseUpEvent(event: MouseEvent): void;
|
|
55
|
+
handleMouseDownEvent(event: MouseEvent): void;
|
|
56
|
+
handleTouchStartEvent(event: TouchEvent): void;
|
|
57
|
+
handleTouchEndEvent(): void;
|
|
58
|
+
handleTouchMoveEvent(event: TouchEvent): void;
|
|
59
|
+
handleClickEvent(event: MouseEvent): void;
|
|
60
|
+
handleWheelEvent(event: WheelEvent): void;
|
|
61
|
+
onFocus(): void;
|
|
62
|
+
onBlur(): void;
|
|
63
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
64
|
+
_documentKeyDown(event: KeyboardEvent): void;
|
|
65
|
+
_handleWindowResize(): void;
|
|
66
|
+
startLoop(): void;
|
|
67
|
+
updateCanvas(): void;
|
|
68
|
+
resize(): void;
|
|
69
|
+
render(): React.ReactElement;
|
|
70
|
+
}
|
|
71
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const DynamicCanvas: React.FC;
|
|
7
|
-
export declare const StaticCanvas: React.FC;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const DynamicCanvas: React.FC;
|
|
7
|
+
export declare const StaticCanvas: React.FC;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './CanvasComponent';
|
|
1
|
+
export * from './CanvasComponent';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ModalProps, SxProps, Theme } from '@mui/material';
|
|
3
|
-
import { DialogAction } from '../CustomDialog';
|
|
4
|
-
export interface ConfirmationOptions {
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
catchOnCancel?: boolean;
|
|
8
|
-
confirmLabel?: string;
|
|
9
|
-
cancelLabel?: string;
|
|
10
|
-
content?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export type ConfirmationAction = 'CANCELLED' | DialogAction;
|
|
13
|
-
export interface ConfirmationDialogProps extends ConfirmationOptions {
|
|
14
|
-
disableAutoFocus?: boolean;
|
|
15
|
-
onSubmit: () => void;
|
|
16
|
-
onClose: (reason: ConfirmationAction) => void;
|
|
17
|
-
isLoading?: boolean;
|
|
18
|
-
open: ModalProps['open'];
|
|
19
|
-
sx?: SxProps<Theme>;
|
|
20
|
-
}
|
|
21
|
-
export declare const ConfirmationDialog: React.FC<ConfirmationDialogProps>;
|
|
22
|
-
export default ConfirmationDialog;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ModalProps, SxProps, Theme } from '@mui/material';
|
|
3
|
+
import { DialogAction } from '../CustomDialog';
|
|
4
|
+
export interface ConfirmationOptions {
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
catchOnCancel?: boolean;
|
|
8
|
+
confirmLabel?: string;
|
|
9
|
+
cancelLabel?: string;
|
|
10
|
+
content?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export type ConfirmationAction = 'CANCELLED' | DialogAction;
|
|
13
|
+
export interface ConfirmationDialogProps extends ConfirmationOptions {
|
|
14
|
+
disableAutoFocus?: boolean;
|
|
15
|
+
onSubmit: () => void;
|
|
16
|
+
onClose: (reason: ConfirmationAction) => void;
|
|
17
|
+
isLoading?: boolean;
|
|
18
|
+
open: ModalProps['open'];
|
|
19
|
+
sx?: SxProps<Theme>;
|
|
20
|
+
}
|
|
21
|
+
export declare const ConfirmationDialog: React.FC<ConfirmationDialogProps>;
|
|
22
|
+
export default ConfirmationDialog;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const ConfirmationDialogCustom: () => React.ReactElement;
|
|
7
|
-
export declare const ConfirmationDialogLoading: () => React.ReactElement;
|
|
8
|
-
export declare const ConfirmationDialogLight: {
|
|
9
|
-
(): React.ReactElement;
|
|
10
|
-
tags: string[];
|
|
11
|
-
};
|
|
12
|
-
export declare const ConfirmationDialogDark: {
|
|
13
|
-
(): React.ReactElement;
|
|
14
|
-
tags: string[];
|
|
15
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const ConfirmationDialogCustom: () => React.ReactElement;
|
|
7
|
+
export declare const ConfirmationDialogLoading: () => React.ReactElement;
|
|
8
|
+
export declare const ConfirmationDialogLight: {
|
|
9
|
+
(): React.ReactElement;
|
|
10
|
+
tags: string[];
|
|
11
|
+
};
|
|
12
|
+
export declare const ConfirmationDialogDark: {
|
|
13
|
+
(): React.ReactElement;
|
|
14
|
+
tags: string[];
|
|
15
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ConfirmationAction, ConfirmationOptions } from './ConfirmationDialog';
|
|
3
|
-
type ConfirmationContext = (options: ConfirmationOptions) => Promise<void>;
|
|
4
|
-
export declare const useConfirmationDialog: () => ConfirmationContext;
|
|
5
|
-
export declare const useDialogActions: (awaitingPromiseRef: React.MutableRefObject<{
|
|
6
|
-
resolve: () => void;
|
|
7
|
-
reject: (reason: ConfirmationAction) => void;
|
|
8
|
-
}>, defaultOptions?: ConfirmationOptions) => {
|
|
9
|
-
openConfirmation: (options: ConfirmationOptions) => Promise<void>;
|
|
10
|
-
confirmationState: ConfirmationOptions;
|
|
11
|
-
handleSubmit: () => void;
|
|
12
|
-
handleClose: (reason: ConfirmationAction) => void;
|
|
13
|
-
};
|
|
14
|
-
interface ConfirmationServiceProviderProps {
|
|
15
|
-
children: React.ReactNode;
|
|
16
|
-
}
|
|
17
|
-
export declare const ConfirmationServiceProvider: React.FC<ConfirmationServiceProviderProps>;
|
|
18
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ConfirmationAction, ConfirmationOptions } from './ConfirmationDialog';
|
|
3
|
+
type ConfirmationContext = (options: ConfirmationOptions) => Promise<void>;
|
|
4
|
+
export declare const useConfirmationDialog: () => ConfirmationContext;
|
|
5
|
+
export declare const useDialogActions: (awaitingPromiseRef: React.MutableRefObject<{
|
|
6
|
+
resolve: () => void;
|
|
7
|
+
reject: (reason: ConfirmationAction) => void;
|
|
8
|
+
}>, defaultOptions?: ConfirmationOptions) => {
|
|
9
|
+
openConfirmation: (options: ConfirmationOptions) => Promise<void>;
|
|
10
|
+
confirmationState: ConfirmationOptions;
|
|
11
|
+
handleSubmit: () => void;
|
|
12
|
+
handleClose: (reason: ConfirmationAction) => void;
|
|
13
|
+
};
|
|
14
|
+
interface ConfirmationServiceProviderProps {
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export declare const ConfirmationServiceProvider: React.FC<ConfirmationServiceProviderProps>;
|
|
18
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ConfirmationDialog';
|
|
2
|
-
export * from './ConfirmationService';
|
|
1
|
+
export * from './ConfirmationDialog';
|
|
2
|
+
export * from './ConfirmationService';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AccordionProps, SxProps, Theme } from '@mui/material';
|
|
3
|
-
export interface CustomAccordionProps extends Omit<AccordionProps, 'title'> {
|
|
4
|
-
title?: string | React.ReactNode;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AccordionProps, SxProps, Theme } from '@mui/material';
|
|
3
|
+
export interface CustomAccordionProps extends Omit<AccordionProps, 'title'> {
|
|
4
|
+
title?: string | React.ReactNode;
|
|
5
|
+
title2?: string;
|
|
6
|
+
expandedElevation?: number;
|
|
7
|
+
collapsedElevation?: number;
|
|
8
|
+
transitionDuration?: number;
|
|
9
|
+
detailsSx?: SxProps<Theme>;
|
|
10
|
+
CustomExpandIcon?: React.ElementType;
|
|
11
|
+
amountOfItems?: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const CustomAccordion: React.FC<CustomAccordionProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|