@opengeoweb/shared 9.28.1 → 9.29.1
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 +616 -606
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
export { withEggs } from './WithEggs';
|
|
1
|
+
export { withEggs } from './WithEggs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './ErrorBoundary/ErrorBoundary.stories';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
1
|
+
export * from './ErrorBoundary/ErrorBoundary.stories';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export * from './StatusTag';
|
|
2
|
-
export * from './ConfirmationDialog';
|
|
3
|
-
export * from './AlertBanner';
|
|
4
|
-
export * from './AppLayout';
|
|
5
|
-
export * from './AppHeader';
|
|
6
|
-
export * from './DraggableResizable';
|
|
7
|
-
export * from './ErrorBoundary';
|
|
8
|
-
export * from './UserMenu';
|
|
9
|
-
export * from './ToolContainer';
|
|
10
|
-
export * from './CustomSlider';
|
|
11
|
-
export * from './CustomToggleButton';
|
|
12
|
-
export * from './ToggleMenu';
|
|
13
|
-
export * from './AlertIcon';
|
|
14
|
-
export * from './TooltipSelect';
|
|
15
|
-
export * from './Avatar';
|
|
16
|
-
export * from './WithEggs';
|
|
17
|
-
export * from './CustomTooltip';
|
|
18
|
-
export * from './CustomAccordion';
|
|
19
|
-
export * from './CustomDialog';
|
|
20
|
-
export * from './CustomIconButton';
|
|
21
|
-
export * from './SearchHighlight';
|
|
22
|
-
export * from './SwitchButton';
|
|
23
|
-
export * from './SearchField';
|
|
24
|
-
export * from './LastUpdateTime';
|
|
25
|
-
export * from './CanvasComponent';
|
|
26
|
-
export * from './Filter';
|
|
1
|
+
export * from './StatusTag';
|
|
2
|
+
export * from './ConfirmationDialog';
|
|
3
|
+
export * from './AlertBanner';
|
|
4
|
+
export * from './AppLayout';
|
|
5
|
+
export * from './AppHeader';
|
|
6
|
+
export * from './DraggableResizable';
|
|
7
|
+
export * from './ErrorBoundary';
|
|
8
|
+
export * from './UserMenu';
|
|
9
|
+
export * from './ToolContainer';
|
|
10
|
+
export * from './CustomSlider';
|
|
11
|
+
export * from './CustomToggleButton';
|
|
12
|
+
export * from './ToggleMenu';
|
|
13
|
+
export * from './AlertIcon';
|
|
14
|
+
export * from './TooltipSelect';
|
|
15
|
+
export * from './Avatar';
|
|
16
|
+
export * from './WithEggs';
|
|
17
|
+
export * from './CustomTooltip';
|
|
18
|
+
export * from './CustomAccordion';
|
|
19
|
+
export * from './CustomDialog';
|
|
20
|
+
export * from './CustomIconButton';
|
|
21
|
+
export * from './SearchHighlight';
|
|
22
|
+
export * from './SwitchButton';
|
|
23
|
+
export * from './SearchField';
|
|
24
|
+
export * from './LastUpdateTime';
|
|
25
|
+
export * from './CanvasComponent';
|
|
26
|
+
export * from './Filter';
|
package/src/lib/hooks/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './usePreventBrowserClose/usePreventBrowserClose';
|
|
2
|
-
export * from './usePoller/usePoller';
|
|
3
|
-
export * from './usePrevious/usePrevious';
|
|
4
|
-
export * from './useIsMounted/useIsMounted';
|
|
5
|
-
export * from './useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow';
|
|
6
|
-
export * from './useDebounce/useDebounce';
|
|
1
|
+
export * from './usePreventBrowserClose/usePreventBrowserClose';
|
|
2
|
+
export * from './usePoller/usePoller';
|
|
3
|
+
export * from './usePrevious/usePrevious';
|
|
4
|
+
export * from './useIsMounted/useIsMounted';
|
|
5
|
+
export * from './useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow';
|
|
6
|
+
export * from './useDebounce/useDebounce';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useDebounce: (value: string, timeout: number) => string;
|
|
1
|
+
export declare const useDebounce: (value: string, timeout: number) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const useIsMounted: () => {
|
|
3
|
-
isMounted: React.MutableRefObject<boolean>;
|
|
4
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const useIsMounted: () => {
|
|
3
|
+
isMounted: React.MutableRefObject<boolean>;
|
|
4
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DraggablePosition } from '../../components/DraggableResizable/types';
|
|
3
|
-
export declare const adjustPosition: (bbox: DOMRect, containingView: DOMRect, position: DraggablePosition, setPosition: (position: DraggablePosition) => void) => void;
|
|
4
|
-
export declare const useMakeSureContainerStaysInsideWindow: (nodeRef: React.RefObject<HTMLDivElement>, position: DraggablePosition, setPosition: (position: DraggablePosition) => void) => void;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DraggablePosition } from '../../components/DraggableResizable/types';
|
|
3
|
+
export declare const adjustPosition: (bbox: DOMRect, containingView: DOMRect, position: DraggablePosition, setPosition: (position: DraggablePosition) => void) => void;
|
|
4
|
+
export declare const useMakeSureContainerStaysInsideWindow: (nodeRef: React.RefObject<HTMLDivElement>, position: DraggablePosition, setPosition: (position: DraggablePosition) => void) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const pollingIntervalTimeout = 300000;
|
|
3
|
-
export declare const usePoller: (deps: unknown[], callback: () => void, pollingInterval?: number) => React.RefObject<ReturnType<typeof setTimeout>>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const pollingIntervalTimeout = 300000;
|
|
3
|
+
export declare const usePoller: (deps: unknown[], callback: () => void, pollingInterval?: number) => React.RefObject<ReturnType<typeof setTimeout>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const usePollerDemo: () => React.ReactElement;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const usePollerDemo: () => React.ReactElement;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const showPrompt: (event: Event) => void;
|
|
2
|
-
export declare function usePreventBrowserClose(shouldPreventClose: boolean): void;
|
|
1
|
+
export declare const showPrompt: (event: Event) => void;
|
|
2
|
+
export declare function usePreventBrowserClose(shouldPreventClose: boolean): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const UsePreventBrowserReload: () => React.ReactElement;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const UsePreventBrowserReload: () => React.ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function usePrevious<T>(value: T): T;
|
|
1
|
+
export declare function usePrevious<T>(value: T): T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const usePreviousDemo: () => React.ReactElement;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const usePreviousDemo: () => React.ReactElement;
|
package/src/lib/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './types';
|
|
1
|
+
export * from './types';
|
package/src/lib/types/types.d.ts
CHANGED
|
@@ -1,108 +1,107 @@
|
|
|
1
|
-
import { ThemeTypes } from '@opengeoweb/theme';
|
|
2
|
-
export interface ConfigType {
|
|
3
|
-
GW_AUTH_LOGIN_URL?: string;
|
|
4
|
-
GW_AUTH_LOGOUT_URL?: string;
|
|
5
|
-
GW_AUTH_TOKEN_URL?: string;
|
|
6
|
-
GW_AUTH_CLIENT_ID?: string;
|
|
7
|
-
GW_AUTH_ROLE_CLAIM_NAME?: string;
|
|
8
|
-
GW_AUTH_ROLE_CLAIM_VALUE_PRESETS_ADMIN?: string;
|
|
9
|
-
GW_BE_VERSION_BASE_URL?: string;
|
|
10
|
-
GW_APP_URL?: string;
|
|
11
|
-
GW_INITIAL_PRESETS_FILENAME?: string;
|
|
12
|
-
GW_CAP_CONFIGURATION_FILENAME?: string;
|
|
13
|
-
GW_TIMESERIES_CONFIGURATION_FILENAME?: string;
|
|
14
|
-
GW_DEFAULT_THEME?: ThemeTypes;
|
|
15
|
-
GW_INITIAL_WORKSPACE_PRESET?: string;
|
|
16
|
-
GW_SW_BASE_URL?: string;
|
|
17
|
-
GW_SIGMET_BASE_URL?: string;
|
|
18
|
-
GW_AIRMET_BASE_URL?: string;
|
|
19
|
-
GW_TAF_BASE_URL?: string;
|
|
20
|
-
GW_PRESET_BACKEND_URL?: string;
|
|
21
|
-
GW_CAP_BASE_URL?: string;
|
|
22
|
-
GW_DRAWINGS_BASE_URL?: string;
|
|
23
|
-
GW_TECHNICAL_RELEASE_NOTES_URL?: string;
|
|
24
|
-
GW_VERSION_PROGRESS_NOTES_URL?: string;
|
|
25
|
-
GW_FEATURE_APP_TITLE?: string;
|
|
26
|
-
GW_FEATURE_FORCE_AUTHENTICATION?: boolean;
|
|
27
|
-
GW_FEATURE_MODULE_SPACE_WEATHER?: boolean;
|
|
28
|
-
GW_FEATURE_MODULE_SIGMET_CONFIGURATION?: string;
|
|
29
|
-
GW_FEATURE_MODULE_AIRMET_CONFIGURATION?: string;
|
|
30
|
-
GW_FEATURE_MENU_FEEDBACK?: boolean;
|
|
31
|
-
GW_FEATURE_MENU_INFO?: boolean;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
export type
|
|
48
|
-
export
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
export
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
1
|
+
import { ThemeTypes } from '@opengeoweb/theme';
|
|
2
|
+
export interface ConfigType {
|
|
3
|
+
GW_AUTH_LOGIN_URL?: string;
|
|
4
|
+
GW_AUTH_LOGOUT_URL?: string;
|
|
5
|
+
GW_AUTH_TOKEN_URL?: string;
|
|
6
|
+
GW_AUTH_CLIENT_ID?: string;
|
|
7
|
+
GW_AUTH_ROLE_CLAIM_NAME?: string;
|
|
8
|
+
GW_AUTH_ROLE_CLAIM_VALUE_PRESETS_ADMIN?: string;
|
|
9
|
+
GW_BE_VERSION_BASE_URL?: string;
|
|
10
|
+
GW_APP_URL?: string;
|
|
11
|
+
GW_INITIAL_PRESETS_FILENAME?: string;
|
|
12
|
+
GW_CAP_CONFIGURATION_FILENAME?: string;
|
|
13
|
+
GW_TIMESERIES_CONFIGURATION_FILENAME?: string;
|
|
14
|
+
GW_DEFAULT_THEME?: ThemeTypes;
|
|
15
|
+
GW_INITIAL_WORKSPACE_PRESET?: string;
|
|
16
|
+
GW_SW_BASE_URL?: string;
|
|
17
|
+
GW_SIGMET_BASE_URL?: string;
|
|
18
|
+
GW_AIRMET_BASE_URL?: string;
|
|
19
|
+
GW_TAF_BASE_URL?: string;
|
|
20
|
+
GW_PRESET_BACKEND_URL?: string;
|
|
21
|
+
GW_CAP_BASE_URL?: string;
|
|
22
|
+
GW_DRAWINGS_BASE_URL?: string;
|
|
23
|
+
GW_TECHNICAL_RELEASE_NOTES_URL?: string;
|
|
24
|
+
GW_VERSION_PROGRESS_NOTES_URL?: string;
|
|
25
|
+
GW_FEATURE_APP_TITLE?: string;
|
|
26
|
+
GW_FEATURE_FORCE_AUTHENTICATION?: boolean;
|
|
27
|
+
GW_FEATURE_MODULE_SPACE_WEATHER?: boolean;
|
|
28
|
+
GW_FEATURE_MODULE_SIGMET_CONFIGURATION?: string;
|
|
29
|
+
GW_FEATURE_MODULE_AIRMET_CONFIGURATION?: string;
|
|
30
|
+
GW_FEATURE_MENU_FEEDBACK?: boolean;
|
|
31
|
+
GW_FEATURE_MENU_INFO?: boolean;
|
|
32
|
+
GW_FEATURE_MENU_VERSION?: boolean;
|
|
33
|
+
GW_FEATURE_MENU_FE_VERSION?: boolean;
|
|
34
|
+
GW_FEATURE_DISPLAY_SEARCH_ON_MAP?: boolean;
|
|
35
|
+
GW_FEATURE_INITIALIZE_SENTRY?: boolean;
|
|
36
|
+
GW_LANGUAGE?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface TimeSeriesService {
|
|
39
|
+
id: string;
|
|
40
|
+
description: string;
|
|
41
|
+
url: string;
|
|
42
|
+
type: ServiceInterface;
|
|
43
|
+
name: string;
|
|
44
|
+
scope?: TimeseriesServiceScope;
|
|
45
|
+
}
|
|
46
|
+
export type ServiceInterface = 'EDR' | 'OGC';
|
|
47
|
+
export type TimeseriesServiceScope = 'user' | 'system';
|
|
48
|
+
export interface PlotPreset {
|
|
49
|
+
connectedMap?: string;
|
|
50
|
+
mapId: string;
|
|
51
|
+
plots: Plot[];
|
|
52
|
+
parameters: PlotParameter[];
|
|
53
|
+
}
|
|
54
|
+
export interface Plot {
|
|
55
|
+
title: string;
|
|
56
|
+
plotId: string;
|
|
57
|
+
enabled?: boolean;
|
|
58
|
+
parameters?: PlotParameter[];
|
|
59
|
+
}
|
|
60
|
+
export interface PlotParameter {
|
|
61
|
+
id?: string;
|
|
62
|
+
plotId: string;
|
|
63
|
+
unit?: string;
|
|
64
|
+
propertyName: string;
|
|
65
|
+
plotType: PlotType | 'area';
|
|
66
|
+
enabled?: boolean;
|
|
67
|
+
color?: string;
|
|
68
|
+
opacity?: number;
|
|
69
|
+
serviceId: string;
|
|
70
|
+
collectionId: string;
|
|
71
|
+
instanceId?: string;
|
|
72
|
+
instances?: EDRInstance[];
|
|
73
|
+
}
|
|
74
|
+
export type PlotType = 'bar' | 'line' | 'scatter';
|
|
75
|
+
export interface EDRInstance {
|
|
76
|
+
id: string;
|
|
77
|
+
data_queries?: {
|
|
78
|
+
position?: {
|
|
79
|
+
link: {
|
|
80
|
+
variables: {
|
|
81
|
+
output_formats: string[];
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
locations?: {
|
|
86
|
+
link: {
|
|
87
|
+
variables: {
|
|
88
|
+
output_formats: string[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
instances?: {
|
|
93
|
+
link: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
extent?: {
|
|
97
|
+
temporal?: {
|
|
98
|
+
interval: string[][];
|
|
99
|
+
crs: string;
|
|
100
|
+
values: string[];
|
|
101
|
+
};
|
|
102
|
+
spatial: {
|
|
103
|
+
crs: string;
|
|
104
|
+
bbox: [number, number, number, number];
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AxiosError } from 'axios';
|
|
2
|
-
export declare const DEFAULT_ERROR_MESSAGE = "An error has occurred";
|
|
3
|
-
export declare const isAxiosError: (error: AxiosError | Error) => error is AxiosError<unknown, any>;
|
|
4
|
-
export declare const isAxiosAuthError: (error: AxiosError | Error) => boolean;
|
|
5
|
-
export declare const getAxiosErrorMessage: (error: AxiosError) => string;
|
|
6
|
-
export declare const getErrorMessage: (error: Error | AxiosError) => string;
|
|
7
|
-
export declare const getAxiosWarningMessage: (error: AxiosError) => string;
|
|
8
|
-
export declare const getWarningMessage: (error: AxiosError | Error) => string;
|
|
1
|
+
import { AxiosError } from 'axios';
|
|
2
|
+
export declare const DEFAULT_ERROR_MESSAGE = "An error has occurred";
|
|
3
|
+
export declare const isAxiosError: (error: AxiosError | Error) => error is AxiosError<unknown, any>;
|
|
4
|
+
export declare const isAxiosAuthError: (error: AxiosError | Error) => boolean;
|
|
5
|
+
export declare const getAxiosErrorMessage: (error: AxiosError) => string;
|
|
6
|
+
export declare const getErrorMessage: (error: Error | AxiosError) => string;
|
|
7
|
+
export declare const getAxiosWarningMessage: (error: AxiosError) => string;
|
|
8
|
+
export declare const getWarningMessage: (error: AxiosError | Error) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './axiosErrorUtils';
|
|
1
|
+
export * from './axiosErrorUtils';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const DATE_FORMAT_DATEPICKER = "dd/MM/yyyy HH:mm";
|
|
2
|
-
export declare const DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss'Z'";
|
|
3
|
-
export declare const DATE_FORMAT_YEAR = "yyyy-MM-dd";
|
|
4
|
-
export declare const DATE_FORMAT_HOURS = "HH:mm";
|
|
5
|
-
export declare const DATE_FORMAT_NAME_OF_DAY_MONTH = "eee dd MMM HH:mm";
|
|
6
|
-
export declare const DATE_FORMAT_NAME_OF_MONTH = "dd MMM yyyy, HH:mm";
|
|
7
|
-
export declare const DATE_FORMAT_NAME_OF_DAY = "eee dd/MM/yyyy HH:mm";
|
|
1
|
+
export declare const DATE_FORMAT_DATEPICKER = "dd/MM/yyyy HH:mm";
|
|
2
|
+
export declare const DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss'Z'";
|
|
3
|
+
export declare const DATE_FORMAT_YEAR = "yyyy-MM-dd";
|
|
4
|
+
export declare const DATE_FORMAT_HOURS = "HH:mm";
|
|
5
|
+
export declare const DATE_FORMAT_NAME_OF_DAY_MONTH = "eee dd MMM HH:mm";
|
|
6
|
+
export declare const DATE_FORMAT_NAME_OF_MONTH = "dd MMM yyyy, HH:mm";
|
|
7
|
+
export declare const DATE_FORMAT_NAME_OF_DAY = "eee dd/MM/yyyy HH:mm";
|